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

    • My official facebook profile!: https://www.facebook.com/spectrumL2 Specifications: Revamped L2JACIS revision FROM the core Private project!!! Revision that has been receiving corrections for over 3 years!!! Events already installed in the revision: TVT CTF KTB PARTY FARM SPOIL EVENT CRAZY RATES TOURNAMENT TIME ZONE (INSTANCE) All working correctly!!! SIEGE ESSENTIAL FEATURES: Walls fix Gates fix Flags fix 100% functional: OLYMPIADS: Implemented settings Hero receives enchanted Weapons with equal status PvP Weapons Optional /true/false Hero can acquire all Hero Weapons Optional true/false OTHER IMPLEMENTATIONS: Teleport fixed (directly to Giran) Teleport effect classic Vip skins vip collor name Pack NPCs with effect already configured BOSES already configured Mobs already configured CLASS BALANCE SPECIAL SYSTEM We have a SPECIAL system developed for Class Balance with only 1 digit in XML %tage of configurable debuffs Player limitation system in BOSES or PvP zones BS blocking system in FLEG zones or events Among others dozens of improvements made in the review... price: 390 USD !  OBS: WE CAN CHANGE THE BANNER AND NAME OF THE SERVICE TO THE ONE OF YOUR PREFERENCE BUT THE SETTINGS MUST BE KEPT ANY CHANGES REQUIRE ADDITION        
    • Server is Online – 1,000+ Active Players! We’re excited to announce the addition of a Europe Proxy to improve connectivity for our EU players! Clans can now benefit from VIP Access to help you catch up faster. 🎯 If you're a clan leader with at least 9 active members, join our Discord and open a ticket to claim your VIP rewards!  
    • The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs. Don’t miss your chance to join the next Telegram trend and earn from it! Buy Telegram Stars cheap and KYC-free 1 Star from $0.0149 (min. 50 Stars, bulk discounts available) Promo code STARS5 — 5 % off Pay any way you like: bank cards · crypto · other popular methods How to purchase: ➡Online Store — Click ➡ Telegram bot — Click Other services: ➡ SMM panel — Click Regular buyers get extra discounts and promo codes. Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier. SocNet — your shop for digital goods and premium subscriptions
    • The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs. Don’t miss your chance to join the next Telegram trend and earn from it! Buy Telegram Stars cheap and KYC-free 1 Star from $0.0149 (min. 50 Stars, bulk discounts available) Promo code STARS5 — 5 % off Pay any way you like: bank cards · crypto · other popular methods How to purchase: ➡Online Store — Click ➡ Telegram bot — Click Other services: ➡ SMM panel — Click Regular buyers get extra discounts and promo codes. Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier. SocNet — your shop for digital goods and premium subscriptions
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock