Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2009, 03:20 AM
Nightraven74
Fire Beetle
 
Join Date: Apr 2009
Location: us
Posts: 6
Default server file help

could someone explain to me how to set up a file to load extra dynamic zones and to load several static zones. please.... I have been digging thrue the old posts and have yet to find one that explains it in detail. I installed ussing the PEQServerPack 1110a I know the last time I did this 3 or so years ago you simply made a batch file but cant find the explination on that or if it works with the newer version of eqemu and the peq db. any help would be GREATLY apritiated.

On a side note do you think a system running 8 gigs ddr2 dualchannel ram and an amd 7750 dualcore black edition with a 4 up 20 down connection can handel running all the zones + 10 or so dynamic ones? and does anyone have a link to the GeorgeS tools I keep reading about here lol I need a good editor and dont remeber what Peq had on their site wich is curently still down =(
Reply With Quote
  #2  
Old 04-29-2009, 08:48 AM
circuitdragon
Sarnak
 
Join Date: Jun 2003
Posts: 57
Default

I can't remember the actual areas and or files needed to be modified right now that I am at work...but...there are a few things you need to do. In no real particular order...

1) In the DB, there are 2 tables for zones, their names I can't remember, but the first one to me is mostly for the dynamics, and name of your "zone servers". There should be a field for the number of dynamics you want it to open, for our sake, we will say 10. For static, you will need to set in a new zone server, and give it a diferent name of course. Thinking that is all you will need to do in the first table, other than making sure this one doesn't boot any dynamics.

2) the second zone table in the DB is where you can set your static zones. Thinking this is done by something like...

ZoneServerName -> NameOfZoneToBoot -> ZonePort

So for each entry you add, make sure the ZoneServerName part is the same for all entires, unless you want to split them up to more zone servers.

3) in your "start.bat" file used to start the whole server (if you use this file) you will need to edit that, to reflect the new boot up process. The biggest thing is getting the commands right, and I don't remember them off the top of my head...but I think its something like "zone.exe ZoneServerName" where ZoneServerName is the names you gave them in your DB...I'm sure I'm missing a lot here, but I can add more details later when I get home.
__________________
You can do nothing, and fail all the time. Or you can try something, and win some of the time.
Reply With Quote
  #3  
Old 04-29-2009, 09:01 AM
circuitdragon
Sarnak
 
Join Date: Jun 2003
Posts: 57
Default

okay...this is what my bootup looks like:

@echo off
start world.exe
echo waiting for world to finish before starting zone...
sleep 10
start eqlaunch.exe zone
sleep 15
start eqlaunch.exe statics



so "zone" and "statics" being the 2 zone servers I defined in the DB...
__________________
You can do nothing, and fail all the time. Or you can try something, and win some of the time.
Reply With Quote
  #4  
Old 04-29-2009, 09:04 AM
circuitdragon
Sarnak
 
Join Date: Jun 2003
Posts: 57
Default

Sorry for my many responces...have to use my phone to access my server, so takes a bit...lol...now for the DB entries...2 tables are "launcher" and "launcher_zones"...hope this helps...let us know if you need more info.
__________________
You can do nothing, and fail all the time. Or you can try something, and win some of the time.
Reply With Quote
  #5  
Old 04-30-2009, 01:15 AM
Nightraven74
Fire Beetle
 
Join Date: Apr 2009
Location: us
Posts: 6
Default

ok I added to the table as perscibed zone server=stat zone = used zone short names port = 7101 kinda format since it had the 3 sections per entry in the table. I launched the emu dynamic loaded fine world loaded fine static ones came up
[world_zone] new tcp connection from 127.0.0.1:49225
[world_console] new launcher from 127.0.0.1:49225
[world_launch] adding pending launcher 34
[world_launch] unknown launcher 'stat' connected. disconecting
[world_launch] removing pending launcher 34. adding stat to active list
[world_launch] removing launcher stat <34>

not sure what went wrong here it just keeps going I added 95 static zones it's up to 203 now lol
I dont have no where near that many entrys
Reply With Quote
  #6  
Old 04-30-2009, 09:33 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

if i read your post correctly you are using "stat zone" as the zone name, and the server is looking for 'stat' only. I don't know if you can use spaces in the names.

make sure in Launcher table you have something like:

Name | Dynamics
-------------------
zone | 5

and in Launcher_Zones you have something like:

launcher | zone | port
---------------------------
zone | Halas | 7000

then in your .bat file

start eqlaunch.exe zone

this will start the 5 dynamic zones and the 1 static zone for Halas.

Modify as needed.

You can also break them up into groups

Launcher:
Name | Dynamics
-------------------
stat | 0
dynam | 5

Launcher_Zones:
launcher | zone | port
---------------------------
stat | Halas | 7000

Then start in your .bat file:

start "Dynamic Zones" eqlaunch.exe dyanm
start "Static Zones" eqlaunch.exe stat
Reply With Quote
  #7  
Old 04-30-2009, 09:48 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

For Georges's Tools click here or here.

As far as the specs go - i'd say it could handle it, but would you really want to start up +400 extra processes?

