I've seen that in some files, the phoenix pet doesnt attack in Bless Castle... Does anyone know how to do that?
Printable View
I've seen that in some files, the phoenix pet doesnt attack in Bless Castle... Does anyone know how to do that?
i am very glad to answer your question, you always think more than others.,as we all know,in official server,phoenix pet will always attack one monster until it died eventhough you don't attack it. phoenix pet attacks monsters or players by their flag.you should compare the flag to decide if it attack or not.when you in field 33,you can make a new call before phoenix pet's attack codes,then you can control it.i think you can provide me a game you used,i can modify it for you.i think the code is more powerful than my lots of words...
instead of you doing it for me, can you show me where I have to change, and what I have to change? If you do it for me, I will not learn, you know what I mean? =p
I already tried searching in server.exe/game.exe but I cant find this :S
at least,you should give me one game.exe as an example.if not,how i can tell you what you have to change?
I think a QF 1873 would do it.
Here it is: http://www.sendspace.com/file/rztzmz
here is the newest kpt game.exe(ver:2466 same as 2.0.9) which i have modified.in this game.exe,i fixed the Phoenix Pet Counter and Phoenix Pet attacking.you can decide if the pet attacks others or not anywhere,and the pet attacking will be with you at the same time.i mean,if you don't attack one monster,the pet will stop attackinng.here is the address 5D2F00.enjoy it.if anyone have some questions,reply to me..
In that offset, I will find the counter fixed and the attack options? or that offset is just about the attack?
I am not so good with ASM, I would be glad if you explain me the changes you've done so I can do the same with another game. thank you
--edit
I have found all that 3 routines, but I'm not pretty sure about what they do. I think one is making a IF player on field 21 then disable ph pet, am I right?
Yes, thats right, I have added that routine to my game and changed the field to Garden of Freedom, then my ph pet is not attacking anything now. Thank you so much.
But what about the other 2 routines? I couldnt figure they out.
--edit2
the other routine is the continuation of the nopped data of the Phoenix pet attack routine, am I right?
What leads the 3rd routine to be the fix for the PH Counter?
Yes, I have found that switch, my EAX is 7 when I am using PH pet, but my switch block only have 6 cases, seems like I'll have to add another one =p
thank u for your help.
--edit3
aaargh, I cant understand how that switch works >.< my switch is totally different from that kpt game