Git Product home page Git Product logo

Comments (7)

jackpoz avatar jackpoz commented on July 30, 2024
<setting name="RealmID" serializeAs="String">
    <value>1</value>
</setting>

is this value correct ? if you have only 1 realm than you want to specify 0 there instead of 1

from botfarm.

 avatar commented on July 30, 2024

OK. I thought the realm ID would be 1 for the first realm, like in auth.realmlist.id, reading the value from the database. I will test it again with 0 instead then.


OK, it worked. Don't know why I did not try that before.
Why does it say "Unknown account name" on some of the lines?

Waiting for BotFactory account to login
botfarm - Authentication succeeded!
botfarm - Requesting realm list
botfarm - Connecting to realm Trinity
Setting up bot factory with 5 bots
Creating new bot
Creating new bot
Creating new bot
Creating new bot
Creating new bot
BOT1365667768 - Connecting to realmlist...
BOT468557332 - Connecting to realmlist...
BOT287047341 - Connecting to realmlist...
BOT40867380 - Connecting to realmlist...
BOT1815253304 - Connecting to realmlist...
BOT1815253304 - Unknown account name
BOT1365667768 - Unknown account name
BOT40867380 - Unknown account name
BOT468557332 - Unknown account name
BOT287047341 - Unknown account name
Finished setting up bot factory with 5 bots in 00:00:01.0521350

I created the accounts admin, admins, botfarm, before running the BotFarm files and made sure that there is at least 1 character in the account on each of them.

from botfarm.

 avatar commented on July 30, 2024

By the way, does this console output look normal, that it will look like this even if everything is correct?

botfarm - Server has closed the connection
botfarm - Authentication succeeded!
botfarm - Requesting realm list
botfarm - Connecting to realm Trinity
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - The given key was not present in the dictionary.    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Client.AutomatedGame.UpdateObjectHandler.HandleMonsterMovementPacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 639
   at Client.AutomatedGame.HandleMonsterMove(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 503
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - The given key was not present in the dictionary.    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Client.AutomatedGame.UpdateObjectHandler.HandleMonsterMovementPacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 639
   at Client.AutomatedGame.HandleMonsterMove(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 503
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - Server has closed the connection
botfarm - Authentication succeeded!
botfarm - Requesting realm list
botfarm - Connecting to realm Trinity
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - Server has closed the connection
botfarm - Authentication succeeded!
botfarm - Requesting realm list
botfarm - Connecting to realm Trinity
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386
botfarm - An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdateData() in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 796
   at Client.AutomatedGame.UpdateObjectHandler.HandleUpdatePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 620
   at Client.AutomatedGame.HandleCompressedUpdateObject(InPacket packet) in c:\Build\BotFarm_x64\Client\AutomatedGame.cs:line 497
   at Client.World.Network.WorldSocket.HandlePacket(InPacket packet) in c:\Build\BotFarm_x64\Client\World\Network\WorldSocket.cs:line 386

from botfarm.

jackpoz avatar jackpoz commented on July 30, 2024

Why does it say "Unknown account name" on some of the lines?

did you read carefully https://github.com/jackpoz/BotFarm/blob/master/README.md , in particular

fill the Username and Password fields with an account with ".account create" permissions

?

from botfarm.

 avatar commented on July 30, 2024

Yes, I have got 4 accounts in the DB, all of them are gmlevel 3 and with characters. If any of them had been lower in gmlevel or without characters, I could understand it. I tried using any of those accounts in the form. I also created one account with the same name and password as the default, admin/admin.

from botfarm.

jackpoz avatar jackpoz commented on July 30, 2024

gmlevel 3 and ".account create" permissions are 2 different things. you should log ingame with the account you chose and write ".account create" and verify it actually creates an account with the username and password you'll specify.
This is the same I wrote at #11 (comment)

If gmlevel 3 doesn't include ".account create" and you think that's an issue, please report it on TC tracker

from botfarm.

jackpoz avatar jackpoz commented on July 30, 2024

a4648c2

from botfarm.

Related Issues (20)

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.