i don't know if there's really a benefit to having them already booted - i think there is an option to save zone state on shutdown so any 'temp' stuff should still be there when it boots back up.

You could give it a shot and see how it affects performance of the server.
Reply With Quote
  #8  
Old 04-30-2009, 10:24 AM
Nightraven74
Fire Beetle
 
Join Date: Apr 2009
Location: us
Posts: 6
Default

zone name was just stat not stat zone ie
server= stat
zone= the shart names of zones
port= port number
start.bat is set right just server seems confused on the zone_launcher file
Reply With Quote
  #9  
Old 04-30-2009, 10:30 AM
circuitdragon
Sarnak
 
Join Date: Jun 2003
Posts: 57
Default

Not a whole lot of gain IMO to more zones open, but as far as static zones, they do, on my server at least, cut the load time in to "city areas" by a fraction of time. Sorry for being late to reply, but NOS put things in perspective here. I will add though, that on mine I have noticed that when my zone servers start to boot up, it sends a request for all of them at once. What I am getting at is, mine is set for 15 dynamics, and as that zone server starts up, it sends a request for all 15 at once to the world server. Seems to cause them all to crash from there, and then auto boot kicks in and regains them, one at a time...like normal. No idea if anyone else has seen this, or knows where a timer switch may be that I could have some how modified. With the auto reboot of zones, I could care less, but this does add more time to a full boot of sequence of my server. With Nightravens examples, I'm almost willing to say his takes at least a good 5 minutes before things calm down a bit.
__________________
You can do nothing, and fail all the time. Or you can try something, and win some of the time.
Reply With Quote
  #10  
Old 04-30-2009, 11:36 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

I still think that somewhere along the line the names you're using in your .bat file as an argument to eqlaunch, the launcher table and the launcher_zones table is not the 'same'

double check that you don't have any extra spaces anywhere, sometimes it can be finicky.

This is what you'd want to see - i used my example of 5 dynamic zones and 1 static (halas) zone.

Code:
.....
[04.30. - 09:11:48] [WORLD__LS] Connecting to login server...
[04.30. - 09:11:50] [WORLD__LS] Connected to Loginserver: eqemulator.net:5998
[04.30. - 09:11:50] [WORLD__LS] Loginserver provided 70.183.172.217 as world address
[04.30. - 09:12:48] [WORLD__ZONE] New TCP connection from 127.0.0.1:2974
[04.30. - 09:12:48] [WORLD__CONSOLE] New launcher from 127.0.0.1:2974
[04.30. - 09:12:48] [WORLD__LAUNCH] Adding pending launcher 1
[04.30. - 09:12:48] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[04.30. - 09:12:48] [WORLD__LAUNCH_TRACE] zone: Loaded zone 'Halas' on port 7005
[04.30. - 09:12:48] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[04.30. - 09:12:55] [WORLD__LAUNCH] zone: Halas reported state STARTED (1 starts)
[04.30. - 09:13:13] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[04.30. - 09:13:17] [WORLD__LAUNCH] zone: dynamic_02 reported state STARTED (1 starts)
[04.30. - 09:13:21] [WORLD__LAUNCH] zone: dynamic_03 reported state STARTED (1 starts)
[04.30. - 09:13:25] [WORLD__LAUNCH] zone: dynamic_04 reported state STARTED (1 starts)
[04.30. - 09:13:29] [WORLD__LAUNCH] zone: dynamic_05 reported state STARTED (1 starts)
[04.30. - 09:13:49] [WORLD__ZONE] New TCP connection from 127.0.0.1:2985
[04.30. - 09:13:49] [WORLD__ZONE] New TCP connection from 127.0.0.1:2986
[04.30. - 09:13:49] [WORLD__CONSOLE] New zoneserver #1 from 127.0.0.1:2985
[04.30. - 09:13:49] [WORLD__ZONE] [1] Zone started with name dynamic_02 by launcher zone
[04.30. - 09:13:49] [WORLD__ZONE] [1] Auto zone port configuration.  Telling zone to use port 7000
[04.30. - 09:13:49] [WORLD__ZONE] New TCP connection from 127.0.0.1:2987
[04.30. - 09:13:49] [WORLD__ZONE] New TCP connection from 127.0.0.1:2988
[04.30. - 09:13:49] [WORLD__ZONE] New TCP connection from 127.0.0.1:2989
[04.30. - 09:13:49] [WORLD__CONSOLE] New zoneserver #2 from 127.0.0.1:2986
[04.30. - 09:13:49] [WORLD__ZONE] [2] Zone started with name dynamic_05 by launcher zone
[04.30. - 09:13:49] [WORLD__ZONE] [2] Auto zone port configuration.  Telling zone to use port 7001
[04.30. - 09:13:49] [WORLD__CONSOLE] New zoneserver #3 from 127.0.0.1:2989
[04.30. - 09:13:49] [WORLD__CONSOLE] New zoneserver #4 from 127.0.0.1:2988
[04.30. - 09:13:49] [WORLD__ZONE] [4] Zone started with name dynamic_04 by launcher zone
[04.30. - 09:13:49] [WORLD__ZONE] [4] Auto zone port configuration.  Telling zone to use port 7002
[04.30. - 09:13:50] [WORLD__CONSOLE] New zoneserver #5 from 127.0.0.1:2987
[04.30. - 09:13:50] [WORLD__ZONE] [5] Zone started with name dynamic_03 by launcher zone
[04.30. - 09:13:50] [WORLD__ZONE] [5] Auto zone port configuration.  Telling zone to use port 7003
[04.30. - 09:13:50] [WORLD__ZONE] New TCP connection from 127.0.0.1:2991
[04.30. - 09:13:50] [WORLD__CONSOLE] New zoneserver #6 from 127.0.0.1:2991
[04.30. - 09:13:50] [WORLD__ZONE] [6] Zone started with name dynamic_01 by launcher zone
[04.30. - 09:13:50] [WORLD__ZONE] [6] Auto zone port configuration.  Telling zone to use port 7004
[04.30. - 09:13:55] [WORLD__ZONE] [3] Zone started with name Halas by launcher zone
[04.30. - 09:13:55] [WORLD__ZONE] [3] Auto zone port configuration.  Telling zone to use port 7005
[04.30. - 09:13:55] [WORLD__ZONE] [3] Setting to 'halas' (29) (Static)
[04.30. - 09:13:55] [WORLD__ZONE] [3] [halas] Broadcasting a world time update
this is my .bat file using:

