Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Bot crashed after add/replace server.json #6

Closed
mrnoahfink opened this issue Oct 17, 2020 · 7 comments
Closed

Bot crashed after add/replace server.json #6

mrnoahfink opened this issue Oct 17, 2020 · 7 comments

Comments

@mrnoahfink
Copy link

I am using Heroku after bot online and working commands. after that, I replace it with my own server.json then suddenly it crashed and will not back online. Even I try to replace back to normal Github and your "server.json". It never recovers. I did test both Dev and Stable.

@mrnoahfink
Copy link
Author

mrnoahfink commented Oct 17, 2020

Here Error Log for Heroku Stable
kpgtf2statuserver-logs-1602955622235.txt

@Alpha-20
Copy link

Might be an error in your server.json file. The bot crashes if there's an error in your server.json file. Better to join their discord to contact their support team.

@mrnoahfink
Copy link
Author

Well, I try to fix something in server.json and no luck.

Can you check and see that if I did something wrong? (btw GitHub doesn't support json files)

statuserver.txt

@Alpha-20
Copy link

Better to get it checked from the developer himself. here's the discord link https://discord.gg/Sp36ss

@mrnoahfink
Copy link
Author

I did join a couple of days ago lol. anyway, I did mention that.

@TandelK
Copy link
Member

TandelK commented Oct 21, 2020

@mrnoahfink I can see that after every servers added in servers.json you forgot to add , in the end. As per the JSON Format it should be like this

[
    {
        "type": "SourceQuery",
        "game": "Team Fortress 2",
        "addr": "",
        "port": 27015,
        "channel": ,
        "image_url": ""
    },
   {
        "type": "SourceQuery",
        "game": "Team Fortress 2",
        "addr": "",
        "port": 27025,
        "channel": ,
        "image_url": ""
    }
]

After the ending of each section you will have to mention , in the end except for the last one.

@mrnoahfink
Copy link
Author

Thanks! Now I don't have any problem! I realize that I just don't need , the last one. Thanks so much for helping!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants