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 01-29-2009, 01:43 PM
Jimmyxtreme
Fire Beetle
 
Join Date: Mar 2008
Posts: 12
Default How do i make a GM on public server

ok so i managed to get my server up and running on the public list at eqemu i just have a quick question,

How do i make myself a GM on my server?, i have searched and searched the frums to no avail and am completley lost in the wiki so any help would be greatly appreciated!

Thanks in advance
Reply With Quote
  #2  
Old 01-29-2009, 02:18 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

go to your database and in the accounts table set your status to 250.

Then you can use the #gm on/off command to switch back and forth.
Reply With Quote
  #3  
Old 01-30-2009, 10:33 PM
Yeormom
Discordant
 
Join Date: Apr 2004
Location: 127.0.0.1
Posts: 402
Default

Once you have set your account status, you can use the #flag command in game to set other accounts.
__________________
Yeorwned
Bane of Life [Custom Classic/PvP]
Reply With Quote
  #4  
Old 02-02-2009, 04:25 PM
seridium
Sarnak
 
Join Date: Jan 2009
Location: canada
Posts: 68
Default

Is that the database.cpp file if so what do I change?


Quote:
bool Database::SetAccountStatus(const char* name, sint16 status) {
char errbuf[MYSQL_ERRMSG_SIZE];
char *query = 0;
int32 affected_rows = 0;

cout << "Account being GM Flagged:" << name << ", Level: " << (sint16) status << endl;
if (!RunQuery(query, MakeAnyLenString(&query, "UPDATE account SET status=%i WHERE name='%s';", status, name), errbuf, 0, &affected_rows)) {
safe_delete_array(query);
return false;
}
safe_delete_array(query);

if (affected_rows == 0) {
cout << "Account: " << name << " does not exist, therefore it cannot be flagged\n";
return false;
}

return true;
}
Reply With Quote
  #5  
Old 02-02-2009, 04:57 PM
Yeormom
Discordant
 
Join Date: Apr 2004
Location: 127.0.0.1
Posts: 402
Default

Based on your questions seridium, it is clear you have no idea what you're doing. I would highly recommend you use a package installer to setup your first server until you get the hang of what's going on.
__________________
Yeorwned
Bane of Life [Custom Classic/PvP]
Reply With Quote
  #6  
Old 02-02-2009, 05:07 PM
seridium
Sarnak
 
Join Date: Jan 2009
Location: canada
Posts: 68
Default

LOL thanks I did use the packet installer sorry repost
Reply With Quote
  #7  
Old 02-02-2009, 05:09 PM
seridium
Sarnak
 
Join Date: Jan 2009
Location: canada
Posts: 68
Default

LOL thanks I did use teh packet installer

I understand I use NAvicat I connected to my database with it peq one I found my Accounts in the Tables my char names info I Changed it to status 250 I did this while game was running character was offline one was online it didnt work.

So i reset server still didn't work, I really am a fast learner I mean look how far I got myself already I just need a few tips from a guy like you

How do I make what I am doing work so I am GM.
DO i need to use mysql after and reload the peqdb_1129Rev291.sql or do i reload the players.sql ?? this is where I am at loading the packet isnatller will bring me back to square one
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 11:36 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