Bot Questions - hey bot! drop the ball! Anonymous - Tue Aug 31, 2004 7:09 pm Post subject: hey bot! drop the ball!
i have a bot that unspecs and warps itself to an area, and then ufos there
for some odd reason, it always takes the ball with it, and then i cant get to it, even though its in a ship that cant normally pick up the ball, and doesn't even pass the place where the ball spawns in the first place (not that i can see, anyway)
how do i stop this?
oh, and it has sysop powers, fyi, and kinda has to stay unspecced
Cyan~Fire - Tue Aug 31, 2004 7:47 pm Post subject:
When did it pick up the ball in the first place? If a plugin did it, which plugin?
Anonymous - Tue Aug 31, 2004 9:03 pm Post subject:
its a really simple bot, i made it, all it does is unspec itself and warp somewhere
isn't there some sort of tell() command to make the bot disable its 'ball-getting?'
Cyan~Fire - Tue Aug 31, 2004 10:26 pm Post subject:
Well why is it picking up the ball in the first place?
Anonymous - Tue Aug 31, 2004 10:48 pm Post subject:
i have no idea, no matter what setting i give it (tell(makeflying), tell(following), etc.) it'll always pick up the ball. even when its not near the ball! i even tried just giving it mod powers instead of sysop, and tried having the bot *setship itself rather than using tell(makeship). every time, even though the ship is in cant carry the ball, it picks up the thing!
is it just that any bot out of spec picks up the ball automatically? arrgh!
Deadly - Tue Aug 31, 2004 11:37 pm Post subject:
uhh, has happened to me before too when i make the bot follow me and stuff it first picks up the ball.. look at this:
case EVENT_BallMove:
{
PBall *ball = (PBall*)event.p[0];
tell(makeGrabBall(ball->ident));
}
break;
Prolly wrong, but could that be whats causing it?
Anonymous - Tue Aug 31, 2004 11:49 pm Post subject:
wow, lol, i feel dumb, that was it
i didn't even think to look there!
thanks, rofl, sorry 'bout that
Deadly - Wed Sep 01, 2004 1:00 pm Post subject:
Thats actually in the default source code.. dunno why Bak - Wed Sep 01, 2004 8:48 pm Post subject:
I told catid to take it out, he told me he didn't understand why it was a problem and ignored me.
CypherJF - Wed Sep 01, 2004 9:56 pm Post subject:
LOL
Deadly - Fri Sep 03, 2004 12:50 am Post subject:
Owned