start "Zones" /min eqlaunch.exe zone

Code:
@echo off

cls
echo ******************************************
echo ***      Starting EverQuest Server     ***
echo ******************************************
cd "c:\eqemu yak"
echo *** Clearing old logs...               ***
del ".\logs\*.*" /q
echo *** Starting EverQuest World Server... ***
start "World" /min world.exe
sleep 90
echo *** Starting EverQuest Zones...        ***
start "Zones" /min eqlaunch.exe zone
sleep 40
echo *** Starting EverQuest Chat Server...  ***
start "Chat" /min chatserver.exe
sleep 8
echo *** Starting EverQuest Mail Server...  ***
start "Mail" /min mailserver.exe
echo *** EverQuest Server Started           ***
echo ******************************************
sleep 8
exit
My Launcher table
Code:
+------+----------+
| name | dynamics |
+------+----------+
| zone |        5 |
+------+----------+
my Launcher_Zones table
Code:
+----------+-------+------+
| launcher | zone  | port |
+----------+-------+------+
| zone     | Halas | 7005 |
+----------+-------+------+
Reply With Quote
  #11  
Old 04-30-2009, 12:15 PM
Nightraven74
Fire Beetle
 
Join Date: Apr 2009
Location: us
Posts: 6
Default

nope wasnt that I misstyped the name betwenn the 2 I changed name to static in bolth files still no go changed name to zone and it's off and running ran into new problem I just set 94 zones to start staticly and 10 dyn zones well at the end of the list the last few zones kept crashing.

I cut the dyn zone # to 5 and only the last 2 static zones crash I cut again too 3 dyn zones and all is happy. ram usage 67% total cpu usage 0-6%

not sure if their are any caps on usage usage or ports gona try another exsparament to test for this by opening up more resources and seeing if I can get 1 more dyn without crashing statics.

Allso what area do you goto to make the zones save stats so they keep spawn timers going I want to be able to have it live like with dragon spawns and all and the only way I know to insure things are spawned as they should be is thrue static zones
Reply With Quote
  #12  
Old 04-30-2009, 01:10 PM
Nightraven74
Fire Beetle
 
Join Date: Apr 2009
Location: us
Posts: 6
Default

update I got it to do up to 6 dyn with 94 static and when I try to open the editor it wont conect to the db it says to many connections
Reply With Quote
  #13  
Old 04-30-2009, 01:39 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

did you have 'static' in all *3* places? the Launcher table, the Launcher_Zones table, and your .bat file (start eqlaunch.exe static)?

looking back at your posts, your .bat file has
start eqlaunch.exe zone

if you changed the Launcher and Launcher_Zones table to something else, then it definitely wouldn't find them.

what you pass eqlaunch as an argument will be the name of the launcher it looks for in the Launcher table.

as far as too may connections, that a config setting for mysql that you'd have to change.
Reply With Quote
  #14  
Old 04-30-2009, 02:35 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

also, take a look in your eqemu_config.xml file under

Code:
    <zones>
        <defaultstatus>0</defaultstatus>

        <!-- Sets port range for world to use to auto configure zones -->
        <ports low="7000" high="7110"/>
    </zones>
the default high port is 7100 - you might need to up that a little.

i ran 100 static zones and 5 dynamics and they all loaded ok.
Reply With Quote
  #15  
Old 05-01-2009, 03:33 AM
Nightraven74
Fire Beetle
 
Join Date: Apr 2009
Location: us
Posts: 6
Default

last problem solved with editing the mysql's config file to allow more than 100 conections =p zone servers use 1 connection per zone static or dynamic so the default setting of 100 was to low =p thanks for all the help guys now for the gruling task of adding more zone entry's lol
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:50 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3