Server Help

Bot Questions - *objon / *objset

Samapico - Mon Jun 11, 2007 12:35 pm
Post subject: *objon / *objset
I'm making this plugin... and part of it is a class that handles displaying numbers as LVZ on screen, privately or publicly.

I just figured out *objset doesn't work when sent privately? Why is that?

So for private stuff I have to use objon/objoff I guess...
But I'm testing stuff in my local zone, and the bot is spamming objon and objoff commands like hell, and I get kicked after a while (not the bot?)
Is it like... too many commands coming from the same IP or something? And because the bot is VIP he doesn't get kicked?

I don't really 'need' it to send that many commands, I was just testing it.. Was just wondering why I get kicked icon_sad.gif
Muskrat - Mon Jun 11, 2007 6:17 pm
Post subject:
I think objset should work as a priv.

I prefer a different method, though. What bot core are you using? I would send an array of changes to the IMAGE# of the objects. That way you can just juggle the 10 images over x digit places.

10 images + x objects is better than than 10 images * x objects, if you are doing every image for each place.
Cerium - Mon Jun 11, 2007 6:36 pm
Post subject:
All of the major cores support the object toggle and object modify packets. You should be using those instead of the commands.
Samapico - Mon Jun 11, 2007 6:46 pm
Post subject:
mmmmmm right didnt really notice those functions... I'll try 'em out

I'm using Merv by the way

thanks icon_smile.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group