Jump to content
  • 0

some help with java codes..


UnSponsored
 Share

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.
 Share



  • Posts

    • looks like  it don't enter "if" in function HandleTargetUpdate(optional bool spawnTarget) if (m_TargetID != targetID) { targetEmitter.NDestroy(); m_TargetID = targetID; Me.HideWindow(); } and don't  kill old  targert effect, need some debug how change  target id  when you switch target on your server (on my targetid1->0->targettid2, mb on your missed 0) to  add offlike resize you can parse collisionradius from pts scriptts in ini file for example and set it drom here           yes and add        targetEmitter=None; after       targetEmitter.NDestroy();   it will cure some crits         
    • gameserver\config\head\boss you can check this , or you can make changes at navicat raidboss_spawnlist or you can make your own custom new id for example '1111' name anakim .   25286    25286    Anakim    0    Raid Boss    0    Monster2.anakim    15,5    29    80    female    L2RaidBoss    40    1639146    3793    842,52    9,81    60    57    73    76    70    80    2374400    1196456    10404    4615    15367    1874    278    0    3819    0    0    0    72    324        0    0    12    FULL_PARTY   if you have any problem about l2raidboss you can make it l2npc .    For example //spawn name 1 3600 (seconds)
    • lf bot for elmore x1 .. can pay ........smthing they cannot find pls 
    • Hi to all OWNERS how can i add to raid bosses day respawn? e.g how i can do to anakim or lilith or any raidboss respawn every monday to friday? I use FROZEN pack  Sorry for my bad english  
  • 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