Author |
Message |
Ca$hed!!+ Guest
Offline
|
Posted: Mon Apr 18, 2005 8:24 am Post subject: I need to know how to put a bot in the zone |
 |
|
|
|
I downloaded a plugin bot. How should i put the bot into my zone that it can start ctf. Plz tell me. |
|
Back to top |
|
 |
Maverick

Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Mon Apr 18, 2005 10:51 am Post subject: |
 |
|
|
|
What bot did you download exactly, what name does it have? _________________
|
|
Back to top |
|
 |
Ca$hed!!+ Guest
Offline
|
Posted: Tue Apr 19, 2005 9:21 pm Post subject: |
 |
|
|
|
Plugin Ctf bot |
|
Back to top |
|
 |
Maverick

Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Wed Apr 20, 2005 5:14 am Post subject: |
 |
|
|
|
from catid.ssihosting.com aka Mervbot?
If so;
Quote: | 1) Make sure "ForceContinuumOnly=" is set to 0 in server.ini
2) Download mervbot from catid.ssihosting.com
3) Extract it to a directory
3) Put Plugin Ctf .dll file in the directory
4) Add the name of the .dll file to spawns.txt as described in spawns.txt (choose a name and password aswell, also fill in the sysop password if the bot needs sysop access)
5) Edit mervbot.ini (go over all of the values and check if they are ok) (You should set NoTerminal to 0 to see any problems with the bot)
6) Add the name of the bot to vip.txt (and sysop.txt if the bot needs sysop access)
7) Start mervbot.exe
8) If you don't see the bot appearing in your zone, check the mervbot console or *log for any error messages. |
|
|
Back to top |
|
 |
Ca$hed!!+ Guest
Offline
|
Posted: Thu Apr 21, 2005 8:26 am Post subject: |
 |
|
|
|
What should i put for Access level operator. I tried all my alias and passwords it say access level operator ignored. |
|
Back to top |
|
 |
Maverick

Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Thu Apr 21, 2005 10:06 am Post subject: |
 |
|
|
|
1) Close Mervbot if its running
2) Open Operators.txt
3) Comment out (Put '#' in front of the line) all of the lines with names on them you don't want on your bot
4) Put '5:YourName:' on a new line
5) Save
6) Close
7) Start Mervbot
This is a quick and dirty editing of operators.txt . I suggest you read the information in Operators.txt to get familiar with how operators are set and how it works. |
|
Back to top |
|
 |
Ca$hed!!+ Guest
Offline
|
Posted: Thu Apr 21, 2005 12:23 pm Post subject: |
 |
|
|
|
I can work the bot but my zone is ctf. The nerv bot dos not host ctf. What should i do so that it can start ctf. |
|
Back to top |
|
 |
Maverick

Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Thu Apr 21, 2005 3:24 pm Post subject: |
 |
|
|
|
I do not understand completely. Are you saying you can't access the mervbot console because its hosted for you on another computer? If that is the case, then someone who is already an operator on the bot needs to add you to it.
What is the name of the zone and whats your ss name? Maybe I can stop by some time to be of any help.
My ss name is MMaverick |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Thu Apr 21, 2005 3:58 pm Post subject: |
 |
|
|
|
He wants to make the spawn load the ctf dll, I think.
Open spawns.txt, you should've added the required information to it already. You just have to add the name of the plugin to it.
This is the syntax on the lines:
Quote: | [bot name] : [bot password] : [initial arena] : [initial plugins] : [staff password] |
Some of these fields are optional.
Put your ctf plugin in the initial plugins field.
Example:
Quote: | Solo Bot : botpw : 0 : ctfplugin : ctfzonestaff |
This would create a spawn in the public arena (0) named "Solo Bot", with "botpw" as password.
Solo Bot would have the plugin ctfplugin (note: to get a plugin to work, the .dll file has to be in the same directory as MERVBot.exe) loaded (the file for this would be ctfplugin.dll).
The staff password (optional) Solo Bot would use is ctfzonestaff.
Maybe reading this thread helps you fixing your problem, if you can't figure out what I meant here.
Using the search feature is a good way to look for specific previous threads which concern your problem. |
|
Back to top |
|
 |
Ca$hed!!+ Guest
Offline
|
Posted: Fri Apr 22, 2005 8:38 am Post subject: |
 |
|
|
|
Guys there is 2 bots coming one bot is the named as Catid.bot the other one is the bot i named, but the problem is that both of the bot is not starting ctf. My zone is like metal gear ctf. I want 1 bot to start ctf message check tk. How should i do that. I want my bot to be like MetalBot |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Fri Apr 22, 2005 11:49 am Post subject: |
 |
|
|
|
I told you exactly what to do, now you have to understand what I said.
Put the name of the CTF plugin in the "plugins" field of spawns.txt so the bot will load the plugin.
How come you keep asking the same question instead of doing what I told you to do?  |
|
Back to top |
|
 |
Ca$hed!!+ Guest
Offline
|
Posted: Fri Apr 22, 2005 12:21 pm Post subject: |
 |
|
|
|
Bot name : Bot passwod : Arena name : Plugins : Staff password. I filled as u guys told me. In plugins i put ctfplugin. Then i run the bot. There is 2 bots. Catid.bot and a another bot in the name i gave. Then i typed !help there was no command as !startctf or !stopctf. U guys told me to put the file in the same directory and i did. Ctf.dll is in the directory. The plugin read me says instead of blacnk in spwans put ctf.dll. I tried and the bot goes to a subarena called ctf.dll. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Fri Apr 22, 2005 1:21 pm Post subject: |
 |
