Author |
Message |
k0zy Server Help Squatter

Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: 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.... _________________ It's a shark! Oh my god! Unbelievable!
kduel.rar - 64.19 KB
File downloaded or viewed 35 time(s)
|
|
Back to top |
|
 |
Witchie NL Seasoned Helper
Age:35 Gender: Joined: Jul 24 2005 Posts: 112 Location: Veere, Zeeland, Netherlands Offline
|
Posted: 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.)
|
|
Back to top |
|
 |
k0zy Server Help Squatter

Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: 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.
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 |
|
 |
Witchie NL Seasoned Helper
Age:35 Gender: Joined: Jul 24 2005 Posts: 112 Location: Veere, Zeeland, Netherlands Offline
|
Posted: Fri Aug 25, 2006 1:52 pm Post subject: |
 |
|
|
|
ima see what it turns out to be. Call me when needed
|
|
Back to top |
|
 |
k0zy Server Help Squatter

Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: 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....
kduel-src.rar - 16.17 KB
File downloaded or viewed 45 time(s)
|
|
Back to top |
|
 |
Witchie NL Seasoned Helper
Age:35 Gender: Joined: Jul 24 2005 Posts: 112 Location: Veere, Zeeland, Netherlands Offline
|
Posted: Tue Aug 29, 2006 4:28 pm Post subject: |
 |
|
|
|
thank you.
|
|
Back to top |
|
 |
Witchie NL Seasoned Helper
Age:35 Gender: Joined: Jul 24 2005 Posts: 112 Location: Veere, Zeeland, Netherlands Offline
|
Posted: Tue Aug 29, 2006 4:29 pm Post subject: |
 |
|
|
|
damn you sure make nice plugins.
|
|
Back to top |
|
 |
|