|
Re: How do I get commands for my sever? [message #318249 is a reply to message #318246] |
Wed, 20 February 2008 22:28 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
You're talking about EKT's Roleplay 2 server, aren't ya? -_-
Those are custom scripted server-sided by Sniperhid (aka EKT-Snippers or something like that) and they're a private thing, server specific...
Although, you can easily make a !killme command in C++ -_-
~Zack
|
|
|
|
Re: How do I get commands for my sever? [message #318257 is a reply to message #318246] |
Wed, 20 February 2008 23:19 |
Sniperhid
Messages: 6 Registered: February 2007
Karma: 0
|
Recruit |
|
|
const char *Msg3 = WideCharToChar(Msg);
else if (strncmp(Msg3,"!killme",7) == 0) {
if (obj){
Commands->Destroy_Object(obj);
char message[256];
sprintf(message,"cmsgp %d 90,250,90 [EKTRPG] You have been killed.",ID);
Console_Input(message);
return;
}
}
the ID var is given in the chat hook: SSGM_Chat_Hook, yeah you can tell me off for not using the tokenized stuff, but this works perfectly fine.
|
|
|
|
|
|
|
|
|
|
|
|
Re: How do I get commands for my sever? [message #318785 is a reply to message #318246] |
Sun, 24 February 2008 13:58 |
|
crazfulla
Messages: 667 Registered: September 2006 Location: Aotearoa
Karma: 0
|
Colonel |
|
|
thats because its a mod package. I dont know how to use them on NR.
You could always edit svrcfg_cnc itself in notepad via remote desktop
"GEoDLeto wrote:" | so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released
|
"halo2pac wrote:" | Unless they are girls, I am not going to bone them.
|
|
|
|
|
|
Re: How do I get commands for my sever? [message #318809 is a reply to message #318246] |
Sun, 24 February 2008 17:45 |
EA-DamageEverything
Messages: 423 Registered: January 2005 Location: Germany
Karma: 0
|
Commander |
|
|
Honestly I don't know because it should NOT affect Renguards behavior. The only commands RG should listen to is !forcerg and !rg in F2-Chat. And !rgplayers on IRC AFAIK.
I don't know if !killme is implemented in the Brenbot -I only had to use it once the last time (and lol it was on a NR-regulated Server). If it's not, I think your BR might have thought: "WTF? Unknown command!"
Anyway, Sniperhid has posted the needed Code for the scripts and once it's placed there in a running scripts.dll, it doesn't matter what Bot runs on your Server.
|
|
|
Re: How do I get commands for my sever? [message #318814 is a reply to message #318257] |
Sun, 24 February 2008 18:52 |
|
Commando Burton
Messages: 91 Registered: July 2007 Location: The Internet
Karma: 0
|
Recruit |
|
|
Sniperhid wrote on Thu, 21 February 2008 00:19 |
const char *Msg3 = WideCharToChar(Msg);
else if (strncmp(Msg3,"!killme",7) == 0) {
if (obj){
Commands->Destroy_Object(obj);
char message[256];
sprintf(message,"cmsgp %d 90,250,90 [EKTRPG] You have been killed.",ID);
Console_Input(message);
return;
}
}
the ID var is given in the chat hook: SSGM_Chat_Hook, yeah you can tell me off for not using the tokenized stuff, but this works perfectly fine.
|
Okay, how do I use this?
|
|
|
Re: How do I get commands for my sever? [message #318817 is a reply to message #318808] |
Sun, 24 February 2008 19:06 |
|
Commando Burton
Messages: 91 Registered: July 2007 Location: The Internet
Karma: 0
|
Recruit |
|
|
Commando Burton wrote on Sun, 24 February 2008 18:14 | Wait, when I tell someone on my server to type !killme and they do over in BRenbot said that person did not Renguard how do I fix this!
| Wait, BR said that they need Renguard.
One thing I do NOT have Renguard.
One more thing I want to open custom_commands.brf but can't what do I need?
[Updated on: Sun, 24 February 2008 19:38] Report message to a moderator
|
|
|
|
Re: How do I get commands for my sever? [message #318979 is a reply to message #318246] |
Mon, 25 February 2008 16:38 |
EA-DamageEverything
Messages: 423 Registered: January 2005 Location: Germany
Karma: 0
|
Commander |
|
|
You can open & edit any Plugin file with the Windows Notepad. Associate .brf + .cfg with it. You even can open the .pm + XML files with it.
The only important thing is to keep the structure of the code within those files. If you mess a line up, the Plugin will not load or work properly.
|
|
|
|