PDA

View Full Version : Code Ai.obj


mousfer
02.11.2006, 19:20
Hi guys

I use change rater in L2 exe with comadn [EVENT]
i change rate in ai obj edenas and exp rate to 3 but, i have little problem with change clan level dont pick normal SP but give 3x hightest :( I know this fix in ai but i cant find where is this comand ... so pls help :( with this ...


and do u know how fix AI.obj - nobless teleports hack


wery thx for any help

(sorry for my bad english :)

m4rk
02.11.2006, 19:40
This is an example of the check if the clan leader has enough SP
push_event // talker
push_const 40
add
fetch_i // sp
push_const 288
add
fetch_i4
push_const 7500
greater_equal

Example fo delete X SP (7500 in this case, as my server is x4 that makes 30000SP taken in reality)
push_event // talker
push_const 40
add
fetch_i
push_const 1
push_const 7500
negate

All you have to do is search for similar SP request in 'class 1 guild_master : citizen', in 'handler 48 483 // LEVEL_UP_PLEDGE'

mousfer
02.11.2006, 22:15
n1ce thx for help, i fix it but i cant find any fix how fix nobless port :(

m4rk
02.11.2006, 23:15
are you using cypher's dll?

mousfer
03.11.2006, 06:40
push_event // talker
push_const 40
add
fetch_i // nobless_type
push_const 156
add
fetch_i4
push_const 1
equal


there is any bad code ... but i dont know where and how fix noblesss ports .. do u everybody how ? or have any good ai.obj with fix this etc ?
but better is coding this .. fix it pls :(

mousfer
05.11.2006, 17:15
pls help me with nobless :( i must fix this in AI :( but i dont know where and how ..

push_event // talker
push_const 40
add
fetch_i // nobless_type
push_const 156
add
fetch_i4
push_const 1
equal