Jump to content
  • 0

some help with java codes..


Question

Posted

1) i usually see some codes to start like:

### Eclipse Workspace Patch 1.0

#P trunk2

Index: gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java

===================================================================

--- gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java  (revision 910)

+++ gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java  (working copy)

 

i know that i have to change the revision....but where i can find what revision i use and how i can change it?

2)i see some codes that dont tell something that show to me where to put it..like them

1 & 2 which are shared on MaxCheaters

Recommended Posts

  • 0
Posted

is pretty simple, don't pay attention to what revision is the code made for, just apply it manually is easier that way if you want to update to a revision in specific there's a way in eclipse - team - Update to version and then you choose the rev you want to update.

  • 0
Posted

is pretty simple, don't pay attention to what revision is the code made for, just apply it manually is easier that way if you want to update to a revision in specific there's a way in eclipse - team - Update to version and then you choose the rev you want to update.

so i dont edit the revision?
  • 0
Posted

nope is easier to add the code manually

 

there's just 2 things you gotta know + is for add - is for deleate.

 

also if you look in the forum, you can find some guides on how to do it manually :)

 

 

  • 0
Posted

nope is easier to add the code manually

 

there's just 2 things you gotta know + is for add - is for deleate.

 

also if you look in the forum, you can find some guides on how to do it manually :)

 

 

i know that  + is to add and - is for delete..i have already add a code from elfocrash wich shows how many ppl are on erea....but i cant understand what i have to do when it says me

--- gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java  (revision 910)

+++ gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java  (working copy)

  • 0
Posted

i know that  + is to add and - is for delete..i have already add a code from elfocrash wich shows how many ppl are on erea....but i cant understand what i have to do when it says me

--- gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java  (revision 910)

+++ gameserver/head-src/com/l2jfrozen/gameserver/handler/AdminCommandHandler.java  (working copy)

 

that means he did the code working on the rev 910 of the project he is using

  • 0
Posted

that means he did the code working on the rev 910 of the project he is using

ok...and i have to change something becouse of this?or i put only the code in my .java file and save it normally?
  • 0
Posted

ok...and i have to change something becouse of this?or i put only the code in my .java file and save it normally?

 

nope you don't have to change anything that's just for letting you know he was working on another rev

  • 0
Posted

nope you don't have to change anything that's just for letting you know he was working on another rev

:OOO...nc then....and 1 more question...i told you that i putted a code from elfocrash that shows how many players are on erea and i built my gameserver and extract L2JFrozen_GameServer % L2JFrozen_DataPack which eclipse gave me and i built a serevr...the gk worked ..now if i put 1 more code on eclipse...how i can update it to my server?
  • 0
Posted

you gotta re-build your server everytime you add a code to your source my advice to you is to modife the configs directly on eclipse so you don't have a problem, almost every code you add will be on gameserver datapack changes are mostly html or py releated stuff you can add manually.

  • 0
Posted

you gotta re-build your server everytime you add a code to your source my advice to you is to modife the configs directly on eclipse so you don't have a problem, almost every code you add will be on gameserver datapack changes are mostly html or py releated stuff you can add manually.

so....i have to find all the java codes that i need,put them into my source and then build my server?
  • 0
Posted

yes, or update your server with the build of you gameserver everytime you add a new code

but then i have to install again database?
  • 0
Posted

but then i have to install again database?

 

nope, you just have to add sql releated stuff if the code you want to add got a sql side.

  • 0
Posted

ah ok...but when i built gameserver from eclipse and then i have to extract it into my server files....so i have to change configs with my ip etc?

  • 0
Posted

ah ok...but when i built gameserver from eclipse and then i have to extract it into my server files....so i have to change configs with my ip etc?

 

yep as i said you should just edit your config directly on eclipse so you don't have this problem, and that covers pretty much all you need to know but if you want to know more you should look in the forum for some guides there are toons of em :)

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