Structures not spawning on server at all...
Kilroy5150 opened this issue ยท 15 comments
Running Minecraft 1.10.2/Forge 18.3.2281 on an i7 machine (16GB memory).
For some reason i cannot fathom, it just won't spawn anything. I've been running this server for some time, just got the newest version for 1.10.2 (the one before that didn't work either).
It will not spawn any structures in the village, nothing at all....I go between 2 and 3 villages and nothing....
I am using the AMP server launcher and have tried both General and Customized worlds to no avail...
Anyone?
It gave me this:
16:22:57No Structures
Are there any other mods, or maybe mod libraries, out there that might be known to "block" it? As far as i can tell all the other mods (that makes structures) are working well. By the way, your mod works fine for me in single player mode, it's just having an issue being run as a server-side mod.
I would like to blame AMP for causing it but i doubt that server management software is affecting it..
It shows a few small errors, here and there. But if i had a dime for every time one mod had a small error with another, i could buy another copy of Minecraft ;). And if i were to remove that mod, it would just error with another. Like i said, on the single player mode, it errors and makes no difference..but i don't know enough about Minecraft structure to understand all the output.
Here's the whole server-side console output when starting the server for this mod:
Server thread/ERROR - reccomplex 05/14/2017 02:23:47
02:23:47Error reading from resource location 'villagebox:'
Console 05/14/2017 02:23:47
02:23:47java.nio.file.AccessDeniedException: C:\Users\Jeff\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\Minecraft\mods\villagebox-1.10.2-0.6.0.jar
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[?:1.8.0_131]
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[?:1.8.0_131]
at sun.nio.fs.WindowsLinkSupport.getRealPath(Unknown Source) ~[?:1.8.0_131]
at sun.nio.fs.WindowsPath.toRealPath(Unknown Source) ~[?:1.8.0_131]
at sun.nio.fs.WindowsPath.toRealPath(Unknown Source) ~[?:1.8.0_131]
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:111) ~[zipfs.jar:1.8.0_131]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_131]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_131]
at ivorius.reccomplex.files.RCFiles.resourceToPath(RCFiles.java:74) ~[RCFiles.class:?]
at ivorius.reccomplex.files.RCFiles.pathFromResourceLocation(RCFiles.java:82) ~[RCFiles.class:?]
at ivorius.reccomplex.files.RCFiles.tryPathFromResourceLocation(RCFiles.java:89) [RCFiles.class:?]
at ivorius.reccomplex.files.loading.ResourceDirectory.reload(ResourceDirectory.java:86) [ResourceDirectory.class:?]
at ivorius.reccomplex.RecurrentComplex.postInit(RecurrentComplex.java:157) [RecurrentComplex.class:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243) [LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221) [LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:810) [Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:108) [FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:333) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214) [ld.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Anyone? Anything? I really need to get this mod working. I've got a team that's chomping at the bit to play with it on the game...
Yes, it's this again:
java.nio.file.AccessDeniedException
See #154. Let me know if you have any issues setting the access rights correctly.
Dunno, i got talked into buying AMP for $5 because it was in Beta. It's got a lot that needs working out before i would consider it stable. Like i said, the put wrong version numbers on the Minecraft they have listed, they're not listed in any kind of credible order. The interface is very "vanilla" but they've added a lot of interesting feature.
It's strange, after i reinstalled a new instance the problem went away. My best guess is that possibly AMP corrupted something. But again, it could run this time and not the next. This software is very glitchy and tends to change it's mind of what it wants to do from time to time.
It does allow you to pile on the memory with the setup and someone gave me an I7 desktop with 16GB of RAM so i've got memory to spend i've just not figured out if it's worth it yet. I always hear Java is a big memory hog but, at the same time, Minecraft has so many obvious problems that could have been fixed (by the company) so long ago that it just kills me.
The community made Minecraft great when they started modding. I got so bored, so early, with Minecraft that i put it down for a couple of years and came back to see a flourishing modding community which had mods that gave it so much more of a personality and a lot of what you see on vanilla minecraft, now, is stuff that were mods before (like the random fishing affects, i remember that mod clearly a while back)
In a way, it's their attempt at a "No Man's Sky" degree of launcher for games...they talk very grandiose about it but i've yet to see this "new" version that's supposed to be so much better..every week, they say "it's coming out next week"....lol.
.I run the AMP launcher and it handles the whole process...no other mods are having this issue. There are around 66 mods running on my server. What would be causing yours not to have access rights?
What other folders does your mod try to write to so i can track down the issue?
I need to know what files it writes in order to track it down but it's odd that, out of 66 mods, yours is the only one with this issue...:(
As described in #154, ReC has special scripts that read structures automatically from all mods (and itself). As far as I'm aware, no other mod does this - they all load their stuff referenced by jar resource, and thus don't need access rights to anything.
It's not the mod though that needs the rights, it's the process (Java) that MC runs on. It needs read access to everything in /mods and /structures.
Is it something as simple as the "give admin" checkbox in the comparability tab on java.exe? I'm afraid i have less experience in running this sort of issue down as i have very little experience with the inner-workings of Java...
That might do it if you do it for the minecraft application (not Java.exe, I believe) - I'm not sure how Windows handles privileges though. It might also be enough to check if the user you run MC with has read access to the mods folder (right click -> properties or something). @ArmandVestibule perhaps you want to weigh in with your fix?
Sure. If AMP is anything like McMyAdmin, it should run as a service. That service will have an account linked to it and it should require a certain level of permissions in order to run Recurrent Complex successfully.
In my particular case, under Windows, my McMyAdmin service was running as Network Service instead of the Local System -- once I changed it to the latter, everything started to work.
There may be a more elegant way to provide the level of access the mod needs to function in this context, but that worked for me.
Edit: I see that AMP and McMyAdmin are one in the same -- so this should be entirely relevant.
Well AMP is the successor to MyMcAdmin.....and making it into a local service crashed it permanently...i can't even put it back to a network service and make it run....i'm going to have to reinstall the whole instance again. AMP launches games a individual "instances" (their term, not mine)
If it starts to crash and doesn't stop I'd definitely report this to the AMP team.
Yeah, that's like talking to a wall. When it comes to relating technical to lamen....they suck. They don't speak "simple" and they're somewhat conceited when you ask them to spell out what they need done. They sorta assume everyone talking to them should have their level of experience. While i'm not a novice with computers by a long shot....i don't code so they will tell me something that's a little above my level and basically i have to spend a while Googling to find out what they're talking about.
AMP is their attempt to be "the" server launcher for all home server systems and, while it's decent, they put in wrong version of Minecraft on the list to select, have unnecessary options that don't even need to be there...
Man, i miss MyMcAdmin :)
Well removing it as a service certainly cleared up the issue...I've just got to find a way to get it running as a service (and local as you suggested) without it crashing the run. It's like a double-edged sword...AMP makes it easier but seems to cause constant issues with Minecraft. This thing is still in BETA but reporting any kind of issue to them gets them all twisted and they want to make it seem like you're doing something wrong so i will attempt to fix it on my end before reporting it to them...to kinda have a whole story to go on..