![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Since no one here mentions Valko, i start about the NPC.
It's clear 3 parts in the ai.obj is about finishing the quest. valkon_q0216_09 valkon_q0216_09a valkon_q0216_09b I don't know what to change to make the exploit useless. Can anyone help me ? I looked at the difference fixes foor the castle exploits, but there is nothing similar on valkon. It seems many people have it, so a little help mustn't be so difficult. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
It is full ai code for this npc
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Thanks a lot but..
Isn't this an original one ? Exploit still works after implementing it. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Sep 2005
Posts: 4
|
add this after:
L17366 and before push_event // reply push_const 104 Code:
shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3139 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 6 greater branch_false L1736612 L1736611 also add L1736612 after L17374 L17372 L17362 P.S. hope you understood... i can't post whole code as mine has 2nd protection, that cant be shared. I have similar fiexs for chamberlain and doorkeepers. If you able to implement this one, ill post other two
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Why 6? do it with only 1, in real quest you cant get more than 1 mark_of_guildsman. The other thing you can do is put a "delevel clause" that, if the talker has more than 1 of these items, his exp would decrease rather than increase.
I have the code at home, i could show you that one if you like. Oso |
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Too bad I don't understand ai.obj good enough to create such things myself.
But Miega, i implemented them and the exploit is not working anymore. So thanks a lot for your share. Greetz |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
Osito, that's not mark of guildsman, but ring... forgot how is it called, you need to craft 7 of them minimum to pass the test. That's the point. And that's what I actually did (and added OneTimeQuest check just in case)
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Is this necessary to change the entire ai.obj or only the npc's the exploiters use ? Like Sophia, Valko and gustaff ?
Greetz |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
Theoretically, there are more NPCs that can be used with html bug. But those threee are the most common.
|
|
|
|
|
#10 | |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Quote:
Oso |
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Who can teach me a little ai coding ?
I really like to teach that. |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
what about removing xp and sp bonus completely from quests
can you help me and show me an example where the bonus is given to the player in the ai code?
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Quote:
But what does the L1736612 means i have to add, what is it and how do i find out what to add :S ? |
|
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
Quote:
|
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Hm i fixed gustaf too using the similar was as you, Miega.
But for sophia i get an error in npcserver now: "MAX LOOP COUNT EXEEDE!!!" And when i try to use xplot on pet manager martin npc server crashes immediate. I looked very carefully after this below, but i couldn't figure out exactly how it checks for the items required. shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3139 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 6 greater branch_false L1736612 L1736611 BTW if anyone is interested in the way they let the server crash on ANY npc please pm me i don't want to public it. |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Sure, no sweat dude:
shift_sp 1 [center:df8b414c19]> Moves the Stock Pile 1 slot forward (places it on the top).[/center:df8b414c19] push_event // talker [center:df8b414c19]> Says "Hey, lets target who's talking to me"[/center:df8b414c19] push_const 32 [center:df8b414c19]> In conjuction with above.[/center:df8b414c19] add [center:df8b414c19]> Adds one to the SP (Not sure though)[/center:df8b414c19] fetch_i [center:df8b414c19]> Opens the "retrieving process"[/center:df8b414c19] push_const 3139 [center:df8b414c19]> Pushes "3139", the itemID to be checked.[/center:df8b414c19] func_call 81 // func[OwnItemCount] [center:df8b414c19]> Ai Function that does it ^^[/center:df8b414c19] shift_sp -2 [center:df8b414c19]> Moves the SP 2 slots behind (to read the item count)[/center:df8b414c19] push_const 6 [center:df8b414c19]> Pushes the number 6 for comparison.[/center:df8b414c19] greater [center:df8b414c19]> Here it asks: is 6 < item_count on player?[/center:df8b414c19] branch_false L1736612 [center:df8b414c19]> If false, jumps to instruction said.[/center:df8b414c19] Damn AI.obj T_T. Pseudo-ASM SOX! Hope it helps. Oso |
|
|
|
|
#18 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
Yeah great,
these are nice things to work with tonight. So basically i can use this "template" to fix all risky npc's ? greetz |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|