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
A !challenge duel plugin

 
Post new topic   Reply to topic Printable version
 View previous topic  duel plugin Post :: Post Mervbot: http://catid.sscontinuum.com  View next topic  
Author Message
k0zy
Server Help Squatter


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

PostPosted: Wed Aug 23, 2006 11:30 am    Post subject: A !challenge duel plugin Reply to topic Reply with quote

This is the first version of my duel plugin.
It hosts 1v1 duels.

It would be great if someone could set it up and confirm that the basics are working.

The plugin is not yet completely ready for use, though.
You can challenge other players, withdraw the challenge again, accept or refuse other challenges and duel players of course.
This should be working.
A duel ends when a player has 5 kills. (Yes, I'll make that dynamic in next release)
After a player gets killed, the bot gives the player 5 seconds to respawn and warps all players back to the duel box.
The plugin checks for players leaving the arena in a duel.
It also checks for players warping, by observing a 20x20 area at the center (512,512). (Shouldn't the area be bigger?)

Any suggestions are welcome!

If the basics are working, I'll also make it keeping track of scores.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
_________________
It's a shark! Oh my god! Unbelievable!




kduel.rar - 64.19 KB
File downloaded or viewed 35 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Witchie NL
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Jul 24 2005
Posts: 112
Location: Veere, Zeeland, Netherlands
Offline

PostPosted: Thu Aug 24, 2006 4:27 pm    Post subject: Reply to topic Reply with quote

Click here plz

Want me to help or can i go on with some other bots?
(I fucking hate windows. brb gona kill bill gates with an dell mouse.)
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website MSN Messenger
k0zy
Server Help Squatter


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

PostPosted: Fri Aug 25, 2006 5:14 am    Post subject: Reply to topic Reply with quote

Witchie NL wrote:
Click here plz

Want me to help or can i go on with some other bots?
(I fucking hate windows. brb gona kill bill gates with an dell mouse.)


Apart from someone testing the bot I don't need any help.
Maybe I'll release the source code once the bot is complete.
Though you guys will probably laugh at me when reading it. icon_smile.gif
I tried to beat out some sense of the software engineering course at university. So I draw a class diagram, created a few classes and used the singleton and state pattern in that bot.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Back to top
View users profile Send private message Add User to Ignore List
Witchie NL
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Jul 24 2005
Posts: 112
Location: Veere, Zeeland, Netherlands
Offline

PostPosted: Fri Aug 25, 2006 1:52 pm    Post subject: Reply to topic Reply with quote

ima see what it turns out to be. Call me when needed tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website MSN Messenger
k0zy
Server Help Squatter


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

PostPosted: Tue Aug 29, 2006 11:15 am    Post subject: Reply to topic Reply with quote

Ok, here's the source code of the version above.
It's not documented though.

Leave me a message if there's something you don't understand.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....




kduel-src.rar - 16.17 KB
File downloaded or viewed 45 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Witchie NL
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Jul 24 2005
Posts: 112
Location: Veere, Zeeland, Netherlands
Offline

PostPosted: Tue Aug 29, 2006 4:28 pm    Post subject: Reply to topic Reply with quote

thank you.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website MSN Messenger
Witchie NL
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Jul 24 2005
Posts: 112
Location: Veere, Zeeland, Netherlands
Offline

PostPosted: Tue Aug 29, 2006 4:29 pm    Post subject: Reply to topic Reply with quote

damn you sure make nice plugins.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website MSN Messenger
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: 151 page(s) served in previous 5 minutes.

phpBB Created this page in 0.571732 seconds : 34 queries executed (94.9%): GZIP compression disabled