Server Help

Bot Questions - Plugin Bot Overload

Anonymous - Sat Nov 27, 2004 10:43 pm
Post subject: Plugin Bot Overload
Is it possible that a Mervbot can overload on plugs? What is Max? I have about 14 and some dont work for a odd reason some times they do some times they dont. I have 2 spawns on this bot as well does this mean that im overloading plugs on my bot?
50% Packetloss - Sun Nov 28, 2004 1:30 am
Post subject:
I cant remember if there is a hard-coded limit, but there is a physical limit. The bot must keep constant communication with the server, so if its doing multiple tasks it will begin to lag. More lag means greater odds that it will be kicked from the server. I can look at the bot's source code if you'd like, im sure someone will post the answer.
Cyan~Fire - Sun Nov 28, 2004 10:58 am
Post subject:
Yeah, there's a hardcoded limit because the DLL handles are loaded into an array. I can't tell you how large it is off the top of my head, but I'm pretty sure it's over 14.
Anonymous - Sun Nov 28, 2004 11:10 am
Post subject:
i think it does lag with 2 spawns on this one core loaded with plugins some plugins like flagmover and noanti dont fuction at all, though dosnt lag
CypherJF - Sun Nov 28, 2004 7:34 pm
Post subject:
Each spawn can hold upto, I believe, 32 plugins. But as 50% mentioned above; there is a "limit" ( dependency on the complexity / resource usage ) of the plugins.
Death+ - Thu Dec 16, 2004 4:56 am
Post subject: Hmmm.....
My zone SSCI Gundam Wing was having issues with the plugin caps so we are the ones who released the upped plugin limit into the main mervbot source after testing it thoroughly.

We added this:
*Now supports up to 32 plugins at a time
Then to make sure nothing would go wrong we added this safegurd

*Plugins crashing will no longer crash the bot too, when in "Release mode" (the crashed plugin will unload and the bot will stay operational)
"Release mode"

Quote:
Each spawn can hold upto, I believe, 32 plugins. But as 50% mentioned above; there is a "limit" ( dependency on the complexity / resource usage ) of the plugins.



As for a mervbot crashing? I HIGHLY dought anything you are using will come close to crashing a mervbot. Catid and I ran a very good stress test using the AI Drone Bot plugin my zone created. We ran 70 spawns of the AI Drones off one mervbot exe before it lagged/crashed or unloaded the plugin.

Now understand each spawn was calculating constantly how fast to go/when to shoot and so many other things. This is FAR more complex then most other plugin to date. So if that’s any indication mervbot can handle ALOT.

*note the stress test was done with both the subgame2 and the mervbot exe both on the same server box.
D1st0rt - Thu Dec 16, 2004 7:59 pm
Post subject:
was it a crazy cool computer?
Anonymous - Sat Dec 18, 2004 5:03 am
Post subject:
SSCI server box?? it's a decent box nothing that special. Aslong as the bot exe and subgame exe are ran locally you shouldent get issues.
50% Packetloss - Sat Dec 18, 2004 7:02 am
Post subject:
Death, its not more complex. Those calculations are fairly simple at take a computer milliseconds to calculate. What takes a lot of time are large loops, bots such as warpbots and !buy bots have to loop through long linklists depending on how much data they are managing.

Mervbot catches any exceptions that happen within the dll, so its less prone to crashing but its still fairly possable.

Locally run bots shouldnt have lag problems as long as they arent eating up all the system resources, I recommend running the bot on a comp seperate from the server thought, so you dont run into this problem.

Im not sure how much of an effect debug mode compiling makes, it makes the dll larger because its including lots of debug information and compiler crap, but it should still run fine on other people's comps. But release mode is always best.

Dont get too big of a head about the contributions that gundam made to merv, really, not a lot was changed to make it more stable. This is literly what was added -- try{/*blah*/} catch{/*blah*/} and changed #define DLL_MAX_LOADED to 32. But I am impressed with zim's bot, hope to see more from him, he seems to know what he is doing.
Solo Ace - Sat Dec 18, 2004 7:21 am
Post subject:
Oh yeah they really h4x3d merv there!

Bots are inconvenient anyway, having to control things in a game using a client is silly.
50% Packetloss - Sat Dec 18, 2004 4:01 pm
Post subject:
agreed. I just started winter break so Ill probably pick up some ASSS code and figure out how to write modules.
Solo Ace - Sat Dec 18, 2004 5:30 pm
Post subject:
I wrote a very crappy "guide" on how to start writing ASSS modules in C.
You might be able to use it, although I'm sure you can figure it out on your own.
50% Packetloss - Sat Dec 18, 2004 7:16 pm
Post subject:
Sweet, link me or attach it to the forum <3.
CypherJF - Sun Dec 19, 2004 12:38 am
Post subject:
Yeah let me know as well....

it would be nice if grel would write up more documentation :/ most of it is "TODO" .. bleh!
D1st0rt - Tue Dec 21, 2004 7:30 pm
Post subject:
yeah solo, I can't find it anywhere (why do you keep changing the location?)
Solo Ace - Thu Dec 23, 2004 3:30 am
Post subject:
I changed the directory only once, after that I had to take it offline because of a problem with the host, the same goes for our ini checker.

I've been trying to get some host where my files won't be messed with.
My uncle will be here next week, but he'll probably offer me an NT 4 with IIS server. icon_sad.gif

I don't know, I'll see what I can find.

This post is completely off-topic, but the topic didn't make sense and we went off already anyway.
Cyan~Fire - Thu Dec 23, 2004 9:28 am
Post subject:
Even though that file is my worst enemy, I'll host it for you on my website...

http://www.digitization.org/inichecker?
D1st0rt - Thu Dec 23, 2004 11:40 am
Post subject:
Solo, why don't you just get an sscentral subdomain?
Solo Ace - Thu Dec 23, 2004 12:02 pm
Post subject:
Eh?
Isn't that for people who have interesting projects and are really known in Continuum? sa_tongue.gif

I'll see, keep the suggestions coming. icon_smile.gif
Purge - Thu Dec 23, 2004 1:18 pm
Post subject:
Geocities? sa_tongue.gif
50% Packetloss - Thu Dec 23, 2004 1:57 pm
Post subject:
For just files, use http://ezshare.de/en/main.html

Lots of porn sites use it so I figure that its the best.

Edit: Oh yah, they are euros so when they write numbers they use periods instead of commas (10.000 instead of 10,000)
Solo Ace - Thu Dec 23, 2004 4:28 pm
Post subject:
You're really missing the point here, 50 ploss, it's not just files.
And why are you talking about "numbers"? Not all Euro's do that.
50% Packetloss - Sat Dec 25, 2004 2:38 am
Post subject:
Well its a little confusing if they say that you can upload 10.000 kb of data. If you are american its written 10,000.
D1st0rt - Sun Dec 26, 2004 10:55 am
Post subject:
Solo,

http://d1st0rt.sscentral.com/

I don't know if I would consider myself interesting
Cyan~Fire - Sun Dec 26, 2004 11:53 am
Post subject:
You have too much time, d1s. icon_razz.gif
D1st0rt - Mon Dec 27, 2004 1:45 pm
Post subject:
Are you talking about the news stuff? I had to come up with something so it didn't look empty, and I had already written the tutorials a long time ago. Time and money are probably my shortest commodities sa_tongue.gif
Solo Ace - Mon Dec 27, 2004 6:30 pm
Post subject:
What an originality on your page. sa_tongue.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group