• Welcome to Valhalla Legends Archive.
 

Tell me why this happens.

Started by JiMMaH, October 17, 2004, 08:28 PM

Previous topic - Next topic

JiMMaH

I keep getting this error and i'd like to know why am i sending it commands too fast?
[18:25:30] <JiMMaH-Un4> ^set -=^* S
[18:25:30] <To: JiMMaH-Un4> -=^* => -=^*: S
[18:25:38] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\oper.dll" message hook, unloading plugin!

[18:25:38] <JiMMaH-Un4> ^set *Un4* S
[18:25:38] <To: JiMMaH-Un4> *Un4* => *Un4*: S
[18:25:46] <JiMMaH-Un4> ^set A|2$][N S

Spht

Quote from: JiMMaH on October 17, 2004, 08:28 PM
I keep getting this error and i'd like to know why am i sending it commands too fast?
[18:25:30] <JiMMaH-Un4> ^set -=^* S
[18:25:30] <To: JiMMaH-Un4> -=^* => -=^*: S
[18:25:38] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\oper.dll" message hook, unloading plugin!

[18:25:38] <JiMMaH-Un4> ^set *Un4* S
[18:25:38] <To: JiMMaH-Un4> *Un4* => *Un4*: S
[18:25:46] <JiMMaH-Un4> ^set A|2$][N S


That's odd.  Could you try to track down a pattern to it?  ie, "it happens everytime I use X character in usermask when trying to set Y flag."

Also, what operating system are you using?

JiMMaH

I use Windows 2000 and it might be possibly be that I'm using Wildcards in DB. I'm not quite sure but i'll keep testing it.

JiMMaH

Yep doesn't seem to like the wildcards on both sides Ex: *Un4* *]sV[*) Haven't really found anything other than that.


[20:47:01] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\Oper.Dll" message hook, unloading plugin!

[20:47:01] <JiMMaH-Un4> ^set *]sV[* Z
[20:47:01] <To: JiMMaH-Un4> *]sV[* => *]sV[*: Z

[20:52:52] <JiMMaH-Un4> ^add -=^* S
[20:52:56] <JiMMaH-Un4> Ack
[20:53:13] <JiMMaH-Un4> ^set -=^* S
[20:53:13] <To: JiMMaH-Un4> -=^* => -=^*: S

[20:53:31] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\Oper.dll" message hook, unloading plugin!

[20:53:31] <JiMMaH-Un4> ^set *Un4* S
[20:53:31] <To: JiMMaH-Un4> *Un4* => *Un4*: S

Spht

Quote from: JiMMaH on October 17, 2004, 10:57 PM
Yep doesn't seem to like the wildcards on both sides Ex: *Un4* *]sV[*) Haven't really found anything other than that.


[20:47:01] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\Oper.Dll" message hook, unloading plugin!

[20:47:01] <JiMMaH-Un4> ^set *]sV[* Z
[20:47:01] <To: JiMMaH-Un4> *]sV[* => *]sV[*: Z

[20:52:52] <JiMMaH-Un4> ^add -=^* S
[20:52:56] <JiMMaH-Un4> Ack
[20:53:13] <JiMMaH-Un4> ^set -=^* S
[20:53:13] <To: JiMMaH-Un4> -=^* => -=^*: S

[20:53:31] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\Oper.dll" message hook, unloading plugin!

[20:53:31] <JiMMaH-Un4> ^set *Un4* S
[20:53:31] <To: JiMMaH-Un4> *Un4* => *Un4*: S


1) Is that SphtBotv3?

2) When exception is caught, does it still write the database change to users.txt?  Does it ever write database changes to users.txt?  When does it NOT write to users.txt?

3) When exception is caught, does it still write the change to security.log?  Does it ever write to security.log?  When does it NOT write to security.log?

4) Does oper.log contain any unusual errors?

5) Are your commands being logged to mmyyyy.log?  Especially the command that causes the exception -- does that get logged?  Are any commands getting logged?

6) Is *Un4* causing a problem specifically?  Does it only cause problems when someone in the channel matches *Un4*?  I've never had any problems with using wildcards, nor has anyone else reported problems.

Getting a good answer to these questions should help me track down a real problem if one exists.

JiMMaH

It creates them yes and the user is saved to the DB but the plugin just shuts down as I have showed you before Heh. Also now it won't even load at all.

Security Log:

10/17/2004 20:53:31 JiMMaH-Un4 creates entry *Un4*, flags = S <>

File That tells me all users are loaded :

[16:44:31] Loading config...

[16:44:31] Loading database...

[16:44:31] Database loaded (3 users)

Error I get when i reconnect the bot:

[16:44:36] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\Oper.dll" message hook, unloading plugin!



JiMMaH


JiMMaH

Also when i remove the wildcard *Un4* it works just fine but when its readded it has a problem.

Spht

Paste the contents of your users.txt and oper.cfg here.

JiMMaH

Heres the information you requested also could the Safelist flag in jimmah-un4 be conflicting with *Un4*?

Users.txt=
*un4* S
jimmah-un4 ALMNOQS

Oper.cfg =

trigger=^
protection=false

Spht

Quote from: JiMMaH on October 18, 2004, 09:40 PM
also could the Safelist flag in jimmah-un4 be conflicting with *Un4*?

No.  They're interpreted as a bitmask internally, so they'd just be added together.

I do not know why you are getting that error.  Setuser was the first command that was implemented, so it was tested quite a bit and I never had that kind of problem.  Also, no one else has reported having any problems with it.

By the way, your oper.cfg line "protection=false" is invalid.  First, there is no "protection" configuration value -- it's "protect."  Second, it checks if the value is non-zero, then enables.  So if you set it to "false" then that'll be interpreted as true.

JiMMaH

Eh the protection=false stops the Bot from banning everyone on startup.

Spht

Quote from: JiMMaH on October 18, 2004, 10:44 PM
Eh the protection=false stops the Bot from banning everyone on startup.

No it doesn't...  Paste logs of whatever you're experiencing.  Your system sounds *majorly* confused from the problems you've been reporting.

JiMMaH

Well i tried only using one wild card and it worked.. Also could i see Protect=0 Disables it?

[21:18:50] <JiMMaH-Un4> ^kick -=^IcY*
[21:18:50] -=^IcY^=- was kicked out of the channel by TheLoft.

Yet when i do double Wildcards.

[21:18:50] -=^IcY^=- was kicked out of the channel by TheLoft.
[21:20:54] Warning: Exception caught in plugin "C:\My Documents\Bots\Bnet\SphtBotv3\oper.dll" message hook, unloading plugin!

[21:20:54] <JiMMaH-Un4> ^kick *IcY*
[21:20:54] -=^IcY^=- was kicked out of the channel by TheLoft.

JiMMaH

Also it saves the information for ^set *Un4* S Yet when it loads up and i load plugin it just quits automaticly with that error message no idea why it does it..