Jump to content
  • 0

some help with java codes..


UnSponsored

Question

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

Link to comment
Share on other sites

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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?
Link to comment
Share on other sites

  • 0

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 :)

 

 

Link to comment
Share on other sites

  • 0

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)

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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?
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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?
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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?
Link to comment
Share on other sites

  • 0

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?
Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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 :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • totally agree, the problem started with professionals who made easy to open a server, specially interlude has been abused unstoppably since you can open a server with few clicks now days making fewer players for many servers, while back in time when "compile" was a secret and opening a server was going max players but true things are changing and this has become a job but dont lie everyone knows what is going on, lying is showing desperation, better go and work. i've worked with lots of people with kids that invest huge amounts of money into this and fail while they needed the money its an addiction.
    • well,we all know that everyone is doing it for money. And it's acceptable since you put much more effort than the usual admins. If you're proffesional on l2 servers,i don't find a reason to not see it as a job. Ofc it's job,but all jobs has their own prides. I'll talk about me,i'm a guy that working 10 +/- hours per day. I have 2-3 free hours on my daily activity and sometimes i enjoy playing Lineage because nostalgia hits me everyday. If you are many years on scene,u'll understand that lineage will never be the same like old days. Days that we was gathering at internet cafes,and the battle was daily. Anyway, some people perfer to pay big clans and provide them black market with special prices and benefits that a casual player wont have. Also big clans means big wars,so server will have population even if you have zero quality. And there is some projects that wont pay those d1ckheads,so they wont join them and project need to find other ways to increase the population. So,i'm a player that i'll donate 20-40-50 euros on every server i play,and usually i'm getting "scammed" since they re-open their server every 2 months. And the problem is that,i personally don't mind to donate few money every 2 months for my joy,but the majority of owners has zero knowledge about L2 gaming. That's why they can't fix a sh1t,and when the problems pile up,they slowly close the server and starting advertising for another one. Actually,on high rate scene mostly,is the same guy that doing it everytime. He opens his project for 1-2 months,he close it and before he shut down the server,he has already started the advertising on his next server with different name. It's just crazy and that part shouldn't be acceptable. So yes,i perfer to support a project with honest admin team,and somewhere they have the knowledge to implent things. Business is business,but at least as community,we should enjoy our game that we love, cheers. 
    • thanks for sharing !! any guide to install this? it would be great!!
  • Topics

×
×
  • Create New...