Giter Club home page Giter Club logo

jinxbot's People

Contributors

robpaveza avatar

Watchers

 avatar  avatar

jinxbot's Issues

ArgumentException

After running 5 bots online doing relatively consistent work (sending a
chat message every ~5 seconds) for over 36 hours, this exception was thrown:

System.ArgumentException was unhandled
  Message=Source array was not long enough. Check srcIndex and length, and
the array's lower bounds.
  Source=mscorlib
  ParamName=""
  StackTrace:
       at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array
destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
       at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)
       at System.Collections.Generic.Queue`1.Enqueue(T item)
       at
BNSharp.BattleNet.BattleNetClient.__InvokeInformationReceived(Priority p,
ServerChatEventArgs e)
       at BNSharp.BattleNet.BattleNetClient.InvokeHelper`1.Invoke(Priority p)
       at BNSharp.BattleNet.BattleNetClient.__MedPriorityEventWatcher()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 


In the Arguments object:
m_txt = "*LeaF(Hero@Azeroth"
m_flags = 0x00000000.

Original issue reported on code.google.com by richardpianka on 15 Jan 2010 at 11:45

Clan Rank Change

What steps will reproduce the problem?
1. Change a users rank.
2.
3.

What is the expected output? What do you see instead?
It errors out when a clan rank is changed.

Please use labels and text to provide additional information.
System.Collections.Generic.KeyNotFoundException was unhandled
  Message=The given key was not present in the dictionary.
  Source=mscorlib
  StackTrace:
       at System.ThrowHelper.ThrowKeyNotFoundException()
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at BNSharp.BattleNet.BattleNetClient.HandleClanRankChange(ParseData pd)
       at BNSharp.BattleNet.BattleNetClient.Parse()
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Original issue reported on code.google.com by [email protected] on 29 Jun 2009 at 9:16

Blp doesn't seems to work.


What steps will reproduce the problem?
1.Created stream using File.OpenRead() from blp file. 
2. Used ImagePraser on stream and used GetMipmapImage(0)to get minimap
3.

What is the expected output? What do you see instead?
Bitmap object with image.
Insted I get generic GDI error.

What version of the product are you using? On what operating system?
Win XP Sp3 ,.NET4 Warcraft3 1.24.4

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 23 Feb 2011 at 8:43

Typo in WardenUnhandled event

Currently, the name of the event is WardentUnhandled. A small typo, there's
an extra T in there. Unfortunately, this will be a breaking change for some
people.

