Jump to content
  • 0

Problem With Teleportdata


l2fire

Question

Hello everyone, sorry i dont speak in russian language, just english ..
I have one problem with my teleporter, he dont teleport when i press on button e.x. Aden Town, press and no effect..
Now i show my files, that's original ..

 

HTML line:

<button value="Giran Town" action="bypass -h player_teleport?name=giran" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal">

TeleportData.txt from script folder:

begin   name=giran   price=0   x_loc=185317   y_loc=20041   z_loc=-3264   min_level=1   max_level=80   required_item_id=57   required_item_count=5 end

npcdata.txt from scripts folder:

npc_begin   citizen   35709   [teleport_npc]   level=75   acquire_exp_rate=0   acquire_sp=0   unsowing=1   clan={}   ignore_clan_list={}   clan_help_range=300   slot_chest=[]   slot_rhand=[]   slot_lhand=[]   shield_defense_rate=0   shield_defense=0   skill_list={@s_race_humans;@s_full_magic_defence}   npc_ai={[teleport_npc];{[fnHi]=[teleport_npc_001.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=120};{[MoveAroundSocial2]=120}}   category={}   race=human   sex=male   undying=1   can_be_attacked=0   corpse_time=7   no_sleep_mode=0   agro_range=0   ground_high={120;0;0}   ground_low={1;0;0}   exp=804225365   org_hp=2676.65854   org_hp_regen=8.5   org_mp=1507.8   org_mp_regen=3   collision_radius={14;14}   collision_height={40;40}   str=40   int=21   dex=30   wit=20   con=43   men=20   base_attack_type=fist   base_attack_range=40   base_damage_range={0;0;80;120}   base_rand_dam=30   base_physical_attack=794.70901   base_critical=4   physical_hit_modify=5   base_attack_speed=253   base_reuse_delay=0   base_magic_attack=542.68324   base_defend=319.24623   base_magic_defend=233.61053   physical_avoid_modify=0   soulshot_count=0   spiritshot_count=0   hit_time_factor=0.6   item_make_list={}   corpse_make_list={}   additional_make_list={}   additional_make_multi_list={}   hp_increase=0   mp_increase=0   safe_height=100   npc_end

And ai.obj, i think there and is a problem .

class 1 teleport_npc : citizen
handler 3 14   //  TALKED
   variable_begin
       "talker"
       "myself"
       "_choiceN"
       "_code"
       "_from_choice"
   variable_end

   push_event   //  myself
   push_const 704
   add
   fetch_i
   push_event   //  talker
   push_const 40
   add
   fetch_i
S881.   "teleport_npc_001.htm"
   push_string S881
   func_call 184680516   //  func[ShowPage]
   shift_sp -2
   shift_sp -1
   exit_handler
handler_end

class_end

All required items which need to teleport i have in inventory. :)

 

Thanks for your answers.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Need decompiler the ai.obj  is add a function is simple.

Use as base in server files "Pre configured  c4" have gk 100% work 

Good  luck.

Panel from xel for decompiler.

Edited by Jamba
Link to comment
Share on other sites

  • 0

I know this codes, but i can't make a nice html, and teleport by one click. e.x. LvL Up zone u press and going teleport. But now u press and u going in other window to select your teleport location ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...