Well, yeah, as I said in my first post in this thread it'd be a very ugly way to do it (and it's inefficient, but if we were taking inefficiency as a problem we wouldn't be using bots), but indeed, with MERV as it is now that wouldn't even be possible.
Light Hazard - Sat Aug 28, 2004 10:18 am
Post subject:
okay, so I have two bots, would it be possible just to incorporate the .newpick in the bot without the rabbit plugin? and to pm the bot with the rabbit plugin?
Deadly - Sat Aug 28, 2004 1:21 pm
Post subject:
er.. i need the src.. last time i checked hardwerk.net was down
Muskrat - Sat Aug 28, 2004 4:48 pm
Post subject: ummm
bool closeto(Player *p, int x, int y, int tolerance)
{
return (abs((p->tile.x) - x) < tolerance) && (abs((p->tile.y) - y) < tolerance);
}
if (closeto(p, <x>,<y> <tolerance>))
{
Player *xp = chooseRabbit();
String s;
s += "*arena New rabbit: ";
s += xp->name;
sendPublic(s);
makeRabbit(xp);
} |
I thot u said u knew how to program
Light Hazard - Sun Aug 29, 2004 12:56 am
Post subject:
rofl i jsut noticed it should be in the BOTS section...Sorry people...
Muskrat who are you talking to?
Deadly - Sun Aug 29, 2004 1:38 am
Post subject:
thats not how i was gonna do it..
was gonna look at src for finding a new rabbit (such as if the rabbit leaves).. then make it check when a player moves if its in x,y,x,y area, if it is, new rabbit
Muskrat - Sun Aug 29, 2004 1:57 am
Post subject:
im talkin to YOU lh, and yeah i forgot and jsut put the newpick stuff, lol good thinkin deadly, player leaving or speccing thing, yeah thats the ticket
Deadly - Sun Aug 29, 2004 3:43 am
Post subject:
lol
anyone have Bounty Rabbit src? its on hardwerk.net/dueling/bots but thats down
? Yea
Cyan~Fire - Sun Aug 29, 2004 11:46 am
Post subject:
Umm it's on catid.ssihosting.com as it always has been.
Deadly - Sun Aug 29, 2004 5:11 pm
Post subject:
theres 50%'s bounty rabbit there.. and the src is in there but that plugin doesnt have !newpick, so i dont think thats wat LH is using..
Light Hazard - Sun Aug 29, 2004 5:29 pm
Post subject:
here is the rabbit dll i am using. Since minegoboom wont let me upload a .dll, i "rarred" it. i dont know if it will "de-rar" lol
Deadly - Sun Aug 29, 2004 6:21 pm
Post subject:
rarrrr.. i knew u were using that one but theres no source code that i can get
Cyan~Fire - Sun Aug 29, 2004 11:47 pm
Post subject:
Use 50%'s.
Deadly - Mon Aug 30, 2004 12:59 am
Post subject:
theres no newpick in it
Cyan~Fire - Mon Aug 30, 2004 6:15 am
Post subject:
It really doesn't matter. If you have access to the source, just change it code-wise. Sheesh. I'll do it this afternoon.
D1st0rt - Mon Aug 30, 2004 10:40 am
Post subject:
Thats why you can add it. See all of the code above?
Cyan~Fire - Mon Aug 30, 2004 5:40 pm
Post subject:
PMed LH with a really crappy hardcoded mod of 50%'s plugin. I'll attach a less crappy mod with INI variables when I have time here.
Light Hazard - Tue Aug 31, 2004 9:44 pm
Post subject:
thanks a lot Cyan
syberjj - Wed Sep 01, 2004 5:20 pm
Post subject:
well... not realy important... just like a... curiosity lol
why don't you just close the tile area where the guy is hiding?
i mean, if the bot will move ppl out of there its no use letting the space open....
well... like i said, no solution, just asking lol
Cyan~Fire - Wed Sep 01, 2004 8:24 pm
Post subject:
Because other players should be able to go there?
Light Hazard - Wed Sep 01, 2004 10:20 pm
Post subject:
Like Cyan said. :-d