Jump to content
  • 0

Problem With Teleportdata


Question

Posted

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.

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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 ...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I’m coming to you with a small update — internal testing is currently underway. We’re working on catching minor issues and resolving them before the server launch 😉 In the near future, we’re planning public tests, which you’ll all be invited to. At the same time, I’ll be sharing a few Quality of Life changes coming to L2 Genesis.   Even if you’re not interested in playing right now, but you are a long-time Lineage 2 player, feel free to join our community. We would greatly appreciate your experience and feedback to help us improve and develop our project. Join the growing L2Genesis community: https://discord.gg/mcuHsQzNCm Also check our website: https://l2genesis.com/   Offline Shop System — run your shop without being online.   Buff Shop System — playing as a buffer? When you’re not in the game, sell buffs! Reworked classic interface, adapted to Interlude — shown here with the inventory menu as an example. New custom mob drop and spoil preview. DualBox Verification System — each player can only use one active account at a time. Genesis Wiki — a collection of all essential information about items, NPCs, drops, spoils, and quests.
    • https://gitlab.com/Tryskell/acis_public nai swsta, exeis kati pio updated na mas protineis? 
    • 🔥 L2Gold Enma – High Rate PvP Interlude 🔥 Interlude Chronicle • C6 Skills • Pure PvP Experience Welcome to L2Gold Enma, a high-rate PvP server designed for players who want instant action, balanced gameplay and nonstop PvP, without pointless grinding. ⚔️ Server Rates XP / SP: x1000 Adena / Drops: x10 Chronicle: Interlude Skills: C6 balanced skills Buff duration: 2 hours No weight limit 🎮 Gameplay Philosophy Fast leveling, instant PvP Clean Interlude experience No pay-to-win mechanics Focus on skill-based PvP 🛡️ Core Features Global Gatekeeper Offline shops Auto events (TvT, DM, CTF, etc.) Retail-like Olympiad with custom balance Active Raid Bosses Easy access to PvP gear 🏰 PvP & Competition Mass PvP & clan wars Meaningful castle sieges Olympiad focused on player skill Balanced classes for both solo & group PvP ⚡ Why L2Gold Enma? Interlude nostalgia with C6 skills High rates, low grind Stable server & active development Community-focused updates 💥 Join L2Gold Enma and dominate the battlefield! This is not a farm server. This is PvP   https://l2gold-enma.com/ https://discord.com/invite/Ba9cHj3HUJ
    • Hi I'm still online for this but making backup of everything in that time I didn't organize well so let me create a pack and upload to archive.org maybe. Thanks ! we can enrich togethers this if everyone add more and more old files.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..