Joined: 24 Sep 2009 Location: Originally from Philipines. Currently on NZ. Hacker Type: Game Hacker
Posted: Tue Oct 05, 2010 10:36 pm Post subject:
IFV clone won't work
I made an IFV clone but on my own codes.
When a soldier goes inside my IFV clone nothing happens the weapon is still the primary of IFV clone. I've tested it on other infantry and still the same.
It's on RA2 not YR but heres the code:
If you are only a novice, you aren't going to be blundering in modifying the exe any time soon. I've yet to see anyone who actually asks this question have any involvement in any exe modding project, hence the derisive comments.
You use a hex editor to actually modify the exe, but that knowledge on its own is practically useless. QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Wed Oct 06, 2010 5:17 pm Post subject:
*sigh*
The best thing you can do (if you have the C++ skills) is try to join the Ares crew and help those guys. They are at least trying to modify the game by injecting code. It ain't exe hacking, but it's the best we have atm.
As Fen already mentioned: don't try editing the exe directly. No one has succeeded in it, and it's quite illegal too. QUICK_EDIT
*sigh*
It ain't exe hacking, but it's the best we have atm.
Do explain how exe hacking is superior to injecting the code, leaving the exe untouched? _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
*sigh*
It ain't exe hacking, but it's the best we have atm.
Do explain how exe hacking is superior to injecting the code, leaving the exe untouched?
Well, for starters C++ should be much easier to learn. Secondly, afaik it would be more efficient to use C++ and inject it than just editing the EXE with the lower level language. And finally I think it could be more easily made compatible with, say, Ares, I believe. QUICK_EDIT
Joined: 24 Sep 2009 Location: Originally from Philipines. Currently on NZ. Hacker Type: Game Hacker
Posted: Thu Oct 07, 2010 2:39 am Post subject:
Are there any example codes for Red Alert 2/YR?
I used to make dll injection hacks but i'm to this Red Alert 2 dll injection.
Any sample codes? _________________
Yes. Ares. But only if you know what you're doing. And unless you know ASM, you're wasting your time. _________________ KGR | AT
AZUR
Discord: theastronomer1836
Steam QUICK_EDIT
He isn't nessesarily wasting his time, provided the nessesary work has already been done dissassembling the functions needed for whatever feature he wants to add, he should be able to code them without much ASM knowledge as far as I understand it. He'd need to discuss this with the ares devs over at renegadeprojects though.
Edit:
Incidentally, if this is all about IFV clones, ares already provides these for YR, though the vanilla ra2 exe is left out in the cold. QUICK_EDIT
unless he dosent own YR, I really dont see the need for this. With Ares you can make it just liike RA2 anyway. And still have the extra features YR engine has that RA2 didnt. QUICK_EDIT
Without those EIPs you just can't do anything even if you are a C++ genius. However those can only be got from ASM codes.
Besides, I do not agree that injecting dll is superior to exe hacking. As there's a saying in China, the cat who can catch a rat is the better one, no matter black or white. I still prefer exe hacking since it's still easier and more convenient. That's the fact. _________________ Fusion Reactor upgrade is complete.
I still prefer exe hacking since it's still easier and more convenient.
Now here is my problem:
An exe hack is forever applied direct to the exe, whereas Ares is applied only when you actually want it to be. This makes Ares much easier to use by people playing Ares-induced mods, and removes the annoying interaction between your mod files and different versions of the exe.
LH_Mouse wrote:
As there's a saying in China, the cat who can catch a rat is the better one, no matter black or white.
But if the cat catches the rat by hacking randomly at it, leaving its internal organs al over your nice carpet, you'll suddenly wish that it wasn't catching rats at all. I'd call a proper exterminator.
Exe editing is a temperamental business, from my understanding, and tends to leave problems afterwards unless you very lucky.
I prefer to leave the proper patching of YR to the 'experts', rather than let the cat hack at the rat. QUICK_EDIT
I still prefer exe hacking since it's still easier and more convenient.
I hope you know that not only are "easier" and "convenient" subjective terms, but there are about 3 developers at the Ares team who has a different view on what you said. QUICK_EDIT
Come on, I do not wish to add new features, and in principle I also refuse feature requests. What I'm doing is to fix known bugs both in NPatch(as we all know, VK is so careless and swellheaded and leave so many bugs, I am trying to fix some) and from original YR(those Westwood left). I also provide some basic(those not too hard to realize) features such as Cyclic Gattling system and Custom Animation Damage Warhead. I only want to make the game better.
The "easier" and "convenient" are for those users not using Launch Base. It does not support Chinese. Besides Syringe.exe may be blocked by some anti-virus software(e.g. Rising). The author who releases such a mod would be condemned("Hey, my AV software says it's a virus!" "Yes, but that's not my fault." "How can you enable me to trust you???" "..." Too hard to explain.). That's why I'm still using NPatch. The reason is quite complex. _________________ Fusion Reactor upgrade is complete.
Exe patchers often fall foul of virus checker false positives too. You also contradict yourself, you state you don't want features and yet go on to say you are planning on adding them... what you mean is that you only want a patch that adds the features your mod wants. If you really wanted to make the game better you would code for ares since that will benefit far more people and you would work with Marshall to localise launch base to chinese (assuming he is ameanable to that). QUICK_EDIT
I only know basic C(not C++) so I don't think I can contribute anything to Ares. My Asm is better than C++, I must say. But your that sentence, "you only want a patch that adds the features your mod wants", if you really think so, I've no idea. The amount of new features is no more than five right now, and 77 different versions have been distributed. Most time I'm only fixing, fixing, fixing and fixing bugs. Those features(e.g. Cyclic Gattling System) came from modified tags in original YR(e.g. ImmuneToVeins= was changed to IsCyclic=). They work pretty well. _________________ Fusion Reactor upgrade is complete.
So are you creating bespoke patches as people you know need or request them or are there just 77 revisions of your patch that have been incrementally improved? Fair enough if you aren't that into C++ I can see why you might not want or be able to contribute to ares. QUICK_EDIT
To be honest C++ is really a hard thing to learn. If you're into it then it's easy. I really like programming so when I have enough stacks in my brain I can help those devs in the cold. _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
My major is Software Engineering, but.. I'm only in Grade Two and there're few professional courses(e.g. C++, not C) until Grade Three. _________________ Fusion Reactor upgrade is complete.
The word "bespoke" is not accurate. I have a group of senior modders. We discuss about our varieties of mod projects(including the famous "Enemy at Gate Series" by RA2Killer(is he? we call him "BuTuPi" in China)) together. Those bugs or feature requests came from years of modding experience. We think one worth to fix(or realize), and if not too hard to realize via asm coding, I will try to make it. That's all. _________________ Fusion Reactor upgrade is complete.
I still think long term Chinese modders would benefit more from being better able to use ares and the features you want/need being integrated into it, but that would probably require someone from the chinese modding commuity to know C++ and assembly enough to get really involved in the project as a dev and represent your communities interests better. I realise you have made requests on the bug tracker, but they are unlikely to gain much traction since the features you have requests have 1. often not been clear exactly what you were wanting, perhaps due to something being lost in traslation or 2. not capturing the ares communities imagination enough for people to vote for those features or for the devs to want to make them. Of course our community would benefit from having another dev adding features so we would get more faster too QUICK_EDIT
Gunner= logic works by defaulting the Primary= to Weapon1=. It's why in the unmodded [FV] both the Primary= and Weapon1= are set to HoverMissile. The art codes also reflect this change. Weapon1FLH= supersedes the PrimaryFireFLH=. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum