Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 30.09.2005, 11:18   #1
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default Help me fixing valko.

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.
LDragonL is offline  
Old 30.09.2005, 11:44   #2
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

It is full ai code for this npc
HF is offline  
Old 30.09.2005, 12:57   #3
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Thanks a lot but..
Isn't this an original one ?
Exploit still works after implementing it.
LDragonL is offline  
Old 30.09.2005, 13:09   #4
miega
Архивный участник
 
Join Date: Sep 2005
Posts: 4
Default

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
it counts if player has items needed, and only then lets perform the action.
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
miega is offline  
Old 30.09.2005, 17:41   #5
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

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
Osito2Dancer is offline  
Old 30.09.2005, 19:08   #6
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

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
LDragonL is offline  
Old 01.10.2005, 10:58   #7
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

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)
Livid is offline  
Old 01.10.2005, 12:05   #8
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Is this necessary to change the entire ai.obj or only the npc's the exploiters use ? Like Sophia, Valko and gustaff ?

Greetz
LDragonL is offline  
Old 01.10.2005, 14:14   #9
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Theoretically, there are more NPCs that can be used with html bug. But those threee are the most common.
Livid is offline  
Old 01.10.2005, 18:36   #10
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Quote:
Originally Posted by Livid
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)
Yep, i saw 3119, not 3139 xD.

Oso
Osito2Dancer is offline  
Old 02.10.2005, 09:02   #11
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Who can teach me a little ai coding ?
I really like to teach that.
LDragonL is offline  
Old 02.10.2005, 09:19   #12
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

https://postpacific.mmorpg-game.onli...opic.php?t=521
Phantom2005 is offline  
Old 02.10.2005, 11:41   #13
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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?
top-gear is offline  
Old 02.10.2005, 11:58   #14
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Quote:
Originally Posted by miega
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
it counts if player has items needed, and only then lets perform the action.
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
Ok so i am supposed to add handlers to check if required items are there.
But what does the L1736612 means i have to add, what is it and how do i find out what to add :S ?
LDragonL is offline  
Old 02.10.2005, 12:05   #15
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

Quote:
Originally Posted by top-gear
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?
furthermore, I am thinking of adding the whole 3 quests' xp/sp bonus when the player changes profession and not when completing the quest.
top-gear is offline  
Old 03.10.2005, 10:23   #16
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

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.
LDragonL is offline  
Old 03.10.2005, 13:34   #17
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

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
Osito2Dancer is offline  
Old 03.10.2005, 14:46   #18
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Yeah great,
these are nice things to work with tonight.
So basically i can use this "template" to fix all risky npc's ?


greetz
LDragonL is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:38.