Help > Help Board
Hamachi Server, MC 1.2.5 build with RedPower2 mod: works, but very laggy!
(1/1)
MissMieke:
Brace yourself, I'm talkative.
So, to begin with:
I have been trying to get the mod RedPower2 running on a server for about 4 days now. I never did this before, all I could do was make a Bukkit server with plugins and that was that. But I really wanted the RedPower2 mod, so I had to change. Not that I didn't wanted to, but I'm not that handy with things like this... Also, I'm a woman. I don't usually do this, so I might look like an absolute noob.
The details:
I'm hosting the server on my Dell Vostro 1720 laptop, server is running on a freshly installed Windows 7 Professional 64-bit. It has 4GB ram.
Connecting to the server happens via Hamachi. I do this on purpose because this laptop will always be hosting the server, and the only players this server will ever have is me and my friend. He also has Hamachi, connecting to the server went fine in the past (I had made a regular Bukkit server earlier).
The type of server is a Bukkit server that I named CraftBukkitMC and that I downloaded here at MC Port Central (Build Number:162; Forge version: 3.3.8; Bukkit version: 1.2.5-R4.1). It can use 1GB ram from my laptop.
I then downloaded a ported RedPower2 mod also from MC Port Central (RedPower: all), and unzipped its contents into the mods folder of CraftBukkitMC. Upon starting my MineCraft client on my other computer (a MacBook Pro from early 2012) and connecting to the server I got the message that I needed to have Forge installed. A bit confused, since I thought Forge was included in the build that I downloaded for the server, I found out that my client side should also have Forge. So, I went to install Forge version 3.3.8 and managed to do so successfully. I see the Forge version and such when I'm at the starting menu of MineCraft.
Then, attempting to get to my multiplayer server once again, I was told to have a list of mods installed. So then I went to download the unported version from the RedPower2 mod, and installed those on the client side (on the MacBook). This is the only mod I have installed (on both client as server side, with the ported ones on the server side).
Finally, after having placed everything in order, I managed to get on my server. Forge worked and the RedPower2 mod was fully loaded, but now I seem to experience serious lag.
Well, not that serious perhaps, but it's just so annoyingly laggy. When I want to craft something, the craft table opens up about 5 seconds after I right-clicked it. When I place items on the crafting table, they disappear and reappear a few times. When I watch animals such as chickens, they do not really run but they seem to walk backwards, or just jump from one location to another really fast.
And when I enter a command in the server console on the Dell Vostro laptop (for example making myself an op), then I get to see the message after 3 or 4 seconds on the client side.
If it is of any importance, all the server files are hosted on a Dropbox folder. I do this so that I can easily modify the server files directly from my MacBook.
This lag didn't happen before with the regular Bukkit server. That one had about 4 plugins installed, but none of those are in the current server.
Any help on how to solve this would be greatly appreciated! I finally got this working but now this lag really bothers me. So, let me know if you could help! ;)
Thanks,
MissMieke
smbarbour:
Please tell me that on you are not connecting to the server via Hamachi when it is on the same network as you (you don't need to. You just point the client to the local IP address instead of the Hamachi IP.). Using the Hamachi address when you can access it locally would be equivalent of driving 10 miles through town to go next door.
If you are not running anything else on the laptop hosting the server, you may want to up the RAM given to the server. 1GB may have been fine for a vanilla server, but RedPower is a rather hefty mod and will want more resources.
I hope this has helped some.
Gencode:
Just some thoughts as I read: You don't need to unzip the RP2-all zip, just drop it in the mods folder.
@smbarbour, hamachi works fine, inside the local network clients will attempt to directly connect to each other (so in the end its just a local connection), but I do agree that you should just use the local IP to connect inside your own network (less overheads).
To see whether its a hamachi issue, just ping the server from the client in the hamachi gui, if its <10ms (should be almost <1ms) then its a direct connection, anything more would be as smbarbour said.
Another thing to note is if dropbox is constantly uploading file changes, that will affect connections alittle.
MissMieke:
Well I use Hamachi because my friend plays from his home, since we aren't always on the same network.
Regarding the unzipping, I believe that when I did leave the zip files just like that (still zipped), it gave me MineCraft crash logs, I couldn't start up the client. So I just unzipped them, and it worked. Could also be that I just placed them there in the wrong order, since I first tried installing only the core mod and another one from RedPower. It only worked after I had put all RedPower mods in there.
This is my original RUN.bat file (the craftbukkit.jar is the one I downloaded here but I just renamed it to make it shorter):
--- Code: ---@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
--- End code ---
I changed it to this:
--- Code: ---@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx2048M -Xms2048M -jar craftbukkit.jar
PAUSE
--- End code ---
I believed that this would mean that I assigned 2GB ram to the server, but then I couldn't run the server anymore. I think it said something that I assigned too much ram to the server... Did I do something wrong here? Or should I try to upgrade it to about 1.5GB ram, if possible?
Dropbox is indeed uploading files constantly, but I noticed that it's mostly server log files and world files. I might try to just move the whole server folder to the hard drive of the Dell Vostro laptop I'm hosting on and then share that folder, so that I can still access it on my MacBook... Will do that this evening.
I'll post another message this evening, to let you know if changing from Dropbox to a shared folder worked. ;) But do let me know if I did something wrong with assigning the ram, I'd like to give it a little extra.
Gencode:
Hamachi: we just want to see if it is the cause of the lag or not, thus the ping from your pc to the server through the hamachi tunnel.
Zips: I could be wrong, but it almost sounds as if you put the RP2 download from MCPC in the client mods folder, not the server's. And yes you'd need to download all the separate parts of RP2 from Eloraam's page for the client.
RAM: to have more then 1GB you'd need to use the 64bit version of java, which you'd most likely have to get from
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.html
then change the .bat file to %ProgramFiles%\... (atleast I've never been able to get java 32bit to run with more then 1gb properly).
BTW if I'm getting any of this wrong and others know better, do let me know. I may work in IT, but I don't know everything.
Navigation
[0] Message Index
Go to full version