BluNET - Home of Ultimate Twitch Bot

Guest


Author Topic: [Bug] Some Oddness  (Read 5584 times)

Raktus

  • Posts: 23
    • View Profile
[Bug] Some Oddness
« on: August 22, 2015, 11:32:44 AM »
So I got a script error today, was too busy to get the log unfortunately... but the result was that the Bot was trying to time someone out in the UTB Public chat.

<sagedoesminecrfat> Hey Come look At My Steram http://www.twitch.tv/kaitrickshot
<raktbot> /timeout sagedoesminecrfat 1
<sagedoesminecrfat> http://www.twitch.tv/kaitrickshot
<raktbot> /timeout sagedoesminecrfat 1
<raktbot> Wierd... is my bot trying to mod the UTB channel?
« Last Edit: August 27, 2015, 08:29:43 AM by SeeingBlue »

SeeingBlue

  • Administrator
  • *****
  • Posts: 748
  • Admin of all this
    • View Profile
    • BluNET
  • Twitch ID: SeeingBlue
Re: [Bug] Some Oddness
« Reply #1 on: August 23, 2015, 09:48:32 PM »
If you take a look under Tools > Options > Chat Filter you'll see where the moderation options are.

From your log I'm not convinced this was related to any crash. If you can manage to recreate the error please let me know how.
Want the Latest News?

Follow me on Social Media for News on BluNET & Ultimate Twitch Bot.

Raktus

  • Posts: 23
    • View Profile
Re: [Bug] Some Oddness
« Reply #2 on: August 25, 2015, 12:32:27 PM »
The script error didn't crash me, so thats not a thing. The chat filter is set to default.

It happens every so often... when someone advertises their stream with a link in UTB Public chat my bot tries to time them out as if they were in my own stream.

LawlyPopzz

  • Posts: 65
  • Crazy But Intelligent
    • View Profile
  • Twitch ID: lawlypopzz
Re: [Bug] Some Oddness
« Reply #3 on: August 25, 2015, 02:22:05 PM »
maybe if you upload your utb.db and seeingblue could take a look and see if it does the same for him??

K1ll3rBunny

  • UTB Control Group
  • Posts: 12
  • Herro
    • View Profile
  • Twitch ID: twitch.tv/K1ll3rBunny
Re: [Bug] Some Oddness
« Reply #4 on: August 25, 2015, 02:28:11 PM »
I was able to re-create the bug/error. The error log is in the attachments.

The only difference I made in my Chat Filter,


Side Note
I put words in the "Full Wordlist" and it didn't try to moderate the UTB Public channel with those words (I used hi, hello, etc).

*EDIT*
So, I was able to continue using the bot normally as long as I didn't close the error log.. Once I closed the error log, the program then closed.
« Last Edit: August 25, 2015, 03:27:08 PM by K1ll3rBunny »

vertex101

  • UTB Control Group
  • Posts: 35
    • View Profile
  • Twitch ID: vertex101
Re: [Bug] Some Oddness
« Reply #5 on: August 26, 2015, 05:45:30 PM »
is this for v2 or v3 of utb ?

K1ll3rBunny

  • UTB Control Group
  • Posts: 12
  • Herro
    • View Profile
  • Twitch ID: twitch.tv/K1ll3rBunny
Re: [Bug] Some Oddness
« Reply #6 on: August 26, 2015, 07:38:04 PM »
is this for v2 or v3 of utb ?

Mine happened while I was in UTB ver. 3.2.6, although I do not know about when it happened with Raktus.

Raktus

  • Posts: 23
    • View Profile
Re: [Bug] Some Oddness
« Reply #7 on: August 26, 2015, 08:31:29 PM »
same

vertex101

  • UTB Control Group
  • Posts: 35
    • View Profile
  • Twitch ID: vertex101
Re: [Bug] Some Oddness
« Reply #8 on: August 26, 2015, 09:04:51 PM »
if you are trying to timeout people for links just put like .net .org .com .tv in the partial list and it should timeout that way

K1ll3rBunny

  • UTB Control Group
  • Posts: 12
  • Herro
    • View Profile
  • Twitch ID: twitch.tv/K1ll3rBunny
Re: [Bug] Some Oddness
« Reply #9 on: August 26, 2015, 09:10:57 PM »
That wasn't the problem though.. The problem is the bot is trying to moderate the UTB public chat room.

SeeingBlue

  • Administrator
  • *****
  • Posts: 748
  • Admin of all this
    • View Profile
    • BluNET
  • Twitch ID: SeeingBlue
Re: [Bug] Some Oddness
« Reply #10 on: August 27, 2015, 12:08:11 AM »
I hear ya. I'll look into it.
Want the Latest News?

Follow me on Social Media for News on BluNET & Ultimate Twitch Bot.

vertex101

  • UTB Control Group
  • Posts: 35
    • View Profile
  • Twitch ID: vertex101
Re: [Bug] Some Oddness
« Reply #11 on: August 27, 2015, 12:03:43 PM »
That wasn't the problem though.. The problem is the bot is trying to moderate the UTB public chat room.

ohhhh i missed that part -facepalm-

Raktus

  • Posts: 23
    • View Profile
Re: [Bug] Some Oddness
« Reply #12 on: August 28, 2015, 01:12:13 PM »
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at UltimateTwitchBot3.Subs.ChatFilter(String channel, String user, String message)
   at UltimateTwitchBot3.Main.irc_ChannelMessage(String Channel, String User, String Message)
   at TechLifeForum.IrcClient.Fire_ChannelMessage(oChannelMessage o)
   at TechLifeForum.IrcClient.<ParseData>b__a(Object x)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.96.0 built by: NETFXREL2STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Ultimate Twitch Bot 3
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/Ultimate%20Twitch%20Bot%203.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.97.0
    Win32 Version: 1.0.97.0
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
IrcClient
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/IrcClient.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.8.18111
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/Newtonsoft.Json.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


SeeingBlue

  • Administrator
  • *****
  • Posts: 748
  • Admin of all this
    • View Profile
    • BluNET
  • Twitch ID: SeeingBlue
Re: [Bug] Some Oddness
« Reply #13 on: August 28, 2015, 03:02:45 PM »
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at UltimateTwitchBot3.Subs.ChatFilter(String channel, String user, String message)
   at UltimateTwitchBot3.Main.irc_ChannelMessage(String Channel, String User, String Message)
   at TechLifeForum.IrcClient.Fire_ChannelMessage(oChannelMessage o)
   at TechLifeForum.IrcClient.<ParseData>b__a(Object x)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.96.0 built by: NETFXREL2STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Ultimate Twitch Bot 3
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/Ultimate%20Twitch%20Bot%203.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.97.0
    Win32 Version: 1.0.97.0
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.79.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
IrcClient
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/IrcClient.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.8.18111
    CodeBase: file:///C:/Users/Raktus/Desktop/Ultimate%20Twitch%20Bot%203/Newtonsoft.Json.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Gettin' a little confused here. I understand that your bot is trying to moderate the Public UTB Channel, but where does this error come from? How do I reproduce this?
Want the Latest News?

Follow me on Social Media for News on BluNET & Ultimate Twitch Bot.

vertex101

  • UTB Control Group
  • Posts: 35
    • View Profile
  • Twitch ID: vertex101
Re: [Bug] Some Oddness
« Reply #14 on: August 28, 2015, 07:53:26 PM »
i have done some searching on this error and this is what i found i dont know if it will help any or not

http://www.dotnetperls.com/keynotfoundexception

but from my understanding when you get this error it is because it is not finding the keyword that was being searched