Jump to content
  • 0

Question

Posted

First:

I want to give to a player a V.i.p Status with that Status he can gain +1000 Hp/Mp/Cp & +100 Atk.Spd C.Speed P.Atk M.Atk

But i want to also have a db table who will analyse the subscription like to put a Time and when this time passes he got automatically removed from Vip status

 

Second:

I want to have an Area that those kind of guys can't access cause of V.i.p Status. Does it need a java restriction or something?

 

P.S Im very amateur in java so explain me better.

 

Pack:L2JFrozen.

9 answers to this question

Recommended Posts

  • 0
Posted

Since Im rewarded with -2 for helping on such sections, I am not in mood to code it, however our experienced, helpful and active coders/developers are here to help and boost the forum, so you could refer to them.

  • 0
Posted

Since Im rewarded with -2 for helping on such sections, I am not in mood to code it, however our experienced, helpful and active coders/developers are here to help and boost the forum, so you could refer to them.

Don't forget highly trained.
  • 0
Posted

on the first request just search the forum to find the pvp lord engine thingie and use it as your base, it even has the login checks and extra stats needed so you pretty much copy paste everything and change variable,method names.

 

as about the second one you can just create new class and extend l2teleportinstance or whatever its called in l2j and create ur own teleporter with the appropriate check before the action of the button takes place if(player.isVip()) player.teleportTo(x,y,z); or something. This one is also shared by matim if i remember correctly, look for it in the forum.

 

Haven't coded sh.it in l2j for about 2+ years so bare with me ^^.

  • 0
Posted

@Forced

Well try to create new Zone Type in Java, on entering do check if player is VIP, if yes, teleport it to town, if not do nothing, then create it in XML and it should work.

Ps. try to look at other types, there should be couple examples :)

  • 0
Posted

Well,i find a solution about the first code. Could anyone help me for the second? Voqus i didn't understand anything :P

Don't wanna keep talking about it, just check this and this

On L2PcInstance you need to create boolean field for vip and getters, setters for it as well.

So inside the gatekeeper class it will go like this:

if(player.isVip()) //if the player has vip status teleport him
   player.teleToLocation(x, y, z); // teleport the player to x y z location

  • 0
Posted

Don't wanna keep talking about it, just check this and this

On L2PcInstance you need to create boolean field for vip and getters, setters for it as well.

So inside the gatekeeper class it will go like this:

if(player.isVip()) //if the player has vip status teleport him
   player.teleToLocation(x, y, z); // teleport the player to x y z location

 

to avoid teleto location which is anoying you could simply edit moveToLocation packet to dissalow VIPs from walking into specific x y z radius

  • 0
Posted

to avoid teleto location which is anoying you could simply edit moveToLocation packet to dissalow VIPs from walking into specific x y z radius

Haven't coded sh.it in l2j for about 2+ years so bare with me ^^.

Guest
This topic is now closed to further replies.


  • Posts

    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • 🚀 IronLock Shield - Closed Beta Update Hello everyone, Since our first announcement, IronLock Shield has received several major protection upgrades. IronLock Shield is a security platform developed specifically for Lineage II Interlude servers, focused on launcher integrity, runtime protection, session security, and anti-bot hardening. Current protection features: ✓ Secure Launcher Architecture ✓ HWID-Based Licensing ✓ Signed Launcher Session System ✓ Gateway Session Verification ✓ Automatic Session Revoke on Critical Detection ✓ Replay Protection with Nonce Validation ✓ Runtime Integrity Verification ✓ Secure Update System Client-side protections: ✓ Anti-Debug Protection ✓ Anti-Dump Protection ✓ DLL Injection Detection ✓ Manual Map Detection ✓ Remote Thread Detection ✓ Runtime Patch Detection ✓ Suspicious Handle Detection ✓ Memory Read / Write Guard ✓ Strict DLL Hash / Allowlist Control ✓ Launcher Self-Protection ✓ Watchdog Protection Bot and automation hardening: ✓ Adrenaline / Memory Reader Hardening ✓ Runtime Decoy Memory Regions ✓ Fake Pointer-Chain / Offset Noise ✓ Per-Build Mutation System ✓ Pointer Scan Disruption ✓ Virtual Keyboard Input Detection ✓ Hookless Virtual Mouse Click Detection ✓ Raw Input Based Mouse Verification Server and gateway security: ✓ Signed Launcher-to-Server Requests ✓ Build ID Binding ✓ HWID Binding ✓ IP / Session Binding ✓ Expired Session Blocking ✓ Revoked Session Blocking ✓ Gateway Runtime Session Checks ✓ Critical Detection Reporting Panel Recent improvements: ✓ Improved protection against memory-reading bots ✓ Added decoy pointer-chain memory traps ✓ Added per-build mutation data ✓ Added stricter process handle policy ✓ Added hookless virtual mouse click detection ✓ Improved watchdog stability to reduce false positives ✓ Improved session revoke logic for critical detections ✓ Updated website and protection feature list IronLock Shield is currently in closed beta. Selected Lineage II Interlude server owners can receive 1 month of free access in exchange for testing and feedback. Website: https://ilshield.com If you are interested, feel free to send me a private message or contact me through Discord. Thank you.
    • Contacts for communication. Telegram https://t.me/a_dvertising_man Telegram short link @a_dvertising_man   Delta Chat https://i.delta.chat/#11D46642C67CF6BDD4BD6430EB8AE99106CC54D7&v=3&i=u1npSLMZpUfcnWi5FGHNBn-1&s=GjBgI7oXKcuCXGl1acvt0tcp&a=p2norrc0e%40nine.testrun.org&n=advertisingman Hello. I participate in "forum deal" in role middleman. Paid services in graphic design,garant service(https link to profile) is provided only from buyer. Please write me in messenger for contact who are you by nationality and in which country you live.   I will not conduct deals with buyers and sellers from Ukraine. I do not cooperate with country Ukraine. If you Ukrainian by nationality or live in Ukraine,ignore this topic. If you other nationality: paid service from garant service buyer pays using own money.   Garant service(https link to profile) provided only from buyer. Buyer provides address guarantor service(https link to profile) or multiple addresses guarantors services. If seller don't like this garant service address(seller may doubt whether he will receive money from this garant service),then buyer offers another address garant service or multiple addresses guarantors services. If neither address seller doesn't like,then buyer is leaving from me.   Buyer deposits full amount to payment details guarantor service, plus my commission(my percent above amount for service in graphic design). In "forum questionnaire" buyer writes: payment details from seller,payment details seller i will send to buyer in advance via messenger.   Paid creation avatar and banner(price depends from complexity work). Paid creation visuals for music releases,for promo art(price depends from complexity work). Original posters using stock images(price depends from complexity work). Design for social media:covers,previews(price depends from complexity work). Other paid services in graphic design(price depends from complexity work).  
  • 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..