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
Could any1 make me a bot about....

 
Post new topic   Reply to topic Printable version
 View previous topic  No Anti In center Post :: Post Error parsing  View next topic  
Author Message
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Mon Nov 15, 2004 9:20 am    Post subject: Could any1 make me a bot about.... Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Mon Nov 15, 2004 4:56 pm    Post subject: Reply to topic Reply with quote

Which core are you using, MERV? TWCore?
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Tue Nov 16, 2004 3:39 am    Post subject: Reply to topic Reply with quote

A merv core
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Nov 20, 2004 10:23 pm    Post subject: Reply to topic Reply with quote

I'll see if I can get a chance, I don't really do much merv anymore
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Sun Nov 21, 2004 5:26 am    Post subject: Reply to topic Reply with quote

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....
_________________
It's a shark! Oh my god! Unbelievable!




flagdoor.zip - 92.22 KB
File downloaded or viewed 27 time(s)
Back to top
View users profile Send private message Add User to Ignore List
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Sun Nov 21, 2004 5:48 pm    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
pokemon 2001
Novice


Age:39
Gender:Gender:Male
Joined: Nov 21 2004
Posts: 71
Location: New York, Brooklyn
Offline

PostPosted: Mon Nov 22, 2004 2:33 am    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Mon Nov 22, 2004 8:35 am    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
pokemon 2001
Novice


Age:39
Gender:Gender:Male
Joined: Nov 21 2004
Posts: 71
Location: New York, Brooklyn
Offline

PostPosted: Mon Nov 22, 2004 12:57 pm    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
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: Mon Nov 22, 2004 4:42 pm    Post subject: Reply to topic Reply with quote

Turn off the NoTerminal setting in MERVBot.ini and look to make sure all the plugins are being loaded on the command window.
_________________
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
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Fri Nov 26, 2004 9:33 am    Post subject: Reply to topic Reply with quote

they are on and say dll plugin connected, but when the flag are carried into the square it doesnt do anything
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Sat Nov 27, 2004 4:37 am    Post subject: Reply to topic Reply with quote

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>




flagdoor.zip - 79.9 KB
File downloaded or viewed 12 time(s)
Back to top
View users profile Send private message Add User to Ignore List
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Sat Nov 27, 2004 7:38 am    Post subject: Reply to topic Reply with quote

in terminal it says
Code: Show/Hide
Ext: Flag Dropped. Parsing flaglist...
Ext: Finished parsing.
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Sun Nov 28, 2004 4:54 am    Post subject: Reply to topic Reply with quote

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....




flagdoor.zip - 79.81 KB
File downloaded or viewed 14 time(s)
Back to top
View users profile Send private message Add User to Ignore List
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Sun Nov 28, 2004 5:44 am    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Sun Nov 28, 2004 6:31 am    Post subject: Reply to topic Reply with quote

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....
Back to top
View users profile Send private message Add User to Ignore List
MasterShip
Newbie


Age:35
Gender:Gender:Male
Joined: Aug 23 2004
Posts: 11
Offline

PostPosted: Mon Nov 29, 2004 5:16 pm    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Tue Nov 30, 2004 5:18 pm    Post subject: Reply to topic Reply with quote

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....
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
Page 1 of 1

 
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: 112 page(s) served in previous 5 minutes.

phpBB Created this page in 0.505050 seconds : 45 queries executed (92.5%): GZIP compression disabled