![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
This ai.obj have 99% chinese things translated.
Errors: - mobs that appear when fishing are passive ;-( /any help?/ - problem with 1 pet [dont appear when summoning] - maybe mob dont attack summon back [dont know if this problem is in this version..but I think you can find fix and repair it] - maybe 1% of quest not work (I found one to this day..) Im sharing this because many ppl here can fix the problems but cant translate text to english /its not translated by me.. my engrish suxx/ if you can share how to fix listed problems.. I will be glad. (at least the problem with passive mob class 1 warrior_fishing_block) I tried to set class 1 warrior_fishing_block to warrior_agressive_physicalspecial .. but mob still passive.. rar archive is not passworded ofc ;-) http://rapidshare.de/files/30542186/ai.rar.html |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Oct 2005
Posts: 267
|
thank you for sharing
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
A very helpful share.
Seems nobody has had much luck on the warrior_fishing_block sadly. I've tried to fix it myself but I haven't had any luck. I believe has same problem with 3rd class change as everyone is having as well. If i have any fixes ill ensure to post here. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
Try checking out if there's something like GetLifeTime in the fishing-mob ai. Normally there's a check on aggro mobs, if they just spawned they don't aggro you. The fishing mobs don't need this check.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
Sadly not there >.>
Code:
class 1 warrior_fishing_block : warrior_physicalspecial parameter_define_begin int SayType 0 parameter_define_end handler 13 136 // CREATED variable_begin "i0" "c0" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // myself push_const 704 add fetch_i // c_ai0 push_const 376 add push_reg_sp fetch_i push_event // myself push_const 704 add fetch_i push_event // myself push_const 704 add fetch_i // sm push_const 544 add fetch_i // summoner_id push_const 1936 add fetch_i4 func_call 184614954 // func[GetCreatureFromIndex] shift_sp -1 assign shift_sp -1 push_event // gg push_const 632 add fetch_i push_event // myself push_const 704 add fetch_i // c_ai0 push_const 376 add fetch_i func_call 218169355 // func[IsNull] shift_sp -1 push_const 0 equal branch_false L24902 L24901 push_event // myself push_const 704 add fetch_i push_event // myself push_const 704 add fetch_i // c_ai0 push_const 376 add fetch_i push_const 1 push_const 2000 func_call 184745993 // func[AddAttackDesire] shift_sp -3 shift_sp -1 push_event // i0 push_const 260 add push_reg_sp fetch_i push_const 1010400 push_parameter SayType push_const 9 mul add push_event // gg push_const 632 add fetch_i push_const 3 func_call 218169344 // func[Rand] shift_sp -1 add assign4 shift_sp -1 push_event // myself push_const 704 add fetch_i push_event // myself push_const 704 add fetch_i push_event // i0 push_const 260 add fetch_i4 push_event // myself push_const 704 add fetch_i // c_ai0 push_const 376 add fetch_i // name push_const 200 add S4293. "" push_string S4293 S4294. "" push_string S4294 S4295. "" push_string S4295 S4296. "" push_string S4296 func_call 184942731 // func[MakeFString] shift_sp -6 func_call 184614973 // func[Say] shift_sp -1 shift_sp -1 jump L24903 L24902 push_event // myself push_const 704 add fetch_i push_const 0 func_call 184549616 // func[Despawn] shift_sp -1 L24903 push_event // myself push_const 704 add fetch_i push_const 3000 push_const 1000 push_const 5 mul push_const 10 mul func_call 184680487 // func[AddTimerEx] shift_sp -2 shift_sp -1 call_super handler_end handler 1 62 // ATTACKED variable_begin "attacker" "damage" "i0" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // gg push_const 632 add fetch_i push_const 100 func_call 218169344 // func[Rand] shift_sp -1 push_const 33 less branch_false L24905 L24904 push_event // i0 push_const 260 add push_reg_sp fetch_i push_const 1010400 push_const 3 add push_parameter SayType push_const 9 mul add push_event // gg push_const 632 add fetch_i push_const 3 func_call 218169344 // func[Rand] shift_sp -1 add assign4 shift_sp -1 push_event // myself push_const 704 add fetch_i push_event // myself push_const 704 add fetch_i push_event // i0 push_const 260 add fetch_i4 S4297. "" push_string S4297 S4298. "" push_string S4298 S4299. "" push_string S4299 S4300. "" push_string S4300 S4301. "" push_string S4301 func_call 184942731 // func[MakeFString] shift_sp -6 func_call 184614973 // func[Say] shift_sp -1 shift_sp -1 L24905 call_super handler_end handler 12 57 // TIMER_FIRED_EX variable_begin "timer_id" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // timer_id push_const 236 add fetch_i4 push_const 3000 equal branch_false L24907 L24906 push_event // myself push_const 704 add fetch_i // p_state push_const 280 add fetch_i4 push_const 3 equal push_reg_sp fetch_i branch_false L24908 push_event // myself push_const 704 add fetch_i // p_state push_const 280 add fetch_i4 push_const 10 equal and L24908 branch_false L24910 L24909 push_event // myself push_const 704 add fetch_i push_const 3000 push_const 1000 push_const 5 mul push_const 10 mul func_call 184680487 // func[AddTimerEx] shift_sp -2 shift_sp -1 jump L24911 L24910 push_event // myself push_const 704 add fetch_i func_call 184549616 // func[Despawn] shift_sp -1 L24911 L24907 call_super handler_end handler 10 50 // MY_DYING variable_begin "i0" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // i0 push_const 260 add push_reg_sp fetch_i push_const 1010400 push_const 6 add push_parameter SayType push_const 9 mul add push_event // gg push_const 632 add fetch_i push_const 3 func_call 218169344 // func[Rand] shift_sp -1 add assign4 shift_sp -1 push_event // myself push_const 704 add fetch_i push_event // myself push_const 704 add fetch_i push_event // i0 push_const 260 add fetch_i4 S4302. "" push_string S4302 S4303. "" push_string S4303 S4304. "" push_string S4304 S4305. "" push_string S4305 S4306. "" push_string S4306 func_call 184942731 // func[MakeFString] shift_sp -6 func_call 184614973 // func[Say] shift_sp -1 shift_sp -1 call_super handler_end class_end |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
Sorry to carry on with the hijacking of the thread..XD
What's that mob supposed to do exactly? I mean, is he meant to despawn after a while? (I mean all this in true retail) |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
The mob spawns randomly on fishing. He is agro, and has some neat spells.
There are 7 of them, but they use the same AI. They say some fstring stuff, etc. Just they spawn, and aren't agro attacking the fisherman. Retail the mobs are agro/attack. |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
and does it disappear under any condition?
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Mar 2006
Posts: 241
|
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
ok, let us die
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
Well I did check my AI and it had this already in it... yet the problem remains.
I'm still fiddling and have lots of fishing time on my hands, so I'll post any results |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
push_const 1936 is respawntime iirc. What the script does is myself.c_ai0 = GetCreatureFromIndex(myself.sm.summoner_id);
The ID is like respawn_time though, summoner_id is 1920 if I'm not mistaking. fetch_i // summoner_id push_const 1936 Try changing to 1920. |
|
|
|
|
#14 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
I gave it a shot still a no go.
I think thats for older ai versions >.> Heres the error.. 08/31/2006 05:33:xx.xx7, func_call : Access violation. Read[0], ai[warrior_fishing_block] event[CREATED], pc[114], sp[1] |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Thanks to Rodier for better translated text for AI.
If someone wishes to apply the text from his file in the file, take advantage of my utility. |
|
|
|
|