girogius
Members-
Posts
89 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by girogius
-
Help ShowMultisell function not working. Error (not allowed)
girogius replied to girogius's question in Request Server Development Help [L2OFF]
ohh... -
hi, im using MyExt64 I want to call ShowMultisell from ai, or directly open multisell from html but none of them working.. server is epilogue. when I try to call ShowMultisell from ai it says "multisell not allowed" when i try directly from html it does nothing, html window just dissapers but multisell window not openning. "bypass -h menu_select?ask=-303&reply=803" where 803 is id of multiseel that i created: MultiSell_begin [server_manager_weapon_b] 803 is_dutyfree = 1 selllist={ {{{[great_sword];1}};{{[adena];8000000}}}; {{{[great_sword_focus];1}};{{[adena];12000000}}}; {{{[great_sword_health];1}};{{[adena];12000000}}}; {{{[great_sword_crt.damage];1}};{{[adena];12000000}}}; {{{[heavy_war_axe];1}};{{[adena];8000000}}}; {{{[heavy_war_axe_health];1}};{{[adena];12000000}}}; {{{[heavy_war_axe_anger];1}};{{[adena];12000000}}}; {{{[heavy_war_axe_rsk.focus];1}};{{[adena];12000000}}}; {{{[kshanberk];1}};{{[adena];8000000}}}; {{{[kshanberk_focus];1}};{{[adena];12000000}}}; {{{[kshanberk_guidence];1}};{{[adena];12000000}}}; {{{[tsurugi*samurai_longsword];1}};{{[adena];12000000}}}; {{{[sword_of_valhalla];1}};{{[adena];8000000}}}; {{{[sword_of_valhalla_acumen];1}};{{[adena];12000000}}}; {{{[sword_of_valhalla_magicregen];1}};{{[adena];12000000}}}; {{{[kris];1}};{{[adena];8000000}}}; {{{[kris_backblow];1}};{{[adena];12000000}}}; {{{[kris_focus];1}};{{[adena];12000000}}}; {{{[kris_evasion];1}};{{[adena];12000000}}}; {{{[arthro_nail];1}};{{[adena];8000000}}}; {{{[arthro_nail_rsk.evasion];1}};{{[adena];12000000}}}; {{{[arthro_nail_rsk.haste];1}};{{[adena];12000000}}}; {{{[dark_elven_long_bow];1}};{{[adena];8000000}}}; {{{[dark_elven_long_bow_evasion];1}};{{[adena];12000000}}}; {{{[dark_elven_long_bow_miser];1}};{{[adena];12000000}}}; {{{[great_axe];1}};{{[adena];8000000}}}; {{{[great_axe_anger];1}};{{[adena];12000000}}}; {{{[great_axe_crt.stun];1}};{{[adena];12000000}}}; {{{[great_axe_light];1}};{{[adena];12000000}}}; {{{[spell_breaker];1}};{{[adena];8000000}}}; {{{[spell_breaker_acumen];1}};{{[adena];12000000}}}; {{{[ice_storm_hammer];1}};{{[adena];8000000}}}; {{{[ice_storm_hammer_focus];1}};{{[adena];12000000}}}; {{{[ice_storm_hammer_anger];1}};{{[adena];12000000}}}; {{{[staff_of_evil_sprit];1}};{{[adena];25000000}}} } MultiSell_end any help will be appriciated
-
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
I guess you only editing existing htm files, i find out that when you creating new htm files must be encoded as UCS-2 LE BOM, I was using UTF-8 that was the problem. The End. Thank you for your help i appreciate it -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
bro there is problem in my htm s i just changed fnHi to zerstorer_morsell_q0281_08.htm (random htm that i found in html folder) and its workig.... which editor are you using what encoding and how do you save files? -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
there is fnHi before unsowing=1 in npcdata like this: npc_ai={[server_manager]};{[fnHi]=[server_manager.htm]}; what do you mean no pos? -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
fck i will share every part of this nc code from ai to html everything looks correct compiled ai: class 0 server_manager : default_npc parameter_define_begin string fnHi "server_manager.htm" string fnShop "server_manager_shop.htm" string fnShopArmor "server_manager_shop_armor.htm" string fnShopWeapon "server_manager_shop_weapon.htm" string fnShopJewel "server_manager_shop_jewel.htm" string fnShopConsumables "server_manager_shop_consumables.htm" string fnProfession "server_manager_class.htm" string fnBuffs "server_manager_buffs.htm" string fnYouAreChaotic "server_manager_chaotic.htm" int firstClassPrice 500000 int secondClassPrice 3000000 int thirdClassPrice 30000000 int buffPrice 1000 parameter_define_end handler 3 38 // TALKED variable_begin "talker" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // talker push_const 40 //talker add fetch_i //karma push_const 528 //karma add fetch_i4 push_const 0 //unary->INTEGER_CONST greater branch_false L1 L0 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnYouAreChaotic func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L2 L1 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnHi func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 L2 handler_end handler 31 185 // MENU_SELECTED variable_begin "talker" "ask" "reply" "fhtml0" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 160 //ask add fetch_i4 push_const 601 //unary->INTEGER_CONST negate equal branch_false L4 L3 push_event // reply push_const 272 //reply add fetch_i push_reg_sp fetch_i //select_case compare push_const 1 //select_case equal branch_false L7 L6 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnShop func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L8 L7 push_reg_sp fetch_i //select_case compare push_const 2 //select_case equal branch_false L9 L8 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnProfession func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L10 L9 push_reg_sp fetch_i //select_case compare push_const 11 //select_case equal branch_false L11 L10 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnShopArmor func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L12 L11 push_reg_sp fetch_i //select_case compare push_const 12 //select_case equal branch_false L13 L12 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnShopWeapon func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L14 L13 push_reg_sp fetch_i //select_case compare push_const 123 //select_case equal branch_false L15 L14 push_event // myself push_const 784 //ShowMultisell add fetch_i //ShowMultisell push_const 803 //unary->INTEGER_CONST push_event // talker push_const 40 //talker add fetch_i func_call 235012182 // func[ShowMultisell] shift_sp -2 shift_sp -1 jump L5 jump L16 L15 push_reg_sp fetch_i //select_case compare push_const 13 //select_case equal branch_false L17 L16 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnShopJewel func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L18 L17 push_reg_sp fetch_i //select_case compare push_const 14 //select_case equal branch_false L19 L18 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnShopConsumables func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L20 L19 push_reg_sp fetch_i //select_case compare push_const 3 //select_case equal branch_false L21 L20 push_event // myself push_const 784 //ShowPage add fetch_i //ShowPage push_event // talker push_const 40 //talker add fetch_i push_parameter fnBuffs func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L5 jump L22 L21 L22 L5 shift_sp -1 L4 handler_end class_end decompiled ai: set_compiler_opt base_event_type(@NTYPE_NPC_EVENT) class server_manager : default_npc { parameter: string fnHi = "server_manager.htm"; string fnShop = "server_manager_shop.htm"; string fnShopArmor = "server_manager_shop_armor.htm"; string fnShopWeapon = "server_manager_shop_weapon.htm"; string fnShopJewel = "server_manager_shop_jewel.htm"; string fnShopConsumables = "server_manager_shop_consumables.htm"; string fnProfession = "server_manager_class.htm"; string fnBuffs = "server_manager_buffs.htm"; string fnYouAreChaotic = "server_manager_chaotic.htm"; int firstClassPrice = 500000; int secondClassPrice = 3000000; int thirdClassPrice = 30000000; int buffPrice = 1000; handler: EventHandler TALKED(talker) { if(talker.karma > 0){ ShowPage(talker, fnYouAreChaotic); } else{ ShowPage(talker, fnHi); } } EventHandler MENU_SELECTED(talker, ask, reply, fhtml0) { if (ask == -601) { select (reply) { case 1: ShowPage(talker, fnShop); break; case 2: ShowPage(talker, fnProfession); break; case 11: ShowPage(talker, fnShopArmor); break; case 12: ShowPage(talker, fnShopWeapon); break; case 123: ShowMultisell(803, talker); break; case 13: ShowPage(talker, fnShopJewel); break; case 14: ShowPage(talker, fnShopConsumables); break; case 3: ShowPage(talker, fnBuffs); break; } } } } npc data: npc_begin citizen 37017 [server_manager] category={} level=80 exp=4200000000 ex_crt_effect=1 unique=0 s_npc_prop_hp_rate=1 race=construct sex=female skill_list={@s_npc_prop_race_construct;@s_npc_prop_hp_lv_p0;@s_npc_prop_mp_lv_p0;@s_npc_prop_pa_lv_p0;@s_npc_prop_ma_lv_p0;@s_npc_prop_pd_lv_p0;@s_npc_prop_md_lv_p0;@s_npc_prop_armor_type_n;@s_npc_prop_weapon_type_sword;@s_npc_abnormal_immunity;@s_full_magic_defence} slot_chest=[] slot_rhand=[] slot_lhand=[] collision_radius={25;25} collision_height={47.5;47.5} hit_time_factor=0.6 hit_time_factor_skill=-1 ground_high={1;0;0} ground_low={1;0;0} str=40 int=21 dex=30 wit=20 con=43 men=20 org_hp=3290.11306877694 org_hp_regen=8.5 org_mp=1674.8 org_mp_regen=3 base_attack_type=sword base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 base_physical_attack=970.537548504614 base_critical=4 physical_hit_modify=5 base_attack_speed=253 base_reuse_delay=0 base_magic_attack=662.751329129412 base_defend=341.375 base_magic_defend=249.80341 base_attribute_attack={none;0} base_attribute_defend={20;20;20;20;20;20;0} physical_avoid_modify=0 shield_defense_rate=0 shield_defense=0 safe_height=100 soulshot_count=0 spiritshot_count=0 clan={} ignore_clan_list={} clan_help_range=0 undying=1 can_be_attacked=0 corpse_time=7 no_sleep_mode=0 agro_range=0 passable_door=0 can_move=0 flying=0 has_summoner=0 targetable=1 show_name_tag=1 npc_ai={[server_manager]};{[fnHi]=[server_manager.htm]}; unsowing=1 acquire_exp_rate=0 acquire_sp=0 acquire_rp=0 corpse_make_list={} additional_make_list={} additional_make_multi_list={} ex_item_drop_list={} npc_end npc pos: territory_begin [npc_buffer_kamael_village_01] {{-117369;46603;360;660};{-116969;46603;360;660};{-116969;47003;360;660};{-117369;47003;360;660}} territory_end npcmaker_begin [npc_buffer_kamael_village_01] initial_spawn=all maximum_npc=1 npc_begin [server_manager] pos={-117169;46803;360;49420} total=1 respawn=1min npc_end npcmaker_end fnHi htm: <html> <head> <title>Server Manager</title> <body> <button value="Shop" align="CENTER" action="bypass -h menu_select?ask=-601&reply=1" width=100 height=30 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"><br> </body> </html> its not finished yet but shop and b grade armor multisell must be there... -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
ai=[server_manager] is it ok? in npcpos.txt? -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
sho me what you got in npcpos.txt this npc part only.. i think there is a problem.. this is mine: territory_begin [npc_buffer_kamael_village_01] {{-117369;46603;360;660};{-116969;46603;360;660};{-116969;47003;360;660};{-117369;47003;360;660}} territory_end npcmaker_begin [npc_buffer_kamael_village_01] initial_spawn=all maximum_npc=1 npc_begin [server_manager] pos={-117169;46803;360;49420} total=1 respawn=1min ai=[server_manager]; npc_end npcmaker_end buffer npc is in old ai forget it fnHi now is server_manager.htm string fnHi = "server_manager.htm"; -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
this is mine now but still empty window .. npc_begin citizen 37017 [server_manager] category={} level=80 exp=4200000000 ex_crt_effect=1 unique=0 s_npc_prop_hp_rate=1 race=construct sex=female skill_list={@s_npc_prop_race_construct;@s_npc_prop_hp_lv_p0;@s_npc_prop_mp_lv_p0;@s_npc_prop_pa_lv_p0;@s_npc_prop_ma_lv_p0;@s_npc_prop_pd_lv_p0;@s_npc_prop_md_lv_p0;@s_npc_prop_armor_type_n;@s_npc_prop_weapon_type_sword;@s_npc_abnormal_immunity;@s_full_magic_defence} slot_chest=[] slot_rhand=[] slot_lhand=[] collision_radius={25;25} collision_height={47.5;47.5} hit_time_factor=0.6 hit_time_factor_skill=-1 ground_high={1;0;0} ground_low={1;0;0} str=40 int=21 dex=30 wit=20 con=43 men=20 org_hp=3290.11306877694 org_hp_regen=8.5 org_mp=1674.8 org_mp_regen=3 base_attack_type=sword base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 base_physical_attack=970.537548504614 base_critical=4 physical_hit_modify=5 base_attack_speed=253 base_reuse_delay=0 base_magic_attack=662.751329129412 base_defend=341.375 base_magic_defend=249.80341 base_attribute_attack={none;0} base_attribute_defend={20;20;20;20;20;20;0} physical_avoid_modify=0 shield_defense_rate=0 shield_defense=0 safe_height=100 soulshot_count=0 spiritshot_count=0 clan={} ignore_clan_list={} clan_help_range=0 undying=1 can_be_attacked=0 corpse_time=7 no_sleep_mode=0 agro_range=0 passable_door=0 can_move=0 flying=0 has_summoner=0 targetable=1 show_name_tag=1 npc_ai={[server_manager]};{[fnHi]=[server_manager.htm]}; unsowing=1 acquire_exp_rate=0 acquire_sp=0 acquire_rp=0 corpse_make_list={} additional_make_list={} additional_make_multi_list={} ex_item_drop_list={} npc_end i restarted cached and l2server but its same -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
now i have like this :d npc_ai={[myainame]}; ok i will add fnHi also but i dont think it it solves problem -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
this is a decompiled code: handler: EventHandler TALKED(talker) { if(talker.karma > 0){ ShowPage(talker, fnYouAreChaotic); } else{ ShowPage(talker, fnHi); } } just ai name is not enough in npcdata file? fn hi will not show from talked event? -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
this html that i shared is a fnHi.. i dont know where chat is coming from -
yes i figured it out now i write decompiled code and i do compile after, its more easier, thanks anyway
-
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
I created new ai now window is showing but window is empty this is my html: <html> <head> <title>Server Manager</title> <body> <button value="Shop" align="CENTER" action="bypass -h menu_select?ask=-601&reply=1" width=100 height=30 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"><br> </body> </html> do you see something wrong? I saved that file as .htm not .html i see other files are also htm but working well. this is a server manager i will put buffer and class master into this npc later ai programming is not problem i know how to do it but this empty windows are headache -
Share Gracia Final Ai Compiler (Nasc) By L2Shrine.com
girogius replied to eressea's topic in Server Shares & Files [L2OFF]
how can i compile nasc file? Edit: never mind. i did it. -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
ara ra welcome :d npc bufferis ai s vwer :d mgoni gavaswore funqciis id ebi iyo araswori, tan shen mgoni l2j ze ambob es pts aris, buffebis magivrad hi chavwere prosta htm shi tu gamochndeboda mainteresebda skilebis brali xoaraatqo metqi I copied ai code from this topic but looks like its not for epilogue. function ids and everything is incorrect [Guide] [L2Off]: Gmshop,teleporter,buffer Creation.(All In One) - Server Development Discussion [L2OFF] - MaxCheaters.com | Lineage 2 Development Marketplace Bots and Cheats I will try to write my own -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
ara dzma epilogue aris -
Help npc dont showing hi page [epilogue]
girogius replied to girogius's question in Request Server Development Help [L2OFF]
No, i just deleted everything and wrote hi in htm for testing but still nothing -
What push_const and fetch_i do and what is myself,choiceN etc... please explain details like this not syntax
-
Share Kronosportal Html + PSD
girogius replied to Celestine's topic in Website Templates & Themes (Free)
good but this style getting kinda old... try to make some responsive templates with modern design -
Help npc dont showing hi page [epilogue]
girogius posted a question in Request Server Development Help [L2OFF]
my buffer npc have no reaction when i try to talk, its not showing buffer_npc001.htm here is my ai script. class 0 buffer : citizen parameter_define_begin string fnHi "buffer_npc001.htm" string fnYouAreChaotic "buffer_npc002.htm" string fnNotEnoughAdena "buffer_npc003.htm" string fnWait "buffer_npc004.htm" int ItemBuff 57 int Amount 1000 int Delay 500 parameter_define_end handler 13 11 // CREATED variable_begin "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // myself push_const 728 add fetch_i // i_ai0 push_const 308 add push_reg_sp fetch_i push_const 0 assign4 shift_sp -1 handler_end handler 3 38 // TALKED variable_begin "talker" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // talker push_const 40 add fetch_i // karma push_const 468 add fetch_i4 push_const 0 greater branch_false L2 L1 push_event // myself push_const 728 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter fnYouAreChaotic func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 jump L3 L2 push_event // myself push_const 728 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter fnHi func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 L3 handler_end handler 32 134 // MENU_SELECTED variable_begin "talker" "ask" "reply" "myself" "_choiceN" "_code" "_from_choice" variable_end push_event // ask push_const 160 add fetch_i4 push_const 201 negate equal push_reg_sp fetch_i branch_false L4 shift_sp 1 push_event // myself push_const 704 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter ItemBuff func_call 184680579 // func[OwnItemCount] shift_sp -2 push_parameter Amount greater_equal and L4 branch_false L5 L6 push_event // myself push_const 704 add fetch_i // i_ai0 push_const 308 add fetch_i4 push_const 0 equal branch_false L8 L7 push_event // myself push_const 704 add fetch_i // i_ai0 push_const 308 add push_reg_sp fetch_i push_const 1 assign4 shift_sp -1 push_event // myself push_const 704 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter ItemBuff push_parameter Amount func_call 184746114 // func[DeleteItem1] shift_sp -3 shift_sp -1 push_event // myself push_const 704 add fetch_i push_event // talker push_const 40 add fetch_i push_event // reply push_const 164 add fetch_i push_const 1 push_const 1 push_const 1000000 func_call 184877074 // func[AddUseSkillDesire] shift_sp -5 shift_sp -1 push_event // myself push_const 704 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter fnHi func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 push_event // myself push_const 704 add fetch_i push_const 1 push_parameter Delay func_call 184680487 // func[AddTimerEx] shift_sp -2 shift_sp -1 jump L9 L8 shift_sp 1 push_event // myself push_const 704 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter fnWait func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 L9 jump L10 L5 shift_sp 1 push_event // myself push_const 704 add fetch_i push_event // talker push_const 40 add fetch_i push_parameter fnNotEnoughAdena func_call 235012165 // func[ShowPage] shift_sp -2 shift_sp -1 L10 handler_end handler 12 20 // 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 1 equal branch_false L12 L11 push_event // myself push_const 704 add fetch_i // i_ai0 push_const 308 add push_reg_sp fetch_i push_const 0 assign4 shift_sp -1 L12 handler_end class_end -
Help Npcgrp.dat corrupted error after edit
girogius posted a question in Request Server Development Help [L2OFF]
Hi, I edited Npcgrp.dat, added custom npc and after that im unable to start client. it says: Edit: I was using bad version of l2fileedit, admins close this if if want. -
there is no set_level? i created server and how can i lvl up my gm character? and learn all skills? //set_skill_all not working i have builder lvl 2 on character. Edit: I will answer my own dumb question if anyone need it, in L2OFF we can use command //setparamf for level. Example: //setparam level <number>