Server Help

Bot Questions - safeminer.dll source

Anonymous - Sat Dec 27, 2003 12:06 am
Post subject: safeminer.dll source
Anyone have safeminer.dll source anywhere? If you do, could you plz attach it on here or send it to me plzzz it'd be a great help .. or explain how to get the bot to come out of spec, move to specific coords, detect a mine and repel it icon_smile.gif i thought i had it somewhere but i couldnt find it :-/

thanks - cyp
50% Packetloss - Sat Dec 27, 2003 4:20 am
Post subject:
Thats a interesting thought

best way to do it would be in
Code: Show/Hide
case EVENT_PlayerWeapon:
      {
         Player *p = (Player*)event.p[0];
         weaponInfo wi;
         wi.n = *(Uint16*)&event.p[1];
      }

check if the weapon was a mine and then look at the player's location. Bot could come down and use a rep or just run right though the bomb, not sure if a bot could set off a rep, maybe
tell(makeFireWeapon(void *weapon_info))
just send it the correct info. I would need to test it but im pretty backed up on bots icon_sad.gif
Fuzzjdc - Sat Dec 27, 2003 5:34 am
Post subject:
the bot should run in to the mine as that is probally easier to program and it should blow up the mine.
Cyan~Fire - Sat Dec 27, 2003 9:48 am
Post subject:
Yeah I'd go with fuzz's idea. Heck nothing hurts the bots, anyway.
Mine GO BOOM - Sat Dec 27, 2003 12:17 pm
Post subject:
Fuzzjdc wrote:
the bot should run in to the mine as that is probally easier to program and it should blow up the mine.


Wouldn't work. Those that are farther away would not get the position packets of the bot saying he ran into the mine, but they would get the position packets saying that the mine was laid.

Repeling, or telling the bot to die there, would remove the mines. But neither are a very good option, as it involves direct action to other players, which effects game play.
SuSE - Sat Dec 27, 2003 12:55 pm
Post subject:
what about ASSS?
Dr Brain - Sat Dec 27, 2003 2:20 pm
Post subject:
With ASSS, you just have the server not forward the mine packet.

But I think the current safeminer does repel it, as well as running into it.
Anonymous - Sat Dec 27, 2003 4:55 pm
Post subject:
yeah the current safeminer does repel it but i figure it'd be easier to just ask for the source :-/
Anonymous - Mon Dec 29, 2003 4:59 pm
Post subject:
thanks to catid i got the source icon_smile.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group