Jump to content

Need help with Server Tweaking


Drakkon20

Recommended Posts

Hi guys, new to posting on this forum but not new to playing Tekkit.

Server is only for me and my friends, maybe 5 people tops connected at the same time.

I have started my own server on my desktop computer and everything seems to be working fine except that I have some strange errors:

a) When trying to break bricks or swing a sword, takes multiple clicks before the tool swings.

B) When trying to break blocks with the wrong tool, block will break and then instantly reform.

c) Fighting monsters is very difficult because you have to click many times to swing a sword or draw your bow. Doesn't always register.

I can post the other details of my server if needed.

EDIT: Server batch file is:

@ECHO OFF

java -Xmx6G -Xms2G -jar Tekkit.jar nogui

pause

Off the top of my head server is running on a i7 processor, 8gigs of ram, nVidia card and on a SSD.

EDIT: Processor is core i7 2600k CPU@ 3.4GHz 3.7GHz

EDIT: Video card is an nVidia Geforce 285 with driver 314.22

Only problem I can think of is using a wireless card instead of hard wired to internet.

Link to comment
Share on other sites

Some of that sounds like permissions issues, at least a little. Are you using permissions plugins at all?

One thing that I also tweaked was to set (in the server.properties file): spawn-protection=0, because it mostly just annoys me and gets in the way (which sounds a bit like your (B) troubles, only with any tool, not just the wrong tool).

But the rest with the excessive clicking is odd; is it just your or also your friends?

Link to comment
Share on other sites

When I'm on my local network then I don't have the clicking/tool problem but when ever I am connecting from outside my network everybody has that problem. It's playable but can get annoying at times(especially trying to kill a spider).

Link to comment
Share on other sites

See the thing is that it doesn't feel like lag.

Game runs great, only problem is swinging tools/weapons and placing blocks.

It feels like the mouse clicks just aren't registering so it makes fighting enemies(especially spiders/skelly's) super hard.

I fixed the issue with blocks not breaking by setting /gamemode 0 accountName

Link to comment
Share on other sites

if it doesnt happen on the local network but happens from out side, its your upload speed, this is why hosting is so popular. lag in minecraft is not like lag in someother game. sometimes you diconnect from a servr and continue to run around fine for a minute until you click something. the world seems to be handled locally in such a way that the world doesnt really lag, your clicks do....

Link to comment
Share on other sites

Your upload speed is VERY low to host a server. Walking around doesn't lag because how how the client handles that, but all block changes are run through the server first, so that's why you notice it there. Ideally you will want 1-2mb/sec upload per player and figure probably 1mb standard just for normal server chatter I would think.

Link to comment
Share on other sites

Your upload speed is VERY low to host a server. Walking around doesn't lag because how how the client handles that, but all block changes are run through the server first, so that's why you notice it there. Ideally you will want 1-2mb/sec upload per player and figure probably 1mb standard just for normal server chatter I would think.

I've never really monitored the traffic specifically, but I find that *really* hard to believe. That would be some of the worst netcode in the history of online gaming.

Link to comment
Share on other sites

  • Discord Moderator

"normal" use will have each player being sent 20-40 kilobytes/sec of data. Chunks with a LOT of stuff updating (lighting, blocks, messy mods, energy changes, etc.) can easily use 50-60 kilobytes/sec and I've seen it hit 120 kilobytes/sec per player under unusual circumstances.

Link to comment
Share on other sites

"normal" use will have each player being sent 20-40 kilobytes/sec of data. Chunks with a LOT of stuff updating (lighting, blocks, messy mods, energy changes, etc.) can easily use 50-60 kilobytes/sec and I've seen it hit 120 kilobytes/sec per player under unusual circumstances.

Maybe something else is going on then? I know Chunkloading is the biggest part of it. But if his upload speed is that slow, then I can't image what his latency is too, which would cause a lot of the slow down.

Link to comment
Share on other sites

What more info do you guys need? I'm happy to provide anything for you guys to help me with this issue.

Would it help if you guys had access to the server? If you want to check out it, please PM me with your username so that I can white list you and give you the server address.

Obviously I'm not going to post the address publicly on this forum for security reasons.

Link to comment
Share on other sites

With my server running from my desktop, I went to www.speedtest.net and stilll got 12ms ping, 21.74Mbps download and 1.75Mbps upload. Could that be the culprit?

My sever has 1-2Mbps up. So yours is fine.

Dose the sever ever say it is overloading? You can try to increase the ram.

One thing that kills my sever is pumping lava from the nether... What are other people doing on your network? It could be your router... If there is a lot of people doing stuff on the internet and if you have a weak router they that can really slow down the response with the sever. (Like youtube, netflix or really any large downloading/uploading)

If you can, I would hardwire the computer.

A desktop wireless card like the thumb drive ones, it could be to weak...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...