Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
I need to know how to put a bot in the zone
Goto page 1, 2  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  Merve plugin request Post :: Post Anyone have to source for basewars?  View next topic  
Author Message
Ca$hed!!+
Guest


Offline

PostPosted: Mon Apr 18, 2005 8:24 am    Post subject: I need to know how to put a bot in the zone Reply to topic Reply with quote

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
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon Apr 18, 2005 10:51 am    Post subject: Reply to topic Reply with quote

What bot did you download exactly, what name does it have?
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Ca$hed!!+
Guest


Offline

PostPosted: Tue Apr 19, 2005 9:21 pm    Post subject: Reply to topic Reply with quote

Plugin Ctf bot
Back to top
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Wed Apr 20, 2005 5:14 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Ca$hed!!+
Guest


Offline

PostPosted: Thu Apr 21, 2005 8:26 am    Post subject: Reply to topic Reply with quote

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
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Apr 21, 2005 10:06 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Ca$hed!!+
Guest


Offline

PostPosted: Thu Apr 21, 2005 12:23 pm    Post subject: Reply to topic Reply with quote

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
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Apr 21, 2005 3:24 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Apr 21, 2005 3:58 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Ca$hed!!+
Guest


Offline

PostPosted: Fri Apr 22, 2005 8:38 am    Post subject: Reply to topic Reply with quote

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:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri Apr 22, 2005 11:49 am    Post subject: Reply to topic Reply with quote

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? icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
Ca$hed!!+
Guest


Offline

PostPosted: Fri Apr 22, 2005 12:21 pm    Post subject: Reply to topic Reply with quote

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:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri Apr 22, 2005 1:21 pm    Post subject: Reply to topic Reply with quote

<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
View users profile Send private message Add User to Ignore List
Ca$hed!!+
Guest


Offline

PostPosted: Fri Apr 22, 2005 4:16 pm    Post subject: Reply to topic Reply with quote

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:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Apr 23, 2005 12:43 pm    Post subject: Reply to topic Reply with quote

Isn't it just supposed to say ctf and not ctf.dll?
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
liito-orava
Novice


Gender:Gender:Male
Joined: Sep 24 2003
Posts: 41
Offline

PostPosted: Sat Apr 23, 2005 12:50 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sat Apr 23, 2005 1:18 pm    Post subject: Reply to topic Reply with quote

File extensions work, don't worry.
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sat Apr 23, 2005 1:36 pm    Post subject: Reply to topic Reply with quote

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):
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;
}


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
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sat Apr 23, 2005 1:37 pm    Post subject: Reply to topic Reply with quote

For the guest "Ca$hed!!+": I have no idea, good luck finding another one. icon_confused.gif

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! sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Apr 23, 2005 2:11 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sat Apr 23, 2005 4:35 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sat Apr 23, 2005 4:49 pm    Post subject: Reply to topic Reply with quote

So did I, your post was just shorter, it took less time to write it, so you could post earlier. icon_sad.gif

Cyan, wtf are you talking about? N0b.
Back to top
View users profile Send private message Add User to Ignore List
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Sat Apr 23, 2005 9:49 pm    Post subject: Reply to topic Reply with quote

I always put the extensions on my plugins. Its kinda a habit and its does not effect me in anyway.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Apr 24, 2005 8:19 am    Post subject: Reply to topic Reply with quote

Both work with Mervbot: Either with or without .dll
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Apr 24, 2005 8:37 am    Post subject: Reply to topic Reply with quote

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. icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 56 page(s) served in previous 5 minutes.

phpBB Created this page in 0.579046 seconds : 49 queries executed (81.8%): GZIP compression disabled