EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Launching more zones... (https://www.eqemulator.org/forums/showthread.php?t=33726)

monitor 06-20-2011 08:15 AM

Launching more zones...
 
Im trying to lauch more than 5 zones via my serverstart.bat.

at the moment, its very basic, just....

@echo off

cd C:\eqemu\EQEmu-Rev1887-bots
start world.exe
echo waiting a bit for world to finish loading...
echo.
echo.
ping -n 10 127.0.0.1 > nul

echo starting zone
start eqlaunch.exe zone
exit

This launches 5 dynamic zones in 1 window.
I want to launch 20 ish or more in 1 window, any idea how i go about this? I will then probably make some static ones in game.

Also when I make changes to the database, do i need to close down world and all zones and reload as i have been, or is there an easier way?

Many Thanks

Monitor

Zothen 06-20-2011 08:39 AM

Theres a launcher table in the DB to set the number of dynamic zones.

As for the changes, depends on what youre changing. You can change rules and reload them ingame using #reloadrules command, but thats only for the current zone youre in. I think theres a worldwide reload command too.

Spawns will be updated as soon as the zone is reloaded. If you change loottables, you need to shutdown and restart your whole server (as far as I know), cause the loottables are loaded globally.

monitor 06-20-2011 09:02 AM

Thats great, thanks!

Monitor

joligario 06-20-2011 09:07 AM

Don't forget your ports in the config xml if you changed them during setup.

KingMort 06-20-2011 02:50 PM

You can do it manually to this is part of my starting script over at Raid Addicts

Code:

echo 'Booting world server..'
./world >> world.output &
echo '(Sleeping 15 seconds before locking)'
sleep 15

~/scripts/worldcmd.pl lock


echo 'Booting chat server..'
./chatserver >> chat.output &


echo '(Sleeping 10 seconds before booting zones)'
sleep 10
echo 'Booting zones..'

# Boot first zone and wait 30 seconds
./zone  >> zone.output &
sleep 20

./zone kerraridge >> /dev/null &
sleep 3
./zone vexthal >> /dev/null &
sleep 3
./zone powar >> /dev/null &
sleep 3
./zone tutorialb >> /dev/null &
sleep 3
./zone karnor >> /dev/null &
sleep 3
./zone airplane >> /dev/null &
sleep 3
./zone lfaydark >> /dev/null &
sleep 3
./zone templeveeshan >> /dev/null &
sleep 3
./zone poknowledge >> /dev/null &
sleep 3
./zone mmcd >> /dev/null &
sleep 3
./zone bazaar >> /dev/null &

# Boot 14 more dynamic zones
for ((i = 0; i < 38; i++)); do
        ./zone >> /dev/null &
        sleep 3
done


echo 'ZONES BOOTED'



All times are GMT -4. The time now is 08:37 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.