Giter VIP home page Giter VIP logo

Comments (9)

NexusNull avatar NexusNull commented on June 30, 2024

Well it seems you don't have permission to bind to the port 81 and 82.
Go into the userdata.conf and change the base port to something > 1000. You could also start node with root but that's really not a good idea.
If you don't want the BWI to run you can also just disable it.

from albot.

FreezePhoenix avatar FreezePhoenix commented on June 30, 2024

I changed the number, and I get errors like this:
GET <url>:81/socket.io/?EIO=3&transport=polling&t=MSIHdy2 net::ERR_CONNECTION_TIMED_OUT
Is this something to do with the default config?

from albot.

NexusNull avatar NexusNull commented on June 30, 2024

Mmh, what have you done to fix the issue? It seems you haven't changed the port so I assume you gave it permission to run on that port. It might be because you have a firewall rule in place to block the access.

from albot.

FreezePhoenix avatar FreezePhoenix commented on June 30, 2024

@NexusNull I did change the port in my config, but the socket.js file seems to assume that it's still on port 81.

from albot.

NexusNull avatar NexusNull commented on June 30, 2024

There is no socket.js file. I started the bot on my end and changed the port numbers to 1081 and everything works.
I made a screenshot so you can take a look at my setup.

from albot.

FreezePhoenix avatar FreezePhoenix commented on June 30, 2024

Ah. You're running it on localhost. That may be the issue.

Meanwhile, I'm reinventing the socket using send_cm

from albot.

FreezePhoenix avatar FreezePhoenix commented on June 30, 2024

@NexusNull I think I know the issue occurred. It's set up to run on client, not on a webserver. If you could release a version of bot-web-interface for webservers, that would be nice :) I think that should't be difficult, you just need to clone this repo and change it to have the actual socket.io file, not the client variety.

from albot.

NexusNull avatar NexusNull commented on June 30, 2024

The issue has nothing to do with the actual socket.io file, the project needs socket.io to comunicate between server and client. The problem is that repl.it remaps ports this causes things to break. There is a possibility that I can get it to work by combining socket.io into the "webserver". Webserver is in quotes because it isn't a real webserver either it's still node running express.

from albot.

FreezePhoenix avatar FreezePhoenix commented on June 30, 2024

@NexusNull I got it to work:
image But I notice one thing missing: Where is the gold counter?

from albot.

Related Issues (14)

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.