MachineMuse / MachineMusePowersuits

Minecraft mod, take 2
236 stars 105 forks source link

Armor not Charging #883

Closed IAmTheShark223 closed 5 years ago

IAmTheShark223 commented 5 years ago

I'm in the latest alpha for 1.12.2 for powersuits, a few of the modules like the night vision and all generators are not working. i am using ALPHA-23,

arnesacnussem commented 5 years ago

have you installed a battery?

IAmTheShark223 commented 5 years ago

have you installed a battery?

yes, I have lv batteries on all my pieces

IAmTheShark223 commented 5 years ago

as an additional note: the generators and modules work in singleplayer but not on my server. i have no clue what is causing this

lehjr commented 5 years ago

Sounds like a sync issue between client and server. It probably is charging on the server since all energy is handled server side, but not showing as such on the client.

IAmTheShark223 commented 5 years ago

that isnt the issue; at least i dont think it is, stuff like the night vision module and the generators just don't work on the server, nighvision doesnt apply the effect in multiplayer but does in singleplayer. i think it might be a client mod that's running on the server but i have no way of telling a client mod apart from a server mod.

IAmTheShark223 commented 5 years ago

since you need the modlist to help me with that, here it is.

server mod list

lehjr commented 5 years ago

Yeah, looks like I'll have to do some trouble shooting.

IAmTheShark223 commented 5 years ago

I removed one mod i thought would be the issue, it's called defaultoptions or something like that

lehjr commented 5 years ago

From what I can tell, it's likely just client<->server sync issues. I'll have to dig into it a bit more though.

IAmTheShark223 commented 5 years ago

I'll put up whatever information is necessary, i can give you a copy of the server and my modpack is on curse

IAmTheShark223 commented 5 years ago

How would i be able to check for a sync issue?

lehjr commented 5 years ago

Sync issue is a bug in the mod. Already looking into it. So far found one issue.

IAmTheShark223 commented 5 years ago

Ok

eyeonus commented 5 years ago

If you go into the server's 'mods' folder, open a console/terminal, and type either 'dir >modlist.txt' on Win or 'ls >modlist.txt' on *nix/Mac, you'll get a text file that lists all your mods, which might be slightly easier to use/get than a screenshot.

I could've sworn there was a website online that would spit out a modlist for the purpose of sharing with other people, but I can't find it.

IAmTheShark223 commented 5 years ago

Thanks, I think lehjr narrowed the issue down to the mod itself but i'll do that.

lehjr commented 5 years ago

well, one major issue is the PlayerUpdateHandler (event handler) being registered in the client proxy instead of common proxy. This has a few functions on both client and server, and one important one being the tick handler for the modules.

IAmTheShark223 commented 5 years ago

Ah, so in layman's terms, the mod is telling the client to do things but forgets that the server is there?

lehjr commented 5 years ago

Yeah, for the most part. Some code is set up so it only runs on the server side, so that gets skipped altogether. Anyway, I'll have a fixed version up in the morning.

IAmTheShark223 commented 5 years ago

Thank you so much

lehjr commented 5 years ago

Uploaded, should be visible ... "shortly"?

IAmTheShark223 commented 5 years ago

Thank you so much Will test it as soon as i can

IAmTheShark223 commented 5 years ago

It works. Thank you so much for doing this.

IAmTheShark223 commented 5 years ago

one of my testers for my pack just noted that the slider for the kinetic generator is not working.

lehjr commented 5 years ago

Yeah, looks like NONE of the sliders are working.

lehjr commented 5 years ago

fixed.

IAmTheShark223 commented 5 years ago

Thanks.

eyeonus commented 5 years ago

It was more of a for future reference kind of thing.