I need help with setting up the discord part for the EMP Admin Helper. I created the bot and got it to come on line. I added all the channel codes and the token but the 2 wont talk. I click on the reload Discord button and the program crashes. I go to exit the program and it crashes while saving settings. Does anyone know how to fix it or have the .js or what i need to program it with that will make the bot work with emp admin helper?
Hey, you might want to check out this page: https://eah.empyrion-homeworld.net/documentation/features/discord Would be interesting what the log/message box says about the crash.
I followed that but in order to make the bot come online for it because that is the only thing i know that has a token i had to create a random BS .js file. but if there is something that the .js should have for the discord bot to listen and respond to the helper then i can make this work. Almost like the bot and the helper need to share a file that says what to do.
Update Hey guys, updated and fixed a couple functions and made it easier for new users to find the needed help. Enjoy, Jascha Patch notes - 1.47.4.3 (Alpha 10 only!) Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam and via manual download. Added: Link to help pages/forum/discord in Function tab Added: Discord: Send message if server was started Added: CSW: Restrict chatbot commands for 30 seconds after login Added: Config: Warn if GUI option is turned off Added: Init Mods on Server start Added: CB:? removed too long text which caused extra empty lines Added: Automatic remove obsolete EAH_Data from Managed folder Added: Updated information about where to send logs for devs and where to find the zip Added: Wipe structures on playfield after x hours updated (add to cb:wipe; warn before; only delete if playfield is online) Added: Backups: Don't do backups if only 10GB space left Removed: Yellow chat alert mark for Jascha/Rex Fixed: Delete structure on playfield after x hours checked creation date Fixed: Config did not support/save alert words and text anymore Fixed: Chat only to faction not working
i got this error with the bot when i tried to send a in game test to discord after the error it took the bot off line. dont know if this is helpful or even if it has any thing to do with the game server trying to send chat through it. Bot has started, with 169 users, in 67 channels of 1 guilds. events.js:189 throw err; // Unhandled 'error' event ^ Error [ERR_UNHANDLED_ERROR]: Unhandled error. (ErrorEvent { target: WebSocket { _events: [Object: null prototype] { message: [Function], open: [Function], error: [Function], close: [Function] }, _eventsCount: 4, _maxListeners: undefined, readyState: 2, protocol: '', _binaryType: 'nodebuffer', _closeFrameReceived: false, _closeFrameSent: false, _closeMessage: '', _closeTimer: null, _closeCode: 1006, _extensions: {}, _receiver: null, _sender: null, _socket: null, _isServer: false, _redirects: 0, url: 'wss://gateway.discord.gg/?v=6&encoding=json', _req: null }, type: 'error', message: 'getaddrinfo ENOTFOUND gateway.discord.gg gateway.discord.gg:443', error: { Error: getaddrinfo ENOTFOUND gateway.discord.gg gateway.discord.gg:443 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26) errno: 'ENOTFOUND', code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'gateway.discord.gg', host: 'gateway.discord.gg', port: 443 } }) at Client.emit (events.js:187:17) at WebSocketConnection.onError (C:\Users\Owner\Desktop\Discordjs\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:374:17) at WebSocket.onError (C:\Users\Owner\Desktop\Discordjs\node_modules\ws\lib\event-target.js:128:16) at WebSocket.emit (events.js:198:13) at ClientRequest.req.on (C:\Users\Owner\Desktop\Discordjs\node_modules\ws\lib\websocket.js:568:15) at ClientRequest.emit (events.js:198:13) at TLSSocket.socketErrorListener (_http_client.js:392:9) at TLSSocket.emit (events.js:198:13) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
if i knew how the Server Helper was trying to communicate with discord i could write a script that could work but that would be what codes its sending or how its sending the chat and other information. That or if the Server Helper could run the bot as well that would cut a lot down in over programing that i would end up doing. Thank You as well for responding back =)
Update A 10.5 Hey guys, a small update for A10.5 (don't use it with a lower Version of the game!) It also contains a couple of fixes. Enjoy Patch notes - 1.47.5.0 (Alpha 10.5 only!) Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam and via manual download. Added: A 10.5 changes Added: New Items Added: Always do Cross Server Backup Added: DB cleanup extended Fixed: Event Backpack problems Fixed: Mod Init copy exception Fixed: Restricted Playfield warp issues
Update Hey guys, quick update to fix some trouble, especially to connect to the server, but also to amke PvPvE toggle possible again with A10.5 Enjoy! Patch notes - 1.47.5.1 (Alpha 10.5 only!) Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam and via manual download. Added: Event Backpack updte Added: PvPvE Toggle deletes now playfield.yaml.bin Fixed: No Connection to Game issue
Hi, i currently have the following issue: The EAH Tool cannot connect to the Empyrion Server. Starting the Server from EAH works fine. EAH is local on the Empyrion Server. EAH is the lastest version (1.47.5.1) and also Empyrion is the latest version. Connection manually via telnet works. From the Log always the same if it wants to connect to the Server: 08.10.2019 21:58:32.438 I Telnet Connect: API SetStatus 08.10.2019 21:58:45.353 I Telnet Connect: API SetStatus 08.10.2019 22:05:33.881 I Telnet Connect: API SetStatus I don't have any idea why it can't connect to the Server... Thanks for any help!
Hey, did it work before? Did you check the API port (has to be 127.0.0.1) Is it the same as in ...SteamLibrary\steamapps\common\Empyrion - Dedicated Server\Content\Mods\EPM\Config.txt Did you change the API Port? Is it the same as in ...SteamLibrary\steamapps\common\Empyrion - Dedicated Server\Content\Mods\EPM\Config.txt In ...SteamLibrary\steamapps\common\Empyrion - Dedicated Server\Content\Mods\EPM\ do you see a EPM_Info.yaml? If not you can copy that file from your EAH folder.
Yes it worked before. The API Port in the config.txt was 54321 but exactly this port is used by another serrvice, so i changed it to 12345 like in the EAH config. So now it works. Thanks for the help! I didn't recognized that this port was used by another service. The EPM_Info.yaml exists and is exactly the same like the EAH file. Thanks!
Update Hey guys, little update inbetween. Patch notes - 1.47.5.2 Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam and via manual download. Added: Brighter Discord to Game Chat default color Added: Wiped Playfields: Don't mention them in the logs as Warning! Added: Change faction reputation for player Fixed: Gameconfig Thruster option not checkable
Update (for Alpha 11) Hey guys, Alpha 11 seems to get closer, so we updated to the latest Version and fixed some issues. Enjoy! Patch notes - 1.48.0.0 (Alpha 11 only!) Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam (on next EXP) and via manual download. (Remember, this Version is only for A11!) Added: A11 Mod changes Added: New Items Added: New Player file Version Added: A11 Multiple Playfields in one Process change Added: EV:List Hide Event positions if only one Added: EV:List Shorter Event Date format Fixed:Structure Powered not changed when ot loaded via DSL Fixed: Dedicated.yaml SrvPublic fix Fixed:Structure Coordinates incorrect
Update Hey guys, due to some issues with the new "Multiple Playfields in one Process feature" I changed a few things in EAH to handle the remaining issues. I strongly recommend to update EAH with the next Empyrion Hotfix, when that feature is enabled again! But you can update now already Patch notes - 1.48.1.0 Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam and via manual download. Added: A11 Version to Config (its not used much at all, but confused too many) Added: New console command Mute/Unmute Fixed: Prevent empty structures and Playfields to be considered in structure list
Update for A11.5 (Do not use before!) Hey guys, A11.5 contains a few changes wich are addressed in this update. Please do not use it with A11.1, since it could prevent you from spawning structures (Backup/CSW/...) Enjoy Patch notes - 1.48.2.0 (Only A11.5!) Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam with A11.5 and via manual download. Added: A11.5 change to shared structure folders Added: Fix for Empyrion bug causing CSW to have occupied cockpits Added: Player-Restart/Delete/Reset Playhours
Update Hey, quick update to allow the new Solar Systems. Sorry for forgetting it in the first place Patch notes - 1.48.2.1 Remember to stop the server, start the tool and then start the server to apply the Update. If you start a new game also make sure to restart the tool after you started the game the first time. Please turn off Autban before you update the tool or start the server. Then check for a few hours if the Cheater Check marks people yellow (Extreme = They would get banned) without reason. If so, please let us know and do not turn on AutoBan. If everything is ok, you can turn on AutoBan. In case you are using a slave tool: Be aware that using this version only works if you update master and slave! This Version will be available over steam and via manual download. Added: A11.5 change to sector.yaml