EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   World.exe commands (https://www.eqemulator.org/forums/showthread.php?t=30425)

hayward6 01-27-2010 07:31 PM

World.exe commands
 
Is there a command list anywhere for what can be run from world.exe? I have the ability to admin the server from remote locations now and I want to be able to do a little more.

Thanks

hayward6 01-28-2010 07:25 AM

I see someone moved me to the Windows server forum... I run my Server on Debian Linux. I can't imagine what would have flagged my post as needing to be moved, but maybe I'll get more traffic here?

pfyon 01-28-2010 10:00 AM

Presumably because .exe files don't exist for linux, unless you're running the server under WINE.

RichardoX 01-28-2010 03:08 PM

Even if it were under wine, I'd say that deserves Windows support.

I remember a few of the commands like

startzone zonename <Modifies universal start zone
flag accountname 255 <sets account flag
worldshutdown


that's all I can remember for now.. I think they removed startzone though.

hayward6 01-28-2010 04:11 PM

So it's fairly clear that this isn't well know. I was hoping it would be in a list somewhere. My primary reason for looking is so that I can run some scripts that run nightly... maybe a server shutdown for a nightly backup, and a shout out before that happens.

hayward6 01-29-2010 04:56 PM

Nobody has anything on this?

cavedude 01-29-2010 05:47 PM

Look in world/console.cpp for a list of commands that can be passed to world from telnet and the like.

hayward6 01-29-2010 06:38 PM

Quote:

Originally Posted by cavedude (Post 183557)
Look in world/console.cpp for a list of commands that can be passed to world from telnet and the like.

Thanks a lot! I don't know why I didn't think to look there... oh wait, yeah I do :) that's why I'm not a developer.

hayward6 01-29-2010 06:59 PM

Not finding anything useful in there... This is really kicking my butt.

cavedude 01-29-2010 07:09 PM

It has just about everything you can do with world... Zone is where the bulk of the functions happen. Looking at the code, I could have just told you to do a help but here's the list from console.cpp:

Code:

        if (strcasecmp(sep.arg[0], "help") == 0 || strcmp(sep.arg[0], "?") == 0) {
                                SendMessage(1, "  whoami");
                                SendMessage(1, "  who");
                                SendMessage(1, "  zonestatus");
                                SendMessage(1, "  uptime [zoneID#]");
                                SendMessage(1, "  emote [zonename or charname or world] [type] [message]");
                                SendMessage(1, "  echo [on/off]");
                                SendMessage(1, "  acceptmessages [on/off]");
                                SendMessage(1, "  tell [name] [message]");
                                SendMessage(1, "  broadcast [message]");
                                SendMessage(1, "  gmsay [message]");
                                SendMessage(1, "  ooc [message]");
                                SendMessage(1, "  auction [message]");
                                if (admin >= consoleKickStatus)
                                        SendMessage(1, "  kick [charname]");
                                if (admin >= consoleLockStatus)
                                        SendMessage(1, "  lock/unlock");
                                if (admin >= consoleZoneStatus) {
                                        SendMessage(1, "  zoneshutdown [zonename or ZoneServerID]");
                                        SendMessage(1, "  zonebootup [ZoneServerID] [zonename]");
                                        SendMessage(1, "  zonelock[list|lock|unlock] [zonename]");
                                }
                                if (admin >= consoleFlagStatus)
                                        SendMessage(1, "  flag [status] [accountname]");
                                if (admin >= consolePassStatus)
                                        SendMessage(1, "  setpass [accountname] [newpass]");
                                if (admin >= consoleWorldStatus) {
                                        SendMessage(1, "  version");
                                        SendMessage(1, "  worldshutdown");
                                }
                                if (admin >= 201) {
                                        SendMessage(1, "  IPLookup [name]");
                                }
                                if (admin >= 100) {
                                        SendMessage(1, "  LSReconnect");
                                }
                        }



All times are GMT -4. The time now is 05:42 PM.

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