Author |
Message |
help me plz Guest
Offline
|
Posted: 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? |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: 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. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: 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. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
help me plz Guest
Offline
|
Posted: 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 |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: 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. _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
Death+ Newbie

Gender: Joined: Oct 09 2003 Posts: 18 Location: SSCI Offline
|
Posted: 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. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Thu Dec 16, 2004 7:59 pm Post subject: |
 |
|
|
|
was it a crazy cool computer? _________________
 |
|
Back to top |
|
 |
Guest
Offline
|
Posted: 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. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: 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. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: 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. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Sat Dec 18, 2004 7:16 pm Post subject: |
 |
|
|
|
Sweet, link me or attach it to the forum <3. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: 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! |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Tue Dec 21, 2004 7:30 pm Post subject: |
 |
|
|
|
yeah solo, I can't find it anywhere (why do you keep changing the location?) |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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.
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. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Thu Dec 23, 2004 11:40 am Post subject: |
 |
|
|
|
Solo, why don't you just get an sscentral subdomain? |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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?
I'll see, keep the suggestions coming.  |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Thu Dec 23, 2004 1:18 pm Post subject: |
 |
|
|
|
Geocities?  |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: 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) |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: 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. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: 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. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sun Dec 26, 2004 11:53 am Post subject: |
 |
|
|
|
You have too much time, d1s.  |
|
Back to top |
|
 |
|