Server Help

Bot Questions - MERVbot build 41

Qndre - Fri Apr 09, 2004 12:07 pm
Post subject: MERVbot build 41
If I tell MERVbot build 41 to change arena, and change the arena myself, my Continuum client gets minimized and MERVbot gets terminated and leaves arena. What to do?
PS: I've never had a problem with an older version of MERV.
CypherJF - Fri Apr 09, 2004 2:03 pm
Post subject:
dunno, never had that issue, check your subgame and biller messages if you use catid's biller. Also check to see what the bot says, somewhere along those 3 lines you'd be able to figure it out...
Dustpuppy - Fri Apr 09, 2004 7:56 pm
Post subject:
When you say "terminated", does it crash?
Qndre - Sat Apr 10, 2004 3:59 am
Post subject:
CypherJF wrote:
dunno, never had that issue, check your subgame and biller messages if you use catid's biller. Also check to see what the bot says, somewhere along those 3 lines you'd be able to figure it out...

I can't look at what the bot says because it closes completely. icon_sad.gif The subgame only says "Connection status read as terminated: Server" (my bot joins with the name 'Server').
Dustpuppy wrote:

When you say "terminated", does it crash?

Yes. Windows terminates it for memory access violation. (I don't know exactly what it says because I have a German windows version - I tried to translate it with 'memory access violation' - I don't know if that's 100% correctly)
CypherJF - Sat Apr 10, 2004 4:03 am
Post subject:
Weird, I know a friend of mine's server (subgames) crashed because of that same exact error o.o
Qndre - Sat Apr 10, 2004 4:06 am
Post subject:
It's a program error? If it is, then catid! Please fix your software!
Cyan~Fire - Sat Apr 10, 2004 9:26 am
Post subject:
I'm sure Catid's software would not be this buggy. It has been out for a while.

Try re-creating your bot and see if that helps.
Qndre - Sat Apr 10, 2004 9:43 am
Post subject:
Cyan~Fire wrote:
I'm sure Catid's software would not be this buggy. It has been out for a while.

Try re-creating your bot and see if that helps.

Re-creating? I downloaded the binary, not the source.
Qndre - Sat Apr 10, 2004 2:04 pm
Post subject:
Catid, please debug your build 41. I told MERVbot to join the arena in 'spawns.ini' so I don't have to tell him to change the arena and if I don't tell him to change the arena, he doesn't crash.
_
But I needed a second kind of bot with the elim plugin to be in my elim arena. And now it crashes again:

Catid! Please fix your MERVbot and your Subbill 11j release! icon_sad.gif I can throw away my server without it! biggrin.gif Thanks!
50% Packetloss - Sat Apr 10, 2004 2:45 pm
Post subject:
um... there is nothing wrong with merv and arena changes. I tested it out and read through the code. It probably is a plugin that you are using. Use the debug version of merv and see what it says when the error occurs
Cyan~Fire - Sat Apr 10, 2004 3:29 pm
Post subject:
When I say re-create, I mean redo all the settings from scratch.
Qndre - Sat Apr 10, 2004 3:55 pm
Post subject:
I also can't really believe that Catid did something wrong while coding it. Catid is such a great programmer. I'm sure he tested every sub-module before he released his software.
Dustpuppy - Sat Apr 10, 2004 4:20 pm
Post subject:
Then stop saying it's bugged...

It's almost certainly a plugin causing the crash, and you can probably look at the MERV window before you click OK.

Use the debug version to get more crash info
Qndre - Sat Apr 10, 2004 4:28 pm
Post subject:
Dustpuppy wrote:

It's almost certainly a plugin causing the crash, and you can probably look at the MERV window before you click OK.

It's not a plugin. Tried to load it with almost every plugin which exists. MERV's window doesn't tell anything about the crash.
Code: Show/Hide

Added Owner-level operator: Qndre ()

MERVBot Release Mode (Build 41) (DLL 6.6) by cat02e@fsu.edu
Press any key to close this window when done.

Server  Ext: DLL plugin connected.
Server  Connecting zone at 192.168.0.1 port 1000
Elimhost  Ext: DLL plugin connected.
Elimhost  Connecting zone at 192.168.0.1 port 1000
Server  Sending password for Server
Elimhost  Sending password for Elimhost
Server  Downloading latest news.txt [708831666]
Server  Unknown player, continue as new user?
Server  Creating account for Server

After creating account for "Server" it gets terminated. The error message appears. And if I click on OK, the application window and the message window get closed.
The two plugins, which get loaded are "rampage.dll" for "Server" and "elim.dll" for "Elimhost".
I guess it's because my C runtime is very outdated. Maybe there is a newer one. Where can I download it? From Borland?
Dustpuppy - Sat Apr 10, 2004 4:36 pm
Post subject:
Why do you have any plugins loaded at all? Remove them all till it works.

And have you used the debug version yet?

Qndre wrote:
my C runtime

Yeah have a look around the Borland site for them.
Qndre - Sat Apr 10, 2004 5:04 pm
Post subject:
Dustpuppy wrote:
Why do you have any plugins loaded at all? Remove them all till it works.

Without any plugins it connects and then disconnects immediatelly without any error message (so it doesn't crash). I guess this is a normal behavior since MERVbot without plugins won't do anything useful.
D1st0rt - Sat Apr 10, 2004 5:11 pm
Post subject:
spawns.ini? isn't it spawns.txt?
CypherJF - Sat Apr 10, 2004 5:28 pm
Post subject:
This isn't normal behavior for MervBot; and actually I misunderstood earlier, it was subgame created those memory errors :/ sorry sorry for the confusion icon_smile.gif
Qndre - Sat Apr 10, 2004 5:50 pm
Post subject:
D1st0rt wrote:
spawns.ini? isn't it spawns.txt?

Yes it is. My mistake! biggrin.gif
PS: The memory error has been solved (change arenas by changing spawn.txt and not !go commang) but the runtime error hasn't.
_
So I need a newer version of C runtime or my zone doesn't work.
Qndre - Sun Apr 11, 2004 5:30 am
Post subject:
I've downloaded a new runtime, and MERV crashes. new_let_it_all_out.gif
My zone is down, without MERV it doesn't make sense. MERV manages Elims, Conquers, everything! Without MERV it's just like any other game. I think MERV is a great software. The idea is great! It's coded very well ... yes till this release 41. I guess it's also coded very well but it needs a version of runtime, which no one has.

Please please please, Catid. Make your build 41 work without the C runtime or include the runtime in your package or give the URL where I can download the correct version of the runtime because I've tried so many versions (including the latest) and with every version it crashed.
Cyan~Fire - Sun Apr 11, 2004 10:15 am
Post subject:
OMG, Please! If you respect Catid give some thought into the fact that it's your problem not Catid's!

Tons of other people use MERV41 (like me) with no problems with the !go command, the rampage plugin, and the elim plugin!
SSI, the best biller after SSC, uses SSB2 11j (albeit a modified version) and they don't have any problems!

Try posting your MERVBot.ini and spawns.txt up here and we'll take a look.
Dustpuppy - Sun Apr 11, 2004 1:31 pm
Post subject:
What the hell kind of runtimes have you tried?
Qndre - Mon Apr 12, 2004 6:06 am
Post subject:
Cyan~Fire wrote:

Try posting your MERVBot.ini and spawns.txt up here and we'll take a look.

OK. Here they are. The passwords are modified, of course. The rest isn't changed.
MERVbot.INI wrote:

// WARNING: Do not copy deprecated SSBot.INI or MERVBot.INI contents here.
// README.TXT has a Quick Setup guide.

[Login]
Zone=192.168.0.1:1000

// Keeps a Logins.txt file to help remember passwords
RecordLogins=0
// Adjust when arena settings restrict resolution
ResX=1280
ResY=1024

[Database]
Spawns=Spawns.txt
// The following change as in-game state changes:
Commands=Commands.txt
Operators=Operators.txt
// Database automatic save interval (in seconds)
SaveInterval=300

[Misc]
// Terminal window caption
WindowCaption=OPG Fun Manager
// Maximum number of in-game spawns (3 is absolute maximum)
MaxSpawns=3
// Mask ban information so it remains constant but different from your own
MaskBan=0
// Allow players to send .WAV files to the bot (not stored on disk)
PlayerVoices=0
// No terminal output. This will speed up the bot noticeably
NoTerminal=0
// Ignore commands in public chat? It gets annoying.
DisablePubCommands=1

[Security]
// Log chatter to BotName.log (slow diagnostic tool)
ChatterLog=0
// Should I listen to (possibly spoofed) remote private messages?
RemoteInterpreter=1
// If so, should I listen to remote private messages from passworded operators?
RemoteOperator=0
// Encrypt network traffic? (required sg1.34.12+)
EncryptMode=1

[Registration]
// Change these if the bot has trouble creating new accounts
Name=OpenPG
Email=bot@bot.bot
State=Bot
Age=17

spawns.txt wrote:

#############################
## Initial bot spawns ##
#############################

Server : mypassword : duel : rampage : mypassword
Elimhost: mypassword : elim : elim : mypassword

#############################
## Spawns.txt reference ##
#############################

# This file is part of the MERVBot database collection.
# Changes made while the bot is running will NOT be lost.

# Lines beginning with non-alphanumeric characters ('#', '$', etc) are comments.

# Spawns:
# In this file you specify the name(s) your initial bot(s)
# will use, and what its/their staff password(s) will be.

# WARNING: As a rule of thumb, you can never host more than 3 bots in one zone.

# Spawns.txt Format:
# Bot name : Bot password : Arena name : Plugin names : Staff password

# 0. Bot names will be checked for validity prior to connecting.
# 1. Bot passwords and arenas may not contain a colon (':').
# 2. If staff password is blank, the bot will still attempt to use it.
# 3. Bots do not append staff password to name password, in other words
# it is safe to change staff position of an older bot.
# 4. Staff passwords are case-sensitive and shouldn't start with *.
# 5. Separate the plugin names with commas: CTF, ELIZA, ALIAS
# 6. Other login settings are defined in the INI file.

# White-space:
# White-space (' ') is ignored before and after colons (':')
# Ex. 5 : Catid : Password is the same as 5:Catid:Password


Cyan~Fire - Mon Apr 12, 2004 11:02 am
Post subject:
Isn't 192.168.0.1 your router address? It's always better just to connect to 'localhost'.

Also, have you tried running MERVBot_Debug?
Qndre - Tue Apr 13, 2004 1:17 pm
Post subject:
Cyan~Fire wrote:
Isn't 192.168.0.1 your router address? It's always better just to connect to 'localhost'.

Also, have you tried running MERVBot_Debug?

192.168.0.1 ist the server-computer in my network. That's where I run the subgame2, billing-server and MERVbot (also some other server things for my LAN like DNSservice, FTPserver, webserver, proxyserver, PHPinterpreter and so on). I don't use a router to connect to the internet.
_
About the 'localhost' thing: I had a server system long time ago I think it was a DNAS (distributed network audio server) but I can't still remember. I tried to connect to 'localhost' because there were plugins which connected. I also tried loopback (127.0.0.1) and it didn't work. With most of the programs localhost and loopback work but there they didn't so I decided to always identify the computers in my LAN with the exact IP address (also not with the computer names).
Qndre - Tue Apr 13, 2004 1:40 pm
Post subject:
I have some debug information.

The buttons on the bottom of the error message are created by windows and I am from Germany so they are in German language. A short dictionary:

Abbrechen - Abort
Wiederholen - Retry
Ignorieren - Ignore

If I click on "Retry" or "Wiederholen" like I am told to do, the Windows operating system terminates the C runtime so no way to debug any further.
ExplodyThingy - Tue Apr 13, 2004 1:49 pm
Post subject:
Ok dude, its your machine, its wacked. I have 4 windows boxes from which to work, and only 1 fucks up. Its a low-end system, 24 mb ram, 2gb drive, PII, stripped down to bare essentials on the operating system. Only programs installed are MySQLD, MervBot, JavaRE, TWCore, and MySQL CC, and SSI Backup (a derivative of CatBill v 11i) Its the system, I assure you, since only merv chokes and only on that system.
Qndre - Tue Apr 13, 2004 1:58 pm
Post subject:
ExplodyThingy wrote:
Ok dude, its your machine, its wacked.

System components that might matter:

1,8GhZ AMD Athlon
256MB PC266 DDRAM
40GB UDMA133 HDD
64MB GeForce2 MX (AGP)
AC97 sound chip
100MBIT TX FAST ETHERNET LAN
Elitegroup K7S5A board

OS is WinXP


Which of these components could be critical? One thing I'll change very soon will be the hard drive since it's 5400 rpm and not 7200. HDD is too slow for me, it's almost always busy so that will be the next component to be exchanged to speedup the system very much (my HDD is like a break at the moment).

Hardware acceleration, chache, everything which could make the system less safe (data loss after a crash, etc.) is disabled or reduced by me (hardware acceleration is only reduced one step, not fully disabled).

I bought the computer system 9 months ago.
Anonymous - Wed Apr 14, 2004 8:19 am
Post subject:
I know that's not elite hardware but does MERVbot 41 need a more powerful system? I doubt.

I guess it has been written a bit hardware-independant and will tolerate older components too. My system is not one of the best ones if you compare it with today's elite machines but I doubt MERV will refuse its service on a system which was in the high-end edge 9 months ago.
CypherJF - Wed Apr 14, 2004 1:00 pm
Post subject:
I run on a semi cruddy laptop and don't have issues w/ Merv. Try using a fresh copy of the bot, w/o any plugins loaded.
Qndre - Wed Apr 14, 2004 1:31 pm
Post subject:
CypherJF wrote:
Try using a fresh copy of the bot, w/o any plugins loaded.

Downloaded MERVbot, only changed the ServerIP and port, nothing else. Worked! So the other MERV seems to be misconfigured or something like that. I'll check that. Thanks for help!
Qndre - Wed Apr 14, 2004 1:46 pm
Post subject:
There seemed to be atleast two mistakes in the config files. I did the MERVbot files from scratch, one spawn logged in, the other didn't. I soon remembered that the login queue of the biling server (maximum number of logins per database request) was set to 1 so I set it to 2 and it worked. biggrin.gif

Thanks for help!
Qndre - Wed Apr 14, 2004 1:50 pm
Post subject:
Loaded the plugins into MERV, crashed again. I'll check which plugin it is.
_
k - it was a very old version of the "rampage.dll" which crashed it
Cyan~Fire - Wed Apr 14, 2004 5:44 pm
Post subject:
Wow.

After all your insistance that it was not the configuration, you suddenly reveal to us that it is, in fact, the configuration!
Anonymous - Thu Apr 15, 2004 9:52 am
Post subject:
Cyan~Fire wrote:
Wow.

After all your insistance that it was not the configuration, you suddenly reveal to us that it is, in fact, the configuration!

Yes. Didn't believed that it is because it was 100% ripped off the old MERVbot (38) which was already in-use at my machine. But you were right and I was wrong, as usually.
Qndre - Thu Apr 15, 2004 11:06 am
Post subject:
Shouldn't be the "cool" icon but (38)
Cyan~Fire - Thu Apr 15, 2004 5:57 pm
Post subject:
Uhh why don't you just use Qndre for your posts so you can edit?
ExplodyThingy - Fri Apr 16, 2004 5:26 pm
Post subject:
Yea, also, in the future, when people say the system may have a problem, it doesnt always mean hardware. Sometimes windows fucks up and cant run stuff properly.
Qndre - Sat Apr 17, 2004 11:41 am
Post subject:
Cyan~Fire wrote:

Uhh why don't you just use Qndre for your posts so you can edit?

If I posted using a shared internet connection (at work) I didn't use my passworded account to avoid password theft through a sniffer or a packetlogger at the server.
ExplodyThingy wrote:
Yea, also, in the future, when people say the system may have a problem, it doesnt always mean hardware. Sometimes windows fucks up and cant run stuff properly.

True! Was able to speed-up my system (it was really slow) by overclocking my memory! In the mainboard manual they "absolutely don't recommend" that but it's much faster (i have the tripple framerate at many games)! biggrin.gif
Cyan~Fire - Sat Apr 17, 2004 12:52 pm
Post subject:
The reason companies say they "absolutely don't recommend" is because overclocking will eventually fry your processor/whatever. They just do it not to get sued, basically.
Qndre - Sat Apr 17, 2004 1:06 pm
Post subject:
Cyan~Fire wrote:
The reason companies say they "absolutely don't recommend" is because overclocking will eventually fry your processor/whatever. They just do it not to get sued, basically.

I thought overclocking could damage CPU or other parts of the mainboard.
Dr Brain - Sat Apr 17, 2004 2:57 pm
Post subject:
Isn't that what cyan just said, Qndre?
Qndre - Sat Apr 17, 2004 3:34 pm
Post subject:
Dr Brain wrote:
Isn't that what cyan just said, Qndre?

You're right but this thread goes much off topic.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group