![ServerSync](https://media.forgecdn.net/avatars/thumbnails/254/696/256/256/637199290945083080.png)
Update method is not working as Intended.
P3rf3ctXZer0 opened this issue ยท 32 comments
Alright the only way serversync acts as intended is when the file tree follows strict vanilla settings as it stands the following launchers are useless.
*Magic Launcher
*Technic Launcher
*FTB launcher
Any launcher that modifies the vanilla file tree standard structure.
If someone distributes the mod in any client that isn't vanilla folder structure it will fail making it have far more limited use than presumably is intended.
Hm. I've tried it on the FTB launcher and it works fine.
I'll double check again soon.
Btw please refrain from creating multiple issues regarding the same thing. It keeps my github a little less cluttered and helps other people parse through our conversations without having to visit multiple places.
#7 This is a more proper issue manager and title.
Again if it does not support my technic modpack Example this modpack it isn't useful. http://www.technicpack.net/download and here is my modpack: http://www.technicpack.net/modpack/zer0verse.670441 How to install a modpack : https://technicpack.zendesk.com/hc/en-us/articles/204020115-How-to-Install-Modpacks
Alright the mod if having much bigger issues. I will provide you all changes I have made. I will Also provide a copy of my current client so you too can confirm this.
https://copy.com/YAz0p2FqoYtbEppU/.minecraft.exe?download=1
Here is the most recent version.
Are you supposed to join the server right after updating? I thought it is supposed to tell you to restart it only started this issue in the latest versions 2.1 and 2.2 ...
I'm having similar issues. 2.2 and 2.1 will go straight to joining the server for me, then shows me that I have missing mods and doesn't let me join. 2.0 is the last version for me which properly checks files (same config).
EDIT: More information:
Forge 1403, Server mods: Serversync, Client mods: Serversync, Custom Main Menu. Added the button. Let's me connect no problem. Added 1 single mod to the server and restarted.
When I hit connect it starts checking. Then it doesn't ask me to restart (or show any signs that it's even found new mods), goes into joining the server, and I get the vanilla message about how there are missing mods. Restarting doesn't help as the new mods aren't downloaded.
Uhm no sorry. Not interested. Your issues seem to be rather weird. And probably not limited to this mod.
I'll try out my whole modpack later when I have the time, then I'll report back :)
Thank you iPencil
DPxKnightxZero, I don't want to ask for your money or anything. I'll do my best to fix it. Though I do admit it would help me set aside more time for it if you're looking to get this within the next 2 weeks.
Lets wait for iPencil's report. The only way I can really debug your issue is if I have the same setup as you. Which i could do if you give me all the information on what you're doing.
Okay so with the setup I had, I threw in the configs and the mods just to do a quick test, and managed to download my whole pack, and play without issues. I'm not sure why it works now. I'll try to get it to some of my beta testers and see if it works for them too. For my part, this is resolved.
Thanks for the quick support :)
@superzanti understood I am debugging today too! I am also confused because the fact is it only started after 2.0 and between 2.2 I am unsure as to the exact moment but the issue remains the same. Would help if I told I think it has something to do with ignore list? The biggest issue is that I am not very good at explaining issues. I have been told what I say can get rather confusing. That is why I figured the fastest way for you to fix my issue is just to see for yourself.
Problem: After clicking "Download Mods" it says working finishes downloading mods then automatically attempts to login into server connects to server and says mod rejection.
I go and check the mods folder and I find nothing has changed. At first I suspected technic but now even my normal client is having issues. Also the only change since you helped me was this.
"buttons":
{
"Death Plague Gaming":
{
"text" : "Death Plague Gaming Website",
"posX" : -100,
"posY" : 40,
"width" : 200,
"height" : 20,
"action" :
{
"type" : "openLink",
"link" : "http://www.deathplague.enjin.com/"
}
},
Possible Causes: I modified the serversync ignore list. This is what it says now.
Configuration file
gui {
# The ID of the button that connects to the server and updates [range: 0 ~ 2147483647, default: 6001]
I:ButtonID=6003
}
ignoredfiles {
# These files are ignored by serversync. DO NOT IGNORE serversync.cfg
S:IGNORE_LIST <
./mods/CustomMainMenu-MC1.7.10-1.5.jar
./config/CustomMainMenu/mainmenu.json
./config/forge.cfg
./config/forgeChunkLoading.cfg
./config/splash.properties
./mods/[Universal]-serversync-2.2.jar
./config/serversync.cfg
./mods/[Server]-forgeessentials-1.7.10-1.4.0-beta8-server-731.jar
./mods/worldedit-forge-mc1.7.10-6.0.2-SNAPSHOT-dist.jar
>
}
serverconnection {
# The port in which the minecraft server is running, not the serversync port [range: 1 ~ 49151, default: 25565]
I:MINECRAFT_PORT=26164
# The IP address of the server [default: 127.0.0.1]
S:SERVER_IP=192.99.98.222
# The port that your server will be serving on [range: 1 ~ 49151, default: 38067]
I:SERVER_PORT=8474
}
serverencryption {
# The check command security key phrase [default: 0ba4439ee9a46d9d9f14c60f88f45f87]
S:SECURE_CHECK=0ba4439ee9a46d9d9f14c60f88f45f87
# The checksum command security key phrase [default: 226190d94b21d1b0c7b1a42d855e419d]
S:SECURE_CHECKSUM=226190d94b21d1b0c7b1a42d855e419d
# The exists command security key phrase [default: e087923eb5dd1310f5f25ddd5ae5b580]
S:SECURE_EXISTS=e087923eb5dd1310f5f25ddd5ae5b580
# The exit command security key phrase [default: f24f62eeb789199b9b2e467df3b1876b]
S:SECURE_EXIT=f24f62eeb789199b9b2e467df3b1876b
# The recursive command security key phrase [default: f8e45531a3ea3d5c1247b004985175a4]
S:SECURE_RECURSIVE=f8e45531a3ea3d5c1247b004985175a4
# The update command security key phrase [default: 3ac340832f29c11538fbe2d6f75e8bcc]
S:SECURE_UPDATE=3ac340832f29c11538fbe2d6f75e8bcc
}
storagevariables {
# DO NOT EDIT THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING! (If you are a server feel free to change it as much as you want to update your clients) [default: 20150608_000500]
S:LAST_UPDATE=20150608_000500
}
beyond that being the culprit I am completely lost and confused.
iPencil, I am very glad to hear that! Just so I can continue to help assist DPxKnightxZero would you mind pasting your serversync.cfg in pastebin and linking it? Also what is your version of minecraft? Are you using any loaders like the FTB launcher or MultiMC?
DPxKnightxZero, Please use pastebin.
This no longer has to be in your config:
./mods/[Universal]-serversync-2.2.jar
./config/serversync.cfg
Copy the same files over to the server/client and try again.
okay I have fixed it ... if your update mechanism goes on the fritz just set your storage variables back to default.
storagevariables {
# DO NOT EDIT THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING! (If you are a server feel free to change it as much as you want to update your clients) [default: 20150608_000500]
S:LAST_UPDATE=20150608_000500
}
This is user error. In version 2.1 and 2.2 I added a feature where the server has to tell the clients that it has updated.
You'll notice at the bottom of the serversync.cfg there is a 'date last updated' type of variable. Serversync ONLY updates if this is different between server and client. So every time you update the server you MUST change that variable if you want your clients to update.
Sorry, this was probably my fault, it should be better documented.
Hm, really?
Pastebin your client's config, your server's config
your server's console log, and your client's console log.
We'll get this fixed.
Okay uhm...
I did not change a single thing. And now it works. The same setup I just tried about 30x earlier today.
Earlier it would just redownload the same thing over and over again and the log said "different file found" everytime after restarting :S.
Yeah its a bit glicthy I am not sure superzanti believes us yet, The main glitch as of current you can only see with my current client upload. Hey iPencil mind downloading and testing it too? I figure with a second witness he will be more updated to look in the update code.
Zanti I will pay you 200 dollars usd to make the mod to my specifications. I can't code ... I have no coding talent but I am imaginative and I do keep my promises.
All the 'LAST_UPDATE' variable does is tell the client that it needs to update.
The client simply checks to see if this variable is different from the server's. If it is, the client updates.
yeah well the only I changed was that and it worked again. I still have the unchanged client if you wanted to see for yourself.
Okay I can confirm without a doubt my issue was caused by the update method. I have nothing that should have prevented it etc.
Its the way it stores variables I promise. After I made it default it worked again. Please note it could have been caused by using the same config dating back to 2.0
The issue is fixed so I am going to close it but it might be a good idea to warn players using old configs will cause issues. I think this issue is dealt with