Code Monkey home page Code Monkey logo

Comments (6)

uakfdotb avatar uakfdotb commented on August 9, 2024

Did you update bncsutil? #12

from ghostpp.

PhilippHeuer avatar PhilippHeuer commented on August 9, 2024

Yes, i upgraded to bncsutil v1.4.1. I also don't think there is a relation since two of my bots are running fine since i started them, the issue only occurs when the 3rd one starts with the same public ip.

from ghostpp.

uakfdotb avatar uakfdotb commented on August 9, 2024

It could be related since this issue is entirely on Battle.net side (Battle.net accepts your first two connections but decided not to accept the third one, after your bot sends SID_AUTH_CHECK packet Battle.net is not sending the response and so you get the hang). I had strange problem where CD keys purchased several years ago work fine with old bncsutil (meaning invalid SID_AUTH_CHECK packet), but newly purchased keys hang in the same way. Upgrading bncsutil fixed that.

Are you sure that the bncsutil is upgraded correctly? A simple way to make sure the new version is being used is to go to the source code of new version, add a debug line like this in getExeInfo function in checkrevision.cpp:

printf("yup this is the new version\n");

And then recompile and make sure you see that print line.

Otherwise probably Battle.net just decided to limit the number of connections from your IP to 2 instead of the 8 connections it used to accept. Maybe for some non-residential IP ranges they are having stricter limits.

from ghostpp.

PhilippHeuer avatar PhilippHeuer commented on August 9, 2024

Im sure, i removed stormlib/bncsutil from the repo in my fork to build from source, i'm not really a fan of copying source files from another repo and since im building a container i can do it just fine in my case.

--> https://github.com/docker-gameserver/ghostpp/blob/master/.gitlab-ci.yml

Section:

  - git clone https://github.com/BNETDocs/bncsutil.git
  - cd bncsutil
  - git checkout v1.4.1
  - cmake -G "Unix Makefiles" -B./build -H./
  - cd build && make && make install

Would be pretty sad if the set it down to 2 from 8 :( I will try to run 3 containers locally and check if it works with my residential ip.

from ghostpp.

PhilippHeuer avatar PhilippHeuer commented on August 9, 2024

Works from my local ip ... great. Guess they set the limit to 2 for known datacenters or sth. Also tried it on DigitalOcean/Amazon real quick for refence and i can't start more than 2 bots either :(

from ghostpp.

PhilippHeuer avatar PhilippHeuer commented on August 9, 2024

Another note for other ppl. finding this, do not let your 3+th bot runnning if it keeps reconnecting - you'r gonna get ip banned.

from ghostpp.

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.