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 05-02-2019, 09:21 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Something I do, (for my own wants and needs) is use an "old school" set of start/stop scripts. Akka's scripts do a lot more for someone and I would encourage people to use what he has done, but I really don't need all those "automated" mechanics, I really don't mind doing things manually, (like clearing logs, etc), so I keep things simple on the startup, whether public or private launch. Here's what I have been using for years now: (I don't use queryserv on a local setup, so I comment that line out).

Start.bat
Code:
start loginserver.exe
shared_memory.exe
ping -n 4 127.0.0.1 > nul
start world.exe
ping -n 10 127.0.0.1 > nul
start eqlaunch.exe zone
start queryserv.exe
start ucs.exe
Stop.bat
Code:
taskkill /IM queryserv.exe /F
taskkill /IM ucs.exe /F
taskkill /IM eqlaunch.exe /F
taskkill /IM Zone.exe /F
taskkill /IM world.exe /F
taskkill /IM loginserver.exe /F
taskkill /IM shared_memory.exe /F
I have a similiar server scenario, where it's not feasible to risk automated updates, which I'm sure servers like P99, etc, have to be just as adamant about, because of the work gone into it. There is something I do for myself, to disable any updates on startup, but again, I would NOT encourage anyone to do this, unless you have the knowledge to know what you're doing.
When world is run, it will look for that eqemu_server.pl script. If it finds one, it will continue, and read from it. If it doesn't find one, it will install a new copy. That's where everything is scripted for grabbing any updates. So what I do, is rename the original to eqemu_server.pl-OFF (you can use bak, or whatever). Then I take a copy of that script and edit it, to comment out everything, except the following,(below). These lines shown are right near the top of the script. Then I save that as eqemu_server.pl for world to find it. If I run into a scenario where I want to run updates, then I simply rename it to eqemu_server.pl-disable Then rename the "OFF" one to normal again, to grab the updates. But in most cases, I will do the updates manually, by running the sql into the database.

eqemu_server.pl
Code:
use Config;
use File::Copy qw(copy);
use POSIX qw(strftime);
use File::Path;
use File::Find;
use Time::HiRes qw(usleep);
Reply With Quote
  #2  
Old 05-02-2019, 09:42 AM
TigerFeet
Fire Beetle
 
Join Date: Feb 2019
Posts: 22
Default

This is EXACTLY what I need right now.

I take your caution notes seriously, and will review the changelog of the server regularly and apply changes when I need them, either manually or using the "rename the bat file" technique.

You have been so helpful I don't know how to thank or express it enough. What started out as a relatively simple DB table entry answer has led me to ask more and more questions and you have always taken the time to answer them in such a clear and comprehensive manner.

For people who have spent many many hours writing this emulator, then releasing it and packaging it in such a way as to make it easy to get it running, and also have the patience to answer question from folk like myself is utterly amazing.

Again, thankyou so much for sharing your knowledge and techniques, and taking the time to answer so many follow on questions.

I now feel confident to compile the code (with the very few changes I have in mind at the moment) and have a way to "freeze" the version of code I am currently developing.

Thanks, Andrew
Reply With Quote
  #3  
Old 05-02-2019, 10:12 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by TigerFeet View Post
What started out as a relatively simple DB table entry answer has led me to ask more and more questions
Your'e welcome.

Sometimes, support inquiry threads end up going in a different direction, and some will think a new question belongs in a new thread, but I always figure, why clutter up the forums with multiple threads for questions asked by one person ? As far as the questions and answers helping others, people are either reading the posts, or they are not, lol

I would never discourage people from using Akka's Installers and scripts, he's a genius for that stuff. I always thought of the installer as a "plug and play" for newbies, which was a big stepping stone for this project. The name "EZ Server" would of made more sense with the installer.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:24 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3