FarPlaneTwo

FarPlaneTwo

18.5k Downloads

The question of using the FP2 mod on the server

Mr-VEPRb opened this issue ยท 24 comments

commented

Hello. I want to know if you are planning to make opportunity to use this mod on the server. For example, if view-distance = 20 in server.properties, every client can upload all chunks on the server without computer load with drawing distance = 2-4. Thank you in advance for your answer.

commented

fp2 already works on servers, but the server view-distance is completely unrelated to fp2's view distance.

commented

In this way, can you explain me how to use it on the server as I tried many ways to achieve my goals and got nothing usable in a result, please?

commented

you make a forge server and install the mod, just the same way as you would with any other mod.

commented

I have a forge server simple to my client by used mods, but I get crush every time i try to start it with the FP2 mod. As I noticed, everything is similarly (client and server) and I use Magma core for the server.

commented

stop using magma - fp2 is very unstable and will likely not work with anything other than plain forge and the minimum dependencies installed.

commented

I wanted to use only Forge-server, but it seems to be impossible as I have to convert plugins to mods. There are no ways of using Magma core....?

commented

if you want to use this for a real server, then no, there is not. currently fp2 is far too buggy to use for anything other than testing.

commented

I tried to launch it on Forge server but got the same crush as at my Magma server. Is there any sense to try to use it on server for tests or it would be better to wait more stable versions?

commented

can you please send the crash report from the forge server?

commented

I sent the latest log file and information about crash. I used only forge-1.12.2-14.23.5.2855 core.

commented

oh, that's certainly a bug. will fix that momentarily.

commented

I also found an incompatibility with VanilaFix mod. I'm just informing you.

commented

Unfortunately, I have no ability to edit Java/.class files on my pc and can't find these annotations with the help of online decompilers.

commented

I downloaded the last version of the mod, but the bug remained. The problem is still not solved ( just wondering)?

commented

what do you mean, you can edit java files with any text editor - but besides, you dont have to edit them, just download the repository as of commit 6f7d009, compile it and if Matrix's fix worked, your issue should be fixed.

commented

you don't have to compile it yourself either, just download the precompiled jar from https://jenkins.daporkchop.net/job/PorkStudios/job/FarPlaneTwo/job/master/

commented

I'm sorry, but I'm too stupid to understand how to compile a mod in java. Can I somehow perform this operation without installing programs for compiling?

By the way, I want to note that the above solution helped me to launch the mod on the server, but it still does not work (the drawing continues to be regulated only by server view-distance)

commented

why do you need to compile it? i literally sent you a link to a download of the pre-compiled jar.

and no, it doesn't really work properly on multiplayer yet - render distance is not synchronized at all between server and client. nobody ever said it was ready-to-use.

commented

Pre-compiled jar is downloaded in ZIP.format and I have no idea how to compile it. Most likely, I misunderstood you.

And you yourself wrote above that the mod already works on the servers (not a claim)

commented

it works on servers if you have the exact same configuration, but not well.

if you downloaded a zip, you didn't download the pre-compiled jar. you go to the link i sent above (specifically https://jenkins.daporkchop.net/job/PorkStudios/job/FarPlaneTwo/job/master/) and download the jar.

img

commented

I did this, but when I downloaded the latest version of the mod, the same crash occurred as described above. So I thought that I need to manually change the config every time in some way.

commented

Tried, with fp2-0.0.1.416-1.12.2.jar, couldn't reproduce.
How did you install the mod on the server? Did you install the prerequisites?
The crash log implies that some class is missing, though it's one from the mod itself.. Did you try again with the latest build, or did you re-use your fp2-0.0.1.401-1.12.2.jar?

commented

I tried both versions but neither worked on the server. In addition to this, last version of it causes a crush