Server Help

Bot Questions - Could any1 make me a bot about....

MasterShip - Mon Nov 15, 2004 9:20 am
Post subject: Could any1 make me a bot about....
Could any1 make me a bot which will open a door, when a freq drops 10 flags in an area.

The door numbers should be ?set 17 (for req 0) and ?set 45 (for freq 1).
or if u need the coord for it its 454, 31 and 473, 31 (for freq 0)
547, 31 and 566, 31 (for freq 1)

The coords where the 10 flags should be:

963, 631 and 1012, 672 (for freq 0)
11, 631 and 60, 672 (for freq 1)

I'd really appreciate it.

ps: could u add the source, so if there are any changes i can change them, and learn from it.
D1st0rt - Mon Nov 15, 2004 4:56 pm
Post subject:
Which core are you using, MERV? TWCore?
MasterShip - Tue Nov 16, 2004 3:39 am
Post subject:
A merv core
D1st0rt - Sat Nov 20, 2004 10:23 pm
Post subject:
I'll see if I can get a chance, I don't really do much merv anymore
k0zy - Sun Nov 21, 2004 5:26 am
Post subject:
Here you go.

Again, not tested. It should work, though.
Sourcecode is in the .zip.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
MasterShip - Sun Nov 21, 2004 5:48 pm
Post subject:
since bots for some reson dont work in my local zone, can i not test it.

But thank you very much for making it, ill let you know if it works.
pokemon 2001 - Mon Nov 22, 2004 2:33 am
Post subject:
yo Master just go to MervBot config.txt or .ini where u type the IP= make it IP=Localhost if that does not work try IP=127.0.0.1 make sure the Port matches your game server port
MasterShip - Mon Nov 22, 2004 8:35 am
Post subject:
it does enter the zone, and if u pm him !about he reply's but it doesnt do the stuff he must do.
it also has sysop powers.
idk
pokemon 2001 - Mon Nov 22, 2004 12:57 pm
Post subject:
MasterShip wrote:
it does enter the zone, and if u pm him !about he reply's but it doesnt do the stuff he must do.
it also has sysop powers.
idk
make sure the dll is inside your mervbot folder

!load flagdoor.dll

and when u press !plugins make sure it appears there

also if load doesnt work u gotta uncomment it in Commands.txt


the box it checks flags for is

Freq 0 Box
-----------------
X > 693 < 1012
Y > 631 < 672

Freq 1 Box
-------------------
X > 11 < 60
Y > 631 < 672

lay the flags somewhere on those coords ill list a few if u dont understand that

teleport with all flags there

Team Freq 0
*warpto 694 632

If your on Team Freq 1 try

*warpto 12 632

see if anything happens with doors
Cyan~Fire - Mon Nov 22, 2004 4:42 pm
Post subject:
Turn off the NoTerminal setting in MERVBot.ini and look to make sure all the plugins are being loaded on the command window.
MasterShip - Fri Nov 26, 2004 9:33 am
Post subject:
they are on and say dll plugin connected, but when the flag are carried into the square it doesnt do anything
k0zy - Sat Nov 27, 2004 4:37 am
Post subject:
Here's a debug version.

Turn off NoTerminal in mervbot.ini and use this plugin.

The plugin sends several events to the terminal.
You can paste them here.

The messages should look like this:
Code: Show/Hide
Flag dropped
Parsing flaglist
Flag in rectange -> <team>:<number of flags>
...
Finished parsing
Opening door for freq<x>

MasterShip - Sat Nov 27, 2004 7:38 am
Post subject:
in terminal it says
Code: Show/Hide
Ext: Flag Dropped. Parsing flaglist...
Ext: Finished parsing.

k0zy - Sun Nov 28, 2004 4:54 am
Post subject:
Ok, in this case I need a little more testing.

Here's another plugin, again, tell me what the MERVBot terminal says.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
MasterShip - Sun Nov 28, 2004 5:44 am
Post subject:
It says

Code: Show/Hide

Ext: Flag at 517 : 508
Ext: Flag at 512 : 516
Ext: Flag at 516 : 509
Ext: Flag at 515 : 512
Ext: Flag at 517 : 509

k0zy - Sun Nov 28, 2004 6:31 am
Post subject:
Did you drop 10 flags?
And did you drop then in the rectangle you specified in the first post?

Quote:
963, 631 and 1012, 672 (for freq 0)
11, 631 and 60, 672 (for freq 1)


Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
MasterShip - Mon Nov 29, 2004 5:16 pm
Post subject:
yup, but when i drop 5 flags it says

Code: Show/Hide


Ext: Flag at510 : 509
Ext: Flag at505 : 516
Ext: Flag at513 : 507
Ext: Flag at513 : 509
Ext: Flag at509 : 514
Ext: Flag at515 : 510
Ext: Flag at508 : 517
Ext: Flag at512 : 508
Ext: Flag at512 : 513
Ext: Flag at514 : 513


perhaps important, prize:minimumVirtual=10
k0zy - Tue Nov 30, 2004 5:18 pm
Post subject:
Yeah, it checks ALL flags, even if only one is dropped.

But all the flags seem to be near center (512,512) when they are dropped... at least, that's what the bot says.
And I dont know why...

You said you dropped them in the rectanlge you specified in your first post, but the MERVBot-Terminal says the flags are around the center tile.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group