Server Help

Bot Questions - A !challenge duel plugin

k0zy - Wed Aug 23, 2006 11:30 am
Post subject: A !challenge duel plugin
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....
Witchie NL - Thu Aug 24, 2006 4:27 pm
Post subject:
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.)
k0zy - Fri Aug 25, 2006 5:14 am
Post subject:
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....
Witchie NL - Fri Aug 25, 2006 1:52 pm
Post subject:
ima see what it turns out to be. Call me when needed tongue.gif
k0zy - Tue Aug 29, 2006 11:15 am
Post subject:
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....
Witchie NL - Tue Aug 29, 2006 4:28 pm
Post subject:
thank you.
Witchie NL - Tue Aug 29, 2006 4:29 pm
Post subject:
damn you sure make nice plugins.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group