Server Help

Bot Questions - Bot MGB

Blindmonkey21 - Wed Dec 08, 2004 5:49 pm
Post subject: Bot MGB
A long time ago (Ok maybe 1 month) you said you made an AI bot. Do you think you could post it? If not that is ok.
Assassin2684 - Wed Dec 08, 2004 9:34 pm
Post subject:
Hmmm.. well if he is telling the truth i would very much like it, im trying to make a bot that can shoot and and fly around shooting enemys. I already have the dying part that a person gave to me.(i wont say who lol). Ya so anyway it would be nice if he made one.
Mine GO BOOM - Wed Dec 08, 2004 11:49 pm
Post subject:
AI? No way. I never got it to fly around, was too lazy to program that. It just aimed and shot. Not too hard math for that, just used second derivatives on Time/Distance function to figure out at which points in time a bomb shot in any angle would get the closest to the target. If it would hit too close (or the bot didn't have enough energy), it would shoot a bullet instead. If was a big farther away, it would shoot a bomb.

Why use second derivatives instead of figuring out a more direct solution? Eh, Mathematica didn't find a more direct solution in which t was cubic (I took into consideration the fact the enemy could be accelerating/turning) and the angle was inside inverse sin/cos functions.

The bot was designed for my CEBot, which is now junked. So, I'd recommend you check out some actual real bot AI for other games and steal their methods, as mine wasn't very efficient.

Oh, and the dying part? Just attached to a user of your choice, turned on watchdamage, and took damage whenever the driver did. Of course, it had problems when the driver died and it didn't, as it just sit there, still shooting, but ignoring all damage done to it until the driver respawned.
Underlord - Thu Dec 09, 2004 9:32 am
Post subject:
could u post the math?
Dr Brain - Thu Dec 09, 2004 9:56 am
Post subject:
If you get enough position packets, it's very easy to extrapolate them with constant acceleration.

Just take the dx/dt and take the dx/dt of the first derrivitave. So do a bunch of subtractions and store them into an array (for example), then do subtractions between adjcent array indicies. You can compute the average acceleration toward the current value of t, then extrapolate this out. Then you find an intercept along the path for a bomb/bullet tracjectory.

It's all quite easy, really. The tricky part is when you calculate their turn with it. I'm not sure of the best way to factor that in. Probably compute the first derrivative of their rotation, and solve some differential equations. Then when you have this multivariable solution, you'll have to find an intersection with one of the bomb/bullet lines.

Your intersection code should take into account the radius of the ship and the proximity (if applicable), otherwise you'll never find an intersection.


This is similar to what you have to do with robots playing soccer. You get the ball, you find your location, then calculate the best trajectory to the goal. Once you have the trajectory, you you have do a wide arc toward the goal (can't rotate in place, or you lose the ball) until you're pointing along the trajectory, then you drive forward and kick.
Assassin2684 - Thu Dec 09, 2004 3:08 pm
Post subject:
Well i dont know what any of you are talking about but as for the AI bot, RPG World has one that follows emenys and ahoots bombs at them and can die. Im trying to let him give it to me icon_razz.gif
Blindmonkey21 - Thu Dec 09, 2004 6:40 pm
Post subject:
If you get it be sure to post it icon_wink.gif
Smong - Fri Dec 10, 2004 5:13 am
Post subject:
I think gundam wing is supposed to have that bot too, but I've never seen it.
SuSE - Fri Dec 10, 2004 6:30 am
Post subject:
I have - wouldn't be surprised if RPG-World's is the same bot.

Death+ should have it. I'll be pushing him to make it publicly available next time I see him.
Assassin2684 - Fri Dec 10, 2004 7:19 am
Post subject:
Ya please, i think everyone would be happy. I would even trade soem lvz or somthing for it icon_razz.gif . Im still trying to bribe the owner of rpg lol.
Blindmonkey21 - Fri Dec 10, 2004 5:03 pm
Post subject:
Psyphi is unbribable I know from experience.
D1st0rt - Sun Dec 12, 2004 4:43 am
Post subject:
From what I remember, Gundam has a different bot from MK, and I don't think RPG has either of those. Good luck getting anything out of the RPG owner, it won't happen. I was making an ai bot in java, but it just didn't have a good processing speed with a bunch of different spawns on the core
Purge - Mon Dec 13, 2004 11:41 am
Post subject:
SSX Sniper also has a pretty good AI Bot. It moves and follows enemies, kills and dies. Owner is KillerII. I am trying to contact him now sa_tongue.gif
Assassin2684 - Mon Dec 13, 2004 2:58 pm
Post subject:
RPG Worlds bot is gundams wings bot, he said that death* gave it to him. Im going to see if i can contact him and see if he will give it to me biggrin.gif As for MKs bot that one just dies and i kno whos bot that is because i have it as well.
D1st0rt - Tue Dec 14, 2004 1:01 am
Post subject:
it was written by 50% using some of Catid's formulas
50% Packetloss - Tue Dec 14, 2004 3:09 am
Post subject:
Nah, I wrote some crappy bot for RPG World, all it did was shoot at people and take damage. I used some formulas found in ssbot2 and some from my math book to put it together. The bot in gundam was designed by someone else, also using ssbot2 probably. From what I gathered while watching the gundam bot, it seemed to have the same bugs that my bot did, but it was able to fly around and chase people. It was a lot of fun but buggy (obviously because it didnt have the rotation rate down nor any damage formulas for bursts, thors, reps, ect plus a lot of other things such as wormhole handling). You wont find a decent AI bot; it would take a lot of time to make one but I believe that anyone who took a physics course or even trig would be able to pull it off. PriitK probably disassembled subspace and picked through there to find anything he was having problems programming.
Cyan~Fire - Tue Dec 14, 2004 6:36 am
Post subject:
Who's Prittk? icon_biggrin.gif
FireFox13 - Tue Dec 14, 2004 3:04 pm
Post subject:
Cyan~Fire wrote:
Who's Prittk? icon_biggrin.gif


Good question. icon_biggrin.gif
D1st0rt - Wed Dec 15, 2004 3:02 pm
Post subject:
somone in trench was saying priitk and arilou were the same person... noobs
FireFox13 - Wed Dec 15, 2004 3:55 pm
Post subject:
And what were you doing in tw? sa_tongue.gif
Blindmonkey21 - Wed Dec 15, 2004 5:13 pm
Post subject:
hanging out in the best zone ever DUH
Death+ - Thu Dec 16, 2004 4:40 am
Post subject: AI Drone Bot Players
Hello everyone,

I just wanted to let everyone know SSCI Gundam Wing has not and WILL NOT share our AI Drone Bot Code or plugin or our future AI Drones on ASSS with any other zones or person. So don't bug me or my staff about this in game.

-Death+
Assassin2684 - Thu Dec 16, 2004 3:18 pm
Post subject:
Uhh huh sure sa_tongue.gif
Blindmonkey21 - Thu Dec 16, 2004 3:19 pm
Post subject:
What if I wasn't a person?
Purge - Thu Dec 16, 2004 3:21 pm
Post subject:
Then you would be rendered useless sa_tongue.gif .
D1st0rt - Thu Dec 16, 2004 7:57 pm
Post subject:
The central place for twcore development is, you guessed it, trench wars. Since that's my primary venue, I tend to spend a little bit of time there to catch up on stuff
Blindmonkey21 - Thu Dec 16, 2004 10:22 pm
Post subject:
OK kind of random, but I am glad to see another TW player BADP.gif

Anyway yeah I know Jacen Solo pretty well and I talk to him a lot but as far as I know they don't have an AI bot.
FireFox13 - Thu Dec 16, 2004 10:24 pm
Post subject:
Purge+ wrote:
Then you would be rendered useless sa_tongue.gif .


He has already been rendered useless. sa_tongue.gif
Assassin2684 - Fri Dec 17, 2004 3:03 pm
Post subject:
sa_tongue.gif
D1st0rt - Tue Dec 21, 2004 7:28 pm
Post subject:
They don't, unless PriitK has one. I was working on one, but from what I've seen I don't think that the twcore can currently support an AI bot.
Smong - Wed Dec 22, 2004 11:48 am
Post subject:
Here is my first mervbot plugin sa_tongue.gif It will enter as a ship and chase you, I tried to use realistic physics, but the weapon system is non-existant at the moment (it will self destruct on detecting a weapon). You need moderator access to use the following commands: !on !off !die.
Agurus - Wed Dec 22, 2004 12:42 pm
Post subject:
Lol that bot is every were! is it possible to make it harder to kill
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group