Jump to content

Recommended Posts

Posted

Hello! I will help you to make a server.

 

First of all you should download a pack (you can use whichever you want)

 

LET'S STAR

 

First of all you have to install MySql (link to download it http://dev.mysql.com/downloads/mysql/5.0.html [i prefer version 4 or 5 not 6])

 

Then you have to install Navicat (link to download it http://www.navicat.com/download.html) When you install it you make a connection with a name whichever you want and you make also a new database(by a right click on the connection but first you have tested the connection [when you click ok then on it if it become green it's ok] and press new database ... and you write the name "l2jdb".

 

When you are finished with all that you have to configurate your server.

First go in the folder "gameserver" and then in "config". Find file  "server.properties" and edit it like here:

 

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname=      <==== Here you put your WAN IP

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname=      <==== Here you put your LAN IP

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jdb  <==== Here you put the database name (default is "l2jdb")

#URL=jdbc:hsqldb:hsql://localhost/l2jdb     <==== Here you put the name of database name (default is "l2jdb")

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

Login=root

Password=  <==== Here you put the password you enter at the install of the mysql or you leave it if you haven't put password

MaximumDbConnections=50

 

 

Then go in the folder "login" and then in "config". Find file  "loginserver.properties" and edit it like here:

 

# Database info

Driver=com.mysql.jdbc.Driver

#Driver=org.hsqldb.jdbcDriver

#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

URL=jdbc:mysql://localhost/l2jdb  <==== Here you put the database name (default is "l2jdb")

#URL=jdbc:hsqldb:hsql://localhost/l2jdb   <==== Here you put the database name (default is "l2jdb")

#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

Login=root

Password=  <==== Here you put the password you enter at the install of the mysql or you leave it if you haven't put password

 

# Useable values: "True" - "False", use this option to choose whether accounts will be created

# automatically or not.

AutoCreateAccounts=True <==== Here you put True/False. True if you want accounts to be autocreate or False not to be autocreate

 

Now you have to download a file which is called "vars" (link to download it http://www.4shared.com/file/16927332/f9fd0176/vars.html)

you extract it in the folder tools and then you open it. You have to do the next:

 

 

 

@set mysqlPath="C:\Program Files\MySQL\MySQL Server 4.1\bin\mysql" <==== Here you put (change the pink one) the version of the MySql that you have download

@set mysqlBinPath="C:\Program Files\MySQL\MySQL Server 4.1\bin" 4.1\bin\mysql" <==== Here you put (change the pink one) the version of the MySql that you have download

@set mysqldumpPath="C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqldump" <==== Here you put (change the pink one) the version of the MySql that you have download

@set lsuser=root

@set lspass=  <==== Here you put the password you enter at the install of the mysql or you leave it if you haven't put password

@set lsdb=l2jdb  <==== Here you put the database name (default is "l2jdb")

@set lshost=localhost

@set gsuser=root

@set gspass=  <==== Here you put the password you enter at the install of the mysql or you leave it if you haven't put password

@set gsdb=l2jdb   <==== Here you put the database name (default is "l2jdb")

@set gshost=localhost

 

 

We are almost finished, now you have to go in the folder "tools" and then open "database_installer.bat"

 

It opens a dos-window you press "f" and enter when this finish you press again "f" and finally enter.

 

The final step is go to folder login and open "RegisterGameServer.bat"

Then you press the id of your server's name read this to help you

 

server id="1" name="Bartz"

server id="2" name="Sieghardt"

server id="3" name="Kain"

server id="4" name="Lionna"

server id="5" name="Erica"

server id="6" name="Gustin"

server id="7" name="Devianne"

server id="8" name="Hindemith"

server id="9" name="Teon(Euro)"

server id="10" name="Franz"

server id="11" name="Luna"

server id="12" name="Kastien"

server id="13" name="Airin"

server id="14" name="Staris"

server id="15" name="Ceriel"

server id="16" name="Fehyshar"

server id="17" name="Elhwynna"

server id="18" name="Ellikia"

server id="19" name="Shikken"

server id="20" name="Scryde"

server id="21" name="Frikios"

server id="22" name="Ophylia"

server id="23" name="Shakdun"

server id="24" name="Tarziph"

server id="25" name="Aria"

server id="26" name="Esenn"

server id="27" name="Elcardia"

server id="28" name="Yiana"

server id="29" name="Seresin"

server id="30" name="Tarkai"

server id="31" name="Khadia"

server id="32" name="Roien"

server id="33" name="Gallint"

server id="34" name="Cedric"

server id="35" name="Nerufa"

server id="36" name="Asterios"

server id="37" name="Orfen"

server id="38" name="Mitrael"

server id="39" name="Thifiel"

server id="40" name="Lithra"

server id="41" name="Lockirin"

server id="42" name="Kakai"

server id="43" name="Cadmus"

server id="44" name="Athebaldt"

server id="45" name="Blackbird"

server id="46" name="Ramsheart"

server id="47" name="Esthus"

server id="48" name="Vasper"

server id="49" name="Lancer"

server id="50" name="Ashton"

server id="51" name="Waytrel"

server id="52" name="Waltner"

server id="53" name="Tahnford"

server id="54" name="Hunter"

server id="55" name="Dewell"

server id="56" name="Rodemaye"

server id="57" name="Ken Rauhel"

server id="58" name="Ken Abigail"

server id="59" name="Ken Orwen"

server id="60" name="Van Holter"

server id="61" name="Desperion"

server id="62" name="Einhovant"

server id="63" name="Schuneimann"

server id="64" name="Faris"

server id="65" name="Tor"

server id="66" name="Carneiar"

server id="67" name="Dwyllios"

server id="68" name="Baium"

server id="69" name="Hallate"

server id="70" name="Zaken"

server id="71" name="Core"

 

Now it will create a new file with the name "hexid(serverx)" change its name  only to "hexid" and copy it and past it at the folder  "gameserver" in the folder "config".

 

 

You have finish now

 

If you want to star your server go to folder "gamserver" and open "startGameServer.bat" and in "login" folder open "startLoginServer.bat"...

 

 

 

Your server is ready

Posted

i have a problem in creation of the l2j server. The Problem is when i press to do full install it says the database was not found so what is wrong?

 

Posted

i have a problem in creation of the l2j server. The Problem is when i press to do full install it says the database was not found so what is wrong?

 

 

What pack you use and what version or revision?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • “Hello, I’d like to present a short description of the server. Everyone starts equally at max level 80. The server includes a custom buffer, custom class master, custom weapons and armors, custom zones, custom teleporter, custom raid bosses, and much more. I’ll leave a link in the description for those who want to see how everything looks inside. The server is only open on weekends, and you can find more news via the Facebook link.”   https://www.facebook.com/profile.php?id=61578869175323
    • 1. You where subscriber 3 years ago. 2. There is no current L2jMobius 2.8 Seven Signs version. Subcriber or not. 3. You have your answer from multiple forums that more items is more delay.  
    • 1. Optimize Packet Serialization Look in ItemList.java or wherever the inventory packet is constructed. Instead of building the packet with inefficient string concatenation or repeated allocations, use a preallocated buffer and avoid creating new objects for each item. Mobius sources are Java-based, so profiling with something like VisualVM or YourKit can help see where most time is spent. 2. Avoid Sending the Full List Each Time Modify the server to send only changed items (diff packets) when the inventory window opens. Some newer forks implement this as “lazy loading” or paged inventory so the client only loads e.g. 100 items at a time. 3. Limit the Inventory Size Per Page Instead of showing all 500 slots at once, split the inventory into pages/tabs (100 slots each). When the user switches a tab, send only that page’s items. This requires some client-side editing, but it’s the most user-friendly long-term fix. 4. Database & Cache Optimizations Ensure your items table is indexed by owner_id to make the query for player items fast. Cache item templates and static data so they are not reloaded every time the inventory is shown. ⚠️ Things to Keep in Mind Increasing slots from 80 → 500 does not just change a number — it multiplies the workload for packet building and UI rendering. You can’t fully avoid some extra cost with 500 items, but you can keep it under a few milliseconds if you optimize how and when the data is sent.    
    • i think it's the auto sorting of the interface that sucks, check InventoryWnd script in interface.u, or completely disable the request item list packet when toggling the inventory window (also in InventoryWnd script or similar name)
  • 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