Jump to content
  • 0

Question

Posted (edited)

Hi guys i made special zone like solo farm with minutes etc.. but my problem is player when player disconnect or restat inside the zone after login he still be their.. i wanna help for this to move back at giran after disconnection or restat etc.. some one can help me please?.. thanks

Code:https://pastebin.com/uPFuC4zN?fbclid=IwAR2VqCha3MCXpDE2ajw_y9b9tC2HwKepxakHtrsyLWiGSK2YhvqxZV-9j20

//Edit

 

Edited by cicos

12 answers to this question

Recommended Posts

  • 0
Posted
  On 7/14/2019 at 11:41 AM, filimon said:

Add a check in enterworld to return the player if his time is over and if he's in the zone.

 

Expand  

 

Nope, can be done passively using onEnter zone, since when you connect, you are registered to zone. You only have to check if the dude is supposed to be there or not, like grand boss zones, which is basically a map where players are registered with their timestamp.

  • Thanks 1
  • 0
Posted
  On 7/15/2019 at 7:52 AM, Tryskell said:

 

Nope, can be done passively using onEnter zone, since when you connect, you are registered to zone. You only have to check if the dude is supposed to be there or not, like grand boss zones, which is basically a map where players are registered with their timestamp.

Expand  

Indeed. Thanks :)

  • 0
Posted
  On 7/15/2019 at 7:52 AM, Tryskell said:

 

Nope, can be done passively using onEnter zone, since when you connect, you are registered to zone. You only have to check if the dude is supposed to be there or not, like grand boss zones, which is basically a map where players are registered with their timestamp.

Expand  

can you help me ?.. https://pastebin.com/uPFuC4zN?fbclid=IwAR2VqCha3MCXpDE2ajw_y9b9tC2HwKepxakHtrsyLWiGSK2YhvqxZV-9j20

  • 0
Posted

Edit the zone type for BossZone, don't forget to use allowPlayerEntry. Check GrandBossTeleporters for example.

 

If BossZone properties don't fit you or you already got a custom zone type, you have to copy-paste BossZone content into your whatever custom zone and remove both setInsideZone(ZoneId.BOSS calls, and ofc to edit the zone type for your custom zone type.

  • 0
Posted
  On 7/18/2019 at 12:07 PM, Tryskell said:

Edit the zone type for BossZone, don't forget to use allowPlayerEntry. Check GrandBossTeleporters for example.

 

If BossZone properties don't fit you or you already got a custom zone type, you have to copy-paste BossZone content into your whatever custom zone and remove both setInsideZone(ZoneId.BOSS calls, and ofc to edit the zone type for your custom zone type.

Expand  

i am going to try now thanks.

  • 0
Posted
  On 7/18/2019 at 12:07 PM, Tryskell said:

Edit the zone type for BossZone, don't forget to use allowPlayerEntry. Check GrandBossTeleporters for example.

 

If BossZone properties don't fit you or you already got a custom zone type, you have to copy-paste BossZone content into your whatever custom zone and remove both setInsideZone(ZoneId.BOSS calls, and ofc to edit the zone type for your custom zone type.

Expand  

i changed type and made it BossZone, inside enterinside i made it like enter bosszone but at boss zone i dont have  disconnect back to town code.. help for this.

  • 0
Posted (edited)
  On 7/18/2019 at 5:17 PM, cicos said:

i changed type and made it BossZone, inside enterinside i made it like enter bosszone but at boss zone i dont have  disconnect back to town code.. help for this.

Expand  

 

Don't use a GM character, but a regular character to test such thing. GM got no restriction.

 

If you already tested with a default player, what can I say... Your pack probably didn't implement them properly. You can check on which zone you are currently set using //zone_check and //zone_visual admincommands.

Edited by Tryskell

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.



  • Posts

    • Hello,iv got fafurion running localy just for fun and seems that files dont have geodata couse i can hit through walls so are mobs.Anyone can tell me how to activate geodata or where to insert geodata files?
    • Good luck with your g/o 😃
    • You're talking complete nonsense. The source code of SphereAPI, which handles all requests, is closed and has never been published anywhere.     That return $this doesn't affect anything, PHP just ignores it. Why are you showing it?     Yes, of course I want that, and I’m asking you — go ahead and hack it, I’d even be thankful. The most you can probably do is launch a DDoS attack, but that’s not hacking. The IP you see is just a public one, used by default to handle requests. There are many other IPs involved, which aren’t disclosed for privacy reasons. So, when should I expect your hacker attack? If you fail, it means you talked big for nothing. I hope you're not all talk and can actually back up your words. UPD: To make your task easier, I have disabled limits on incorrect and failed requests, so your site/IP won't get blocked.
    • Lineage2Dex Interlude+ x50 Server launches TODAY!       The wait is over – the Lineage2Dex Interlude+ x50 Server launches TODAY! Grand Opening - April 26 at 19:00 (UTC+3) Over 10,000 registered accounts are ready to dive in! Beta with massive activity over, thx all who participate on it! It's time to begin your real Jorney! 👉 Read full roadmap 👉 Full server description 👉 Download and registration The server will be split into 3 stages, each featuring multiple content episodes. Stage 1: April 26 – May 18 Welcome to the Classic Interlude Phase. This stage is built with minimal custom content, focused on delivering that pure Interlude experience. It’s perfect for both new players unfamiliar with our project and veterans who enjoy a traditional start. Expect a smooth and nostalgic journey with familiar mechanics. Stage 2: May 19 – June 22 Time to expand the world! As most Interlude content gets completed, we gradually introduce new elements. Hellbound will open first, followed by weekly content updates. Midway through this stage, the Isle of Prayer will become available — a new zone featuring Dynasty Gear and fresh challenges. Stage 3: From June 23 Welcome to full content access! Some location become to High-level location, offering great reward! Once this phase concludes, a full merge with Union server will take place — and yes, all your characters and items will carry over safely. We wish everyone a smooth start, fair play, and tons of fun on the new x50 server! See you in-game!
    • Hello everyone! I'm offering professional L2J development services, specialized for aCis projects.   🔹 What I offer: Ready-to-implement existing systems (events, features, gameplay improvements). Custom development: I can create new systems based on your specific requests and ideas. Bug fixing, optimization, and enhancement of your server's code. Professional, clean, and organized Java coding. Support after delivery to ensure smooth integration.   🔹 Some examples of available systems: PvP and PvE Mini-Events (fully automated). Custom Raid Boss Events. Advanced Clan Utilities (regroup features, clan ranking, etc). Reward Systems (based on kills, damage, objectives, etc). Achievements Subscription system Arena Fights (1v1 tournament, scratch made). Advanced event engine (12 events, many features). multi-client aCis project, progressive gameplay C4 to C6   🔹 Why work with me? Years of experience working directly with aCis pack. Fast, reliable communication. I care about performance and long-term stability. I can adjust the systems to fit your server's style and balance.   🔹 Pricing: Flexible depending on the complexity (fixed price per project or per system). Discounts for multiple systems or long-term collaboration.   🔹 Contact: MaxCheaters PM Discord: @Luminous   Serious and passionate about your project? Let's make your server unique!
  • Topics

×
×
  • Create New...