Author | Message | Time |
---|---|---|
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 | October 18, 2004, 1:28 AM |
Spht | [quote author=JiMMaH link=topic=9187.msg84944#msg84944 date=1098062923] 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 [/quote] 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? | October 18, 2004, 3:19 AM |
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. | October 18, 2004, 3:43 AM |
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 | October 18, 2004, 3:57 AM |
Spht | [quote author=JiMMaH link=topic=9187.msg84975#msg84975 date=1098071829] 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 [/quote] 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. | October 18, 2004, 5:46 PM |
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! | October 18, 2004, 11:51 PM |
JiMMaH | And Yes this is SphtBot3 | October 18, 2004, 11:52 PM |
JiMMaH | Also when i remove the wildcard *Un4* it works just fine but when its readded it has a problem. | October 18, 2004, 11:58 PM |
Spht | Paste the contents of your users.txt and oper.cfg here. | October 19, 2004, 2:13 AM |
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 | October 19, 2004, 2:40 AM |
Spht | [quote author=JiMMaH link=topic=9187.msg85140#msg85140 date=1098153620] also could the Safelist flag in jimmah-un4 be conflicting with *Un4*?[/quote] 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. | October 19, 2004, 3:40 AM |
JiMMaH | Eh the protection=false stops the Bot from banning everyone on startup. | October 19, 2004, 3:44 AM |
Spht | [quote author=JiMMaH link=topic=9187.msg85152#msg85152 date=1098157488] Eh the protection=false stops the Bot from banning everyone on startup. [/quote] No it doesn't... Paste logs of whatever you're experiencing. Your system sounds *majorly* confused from the problems you've been reporting. | October 19, 2004, 3:47 AM |
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. | October 19, 2004, 4:23 AM |
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.. | October 19, 2004, 4:34 AM |
Spht | It turns out his system *was* majorly confused! After reinstalling his VC++ runtimes, the plugin behaves as it should. Now to wait for some USEFUL bug reports (if there are any) from this guy. Topic locked. | October 20, 2004, 12:48 AM |