| L2J Tools and Tutorials Discuss, Making a Kamael Server on Windows [Step-By-Step] at L2J Development forum; DOWNLOADS:
MYSQL
DOWNLOAD
DOWNLOAD
NAVICAT
DOWNLOAD
DOWNLOAD
SERVER FILES
DOWNLOAD
JAVA
WWW.JAVA.COM
STEP 1: INSTALLING MYSQL:
HERE YOU INSERT A ... |
RaGEZONE sponsored advertisment:
03-22-2008
|
#1 (permalink)
| | Alpha
Rank: Member
Join Date: Nov 2007 Location: <? on Earth ?>
Posts: 132
Thanked 0 Times in 0 Posts
| Making a Kamael Server on Windows [Step-By-Step] DOWNLOADS: MYSQL DOWNLOAD DOWNLOAD
NAVICAT DOWNLOAD DOWNLOAD SERVER FILES DOWNLOAD JAVA WWW.JAVA.COM
STEP 1: INSTALLING MYSQL:         HERE YOU INSERT A PASSWORD, AND YOU MUST REMEMBER IT !  
STEP 2: INSTALLING NAVICAT: http://i298.photobucket.com/albums/m.../navicat_1.jpg http://i298.photobucket.com/albums/m.../navicat_2.jpg http://i298.photobucket.com/albums/m.../navicat_3.jpg http://i298.photobucket.com/albums/m.../navicat_4.jpg http://i298.photobucket.com/albums/m.../navicat_5.jpg http://i298.photobucket.com/albums/m.../navicat_6.jpg http://i298.photobucket.com/albums/m.../navicat_7.jpg http://i298.photobucket.com/albums/m.../navicat_8.jpg
MAKE L2JDB SCREENSHOTS HERE: http://i298.photobucket.com/albums/m...database_1.jpg http://i298.photobucket.com/albums/m...database_2.jpg http://i298.photobucket.com/albums/m...database_3.jpg STEP 3: SERVER CONFIGURATION
Now go to gameserver/config/server.properties and edit : Code: # This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2jfree.com
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
GameserverHostname=YOUR IP HERE
GameserverPort=7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=YOUR IP HERE
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=YOUR IP HERE
# Define internal networks (10.0.0.0/8,192.168.0.0/16 is default internal networks)
InternalNetworks=
# Define optional networks and router IPs
# IP (200.100.200.100) or fully qualified domain name
# (google.com) that resolves to an IP (use ping to determine if a domain resolves).
# Format: ip,net/mask;ip,net/mask,net/mask
# (mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0 would be 192.168.*.*)
# Note: keep InternalNetworks and OptionalNetworks blank for compatibility with older login server
OptionalNetworks=
# The Loginserver host and port
LoginPort=9014
LoginHost=YOUR IP HERE
# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server if the requested id is allready reserved
AcceptAlternateID = True
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=YOUR DATABASE PASSWORD HERE
MaximumDbConnections=50
# Datapack root directory, defaults to current directory from which the server is started
#DatapackRoot=H:/workEclipse/L2J Free/trunk/L2_DataPack_IL
# Define character name template
# These ones are regular expressions, visit http://www.regular-expressions.info for details
# Note: Checking lengths are done server side, but keep it in pattern for future purposes
# Character name ( Default [A-Za-z0-9\-]{3,16} )
CnameTemplate=[A-Za-z0-9\-]{3,16}
Now go to loginserver/config/server.properties and edit : Code: # ================================================================
# General login server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=YOUR IP HERE
LoginServerPort=2106
GMMinLevel=100
# The port, ip on which login will listen for GameServers
LoginHostname=YOUR IP HERE
LoginPort=9014
# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False
# If false, the licence (after the login) will not be shown
ShowLicence = True
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=YOUR DB PASSWORD HERE
# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=0
# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================
Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False
#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50
#Ban management
# number of attempt before a user is banned when he fails his login
LoginTryBeforeBan=10
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan=600
Now lets put all the info of the SQL files into ur database.
-Ull find a file called Database_installer.bat at the Tools folder that will be inside ur server's folder.
-Right click on it and choose EDIT.
-Insert in the line "set mysqlBinPath=" the correct address of ur MySQL BIN FOLDER, than save it.
-Execute the modified file. A Ms-dos window will open giving u choices. Press "F" (full installation) every time it ask u to choose.
SCREENSHOTS: http://i298.photobucket.com/albums/m...ici/edit_1.jpg http://i298.photobucket.com/albums/m...ici/tool_1.jpg http://i298.photobucket.com/albums/m...ici/tool_2.jpg http://i298.photobucket.com/albums/m...ici/tool_3.jpg STEP 4: REGISTER A SERVER :
Now go to loginserver/registergameserver.bat !
Write 1 in cmd and press enter ! Now your server will be Bartz ! http://i298.photobucket.com/albums/m...register_1.jpg
Done it a file called hexid(id 1 or something like).txt will appear into ur login folder. Rename it to hexid.txt , copy and paste inside ur gameserver/config/ folder and in gameserver folder !
Now just need to start the "startloginserver.bat" (login folder) and "startgameserver.bat" (gameserver folder). It will be opened when stops on the following lines (check the image). Remember, ur server is setted up to autocreate accounts so u dont need to execute "startaccountmanager.bat" this time.
THIS IS ALL FALKS !
__________________  !
Last edited by BloodyCoder; 05-11-2008 at 11:27 PM.
|
| |
RaGEZONE sponsored advertisment:
03-23-2008
|
#2 (permalink)
| | Member
Rank: Hobbit
Join Date: Oct 2007
Posts: 41
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
I Think you need to do some changes on tha part 3 with server config @ Ip's like say what ip's you need to put in External internet IP and Internal the other ip :)
Becaus they are 2 diferent IP's
|
| | 
Endorsement
03-24-2008
|
#3 (permalink)
| | Alpha
Rank: Member
Join Date: Jan 2007
Posts: 132
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
When I Startloginserver.bat or Startgameserver.bat it terminates abnormally o.o
Edit: If I open the CMD in notepad, it seems I'm getting error 1.
Edit 2: Now its only the gameserver.
Heres a picture. http://img212.imageshack.us/img212/6425/errorxv9.jpg
[MOD]Do not load the whole image! Use thumbnails instead[/MOD]
Last edited by Droppo; 03-24-2008 at 06:55 PM.
|
| | 
Endorsement
03-24-2008
|
#4 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Feb 2006 Location: Bulgaria, Sofia
Posts: 8
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Yes, Bladester50, I have the same error... My guess is that something while loading "World" goes wrong...
__________________ 
Never argue with an idiot, he will only drag you down to his level and beat you with experiance |
| |
03-24-2008
|
#5 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Mar 2008
Posts: 1
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
I get error when i try to registrate server. Although i followed everything correctly (i think) I just get press any key to continue and it terminates.) Help anyone? Maybe someone could help me on VNC? (remote acces)
|
| |
03-24-2008
|
#6 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Mar 2008
Posts: 16
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
I am trying this on linux, but i have a problem in the step "-Insert in the line "set mysqlBinPath=" the correct address of ur MySQL BIN FOLDER, than save it", I dont know what path to set.
sry my bad english
|
| |
03-24-2008
|
#7 (permalink)
| | Alpha
Rank: Member
Join Date: Nov 2007 Location: <? on Earth ?>
Posts: 132
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
if you didn't install java the .bat files don't work
__________________  ! |
| |
03-24-2008
|
#8 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Mar 2008
Posts: 3
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
i recive this error and my gameserver cant connect at loginserver Exception in thread "main" java.lang.NoClassDefFoundError: javax/script/ScriptEx
ception at net.sf.l2j.gameserver.instancemanager.DimensionalR iftManager.getInsta
nce(DimensionalRiftManager.java:64)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer .java:236)
at net.sf.l2j.gameserver.GameServer.main(GameServer.j ava:400)
|
| |
03-24-2008
|
#9 (permalink)
| | Alpha
Rank: Member
Join Date: Jan 2007
Posts: 132
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
I installed the .bat....
I have the problem the guy above me has.
NVM it seems to be different.... http://img212.imageshack.us/img212/6425/errorxv9.jpg |
| |
03-24-2008
|
#11 (permalink)
| | Alpha
Rank: Member
Join Date: Jan 2007
Posts: 132
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Yes, I did that.
And yes, I have java.
Last edited by Bladester50; 03-25-2008 at 03:37 AM.
|
| |
03-25-2008
|
#13 (permalink)
| | Neper Freedom to Serve
Rank: Member + Join Date: Dec 2006 Location: Greece,Athens
Posts: 607
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Just little hints
1)Please in step one that you share the links in java you must specify what is the best version.I mean for interlude the best is java 5 update 11.For kamael you must use java 6
2)In step one that you share serverfiles that are l2jfree this is wrong.I believe that best is to share the link of droppo thread and say choose serverfiles of your opinion.
3)I tell you from l2jfree because l2j have different installer from l2jfree.You dont edit the bat or sh but you post it when you click on it
I hope that i am helpful.I say these because if you dont add them this guide is just an another guide that exist with many others that are same or similar with errors
__________________ GO FERRARI!!
(Ferrari forever,Kimi always)
World Drivers Champions: 1952, 1953 (Alberto Ascari) 1956 (Juan Manuel Fangio) 1958 (Mike Hawthorn) 1961 (Phil Hill) 1964 (John Surtees) 1975, 1977 (Niki Lauda) 1979 (Jody Scheckter) 2000, 2001, 2002, 2003, 2004 (Michael Schumacher) 2007 (Kimi-Matias Räikkönen) |
| |
03-25-2008
|
#14 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Mar 2008
Posts: 3
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
my server starts normaly and at the end i recive that error and my gameserver cant connect to logins server
|
| |
03-26-2008
|
#15 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Oct 2007 Location: Spain
Posts: 10
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
how I do gms in my server??
how I add custom items in my server??
thanks
|
| |
03-26-2008
|
#16 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Mar 2008
Posts: 3
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
open your database go to table characters and set access level for player that you want to be a GM
|
| |
03-27-2008
|
#17 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Oct 2007 Location: Spain
Posts: 10
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
ok thanks but
how I add custom items in my server?
|
| |
03-27-2008
|
#18 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Aug 2005
Posts: 12
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Anyone want to try and assist us? It seems that we are all getting the same Error when trying to Launch the Game Server. That error is 'Server terminated abnormally'.
Last edited by lilshotay; 03-27-2008 at 08:56 AM.
Reason: spelling mistake
|
| |
03-27-2008
|
#19 (permalink)
| | Monster Member
Rank: Member
Join Date: Jun 2006 Location: Lithuania
Posts: 176
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Hey i have a client (windows) error. I use windows vista Ultimate sp1 and when i launch The Kamael The PC reboots ;///
|
| |
03-27-2008
|
#20 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Mar 2008
Posts: 4
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
I have found how to fix the "server terminated abnormally" problem, all you need to do is copy the contents of gameserver/data folder into the l2j-gameserver/dist/data folder and done enjoy your servers :)
|
| |
03-27-2008
|
#21 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Aug 2005
Posts: 12
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Ok I have figured out what Hypnotoad meant everyone. When you download the Server pack you are given the 3 Folders one with your Data Pack, Game Server and Login Server. If you are getting the Server terminated abnormally error when you run the gameserver it is because the files recipe.xml and extractable_items.csv is missing. So to fix this go in to your Data Pack\gameserver\data and copy everything in the data folder into you your actually Gameserver/dist/data. If you did everything as mentioned everything should be fine for you.
Last edited by lilshotay; 03-28-2008 at 01:13 AM.
Reason: figured out the answer
|
| |
03-28-2008
|
#23 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Aug 2005
Posts: 12
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
which server pack are you using? L2J Free?
|
| |
03-28-2008
|
#24 (permalink)
| | Newbie
Rank: Hobbit
Join Date: Jun 2006
Posts: 6
Thanked 0 Times in 0 Posts
| Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Yes x_x
|
| | |