![]() |
[FIX] Some AI.OBJ bagfixes
Valcon fix:
L17367 shift_sp 1 func_call 23 // func[GetCurrentTick] push_event // talker push_const 32 add fetch_i // quest_last_reward_time push_const 644 add fetch_i sub push_const 1 greater branch_false L17370 L17369 //bug fix for 32000 exp 3900 sp 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 0 equal branch_false L100001 L100002 shift_sp 1 push_event // talker push_const 32 add fetch_i S100001. "cheater.htm" push_string S100001 func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3434 push_const 1 func_call 77 // func[GiveItem1] shift_sp -3 shift_sp -1 exit_handler L100001 //end bug fix You mast find in ai.obj with green color and insert red part after green text for use bug attempt, NPC give item Coca-Cola to cheater, and display cheater.htm (make it by yourself). Dont forget set in itemdata.txt those parameters to item with id 3434: is_destruct=0 is_trade=0 is_drop=0. NOTE: on my server this item sellable in Aden shop, dont know why. Wolf Collar bugfix fetch_i branch_false L41292 shift_sp 1 func_call 23 // func[GetCurrentTick] push_event // talker push_const 32 add fetch_i // quest_last_reward_time push_const 644 add fetch_i sub push_const 1 greater and L41292 branch_false L41294 L41293 //bug fix for wolf collar shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3417 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 equal branch_false L100009 L100010 shift_sp 1 push_event // talker push_const 32 add fetch_i S100005. "cheater.htm" push_string S100005 func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3434 push_const 1 func_call 77 // func[GiveItem1] shift_sp -3 shift_sp -1 exit_handler L100009 //end bug fix NPC ask test questions and at end give Coca-Cola :) Loving Sophia L41603 shift_sp 1 func_call 23 // func[GetCurrentTick] push_event // talker push_const 32 add fetch_i // quest_last_reward_time push_const 644 add fetch_i sub push_const 1 greater branch_false L41606 L41605 //bug fix for 1000 adena shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 1369 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 equal branch_false L100005 L100006 shift_sp 1 push_event // talker push_const 32 add fetch_i S100003. "cheater.htm" push_string S100003 func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3434 push_const 1 func_call 77 // func[GiveItem1] shift_sp -3 shift_sp -1 exit_handler L100005 //end bug fix the same way... clan 5lv and 250k sp bugfix L44696 shift_sp 1 func_call 23 // func[GetCurrentTick] push_event // talker push_const 32 add fetch_i // quest_last_reward_time push_const 644 add fetch_i sub push_const 1 greater branch_false L44699 L44698 //bug fix for clan 5 level up and 250k sp shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3869 func_call 81 // func[OwnItemCount] shift_sp -2 push_const 0 equal branch_false L100007 L100008 shift_sp 1 push_event // talker push_const 32 add fetch_i S100004. "cheater.htm" push_string S100004 func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 3434 push_const 1 func_call 77 // func[GiveItem1] shift_sp -3 shift_sp -1 exit_handler L100007 //end bug fix Be sure change L10000X and S10000Y according with your custom ai code. I hear another serious bugs present in ai.obj, but I dont know about it, if you know PM me, with bugged NPC and I'll make fixes... |
thanks man ill try it :)
|
tested =)
and bug from warehouse? ? |
Quote:
|
exploit of warehouse
Im summon pet and help html open warehouse and open warehouse full npcs :s for deposit and exchange items for warehouse |
hmmm, dont know what kind of check I mast insert :(
oooo no! have idea! i mast add handler to default npc class and leave it empty, so, true warehouse keepers have it own, proper handler, and other npcs have it empty and do nothing! what are you think? |
hmmm, no, this is not a way, keeper have no handler for deposit and withdraw items... have no ideas
|
for warehouse - only hex is the way...
|
Rmzvoid Respect really nice fix omw wanna check & got some cola ;
|
nice.
thx for sharing. i will donate some cash ;) |
fastest way to fix Sophia:
lookin' for: Code:
shift_sp 1Code:
shift_sp 1 |
i think this is wrong solution for rate 1+ too. some players will be "hurted" if they done quest but sophia get 1000 adena from them.
valcon the same way? ))) one of profession quest decrease exp end sp )) just add "negate" after push_const 32000 and push_const 3900 ))) make patch for ai.obj not so hard, so we mast make it more transparent for usual plaeyers. And if you think that sofia quest useless just delete npcpos for sophia. |
fukin usefull thks ^^
i set the item to a 80k weight item lol alrdy 20 or 30 peeps caught lol |
Maybe, we can make them some how put into combat, by a mob that hits 1 dmg each, making them unable to log out also? So gives a few more minutes to catchem :P
|
all in your hands
|
just set item as skill_maintain and set item_skill as a gm_fossi lasting after 50 hours .....
u can be sure they will try to use the item, since i made it with a nice bomb icon ^^ |
rmz btw if i want to add ur check on another npc,
i just have to change fetch_i push_const 1369 <=== this constant according new npc i wanna fix func_call 81 // func[OwnItemCount] right? no need to touch Sxxxxxx or does it have to be unique? |
Valkon's quest doesn't work anymore when you apply this fix it seems...
Ppl say they don't get the mark from valkon. Greetz |
Yes .. valcon don't work :(
|
Quote:
to other are you sure that reason of non workinkg valcon my patch? may be you look to problem close, check for users inventory (full?) or server lag? I have complete this quest, and all work, mark in bag. In the end look at code of patch and you not see error. |
valkon is worked with fix
|
Quote:
|
Did the quest too and it works indeed i am very sorry.
Thanks for your nice share ;) Greetz |
yes valkon work ;)
|
nice but where do i find ai.obj and itemdata.txt ??????????
|
Quote:
script folder maybe ? |
!!!!
Quote:
|
Re: !!!!
these changes are to modify a server...
but a guy told that those also can work as help html haqs and i thought that a client l2 has also those files... |
ржунимагу
|
Дада ;-)
|
Бугага
|
could you guys write in english please?
it might disturb the others as it has no use for em... (postpacific has a pm feature ;)) thx in advance |
Only one words:
You never understood russian humor :) |
And never will understand
|
Quote:
Panical lol Try to search it on ragezone =) usefull About humor Бугага means Muahaha. Ржунимагу means rofl. any questions ? |
what about quest with alchemist matilda fix ? can anyone fix it?
its weird.. 1. if you have 3-5 slots in inventory free..matilda told you uare full.. and u must have 1/2 inventory free 2. if you have ALL slots full .. simply server don't delete that potion = u can repeat quest again and again and again |
| All times are GMT. The time now is 16:25. |