[coe]            client.WardentUnhandled += delegate {
                rtbChat.AddTextNodes(new TextNode(Color.Red, "Warden
unhandled!"));
            };[/code]

Original issue reported on code.google.com by [email protected] on 1 Oct 2008 at 3:05

LoginFailed is not raised upon a failed login, instead the Error event is.

What steps will reproduce the problem?
1. Wire up LoginFailed Event 
2. Wire up Error Event
3. Fail to Login (Invalid Password for example)

What is the expected output? What do you see instead?
Expected the LoginFailed event to be raised, Error event is raised instead.

What version of the product are you using? On what operating system?
June CTP

Original issue reported on code.google.com by [email protected] on 5 Aug 2008 at 8:44

BNSharp: ArgumentOutOfRangeException when joining a channel with Starcraft Shareware user in it.

IF YOU HAVE AN ISSUE WITH BN#, PLEASE ATTACH A WIRESHARK PACKET CAPTURE
(*.cap) THAT DEMONSTRATES THE PROBLEM.  WIRESHARK CAN BE DOWNLOADED FROM
http://www.wireshark.org/.  WITHOUT A WIRESHARK PACKET CAPTURE FOR PROBLEMS
RELATING TO BN#, THE ISSUE WILL BE MARKED AS INVALID.

What steps will reproduce the problem?
1.Set up the 10 minute bot client from the wiki.
2.Join a channel with a Starcraft Shareware user.
3.

What is the expected output? What do you see instead?
System.ArgumentOutOfRangeException
"Index and count must refer to a location within the buffer.\r\nParameter
name: bytes"
   at System.Text.ASCIIEncoding.GetString(Byte[] bytes, Int32 byteIndex,
Int32 byteCount)
   at BNSharp.MBNCSUtil.DataReader.ReadTerminatedString(Char Terminator,
Encoding enc)
   at BNSharp.BattleNet.Stats.StarcraftStats..ctor(Byte[] stats)
   at BNSharp.BattleNet.Stats.UserStats.Parse(String userName, Byte[]
statsData)
   at BNSharp.Net.BattleNetClient.HandleChatEvent(ParseData data)
   at BNSharp.Net.BattleNetClient.Parse()
   at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Data: {System.Collections.ListDictionaryInternal}
Actual Value: null

What version of the product are you using? On what operating system?
BN# Beta 2

Please provide any additional information below.
I'm developing a bot in C# for fun, and when I join a channel with a
Starcraft Shareware user in it, I get this exception.

Original issue reported on code.google.com by [email protected] on 7 Mar 2010 at 1:44

Clan Invite does not send the clan invite

What steps will reproduce the problem?
1. Attempt to use it to send a clan invite.
2.
3.

What is the expected output? What do you see instead?
Should invite the person, but doesn't.

What version of the product are you using? On what operating system?
0.8.8.15

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Aug 2008 at 10:40

BattleNetClient.Channel (ChatUser list) not reordered on user rejoin

What steps will reproduce the problem?
1. Join a channel with BN#.
2. Have a user in the channel rejoin.
3. Voila.

What is the expected output? What do you see instead?
The user that rejoined still remains in their previous spot in the list.
I'm not sure if they're removed at all.

What version of the product are you using? On what operating system?
Trunk as of a few days ago.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Oct 2008 at 4:18

KeyHashPart returns negative integer 6/10 times - Warden Interface

IF YOU HAVE AN ISSUE WITH BN#, PLEASE ATTACH A WIRESHARK PACKET CAPTURE
(*.cap) THAT DEMONSTRATES THE PROBLEM.  WIRESHARK CAN BE DOWNLOADED FROM
http://www.wireshark.org/.  WITHOUT A WIRESHARK PACKET CAPTURE FOR PROBLEMS
RELATING TO BN#, THE ISSUE WILL BE MARKED AS INVALID.

What steps will reproduce the problem?
1. Init Warden Interface
2. Debug out Keyhashpart
3. Profit

What is the expected output? What do you see instead?
KeyHashPart needs to be a non negative integer.

What version of the product are you using? On what operating system?
Newest build from repository.

Please provide any additional information below.
Let me know when its fixed. - Lead[x86]

Original issue reported on code.google.com by [email protected] on 7 Sep 2009 at 11:18

Bot itself not in BattleNetClient.Channel list

What steps will reproduce the problem?
1. Join a channel
2. You're not there. Ahaha, invisible bot!
3.

What is the expected output? What do you see instead?
I'd expect it to acknowledge my existence, but it doesn't.

What version of the product are you using? On what operating system?
Trunk, Vista32

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Oct 2008 at 5:07

ConnectionBase.cs - ConnectCompletedCallback / ConnectCompletedResult not found

In the method beginning on line 120 of BNSharp.Net.ConnectionBase taken
from SVN revision 32, the following errors occur on attemping to compile:

BNSharp's project folder is inside of the Felbot2 solution folder, next to
Felbot2's project folder. BNSharp's folder is virgin off the SVN.

Error   1   The type or namespace name 'ConnectCompletedCallback' could not be
found (are you missing a using directive or an assembly reference?)
C:\Users\William\Documents\Visual Studio
2008\Projects\Felbot2\BNSharp\Net\ConnectionBase.cs 120 48  BNSharp
Error   2   The type or namespace name 'ConnectCompletedResult' could not be
found (are you missing a using directive or an assembly reference?)
C:\Users\William\Documents\Visual Studio
2008\Projects\Felbot2\BNSharp\Net\ConnectionBase.cs 125 34  BNSharp
Error   3   The type or namespace name 'ConnectCompletedResult' could not be
found (are you missing a using directive or an assembly reference?)
C:\Users\William\Documents\Visual Studio
2008\Projects\Felbot2\BNSharp\Net\ConnectionBase.cs 125 70  BNSharp

Original issue reported on code.google.com by [email protected] on 27 Jan 2009 at 10:16

Memory stream is not expandable. - DataBuffer.cs

IF YOU HAVE AN ISSUE WITH BN#, PLEASE ATTACH A WIRESHARK PACKET CAPTURE
(*.cap) THAT DEMONSTRATES THE PROBLEM.  WIRESHARK CAN BE DOWNLOADED FROM
http://www.wireshark.org/.  WITHOUT A WIRESHARK PACKET CAPTURE FOR PROBLEMS
RELATING TO BN#, THE ISSUE WILL BE MARKED AS INVALID.

Callstack:
>   BNSharp.dll!BNSharp.MBNCSUtil.DataBuffer.InsertByteArray(byte[] b 
= {byte[768]}) Line 178 C#
    prjHyperion.exe!prjHyperion.WardenHandler.BNLS_WARDEN_SEND(Byte 
BNLSPacket = 125, BNSharp.MBNCSUtil.DataBuffer IncomingBuffer = 
{BNSharp.MBNCSUtil.DataBuffer}) Line 146 + 0x17 bytes   Basic
    prjHyperion.exe!prjHyperion.WardenHandler.SEND_BNLS_WARDEN_SEED
(Integer Seed = 744498383) Line 119 + 0x10 bytes    Basic
    prjHyperion.exe!prjHyperion.WardenHandler.ConnectionCompleted
(System.IAsyncResult async = {System.Net.Sockets.ConnectAsyncResult}) Line 
47 + 0xc bytes  Basic
    [External Code] 

Conflicting Code:

    Private Sub BNLS_WARDEN_SEND(ByVal BNLSPacket As Byte, ByVal 
IncomingBuffer As DataBuffer)
        Dim pkt As New DataBuffer()
        pkt.InsertInt16(IncomingBuffer.UnderlyingBuffer.Length + 3)
        pkt.InsertByte(&H7D)
        pkt.InsertByteArray(IncomingBuffer.UnderlyingBuffer)
        WardenSocket.Send(pkt.UnderlyingBuffer, 0, SocketFlags.None)
        pkt = Nothing
    End Sub

Conflicting line of code: pkt.InsertByteArray
(IncomingBuffer.UnderlyingBuffer)

What version of the product are you using? On what operating system?
Newest build from SVN - Windows XP

Please provide any additional information below.
Let me know when it's fixed Mynd. - Lead[x86]

Original issue reported on code.google.com by [email protected] on 7 Sep 2009 at 11:14

Automatic Updater User Story

Automatic Updater:
- When run, it checks to see if it's running from Program Files or local user's 
path
- If running from local user's path, go to next step.
- If not:
 -- Copy all files / manifests to local user's path
 -- Execute local path version and exit
- Check to see if an update is available to the automatic updater
- If not, go on to the next step
- If so:
 -- Download the update and execute
- Execute the automatic updater to check for an update
- If no update is available, go on to the next step
- If one is available:
 -- Check the user's settings and either update or alert the user to the update availability


Object model for automatic updater:

Task
- ContainerTask
-- ConditionalTask
- EditXmlTask
- CopyFileTask
- DeleteFileTask
- DirectoryTask
-- CopyDirectoryTask
-- ClearDirectoryTask
-- BackupDirectoryTask
- ProcessTask
-- StopProcessTask
-- StartProcessTask
- ServiceTask
-- StopServiceTask
-- StartServiceTask
-- RestartServiceTask

Original issue reported on code.google.com by [email protected] on 15 Jul 2011 at 1:20

Dns.GetHostEntry assumes the first entry is IPv4

What steps will reproduce the problem?
1. Try to connect to localhost using BN#
2. Watch the SocketException fly

What is the expected output? What do you see instead?
Expect to get an IPAddress in Dns.GetHostEntry(server).AddressList[0]
Instead, it's possible to get an IPv6

What version of the product are you using? On what operating system?
BN# Beta2 on Windows Vista

Please provide any additional information below.
It should be possible to iterate the array of IPAddresses and select the
first one with the AddressFamily as InterNetwork

Original issue reported on code.google.com by [email protected] on 7 Jan 2009 at 2:28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.