|
|
|
<sigh>
Make sure you put everything in the right field, obviously you put "Ctf.dll" as the arena name, which is wrong.
Use a 0 as the arena name to make it spawn in a public arena.
Use ctf.dll in the plugins field, not "ctfplugin", that was only an example.
So, this would be the line of the spawn with the ctf plugin:
Quote: | CTF Bot : botpasswd : 0 : ctf.dll : staffpw |
As you can see in the third field the arena 0 is specified, which is a public arena; The ctf.dll is the name of the plugin file, which is, of course, ctf.dll!
Why is it so hard to figure these things out? They're so damn obvious. |
|
Back to top |
|
 |
Ca$hed!!+ Guest
Offline
|
Posted: Fri Apr 22, 2005 4:16 pm Post subject: |
 |
|
|
|
Can u give me a ctf plugin bot. The plugin bot i got is like sscc halo. I want a bot like metal bot. Two bases 2 flags. I doenloaded the bot from catid if u can give me the link it will be great |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sat Apr 23, 2005 12:43 pm Post subject: |
 |
|
|
|
Isn't it just supposed to say ctf and not ctf.dll? _________________
 |
|
Back to top |
|
 |
liito-orava Novice

Gender: Joined: Sep 24 2003 Posts: 41 Offline
|
Posted: Sat Apr 23, 2005 12:50 pm Post subject: |
 |
|
|
|
D1st0rt wrote: | Isn't it just supposed to say ctf and not ctf.dll? |
Yeah shouldn't have the file extension there. Neither is that used with !load plugin command. _________________ "Do you hear that? That is the sound of nobody giving a fuck!"
Wolfix> Lesbian transvestites trapped in man's bodies spanking their monkeys to freq 395 |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Sat Apr 23, 2005 1:18 pm Post subject: |
 |
|
|
|
File extensions work, don't worry. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sat Apr 23, 2005 1:36 pm Post subject: |
 |
|
|
|
Let's not discuss insignificant parts of MERVBot's command parsing.
Get ready for a WRONG in your face.
From MERVBot's botdll.cpp (260 - 295 v38):
bool DLLImports::importLibrary(char *files)
{
String s = files;
String plugin = s.split(',');
if (plugin != s)
importLibrary(s.msg);
int slot;
// Find open import slot
for (slot = 0; slot < DLL_MAX_LOADED; ++slot)
if (!DLL_TALK[slot])
break;
if (slot == DLL_MAX_LOADED)
return false;
// Avoid directory traversal exploits.
trimString('/', plugin);
trimString('\\', plugin);
DLLhMod[slot] = LoadLibrary(plugin.msg);
if (!DLLhMod[slot]) return false;
strncpy(ModuleName[slot], plugin.msg, DLL_NAMELEN);
DLL_TALK[slot] = (CALL_TALK)GetProcAddress(DLLhMod[slot], (LPCSTR)1);
talk(slot, makeInit(&listen, &(h->playerlist), &(h->flagList), (CALL_MAP)(h->map), &(h->brickList)));
if (h->inArena)
talk(slot, makeArenaEnter(h->botInfo.initialArena, h->Me, h->billerOnline));
return true;
} |
Sure, that doesn't append any ".dll" to the specified name of a plugin.
But, as we can read on MSDN:
LoadLibrary function specification wrote: | If no file name extension is specified in the lpFileName parameter, the default library extension .dll is appended. |
Hush, you two. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sat Apr 23, 2005 1:37 pm Post subject: |
 |
|
|
|
For the guest "Ca$hed!!+": I have no idea, good luck finding another one.
Oh yeah, did you know it's useless to quote someone when replying to the complete message in the last post in the thread you're replying to?
Meh Purge, you're annoying enough already, stop interfering threads when I'm writing a post!  |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Apr 23, 2005 2:11 pm Post subject: |
 |
|
|
|
Get read for a WRONG in your face, Solo.
Platform SDK - LoadLibrary wrote: | If no file name extension is specified in the lpFileName parameter, the default library extension .dll is appended. |
_________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Sat Apr 23, 2005 4:35 pm Post subject: |
 |
|
|
|
I know I was stating the truth when I say .dll extensions work when loading a plugin, and inserting it into the Spawns.txt. Ghost Recon used to do that all the time. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sat Apr 23, 2005 4:49 pm Post subject: |
 |
|
|
|
So did I, your post was just shorter, it took less time to write it, so you could post earlier.
Cyan, wtf are you talking about? N0b. |
|
Back to top |
|
 |
Assassin2684 Server Help Squatter

Age:34 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Sat Apr 23, 2005 9:49 pm Post subject: |
 |
|
|
|
I always put the extensions on my plugins. Its kinda a habit and its does not effect me in anyway. |
|
Back to top |
|
 |
Maverick

Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Sun Apr 24, 2005 8:19 am Post subject: |
 |
|
|
|
Both work with Mervbot: Either with or without .dll |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sun Apr 24, 2005 8:37 am Post subject: |
 |
|
|
|
That's exactly what I said.
LoadLibrary wants a .dll, if it's not there it appends it.
Stop repeating what was proven earlier, please.  |
|
Back to top |
|
 |
|