Server Help

Bot Questions - Bounty Rabbit Problem

Light Hazard - Wed Aug 25, 2004 8:47 pm
Post subject: Bounty Rabbit Problem
Well, the zone I work in has a problem with the bounty rabbit. There are lamers who hide behind a certain object to keep rabbit, in order to win the bounty. I would like to know if there is a bot, which would .newpick when the bounty rabbit goes into a certain tile area.
CypherJF - Wed Aug 25, 2004 9:57 pm
Post subject:
Of course there isn't, to my knowledge, tongue.gif but it does announce the location of a player occasionally; also if you do .status, it also tells the current bunny and where he/she is.. :/
Light Hazard - Thu Aug 26, 2004 12:14 pm
Post subject:
I see....-_-....
that like, didn't help at ALL new_let_it_all_out.gif
EVIL CYPHER!
thanks a lot tho for telling me what the readme.txt did too :-p
Solo Ace - Thu Aug 26, 2004 12:33 pm
Post subject:
Oh yeah some intelligent person made a bot plugin that sends "[.|@|!]newpick" to itself when the bounty rabbit goes into a certain tile area, of course!

Well, no, not really, that'd be a very ugly solution, just ask someone to modify the plugin for you or do it yourself.
CypherJF - Thu Aug 26, 2004 12:55 pm
Post subject:
Right, it'd have to be a modded plugin.
Light Hazard - Fri Aug 27, 2004 9:30 am
Post subject:
Yes, but im a retard, so anyone interested?
Deadly - Fri Aug 27, 2004 11:44 am
Post subject:
ill do it... if you give me coords.. ill try to get the bty rabbit source.

BUT DONT FORGET TO GIVE ME COORDS IM NOT MAKING AN INI FOR YOU, ROAR.. and i mean x,y,x,y

X,Y---|
|.......|
|.......|
----X,Y

^ Cool model, pwnt
Deadly - Fri Aug 27, 2004 11:46 am
Post subject:
Oh.. and btw.. if someone wants to help me out with this damn .ini settings file, please do.. i tried it a couple days ago, got some errors, and closed C++
Light Hazard - Fri Aug 27, 2004 3:02 pm
Post subject:
2 areas actually

239, 476 ; 309, 548

and

729, 476 ; 796, 553

THANK YOU SO MUCH!!!!
btw all it needs to do is pm a bot with .newpick when it comes into the area. i owe you big time thanks a lot
Deadly - Fri Aug 27, 2004 3:45 pm
Post subject:
ill find a diff way to do it.. i dont think the bot can read its own commands, such as

sendPrivate(me, "!newpick");
D1st0rt - Fri Aug 27, 2004 7:26 pm
Post subject:
shouldn't this be in bot questions instead of lvl/lvz?
Solo Ace - Sat Aug 28, 2004 7:56 am
Post subject:
Me was thinking the same, D1st0rt. icon_smile.gif

Deadly wrote:
ill find a diff way to do it.. i dont think the bot can read its own commands, such as

sendPrivate(me, "!newpick");

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
Code: Show/Hide
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 tongue.gif
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

icon_sad.gif? 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
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group