Support for L2J here!! L2J 

Status
Not open for further replies.
Master Summoner
Joined
Oct 28, 2005
Messages
530
Reaction score
1
Location
Maryland, USA
Use this thread for any questions related L2J, I will do my best to answer all questions... hehe I used to be popular on this forum and I'm not anymore i guess but I still have my skills with L2J... so ask away!

PS: English only please

If you have MSN you can talk to me at "[email protected]"
 
Hello there Silthrim, think i remember you :)

Anyways! i have a question..

I am a bit confused about how exactly the java and sourcecode works.. why do you need to update with a server and why can't you code your Java offline if that now is true, haven't really got it :P

//Regards Neevrez.
 
Upvote 0
Hello there Silthrim, think i remember you :)

Anyways! i have a question..

I am a bit confused about how exactly the java and sourcecode works.. why do you need to update with a server and why can't you code your Java offline if that now is true, haven't really got it :P

//Regards Neevrez.

Well, the official L2J sourcecode is hosted by domain owned by the L2J community ( ) and they have software that hosts the sourcecode in what is known as an SVN repository. This is just a file server basically that holds all the decompiled .java files necessary to build the L2J server. When you use a program such as Eclipse that is configured properly with Subeclipse you can download and process the L2J SVN through Eclipse. You only need to be online when you are downloading the sourcecode. After that you can freely modify anything in the server even while offline because what you modify is only affecting what you have locally on your computer. After you modify the sourcecode there are two ways to redistribute it to others. One way is to become an "official" L2J developer and have your own account to the SVN repository. Which is almost out of the question for new L2J devs. The other way and seemingly most widely used way is creating patches through Eclipse that you upload to others. They then run those patches (either .txt or .java) through their Eclipse program and it modifies their copy of the server to equal yours. Anybody can do this method. That's pretty much it. If you have any more questions feel free to ask away.
 
Upvote 0
One thing I would add to this is,
When you download an "update" from the svn, you are not downloading all the files. You are only updating the changed files.
So if only 500kb are updated on the svn, you are not downloading a full pack all over again. Only that 500kb.
 
Upvote 0
Hi there

I want to change the quantity of crafting materials per drop. For example mobs to drop 500 Animal Skins instead of 1-2. Well, the problem is that I will need *.sql file to update "droplist" table in Navicat and I cant do one. I guess it's simple.. just to update the numbers in "min" and "max" collums for each crafting material ID. Am I correct? :P

Any idea where can I find such a file?
 
Upvote 0
kamenhr said:
Hi there

I want to change the quantity of crafting materials per drop. For example mobs to drop 500 Animal Skins instead of 1-2. Well, the problem is that I will need *.sql file to update "droplist" table in Navicat and I cant do one. I guess it's simple.. just to update the numbers in "min" and "max" collums for each crafting material ID. Am I correct? :P

Any idea where can I find such a file?

An easy way to do that is to increase the drop rates in the config files. Or like you said, increasing the Min - Max drops. An example of the SQL would be as follows (and of course you can change min and max to any number):

Code:
UPDATE `droplist` SET `min`='100' WHERE `itemId`='1663';
UPDATE `droplist` SET `max`='150' WHERE `itemId`='1663';

just a quicky: why is L2J so laggy?
:P

well there are many things that could make L2J lag.

1. The hardware of the computer hosting it
2. The configuration of the files (server.properties (thread pools, number of connections))
3. Or a badly modified custom serverpack :P
 
Last edited:
Upvote 0
Thanks for the reply! :P

I have incrased the rates values in rates.properties, but that increases only the overall drop chance of items. I just need more mats for faster crafting :P I have a small server for me and some buddies and we want more fun. ;)

I shall try it imediately! Thanks again!

PS: Btw, do I have to put separate lines for each material? And where can I find mats ID's (for eg. iron ore, steel, sop etc)? lol
 
Upvote 0
PS: Btw, do I have to put separate lines for each material? And where can I find mats ID's (for eg. iron ore, steel, sop etc)? lol

yes you would unfortunately

and you can find all mats (and other items for that matter) in the "etcitem" table in your database
 
Upvote 0
Yeah etcitem, I just forgot about it :-D Thank you ;-)

EDITED: It should be actually like this:

Code:
UPDATE `droplist` SET `min`='100' WHERE `itemId`='1663';
UPDATE `droplist` SET `max`='150' WHERE `itemId`='1663';

It works that way ;)
 
Last edited:
Upvote 0
Well, the official L2J sourcecode is hosted by domain owned by the L2J community ( ) and they have software that hosts the sourcecode in what is known as an SVN repository. This is just a file server basically that holds all the decompiled .java files necessary to build the L2J server. When you use a program such as Eclipse that is configured properly with Subeclipse you can download and process the L2J SVN through Eclipse. You only need to be online when you are downloading the sourcecode. After that you can freely modify anything in the server even while offline because what you modify is only affecting what you have locally on your computer. After you modify the sourcecode there are two ways to redistribute it to others. One way is to become an "official" L2J developer and have your own account to the SVN repository. Which is almost out of the question for new L2J devs. The other way and seemingly most widely used way is creating patches through Eclipse that you upload to others. They then run those patches (either .txt or .java) through their Eclipse program and it modifies their copy of the server to equal yours. Anybody can do this method. That's pretty much it. If you have any more questions feel free to ask away.


Thanks for the answare Slithrim! I kinda understand how the source code works now. but one thing more.. If you kind of download a serverpack.. do you not already have the files/script you "Need" since the serverpacks is working properly?
Just begin the other way around.

- Nev
 
Upvote 0
Well if you have a copy of L2J you can update to match another through Eclipse without redownloading the whole thing. Is that what you mean?
 
Upvote 0
Status
Not open for further replies.
Back