Home » Technical Support » Win32 FDS » Night Regulator
Re: Night Regulator [message #226511 is a reply to message #225740] |
Fri, 13 October 2006 15:52 |
|
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma:
|
General (3 Stars) |
|
|
here is a snippet from the parse function
else if(command == "!gameover")
{
ostringstream pID_s;
pID_s << obj->Player_Name;
if(is_admin(pID_s.str()) == 1)
{
oss << "msg Gameover in 5 seconds!";
Send_Message((char *)oss.str().c_str(), IP2Long(IP), (short)atoi(Port.c_str()));
Sleep(5000);
oss.str();
Send_Message("gameover", IP2Long(IP), (short)atoi(Port.c_str()));
}
else
{
LOG("get_player_id called on line 535. parse.cpp\n");
string pID = get_player_id((char *)obj->Player_Name.c_str());
string id, playername;
splitstring(pID, ": ", id, playername);
oss << "ppage " << id << " you need to be an admin to perform this command";
Send_Message((char *)oss.str().c_str(), IP2Long(IP), (short)atoi(Port.c_str()));
}
}
the reason
LOG("get_player_id called on line 535. parse.cpp\n");
is there is because i have a bug i am trying to ger rid of
|
|
|
|
|
Night Regulator
By: Ryu on Mon, 09 October 2006 12:39
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: Zion on Mon, 09 October 2006 15:14
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: Zion on Tue, 10 October 2006 00:53
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: Ryu on Mon, 09 October 2006 16:08
|
|
|
Re: Night Regulator
By: Goztow on Tue, 10 October 2006 00:16
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: Matix on Tue, 10 October 2006 17:17
|
|
|
Re: Night Regulator
By: Tunaman on Tue, 10 October 2006 23:27
|
|
|
Re: Night Regulator
By: jnz on Tue, 10 October 2006 23:46
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: Zion on Wed, 11 October 2006 07:09
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: fl00d3d on Wed, 11 October 2006 10:42
|
|
|
Re: Night Regulator
By: futura83 on Wed, 11 October 2006 11:35
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: jnz on Thu, 12 October 2006 02:16
|
|
|
Re: Night Regulator
By: Matix on Wed, 11 October 2006 14:12
|
|
|
Re: Night Regulator
By: AmunRa on Wed, 11 October 2006 14:44
|
|
|
Re: Night Regulator
By: Matix on Wed, 11 October 2006 15:52
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: dead6re on Thu, 12 October 2006 00:37
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: jnz on Fri, 13 October 2006 15:23
|
|
|
Re: Night Regulator
By: Cat998 on Fri, 13 October 2006 15:37
|
|
|
Re: Night Regulator
By: jnz on Fri, 13 October 2006 15:52
|
|
|
Re: Night Regulator
By: dead6re on Fri, 13 October 2006 23:54
|
|
|
Re: Night Regulator
By: jnz on Sat, 14 October 2006 04:47
|
|
|
Re: Night Regulator
|
|
|
Re: Night Regulator
By: jnz on Sat, 14 October 2006 11:05
|
|
|
Re: Night Regulator
|
Goto Forum:
Current Time: Tue Jan 28 20:18:56 MST 2025
Total time taken to generate the page: 0.01164 seconds
|