[Request]100% Range

04/30/2010 02:17 skititlez#931
hey nobody snorts me >:I
#lock
04/30/2010 10:31 olykwon#932
it can be done, ive made progress, i can instantly shoot my magnum shot as an always critical from max range distance but my regular ranged attack shows as a giants spear and my human is unable to shoot =\ i need to stop being lazy and go back in and fix it in oly
04/30/2010 21:40 pawntobishop#933
*sniff* *sniff* anyone else smell that?
04/30/2010 23:13 Halfslashed#934
Smell of BS...

Dammit reaper, where are you?
05/01/2010 02:35 jemstone1#935
Quote:
Originally Posted by olykwon View Post
it can be done, ive made progress, i can instantly shoot my magnum shot as an always critical from max range distance but my regular ranged attack shows as a giants spear and my human is unable to shoot =\ i need to stop being lazy and go back in and fix it in oly
heehee... this made me lol :D
05/01/2010 09:14 olykwon#936
To do this mod you need to map out the functions for what your modding and understand how each sequence coincides with the game. You also need to use a little head work and decide the most efficient way of doing what you want to do, for example modding one line could interfere with the functions that acess that very same line, sometimes theres more than one way to do a specific mod its all about knowing just what to do and how its going to affect you. I attempted to do my own range mod and ended up with an automatic magnum shot whenever I press it; it instantly loads and aims and fires and gets stuck in a loop, also my normal range attack refuses to fire because it thinks i have a giants ranged attack item equipped, BACK TO THE DRAWING BOARD /wrists -_-
05/01/2010 09:16 olykwon#937
and by the way IDA's graph/text mode and searching all instances of a specific word will work wonders for you. If you find something my best suggestion is keep it to yourself write down FUNCTIONS NOT ADRESSES because an address can change and so can functions but if you understand its basic process your likely to have a very successful modding experience.
05/01/2010 14:43 olykwon#938
the reason its a 100% miss is because thats exactly what its modded to do. JZ, jump if zero, JMP jump no matter what, your jumping the part that checks if its a 0 so its always going to miss, go a bit further into its routine youll find what to edit
05/01/2010 16:56 Halfslashed#939
Quote:
Originally Posted by olykwon View Post
the reason its a 100% miss is because thats exactly what its modded to do. JZ, jump if zero, JMP jump no matter what, your jumping the part that checks if its a 0 so its always going to miss, go a bit further into its routine youll find what to edit
JZ = JE, jump if equal.

It jumps if the isneedaiming function returns true. Changing that JE to a JMP makes it jump even if the isneedaiming function isn't true. The reason it's 100% miss is because there is a server check. The server check checks if isneedaiming returned true or not. If it returned true, it will allow shooting. If it returned false, you get 100% miss.