zellfrey / Voting

Minecraft hook for voting APIs
https://minecraft.curseforge.com/projects/293830
Other
1 stars 2 forks source link

no file in config #2

Open Gruszkomir opened 4 years ago

Gruszkomir commented 4 years ago

https://pastebin.com/3F0yDFGT

zellfrey commented 4 years ago

Looking at your startup log has just lead me to be even more confused. [09:07:29] [Server thread/INFO] [votifier]: Votifier - Forge Version: Flea Fork [09:07:29] [Server thread/INFO] [votifier]: Loading Votifier rewards [09:07:29] [Server thread/INFO] [votifier]: Votifier registered a total of 5 rewards in 1 files!

That right there is what you should be getting on your server startup log.

You appear to only have this: [04:02:05] [Server thread/INFO] [votifier]: Votifier registered a total of 5 rewards in 1 files!

Which is only printed when data from the rewards folder is valid.

Your log appears to completely miss any information printed from the pre-initialization stage of Votifier.

You should atleast be getting this; public void preInit(FMLPreInitializationEvent event) { log.info("Votifier - Forge Version: Flea Fork");

Further down, i see no log of any keys being generated. Which leads me to question why votifier, or whatever setup you are using is skipping or ignoring the initialization stage of Votifier.

public void init(FMLInitializationEvent event) { RSAUtil.init();

This is what should be printed during this stage: [09:07:31] [Server thread/INFO] [votifier]: No RSA Key found, generating a new one! [09:07:31] [Server thread/INFO] [votifier]: generating RSA key with length 2048..

However, with that all said your setup is perfectly fine with the ServerStarting stage;

[04:02:19] [Server thread/INFO] [votifier]: starting votifier thread... [04:02:19] [Vote-Listener/INFO] [votifier]: votifier running on 51.83.143.95:8192

What i would like you to do is, in the config set debugmode to true. And see if it prints out anything else when the server starts up.

Secondly, can you give me details on the Forge version, Votifier version, the mods you are using, and if you are using it, what sponge version are you using.

Thank you

zellfrey commented 4 years ago

Hello again, I'm back and since you didn't respond I've had the time to revise the log. So your pastebin log shows the line [04:01:47] [Forge Version Check/INFO] [forge.VersionCheck]: [votifier] Starting version check at https://github.com/UpcraftLP/Voting/master/versions.json

You should be getting this; [18:25:20] [Forge Version Check/INFO] [forge.VersionCheck]: [votifier] Starting version check at https://raw.githubusercontent.com/zellfrey/Voting/master/versions.json

But you are not, because you not using a later version of Forge Votifier. Specifically v1.3.3+ as i changed the update data so it would direct players to this github and not Upcraft.

Now, download Votifier 1.4.0. Delete the config folder if you have it, and then restart the server. Come back to me with the results.

Gruszkomir commented 4 years ago

Sorry for the delay, we moved the modified serewer to a dedicated machine https://pastebin.com/D9nZR2ry

zellfrey commented 4 years ago

That's alright. Now was a new key generated?

[08:06:13] [Server thread/INFO] [votifier]: No RSA Key found, generating a new one! [08:06:13] [Server thread/INFO] [votifier]: generating RSA key with length 2048.. [08:06:14] [Server thread/INFO] [votifier]: Successfully generated new RSA keypair!

That should have generated a folder for you

Gruszkomir commented 4 years ago

Still dont work :(

image

zellfrey commented 4 years ago

okay, so in the config, set debugmode to true. It should print out somethig along the lines of ForgeVotifier.getLogger().info("successfully saved new RSA keypair to \"{}\"", directory.getAbsolutePath());

Restart the server, and send me the log

Gruszkomir commented 4 years ago

https://pastebin.com/ceVJvcAG any ideas ?