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. |
Quote: |
[bot name] : [bot password] : [initial arena] : [initial plugins] : [staff password] |
Quote: |
Solo Bot : botpw : 0 : ctfplugin : ctfzonestaff |
Quote: |
CTF Bot : botpasswd : 0 : ctf.dll : staffpw |
D1st0rt wrote: |
Isn't it just supposed to say ctf and not ctf.dll? |
Code: Show/Hide 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; } |
LoadLibrary function specification wrote: |
If no file name extension is specified in the lpFileName parameter, the default library extension .dll is appended. |
Platform SDK - LoadLibrary wrote: |
If no file name extension is specified in the lpFileName parameter, the default library extension .dll is appended. |