Page 1 of 2

True Newbies Guide to Server running. :P

PostPosted: Thu Oct 25, 2007 5:46 am
by ichijin
Alrighty guys, here goes:

Server config:
In 'Dawn of Light\Config' folder, edit the serverconfig.xml

<IP> field needs to be updated to your IP, atm its 127.0.0.1 (localhost server) ALL IP's in this file need updated if you wish to get connections from outside. This means your LAN IP (You will need to do port forwarding to have people connect from outside if your on a router and such - Tuts for that around forums)

Edit the <DBConnectionString> to your correct DB, pass, etc.
<ServerName> should be your server name.

If you want outside conections, Open regions.xml and update the IP in there also from 127.0.0.1 to your actual IP.

MailConfig.xml needs setup with your mail server information should you wish to use /email in game and such.

DB is one file: start->accessories->command prompt
(extract DB to your desktop)
Type:
cd desktop
mysql -u(your user) -p(your pass)
create database (yourDB);
\u (yourDB)
\. rev818db.sql

That will source in all tables and such. Run server, this will create the missing tables (accounts/chars/serverprops etc)

From this point, your server should be running fine. Enjoy.

PostPosted: Thu Oct 25, 2007 6:03 pm
by Dinberg
Cheers Ichi!

PostPosted: Thu Oct 25, 2007 10:14 pm
by Haji
Cheers as well.. But QQ @ precompiled.

PostPosted: Thu Oct 25, 2007 10:27 pm
by IStandAloneToo
The pre-compiled releases will come soon. If you take a look at my release plan, 1.9.1 is very very close :).

PostPosted: Thu Oct 25, 2007 11:00 pm
by Haji
clicking release plans would be +1 more mouse click,too lazy :p

PostPosted: Fri Oct 26, 2007 10:31 pm
by Haji
Tip: If using the uncompiled source.... dont forget to empty your gameserverscripts before re-compiling if you've edited the scripts,they'll get over-written... learned the hard way

PostPosted: Fri Oct 26, 2007 11:46 pm
by stealth215
Tip: If using the uncompiled source.... dont forget to empty your gameserverscripts before re-compiling if you've edited the scripts,they'll get over-written... learned the hard way
or you could be like other people and change scripts in gameserverscripts, then recompile evertime you need to change soemthing

PostPosted: Sat Oct 27, 2007 1:48 am
by bewts
wow, im running this database on a seperate computer and it just blows mine away, amazing work, its amazing how close to live this is. what im going to do is im going to use a chunk of the database for mine and use my .cs files. you did really good at filling out the item database though, thats what im really shocked at. +1 to you, very nice work.

PostPosted: Sat Oct 27, 2007 5:56 am
by ichijin
Yeah, we have some pretty good DB guys now. :) They have been doing great work.

PostPosted: Sat Oct 27, 2007 3:07 pm
by Haji
Also.. i try to bring this database into a 2nd one beside my servers,and i keep getting OUT OF MEMORY! from navicat... with nothing else running,any ideas?

PostPosted: Sat Oct 27, 2007 3:56 pm
by bewts
you are out of memory, try running your server on a drive with AT LEAST 2 gigs on it

PostPosted: Sat Oct 27, 2007 4:38 pm
by toutou
thank you :)

PostPosted: Sat Oct 27, 2007 5:08 pm
by Haji
4 gig ram,and a 4.5 gig page file :|

intel quad core 2.4

90.3 gigs on C drive

295 gigs on D drive

36.1 on F drive...


Voila.. i've got plenty

PostPosted: Sat Oct 27, 2007 6:09 pm
by Dinberg
It could well mean RAM rather than physical. Tried the good old magical reboot?


Also, it could be something to do with the directory. If Navicat's trying to connect or save a database into a nonexistant drive, I'm thinking it may return that the drive was full because saving the MySQL didn't work.

PostPosted: Sun Oct 28, 2007 1:31 am
by ichijin
You have enough HD Space on the drive your using? DB is like 200+MB each.