Giter Site home page Giter Site logo

androgee-coffee's People

Contributors

egeexyz avatar

Watchers

 avatar  avatar  avatar

Forkers

donkokosh

androgee-coffee's Issues

Create standard networking pattern

If game servers run in Docker containers, Androgee needs access to the subnets that the Docker containers run in. An easy way of doing this is by making Androgee run in the network in which the containers run in, like so:

networks: default: external: name: rustdocker_default

I am unsure if this approach will scale and if it doesn't, there needs to be a more sustainable way of doing this.

Crashed while sending welcome message

Saving complete
/home/androgee/discordEvents.coffee:11
return generalChannel.send(msg).then(console.log(msg)).catch(console.error);
^
TypeError: Cannot read property 'send' of null
at Client. (/home/androgee/discordEvents.coffee:6:21)
at emitOne (events.js:115:13)
at Client.emit (events.js:210:7)
at Guild._addMember (/home/androgee/node_modules/discord.js/src/structures/Guild.js:1078:19)
at GuildMemberAddHandler.handle (/home/androgee/node_modules/discord.js/src/client/websocket/packets/handlers/GuildMemberAdd.js:12:13)
at WebSocketPacketManager.handle (/home/androgee/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:103:65)
at WebSocketConnection.onPacket (/home/androgee/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:330:35)
at WebSocketConnection.onMessage (/home/androgee/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:293:17)
at WebSocket.onMessage (/home/androgee/node_modules/discord.js/node_modules/ws/lib/EventTarget.js:99:16)
at emitOne (events.js:115:13)
at WebSocket.emit (events.js:210:7)
at Receiver._receiver.onmessage (/home/androgee/node_modules/discord.js/node_modules/ws/lib/WebSocket.js:143:47)
at Receiver.dataMessage (/home/androgee/node_modules/discord.js/node_modules/ws/lib/Receiver.js:389:14)
at Receiver.getData (/home/androgee/node_modules/discord.js/node_modules/ws/lib/Receiver.js:330:12)
at Receiver.startLoop (/home/androgee/node_modules/discord.js/node_modules/ws/lib/Receiver.js:165:16)
at Receiver.add (/home/androgee/node_modules/discord.js/node_modules/ws/lib/Receiver.js:139:10)
at TLSSocket._ultron.on (/home/androgee/node_modules/discord.js/node_modules/ws/lib/WebSocket.js:139:22)
at emitOne (events.js:115:13)
at TLSSocket.emit (events.js:210:7)
at addChunk (_stream_readable.js:266:12)
at readableAddChunk (_stream_readable.js:253:11)
at TLSSocket.Readable.push (_stream_readable.js:211:10)
at TLSWrap.onread (net.js:587:20)
npm info lifecycle [email protected]~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: coffee -c -m main.coffee && coffee main.coffee
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/androgee/.npm/_logs/2017-12-03T12_15_11_246Z-debug.log

Crashed while Rust was updating

Saved 26,960 ents, serialization(0.00), write(0.01), disk(0.27) totalstall(0.01).
Saving complete
Disconnected from Rust Server
Disconnected from Rust Server
/main.coffee:20
return console.log(error).then(reoccuringErrors++);
^
TypeError: Cannot read property 'then' of undefined
at errorNotification (/main.coffee:12:3)
at Array. (/main.coffee:28:29)
at WebRcon.emit (/node_modules/webrconjs/webrcon.js:343:25)
at WebRcon.onclose (/node_modules/webrconjs/webrcon.js:208:14)
at WebSocket.onClose (/node_modules/ws/lib/WebSocket.js:446:14)
at emitTwo (events.js:125:13)
at WebSocket.emit (events.js:213:7)
at WebSocket.cleanupWebsocketResources (/node_modules/ws/lib/WebSocket.js:950:8)
at emitNone (events.js:110:20)
at Socket.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1059:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
npm info lifecycle [email protected]~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: coffee -c -m main.coffee && coffee main.coffee
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-12-01T13_45_07_275Z-debug.log

Discord rejected a promise and killed the main process

(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: getaddrinfo ENOTFOUND discordapp.com discordapp.com:443
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[CHAT] mcgavranes[5154775/76561198025629447] : no tools
{
"Message": "no tools",
"UserId": 76561198025629447,
"Username": "mcgavranes",
"Color": "#5af",
"Time": 1514620424
}
events.js:182
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at _errnoException (util.js:1019:11)
at TLSWrap.onread (net.js:608:25)

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.