PDA

View Full Version : wyvern AI messed up...


imaznumkay
14.05.2005, 22:11
im using this AI right now...its right after my Strider AI (which works fine)
//===============================================
L81000
push_event
push_const 104
add
fetch_i
push_const 80
equal
branch_false L81002
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
func_call 81
shift_sp -2
push_const 2000000000
greater_equal
branch_false L81001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4422
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L81003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4422
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 7000
push_const 1019999
func_call 196
shift_sp -3
shift_sp -1
jump L81004
L81003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4423
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L81005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4423
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 7000
push_const 1019999
func_call 196
shift_sp -3
shift_sp -1
jump L81004
L81005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4424
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L81001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4424
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 7000
push_const 1019999
func_call 196
shift_sp -3
shift_sp -1
L81004
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
push_const 2000000000
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
S81001. "fairy_mymyu_q0420_92.htm"
push_string S81001
func_call 43
shift_sp -2
shift_sp -1
jump L81002
L81001
shift_sp 1
push_event
push_const 32
add
fetch_i
S81000. "fairy_mymyu_q0420_91.htm"
push_string S81000
func_call 43
shift_sp -2
shift_sp -1
L81002

now, what this AI does is, it would recognize the adena and all that but it would delete the Strider bugle from your inventory and it wouldn't summon the wyvern flute in your inventory....anyone got fix for this?

imaznumkay
14.05.2005, 22:16
this is my current AI text between "branch false L43428" and "L43427"

//===============================================
L80000
push_event
push_const 104
add
fetch_i
push_const 80
equal
branch_false L80002
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
func_call 81
shift_sp -2
push_const 20000000
greater_equal
branch_false L80001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3500
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L80003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3500
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4422
push_const 1012526
func_call 196
shift_sp -3
shift_sp -1
jump L80004
L80003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3501
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L80005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3501
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4423
push_const 1012527
func_call 196
shift_sp -3
shift_sp -1
jump L80004
L80005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3502
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L80001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 3502
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4424
push_const 1012528
func_call 196
shift_sp -3
shift_sp -1
L80004
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
push_const 20000000
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
S80001. "fairy_mymyu_q0420_82.htm"
push_string S80001
func_call 43
shift_sp -2
shift_sp -1
jump L80002
L80001
shift_sp 1
push_event
push_const 32
add
fetch_i
S80000. "fairy_mymyu_q0420_81.htm"
push_string S80000
func_call 43
shift_sp -2
shift_sp -1
L80002
//===============================================
L81000
push_event
push_const 104
add
fetch_i
push_const 80
equal
branch_false L81002
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
func_call 81
shift_sp -2
push_const 80000000
greater_equal
branch_false L81001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4422
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L81003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4422
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 7000
push_const 1019999
func_call 196
shift_sp -3
shift_sp -1
jump L81004
L81003
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4423
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L81005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4423
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 7000
push_const 1019999
func_call 196
shift_sp -3
shift_sp -1
jump L81004
L81005
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4424
func_call 81
shift_sp -2
push_const 1
greater_equal
branch_false L81001
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 4424
push_const 1
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 7000
push_const 1019999
func_call 196
shift_sp -3
shift_sp -1
L81004
shift_sp 1
push_event
push_const 32
add
fetch_i
push_const 57
push_const 80000000
func_call 80
shift_sp -3
shift_sp 1
push_event
push_const 32
add
fetch_i
S81001. "fairy_mymyu_q0420_92.htm"
push_string S81001
func_call 43
shift_sp -2
shift_sp -1
jump L81002
L81001
shift_sp 1
push_event
push_const 32
add
fetch_i
S81000. "fairy_mymyu_q0420_91.htm"
push_string S81000
func_call 43
shift_sp -2
shift_sp -1
L81002

Metalmurphy
15.05.2005, 10:29
My guess is. it DOES summon it, but u just dont have the client patch therefore you dont see it. And NO, you would not see a black icon, you simply dont see anything. but u still have it. ;). See in the db if you have the itemid for the wyvern flute. Im sure its there. U just need the client patch.

rodier
15.05.2005, 10:32
Can u tell us for what is this AI? What change? What Wyvern do with this AI?

Livid
15.05.2005, 10:46
I have 1 question. Have u applied rideble wyverns patch? Yes, with datafiles? All right. If u really did then
push_const 7000
push_const 1019999
should be changed to... erm... don't remember, nevermind, just
push_const <wyvernflute_of_doom_id>
push_const <wyvern_of_doom_id>
c it? Good luck.