View Full Version : [share] Coliseum off
npcdata.txt
npc_begin citizen 8226 [arena_director] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.1 undying=1 can_be_attacked=0 acquire_sp=10 race=human sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=8 collision_height=23.5 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[arena_director];{[fnHi] = [arena_director001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
npcpos.txt
territory_begin [arena_director1] {{151364;46297;-3421;-3316};{151564;46297;-3421;-3316};{151564;46497;-3421;-3316};{151364;46497;-3421;-3316}} territory_end
npcmaker_begin [arena_director1] initial_spawn=all maximum_npc=1
npc_begin [arena_director] pos={151464;46397;-3411;0} total=1 respawn=1min npc_end
npcmaker_end
territory_begin [arena_director2] {{147426;46980;-3421;-3316};{147626;46980;-3421;-3316};{147626;47180;-3421;-3316};{147426;47180;-3421;-3316}} territory_end
npcmaker_begin [arena_director2] initial_spawn=all maximum_npc=1
npc_begin [arena_director] pos={147526;47080;-3411;0} total=1 respawn=1min npc_end
npcmaker_end
arena_director001.htm
<html><head><body>Arena Director:
Play the game according to the rules! The loser should be silent! What? Unfair? Then, why don't you hold your tongue and give it another try!
<a action="bypass -h menu_select?ask=-1&reply=0">HP Recovery: consumption of 100 adena</a>
<a action="bypass -h menu_select?ask=-1&reply=1">Open door</a></body></html>
ai.obj
class arena_director : citizen
parameter_define_begin
float UseSkill_DecayRatio 660xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
string door1 "aden_colosseum_outer_001"
string door2 "aden_colosseum_outer_002"
string door3 "aden_colosseum_inner_001"
string door4 "aden_colosseum_inner_002"
parameter_define_end
handler 13 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8899. "aden_colosseum_outer_001"
push_string S8899
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8900. "aden_colosseum_outer_002"
push_string S8900
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8901. "aden_colosseum_inner_001"
push_string S8901
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8902. "aden_colosseum_inner_002"
push_string S8902
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41934
push_event // reply
push_const 104
add
fetch_i
push_const 0
equal
and
L41934
branch_false L41938
L41935
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 100
greater_equal
branch_false L41937
L41936
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
push_const 100
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1121281
push_const 1
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41942
L41938
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41939
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
and
L41939
branch_false L41941
L41940
shift_sp 1
push_parameter door1
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door2
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door3
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door4
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41941
L41942
handler_end
handler 5 // SEE_CREATURE
variable_begin
"creature"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8903. "aden_colosseum_outer_001"
push_string S8903
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8904. "aden_colosseum_outer_002"
push_string S8904
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8905. "aden_colosseum_inner_001"
push_string S8905
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8906. "aden_colosseum_inner_002"
push_string S8906
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
class_end
skilldata.txt
skill_begin skill_name = [s_healnpc] /* [힐] */ skill_id = 4380 level = 1 operate_type = A1 magic_level = 70 effect = {{i_heal;5000}} is_magic = 1 mp_consume2 = 0 cast_range = 600 effective_range = 1000 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = target affect_scope = single next_action = none skill_end
skill_pch.txt
[s_healnpc] = 1121281
skill_pch2.txt
1121281 600 0 0 1 0 29 -1 0 0 0 1 -12345
setting.txt
find point_name=[aden_town]
delete map={24;19}
add new settings
point_begin
point_name=[aden_coliseum]
point={147456;46928;-3400}
point={147680;47040;-3400}
point={147696;46928;-3400}
point={147232;46464;-3400}
chao_point={147456;46928;-3400}
chao_point={147680;47040;-3400}
chao_point={147696;46928;-3400}
chao_point={147232;46464;-3400}
map={24;19}
banned_race={}
point_end
kepler001
13.09.2005, 05:43
and doordata??
DreadWolf
13.09.2005, 05:46
Kickass, I'll try it out tomorrow. Doordata was posted by someone already but it's not difficult to find even otherwise.
melco this is a complete and good job, ;)
Good work. But
1. Change Npc look direction to 49152
2. Increase aggro range, because doors no open.
doors open
//summon arena_director
^^
Good work. But
1. Change Npc look direction to 49152
2. Increase aggro range, because doors no open.
doors auto open after npc created
Good work. But
1. Change Npc look direction to 49152
2. Increase aggro range, because doors no open.
doors auto open after npc createdPlayers must have GM1 for open doors? ;)
Make small corrections and doors will be open without problem.
Good work. But
1. Change Npc look direction to 49152
2. Increase aggro range, because doors no open.
doors auto open after npc createdPlayers must have GM1 for open doors? ;)
Make small corrections and doors will be open without problem.
in doordata.txt
openmethod=by_npc
im guessing we have to mod client side. cause I got bunnies. lol
also where are the npcs supposed to be. mine are in between front door and arena?
DoorDaTa
door_begin [aden_coliseum_outter_001] type=normal_type static_object_id=24190001 open_method=by_npc pos={147086;46721;-3408} range={{146986;46621;-3408};{147186;46621;-3408};{147186;46821;-3408};{146986;46821;-3408}} height=500 hp=147086 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_inner_001] type=normal_type static_object_id=24190002 open_method=by_npc pos={148045;46721;-3408} range={{147945;46621;-3408};{148145;46621;-3408};{149045;46821;-3408};{147945;46821;-3408}} height=500 hp=148045 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_outter_002] type=normal_type static_object_id=24190004 open_method=by_npc pos={151911;46721;-3408} range={{151811;46621;-3408};{152011;46621;-3408};{152011;46821;-3408};{151811;46821;-3408}} height=500 hp=151911 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_inner_002] type=normal_type static_object_id=24190003 open_method=by_npc pos={150951;46721;-3408} range={{150801;46521;-3408};{151201;46521;-3408};{151201;46921;-3408};{150801;46921;-3408}} height=500 hp=150951 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
superkent
13.09.2005, 16:22
Who can make AI that the GM could open only
Ok, it is my time to give back to the community. Starting to get the hang of this. :D
arena_director001.htm
<html><head><body>Arena Director:
Play the game according to the rules! The loser should be silent! What? Unfair? Then, why don't you hold your
tongue and give it another try!
<a action="bypass -h menu_select?ask=-1&reply=0">
HP Recovery: consumption of 100 adena</a>
<a action="bypass -h menu_select?ask=-1&reply=1">Open door</a>
</body></head></html>
That was missing the closing </head> tag.
doordata.txt
door_begin [aden_coliseum_outer_001] type=normal_type static_object_id=24190001 open_method=by_npc pos={147086;46721;-3408} range={{146986;46621;-3408};{147186;46621;-3408};{147186;46821;-3408};{146986;46821;-3408}} height=500 hp=147086 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_inner_001] type=normal_type static_object_id=24190002 open_method=by_npc pos={148045;46721;-3408} range={{147945;46621;-3408};{148145;46621;-3408};{149045;46821;-3408};{147945;46821;-3408}} height=500 hp=148045 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_outer_002] type=normal_type static_object_id=24190004 open_method=by_npc pos={151911;46721;-3408} range={{151811;46621;-3408};{152011;46621;-3408};{152011;46821;-3408};{151811;46821;-3408}} height=500 hp=151911 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_inner_002] type=normal_type static_object_id=24190003 open_method=by_npc pos={150951;46721;-3408} range={{150801;46521;-3408};{151201;46521;-3408};{151201;46921;-3408};{150801;46921;-3408}} height=500 hp=150951 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
Has many spelling errors, which on compile, would fail.
ai.obj
class arena_director : citizen //collseum addon
parameter_define_begin
float UseSkill_DecayRatio 660xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
string door1 "aden_coliseum_outer_001"
string door2 "aden_coliseum_outer_002"
string door3 "aden_coliseum_inner_001"
string door4 "aden_coliseum_inner_002"
parameter_define_end
handler 13 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8899. "aden_coliseum_outer_001"
push_string S8899
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8900. "aden_coliseum_outer_002"
push_string S8900
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8901. "aden_coliseum_inner_001"
push_string S8901
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8902. "aden_coliseum_inner_002"
push_string S8902
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41934
push_event // reply
push_const 104
add
fetch_i
push_const 0
equal
and
L41934
branch_false L41938
L41935
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 100
greater_equal
branch_false L41937
L41936
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
push_const 100
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1121281
push_const 1
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41942
L41938
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41939
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
and
L41939
branch_false L41941
L41940
shift_sp 1
push_parameter door1
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door2
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door3
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door4
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41941
L41942
handler_end
handler 5 // SEE_CREATURE
variable_begin
"creature"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8903. "aden_coliseum_outer_001"
push_string S8903
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8904. "aden_coliseum_outer_002"
push_string S8904
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8905. "aden_coliseum_inner_001"
push_string S8905
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8906. "aden_coliseum_inner_001"
push_string S8906
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
class_end
Again, more spelling errors. Fixed. > I am still unable to get the bunny out, because I can't figure out how to encrypt "npcgrp" to .dat (I have the txt of it. Any help, would be great. Also, if you used this code, I have edited the ai. No errors report now.
**UPDATED AGAIN!!***
I am still unable to get the bunny out, because I can't figure out how to encrypt "npcgrp" to .dat (I have the txt of it. Any help, would be great. Also, if you used this code, I have edited the ai. No errors report now.
Nice contribution. :wink:
Try this (https://postpacific.mmorpg-game.online/forum/viewtopic.php?t=1366&highlight=client) thread. You'll need the client.dat file both english (-en) and Chinese (-cn) versions. The thread has a walkthrough and example on how to use them as well. :)
Also, you can check this thread here (https://postpacific.mmorpg-game.online/forum/viewtopic.php?t=1683&highlight=client) if you need more assistance.
Hope this helps.
Yes Flakka, I found that moments after I posted this. Thank you! As always!
Kenster, MSN me and ill do that for u.
now I cant get intot the colliseum. I can get past first gate and talked to npc but cant get on to field. I will post my settings script.
//??? ??
point_begin
point_name=[aden_town]
point={146494;30584;-2420}
point={146038;30519;-2420}
point={148112;30439;-2420}
point={148565;30463;-2420}
point={150227;29104;-2420}
point={144626;29145;-2420}
point={144635;26664;-2220}
point={144526;24661;-2100}
point={144559;22835;-2100}
point={145686;21114;-2100}
point={148946;21121;-2070}
point={148010;27996;-2256}
point={147970;27040;-2191}
point={146814;27108;-2189}
point={146819;28063;-2252}
chao_point={136398;28901;-3582}
chao_point={137292;28485;-3290}
chao_point={155925;28554;-3164}
chao_point={157608;23866;-3760}
chao_point={157463;28770;-3371}
chao_point={159348;28561;-3400}
chao_point={160236;14119;-3892}
chao_point={156764;13774;-3960}
chao_point={161426;23055;-3670}
chao_point={136380;21899;-3647}
chao_point={137708;15640;-3800}
chao_point={136629;28127;-3258}
map={23;18}
map={24;17}
map={24;18}
map={25;18}
map={25;19}
banned_race={}
point_end
point_begin
point_name=[aden_coliseum]
point={147456;46928;-3400}
point={147680;47040;-3400}
point={147696;46928;-3400}
point={147232;46464;-3400}
chao_point={147456;46928;-3400}
chao_point={147680;47040;-3400}
chao_point={147696;46928;-3400}
chao_point={147232;46464;-3400}
map={24;19}
banned_race={}
point_end
is this right. pls help
http://aralyon.profitux.cz/clipboard01.gif
http://aralyon.profitux.cz/clipboard02.gif
got these errors ;[
Picture 1 : You added in Baium's data twice in Skilldata, and the Coliseum data, (s_healnpc).
Pic two, use my data as there is many spelling errors. Which I fixed them all I believe.
I do not have any errors but still cant get into colliseum. pls help
Sorry Dave,
That is so unclear to me, What is wrong? Doors not opening? Cannot click doors? What?!
sorry for lack of information. Been up all night moding.
ok installed script from here. I have npc in side hall of colliseum and he works with his skill to heal and to open doors. I can go through first gate/door. when I try to go into colliseum there seems to be an invisable wall now, on both sides.. where as before the patch I could do the unlock skill and walk all the way through.
Check the site for the working Geodata for that mark. It is out there, I have it.
hmm all my doors to colliseum are still open.. always open..
and the html code was bad - you can't put </head> in code.
I dont know why.. maybe its L2server.exe error..but if I put </head> to html, I see blank dialog..
btw > Im still getting that ugly error about bad ObjectFieldType
(http://aralyon.profitux.cz/clipboard01.gif - ignore skills error plz ;] )
I'll post the GeoData I have for the Coliseum that I got from someone here...but I honstly can't remember who....but its like almost perfect so yeah :P
On another note, does anyone have the areadata for the 'official peace zones' ? I've tried personally getting it to work but areadata just isnt to fond of me lol...any help with that would be appreciated
hmm can anyone teach me, how to add more skills to arena director NPC?
which AI code to cut and paste and what ID add to HTML? thanks..
I now only understand the place where skill is called :-( I want make more buffs @ that npc.. and then custodians to cast c3 skils
I understand this
L41935
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 100
greater_equal
branch_false L41937
L41936
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
push_const 100
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1121281
push_const 1
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41942
but dont know.. how (where) to attach this code with another skill?
simply I can add it to end of this NPC ai code with my own L#### numbers? but how to point HTML to this?
//aden_PvP (24_19)
area_begin name=[aden_pvp_battle] type=battle_zone range = {{148426;45988;-4000;-3700};{150498;45988;-4000;-3700};{150498;47220;-4000;-3700};{148422;47220;-4000;-3700}} area_end
area_begin name=[heine_town_peace1] type=peace_zone range = {{106368;216320;-4000;-600};{115456;216320;-4000;-600};{115456;224896;-4000;-600};{106368;224896;-4000;-600}} area_end
//Coliseum PVP by UStas (24_19)
area_begin name=[coliseum_pvp_battle] type=battle_zone range = {{148695;45976;-3408;-2899};{150246;45977;-3408;-2899};{150502;46260;-3408;-2899};{150508;47213;-3408;-2899};{150264;47517;-3408;-2899};{148709;47523;-3408;-2899};{148413;47210;-3408;-2899};{148413;46251;-3408;-2899}} area_end
//Coliseum PEACE1 by UStas (24_19)
area_begin name=[coliseum_pvp_peace_zone1] type=peace_zone range = {{145024;43008;-3408;-2899};{153600;43008;-3408;-2899};{150246;45977;-3408;-2899};{148695;45976;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone2] type=peace_zone range = {{150246;45977;-3408;-2899};{153600;43008;-3408;-2899};{150502;46260;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone3] type=peace_zone range = {{150502;46260;-3408;-2899};{153600;43008;-3408;-2899};{153600;50560;-3408;-2899};{150508;47213;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone4] type=peace_zone range = {{150508;47213;-3408;-2899};{153600;50560;-3408;-2899};{150264;47517;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone5] type=peace_zone range = {{150264;47517;-3408;-2899};{153600;50560;-3408;-2899};{145024;50560;-3408;-2899};{148709;47523;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone6] type=peace_zone range = {{148709;47523;-3408;-2899};{145024;50560;-3408;-2899};{148413;47210;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone7] type=peace_zone range = {{148413;47210;-3408;-2899};{145024;50560;-3408;-2899};{145024;43008;-3408;-2899};{148413;46251;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone8] type=peace_zone range = {{148413;46251;-3408;-2899};{145024;43008;-3408;-2899};{148695;45976;-3408;-2899}} area_end
it was doordata issue. Fixed...thanks
Hi all! I have one problem: I used this post to set my Coliseum. I put npc Arena Director, doors open, pvp_zone work fine, but when I talk to Arena Director - it shows BLANK CHAT. WHY??? What I've missed? Please help.
My Scripts:
ai.obj
class arena_director : citizen //collseum addon
parameter_define_begin
float UseSkill_DecayRatio 660xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
string door1 "aden_coliseum_outer_001"
string door2 "aden_coliseum_outer_002"
string door3 "aden_coliseum_inner_001"
string door4 "aden_coliseum_inner_002"
parameter_define_end
handler 13 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8899. "aden_coliseum_outer_001"
push_string S8899
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8900. "aden_coliseum_outer_002"
push_string S8900
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8901. "aden_coliseum_inner_001"
push_string S8901
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8902. "aden_coliseum_inner_002"
push_string S8902
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41934
push_event // reply
push_const 104
add
fetch_i
push_const 0
equal
and
L41934
branch_false L41938
L41935
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 100
greater_equal
branch_false L41937
L41936
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
push_const 100
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1121281
push_const 1
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41942
L41938
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41939
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
and
L41939
branch_false L41941
L41940
shift_sp 1
push_parameter door1
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door2
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door3
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door4
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41941
L41942
handler_end
handler 5 // SEE_CREATURE
variable_begin
"creature"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8903. "aden_coliseum_outer_001"
push_string S8903
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8904. "aden_coliseum_outer_002"
push_string S8904
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8905. "aden_coliseum_inner_001"
push_string S8905
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8906. "aden_coliseum_inner_001"
push_string S8906
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
class_end
areadata.txt
area_begin name=[coliseum_pvp_battle] type=battle_zone range = {{148695;45976;-3408;-2899};{150246;45977;-3408;-2899};{150502;46260;-3408;-2899};{150508;47213;-3408;-2899};{150264;47517;-3408;-2899};{148709;47523;-3408;-2899};{148413;47210;-3408;-2899};{148413;46251;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone1] type=peace_zone range = {{145024;43008;-3408;-2899};{153600;43008;-3408;-2899};{150246;45977;-3408;-2899};{148695;45976;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone2] type=peace_zone range = {{150246;45977;-3408;-2899};{153600;43008;-3408;-2899};{150502;46260;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone3] type=peace_zone range = {{150502;46260;-3408;-2899};{153600;43008;-3408;-2899};{153600;50560;-3408;-2899};{150508;47213;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone4] type=peace_zone range = {{150508;47213;-3408;-2899};{153600;50560;-3408;-2899};{150264;47517;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone5] type=peace_zone range = {{150264;47517;-3408;-2899};{153600;50560;-3408;-2899};{145024;50560;-3408;-2899};{148709;47523;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone6] type=peace_zone range = {{148709;47523;-3408;-2899};{145024;50560;-3408;-2899};{148413;47210;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone7] type=peace_zone range = {{148413;47210;-3408;-2899};{145024;50560;-3408;-2899};{145024;43008;-3408;-2899};{148413;46251;-3408;-2899}} area_end
area_begin name=[coliseum_pvp_peace_zone8] type=peace_zone range = {{148413;46251;-3408;-2899};{145024;43008;-3408;-2899};{148695;45976;-3408;-2899}} area_end
arena_director001.htm
<html>
<head>
<body>Arena Director:
Play the game according to the rules! The loser should be silent! What? Unfair? Then, why don't you hold your tongue and give it another try!
<a action="bypass -h menu_select?ask=-1&reply=0">HP Recovery: consumption of 100 adena</a>
<a action="bypass -h menu_select?ask=-1&reply=1">Open door</a>
</body>
</html>
doordata.txt
door_begin [aden_coliseum_outer_001] type=normal_type static_object_id=24190001 open_method=by_npc pos={147086;46721;-3408} range={{146986;46621;-3408};{147186;46621;-3408};{147186;46821;-3408};{146986;46821;-3408}} height=500 hp=147086 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_inner_001] type=normal_type static_object_id=24190002 open_method=by_npc pos={148045;46721;-3408} range={{147945;46621;-3408};{148145;46621;-3408};{149045;46821;-3408};{147945;46821;-3408}} height=500 hp=148045 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_outer_002] type=normal_type static_object_id=24190004 open_method=by_npc pos={151911;46721;-3408} range={{151811;46621;-3408};{152011;46621;-3408};{152011;46821;-3408};{151811;46821;-3408}} height=500 hp=151911 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
door_begin [aden_coliseum_inner_002] type=normal_type static_object_id=24190003 open_method=by_npc pos={150951;46721;-3408} range={{150801;46521;-3408};{151201;46521;-3408};{151201;46921;-3408};{150801;46921;-3408}} height=500 hp=150951 physical_defence=644 magical_defence=518 level=3 close_time=300 door_end
npc_pch.txt
[arena_director] = 1008226
npcdata.txt
npc_begin citizen 8226 [arena_director] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.1 undying=1 can_be_attacked=0 acquire_sp=10 race=human sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx3725587608 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=8 collision_height=23.5 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[arena_director];{[fnHi] = [arena_director001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
skill_pch.txt
[s_healnpc] = 1121281
skill_pch2.txt
1121281 600 0 0 1 0 29 -1 0 0 0 1 -12345
skilldata.txt
skill_begin skill_name = [s_healnpc] skill_id = 4380 level = 1 operate_type = A1 magic_level = 70 effect = {{i_heal;5000}} is_magic = 1 mp_consume2 = 0 cast_range = 600 effective_range = 1000 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = target affect_scope = single next_action = none skill_end
You did not encode the .htm in UNICODE. Open it in note pad, go to SAVE AS, click "ALL FILES" type "UNICODE" then SAVE - Overwrite, yes.
This will fix the issue. If not, check the npcdata.txt for it to link the correct coliseum.htm file. I am almost positive it is unicode problem.
Thank's alot, man)
Gonna to try)
sry for noob question, but what i do with arena_director001.htm ?
Make a html file and put it in your html folder where your server is installed. Or, if you're real lazy just copy/paste a html file in that folder, open it, add the text, rename it to arena_director001 and you're done.
The arena_director001.htm is the text you see when you click on him.
hi
i follow all steps in files and no apper any arena_director.. :( i try summon and nathing can some one help me?
Is there any errors in any of the consoles?
Somebody test heal function already? My arena_director just takes 100adena and don''t heal :( Maybe problem in skill in target type?
I changed ai a bit - cause me heal skill patch id is 1121282
but it not worck too
skill target type seem to be fine
shift_sp 1
push_event // talker
push_const 32
add
it seem to pick talker as target
range is fine too
I tried to use standard heal skill but got the same - taking money and not healing
class arena_director : citizen //collseum addon
parameter_define_begin
float UseSkill_DecayRatio 660xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
string door1 "aden_coliseum_outter_001"
string door2 "aden_coliseum_outter_002"
string door3 "aden_coliseum_inner_001"
string door4 "aden_coliseum_inner_002"
int DamnHeal 1121282
parameter_define_end
handler 13 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8899. "aden_coliseum_outter_001"
push_string S8899
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8900. "aden_coliseum_outter_002"
push_string S8900
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8901. "aden_coliseum_inner_001"
push_string S8901
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8902. "aden_coliseum_inner_002"
push_string S8902
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41934
push_event // reply
push_const 104
add
fetch_i
push_const 0
equal
and
L41934
branch_false L41938
L41935
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 100
greater_equal
branch_false L41937
L41936
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
push_const 100
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const DamnHeal
push_const 1
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41942
L41938
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41939
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
and
L41939
branch_false L41941
L41940
shift_sp 1
push_parameter door1
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door2
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door3
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door4
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41941
L41942
handler_end
handler 5 // SEE_CREATURE
variable_begin
"creature"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8903. "aden_coliseum_outter_001"
push_string S8903
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8904. "aden_coliseum_outter_002"
push_string S8904
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8905. "aden_coliseum_inner_001"
push_string S8905
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8906. "aden_coliseum_inner_001"
push_string S8906
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
class_end
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const DamnHeal
push_const 1
push_const 1
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
Domzelan
10.10.2005, 07:51
I have arena_director - i seems like Big white rabbit :( what shuld i do? What client patch i should to add?
Update your client from off! It will help u!
Update your client from off! It will help u!and? Last client protocol version will be 556 and file crypt protocol 413. You connect successfuly to free L2 servers?
No! It isn't! Update your client from off! Decode all files (they are 413 crypt protocol) and encode them to 412 CP! I've done it - it works!
No! It isn't! Update your client from off! Decode all files (they are 413 crypt protocol) and encode them to 412 CP! I've done it - it works!
ok ok i got it...sorry
Вопрос такой я перекриптовал все файлы с расширением .DAT при запуске клиента говорит что файлы повреждены...
какие ещё файлы надо перекриптить?
sorry to all pp users !!!my english is too bad to write here =)
Drzoom plz answer and help if you can!
thx
Domzelan
10.10.2005, 12:41
Может есть получше патч просто?:)
changed ai a bit - cause me heal skill patch id is 1121282
but it not worck too
..............
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter DamnHeal
push_const 1
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
int DamnHeal 1121282
i got declration for it))
but it doesnt work even if i place 1121282 there
Aden Colisseum complete pack
developed by melco, Ustas, Virgi, HellFire
final fix by HellFire, Russia
08 Nov 2005
all work good as in official server
What included:
- two npc: "Arena Director" and "Arena Manager"
[remove in preview]
Include: ai, npcpos, npcdata, skill for "Arena Director"
- battle and rest zone
- 4 doors. Worked, attached, autoopen/autoclose
- setting.txt part for official spawn players in colisseum location
[remove in preview]
- castledata.txt part for join npc to aden npc's list
- geodata (one layer)
Tomorrow never die