Hey, so you found the discord information? What mistake did you find with the token? If you mean that it does not show again... its since its encrypted, just a protection.
Hello Jascha, i found token but my discord bot stay disconnected on my discord server.... I created a bot, found channels id's etc...
Did you click "Reload Discord" or restarted the tool? Do you see any erros in the log? Maybe the permissions are not right or firewall?
Thank you for your answer. Yes i did it and nothing particular in logs. But when i close EAH, i have an error microsoft.
Well, i think microsoft errors become when i click lot of time on "reload discord" and after cut off EAH. I have no errors anymore but nothing is working....
Could you send me your logs please. Would like to take a look. Maybe reenter the token again and klick on reload. It should work quite easy.
hello, would or could you show an example of how the faction restriction works, i know theres a button but where do i put the information in and if you could just give me an example that would be great, thanks for the features.
Hello, Jascha, Before sending logs, i can say that there is no errors about Discord problems. Witch log can i send ? I edited Settings.XML and it seems that discord parameters are in it. (discord token seems to be encoded). Is there a problem with some dll ? Do i need a specific visual c++ ? (i have 2005, 2008, 2010, 2013, 2015 and .NET 4.7) Something missed on my bot creation ?
First you need to set the Channel ID and the Token Token ID = From your Discord API Dashboard Channel ID = Channel right click > Copy ID (if activated in your settings > appearance) Important: DO NOT edit the Settings.xml! the token is crypted. If you don't want to use Public or Admin channel, then enter a 0. Click on "Set Discord token" and enter the token. Click ok. Do not click again and lick ok without entering anything, it will overwrite your token with nothing. Then enter Faciton channel IDs Then go to config and click on "Reload Discord". Then start to write in public/faction depending on what you set up. If it does not work click Reload "Discord again" Try to chat again Public Channel: Only global chat is shown in discord Admin Channel: Only alerts like "ADMIN" will be send to discord and vice versa. Faction chanel: Only Faction chat of that faction will be send to discord and vice versa. If that does not work. restart the tool. If that still does not wortk, please send me the tool logs: You find them in the tool folder "Logs\" and the files are called something like: "Log_20171222.txt" The numbers represent the date. Not sure what you mean with that.
Hey, sure. First, set up the restrictions in the "Playfields" list Belongs to Origin should be 999 if not set. there is a button on the bottom to reset them all in case they are on 0. If you want to set up a restricted Playfield for a origin: Enter the Origin Number in "Belongs to Origin" If you want to set up a restricted Playfield for a faction: Enter the Faction abbreviation in "Belongs to Faction" If you want to set up a restricted Playfield for a player: Enter the player Steam ID in "Belongs to Player" If you want to allow multiple player/factions just sepperate them with # If you want to allow a certain faction, but also some extra players enter the faction abrv. in the "Belongs to Faction" column and also the Player Steam Id in the "Belongs to Player" column. Then go to config and activate "Playfield Faction Restrictions" That should be all. Keep in mind: Admins are protected. So if you want to test it you should set your role to "Player" to feel it . Hope that helps. If not let me know. I'll add it soon to the docu.
Added the Docu of those features here: http://eah.empyrion-homeworld.net/documentation/features/restricted-playfields http://eah.empyrion-homeworld.net/documentation/features/discord and will also include them in this forum
Jascha, Thank you very much for all. Well i did it again and again and no way. I tried to open EAH on windows firewall. Do i need to start it on admin ? (i'll try it) Bot stay offline and no chat in any way. I leave faction discord to 0 (no need for now). Here is my log. I replaced my steam 64 id with 0.
Thanks hm no Error. Can you try and use a wrong token. Does it give you any error? Then try with correct token and try a wrong channel ID. Do you get an Error? If those two give you an Error, then something is not set up right on your discord. But I don't know discord that well
Jascha, You was right ! Lot of errors with wrong token and when token is wrong, i also have errors from channels id's. I progress, thank you. It mean that connection is established correctly. I will investigate from discord, but where ???
Patwar goto your discordapp.com >>> goto your bot >>> when your done making it you'll see somewhere that says APP BOT USER Username: example#1234 Token: click to reveal <---- click this and copy it for your token
Yes, i did it but after i create bot... but i think at something.... Is it necessary to add bot with this link : https://discordapp.com/oauth2/authorize?etcetcetc..... ? EDIT : I answer to me. Yes, we need to do this otherwise we have not bot started when EAH start and an beautiful 403 error. So why my bot stay offline ???
OK. I used an other bot already on line on my Discord server (used his token). It is working. It seems to work on half. Empyrion to Discord : OK. Discord to Empyrion : NoK. It is perhaps the 443 port used by textual part. I have a problem because this port is mapped to go on my Linux server. Not to my game server. I think bot don't connect because there is an half connection established. So i obtain an half working by using a bot already connected. Will have to verify it and how to use an other port... If i understand right, to have a full use of this feature, we actually have to open 443 port to go to empyrion server (EAH)... To be confirmed...
Your bot stays offline since it isnt programmed. All u did is made a bot. U didnt use any special program code to make it run. Should not matters tho if its online or offline. All u need is the Token from it for EAH
You didn't read my last post.... And if bot is disconnected, there is no activity. It's completly normal. EDIT : So, for testing, i redirected port 443. No result. Bot stay offline. So, no text dialog. I used again the connected bot. Same result. half working. So there is two problems : Bot connecting "ON LINE" on Discord and two ways dialog not working. Waiting for a solution (if there is one).