![]() |
New pet help on the file AI
Code:
push_property BuyList4but I do not success has to create the code lines for my three new fapetrts in file AI. Thanks for agreeing to help me. thx |
The push reg_sp part:
" push_reg_sp fetch_i push_const 2" Is your ask/reply number. Check the html for the pet manager, change the push_const 2 to a number not used, copy one of the lines of the other c4 pets and change the reply ID within it. Change all the L's/S's (Branches/Strings) too something new(unused number for example, "1337" "1338" etc) and make sure they follow each other. Also recount all your lines within that handler when done and exchange it with the number at the top of the handler. Change the own item counts/DeletelItem to your new pet ticket id. Change getitem func to your pet summon item id. In the create pet function push_const 6649 <---- Item Id for pet item summon push_const 1012782 <----- Npcpch id of pet push_const 26 <------- Level Code:
L3813 |
This can be named as "Tutorial of HOW TO modify AI without understand it at all, only change random numbers" :P
haha, sorry for the irony, is much more easy if you do it with a decompiler, you can modify the code and see fast what are the real changes, is a start, later, when spent some hours in front of the monitor looking at that code you will start understand it without decompiler... isnt too hard, and even if you know the basics about ASM that will help you too. |
Really now fidow?
Wouldn't that be the quickest way? Copy paste, exchange id's on checks for tickets, delete ticket's, give item/create pet. Making sure branches/strings don't conflict and the handler counter is correct. It would, hardly any decompiler needed, the ai in this case is that simple. Someone wanting to do this quickly, could care less about structure of code nor what it does, as long as changing it works. play bigball all you want, it's the quickest way. |
Yah, in other words, "If it works, why try understanding?"
too much of a leecher theory, meh. |
thx i have resolved my problem
very thx |
| All times are GMT. The time now is 22:42. |