Jump to content

Recommended Posts

Posted

Hello guys , I saw this feature in L2Sexi

When you go to pvp zone your name is changed to random name so you can't team with other players :D

When you exit your name is back.

its done by me I just took the pvp zone from  NeverMorε and added my code on it

To use this go to  game\data\zones and open  any zone you want to change and then change this

type="L2CustomPvP"

 

H5 L2jServer: http://pastebin.com/U0AUQh6f

Interlude L2jEsios http://pastebin.com/yPmzN4TN

 

Tested and working

 

Any questions please post here.

 

forgot to say you will have to create new column in character name in pvpname,small int and allow null

 

 

Update : instead of using db connection i just made a new random number generated when player enter

in the new update you dont need to make new column in database character tables

 

pastebin : http://pastebin.com/u6UpLHw1

 

Update : clan are removed when you enter

 

http://pastebin.com/nmYzxZwj

 

Posted

for each player that enter you open db connection ?

 

you can just save the itno a var and on exit re-use it for set name into the first 1

 

check :

 

+                       String i = "PvP Player";
+                       String ii = player.getName();

On Enter
+                       player.setName(i);

On exit
+                       player.setName(ii);

Posted

for each player that enter you open db connection ?

 

you can just save the itno a var and on exit re-use it for set name into the first 1

ok , thanks

I will update later

for each player that enter you open db connection ?

 

you can just save the itno a var and on exit re-use it for set name into the first 1

 

check :

 

+                       String i = "PvP Player";
+                       String ii = player.getName();

On Enter
+                       player.setName(i);

On exit
+                       player.setName(ii);

ok , it could be done like that but it wont give error if players have same name ?

Posted

it was just an example , you can generate names through numbers like we did in l2sexi ;) !

The porpuse of my post was to give you an idea on how to use the variables instead of connection db !

 

+1 karma from even if your shares are not totally done by you , just because you try and you share some staff ! Keep going !

Posted

it was just an example , you can generate names through numbers like we did in l2sexi ;) !

The porpuse of my post was to give you an idea on how to use the variables instead of connection db !

 

+1 karma from even if your shares are not totally done by you , just because you try and you share some staff ! Keep going !

Thanks :D

Posted

Hello guys , I saw this feature in L2Sexi

When you go to pvp zone your name is changed to random name so you can't team with other player :D

When you exit your name is back.

its done by me I just took the pvp zone from  NeverMorε and added my code on it

To use this go to  game\data\zones and open  any zone you want to change and then change this

type="L2CustomPvP"

 

Code : http://pastebin.com/U0AUQh6f

 

Tested and working

 

Any questions please post here.

 

forgot to say you will have to create new column in character name in pvpname,small int and allow null

 

 

 

 

I really Really like that .. Thanks for share dude your job is very nice ;)

Posted

use my tip :D ! A db connection for every player who enter or exit the Zone will cause lag !

 

also you forgot edit some texts of copy/pasting like

 _log.log(Level.SEVERE, "Could not restore premium items: " + e.getMessage(), e)

This will give wrong message in gameserver console in case of something goues wrong !

 

 

Posted

use my tip :D ! A db connection for every player who enter or exit the Zone will cause lag !

Ok i will update it when you enter it make new Random(); and then activeChar.setName(random.nextInt());

it alot easier this way

also you forgot edit some texts of copy/pasting like

Code: [select]

_log.log(Level.SEVERE, "Could not restore premium items: " + e.getMessage(), e)

This will give wrong message in gameserver console in case of something goues wrong !

will update in few minutes :D

 

updated : http://pastebin.com/u6UpLHw1

Guest
This topic is now closed to further replies.


  • Posts

    • POLAND — New VPS Location Our new VPS location in Poland is now available. Promo code: POLAND • 40% off new VPS orders in the Poland location • Offer valid until July 29, 2026 Enter the promo code POLAND during checkout to receive your discount.
    • In your place l will join to Mobius community to get something decent or just go to Lucera 2 ( ofc no source) if you want interlude on Classic client, coz Acis not have have it yet.
    • The client and the system aren't working very well; the screen is black, and some things aren't loading.  😞 
    • LINEAGE2.SK Summer Season is Comming! GRAND OPENING - 14.08.2026 at 20:00 GMT+1  OBT - 07.08.2025 at 20:00 GMT+1   Website :https://lineage2.sk Discord : https://discord.gg/gj7AC5juGP       Server Features and Rates Xp – 20x Sp – 20x Adena – 10x Drop – 15x Spoil - 15x  Epic Raid Boss  - 1x Regular RB - 5x  Quest - 5x Fame - 2x Epaulette - 15x Manor - 15x     Special Features Somik Interface Limited AutoFarm Vote System Champions System Achievement System And more in information below     Enchant Settings  Safe Enchant: +3  Max Enchant: +16 Enchant Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%     NPC Buffer all buffs, songs, dances including 3rd prof + resists Buff Slots: 24 (+4) / 12 Buff Duration: 2 Hours     Epic Bosses & Respawns Queen Ant: 24 hours +/-8h Core: 3 days +/-8h Orfen: 2 days +/-8h Baium: 5 days +/-8h Beleth: 7 days +/-8h Antharas: 7 days +/-8h Valakas: 7 days +/-8h     Instances Zones Zaken: 6 players Normal Freya: 6 players Hard Freya: 12 Players Frintezza: 6 Players Tiat: 6 Players Beleth: 12 Players     GM Shop weapon/armor/jwl (max S grade) shots/spiritshots (max S grade) mana potions (1000 MP, 10s)      Global Gatekeeper all towns including cata/necro ToI Gracia Hellbound ...     Olympiad period 7 days (Monday) no class participants min 6 base class participants min 6 max enchant +6 Start points 20     Class Transfer for Adena     Subclass Quest Not required Max Subclass 3 Subclass Max LvL 85     Events Team vs Team Capture the Flag Death Match Last Hero Korean Style Treasure Hunt      Clans All new clans start with Clan LvL 5! Clan Skills/LvL for Clan Coins     Others  max 3 windows per HWID  BoM/MoM spawned in towns Auto-learn skills Autoloot Retail LvL of Epic Bosses Cancellation return buff system (30sec) Cancellation return buff -  not effect olympiad
  • 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..