![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2005
Posts: 357
|
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... |
|
|
|
|