Jump to content

Bradster

Members
  • Posts

    30
  • Joined

  • Last visited

Posts posted by Bradster

  1. I'm not 100% sure on this but CB++ gives the server a certain amount of RAM depending on players in the world. So if your server has a maximum of 2gb (which mine does), and there is only 2 players online it will allocate enough RAM for those 2 players only. How many players do you have online at the moment? I highly suggest you look at the newly created bukkit.yml config and edit the settings, see below.

    Pay attention to the mob spawn limits and growth settings. Also change the view distance in your server.cfg file to something less than 10, I have mine on 6. Which is about 300 odd chunks less per person loaded which can make a massive difference to a servers performance.

    settings:
    
      allow-end: false
    
      warn-on-overload: false
    
      kick-on-speedhack: true
    
      spawn-radius: 16
    
      permissions-file: permissions.yml
    
      update-folder: update
    
      ping-packet-limit: 100
    
      use-exact-login-location: false
    
      plugin-profiling: false
    
      connection-throttle: 4000
    
      query-plugins: true
    
      restart-script-location: start.bat
    
      timeout-time: 180
    
      restart-on-crash: false
    
      filter-unsafe-ips: true
    
      whitelist-message: You are not white-listed on this server!
    
      deprecated-verbose: default
    
    world-settings:
    
      default:
    
        growth-chunks-per-tick: 2000
    
        mob-spawn-range: 5
    
        monsters-per-chunk: 40
    
        land-creatures-per-chunk: 5
    
        water-creatures-per-chunk: 5
    
        item-merge-radius: 3.5
    
        random-light-updates: false
    
        aggregate-chunkticks: 4
    
        chunky-freeze-temperature: true
    
        wheat-growth-modifier: 100
    
        cactus-growth-modifier: 100
    
        melon-growth-modifier: 100
    
        pumpkin-growth-modifier: 100
    
        sugar-growth-modifier: 100
    
        tree-growth-modifier: 100
    
        mushroom-growth-modifier: 100
    
      world:
    
        growth-chunks-per-tick: 30
    
      world_nether:
    
        growth-chunks-per-tick: 0
    
        random-light-updates: true
    
        water-creatures-per-chunk: 0
    
    spawn-limits:
    
      monsters: 70
    
      animals: 15
    
      water-animals: 5
    
    ticks-per:
    
      animal-spawns: 400
    
      monster-spawns: 1
    
    auto-updater:
    
      enabled: true
    
      on-broken:
    
      - warn-console
    
      - warn-ops
    
      on-update:
    
      - warn-console
    
      - warn-ops
    
      preferred-channel: rb
    
      host: dl.bukkit.org
    
      suggest-channels: true
    
    database:
    
      username: bukkit
    
      isolation: SERIALIZABLE
    
      driver: org.sqlite.JDBC
    
      password: walrus
    
      url: jdbc:sqlite:{DIR}{NAME}.db
    
    storm-settings:
    
      strong-electrical-storm:
    
        chance: 5
    
        lightning-delay: 10
    
        lightning-random-delay: 20
    
      electrical-storm:
    
        chance: 15
    
        lightning-delay: 40
    
        lightning-random-delay: 150
    
      strong-thunderstorm:
    
        chance: 30
    
        lightning-delay: 60
    
        lightning-random-delay: 250
    
      thunderstorm:
    
        chance: 50
    
        lightning-delay: 100
    
        lightning-random-delay: 500
    
      weak-thunderstorm:
    
        chance: 75
    
        lightning-delay: 300
    
        lightning-random-delay: 1000
    
      rainstorm:
    
        chance: 100
    
        lightning-delay: 500
    
        lightning-random-delay: 2000

  2. We've had problems when people on the server have installed bad redstone systems with lots of timers, also when users build a lot of pipes using BC and when there isn't enough room in the chests they fall out on the floor. If enough entities are on the floor in a loaded chunk it can cause significant lag.

    Install CB++ and use it's entity combining option in the config and it may reduce lag. We also removed world anchors so not as many chunks were loaded when users wern't online.

  3. None of those commands seem to be valid. Strings need to be enclosed by quotes on both sides. Sleep seems to have worked fine, seeing as you terminated it manually. As for the http.get function, I couldn't get it to work at all on my computercraft as well - I get "the attempt to index ? (a nil value)" error.

    Those commands are valid, the invalid ones were used to test the functionality of ComputerCraft to see if errors were being reported matched each time and it wasn't just giving me random errors for the same syntax erros.

    Basically, you don't seem to have any idea what you're doing in lua. Not insulting you, just stating the obvious. Thus, I suggest you look up some starter tutorials for computercraft, which should be available online. Or visit the computercraft wiki, and search for the functions you wish to use. The pages on the wiki should tell you the correct syntax (for example, using double quotes " on both sides, etc.), and will give examples.

    Basically, I do know what I'm doing. I've been programming for years. Read my reply to the other guy who stated my commands were wrong.

    In repsonse to your previous paragraph however. HTTP is enabled, we was using Pastebin beforehand to auto-update our startup programs. I did think they were error codes so looked them up but couldn't find any relation between LUA and the numbers. It should say something like bios:(expected = after for loop):6. 6 being the line number of the error. Instead it just shows me an error stop code with no reference to the line or syntax error.

    Is this a private or public server?

    Someone could have uploaded a ComputerCraft virus. Seriously, they exist. They can overwrite your base ComputerCraft startup scrips etc and make your computers do/run all kinds of crazy things.

    Check out the computercraft files in your world save folder and see if any of the code looks wrong.

    Or just flat out delete the computercraft files in your world save folder, and reinstall the computercraft mod.

    Always make a backup just in case first!

    Edit: Also, do some google searches for ComputerCraft anti-virus.

    I'll have a look into this. Thanks for the support.

    I'm going to try re-installing CC and see if that helps. If it doesn't well then I'll look forward to reading other replies.

  4. Simple answer to this whole thread.

    If don't like. Find a server that has it disabled. And vice versa.

    From what I've read its 50/50 on the whole thing. I personally have EE disabled on my server but I don't think it should be removed. Its a choice. If you take choices away from people you're taking away half the tekkit community with you.

  5. Thanks for the review Patty! I like to hear feedback so I can improve your gameplay!

    1. There is a limit on the world map, this isn't to reduce lag but it is to keep people at a reasonable distance from each other. 4000x by 4000y is a lot of ground and if we do get bigger I will defiantly up the limit.

    2. This is something I am still tinkering with, I removed the standard Bukkit and installed CB++ to help with some performance issues. The server has been running fine however with near enough 20/30 people at all times so I will increase the growth rate by a but a more and see how it holds up!

    3. Same as number 2, I'll up the limit and see how it goes!

    I hardly get to play Tekkit at the moment because I've spent all my time setting up and tinkering with the server so haven't had a change to test spawn rates out. See you on the server soon dude :).

  6. Okay after some research I see that Spigot is having some problems at the moment so I'll give that one a miss. Can you point me in the direction of a CB++ port for forge mod loader? The only one I found was for 1.2.5, I'm looking for a 1.3.1 version if possible.

    EDIT: Just realised how stupid I sound. Forgot Tekkit uses MC 1.2.5. I'll give the version I found a go and let you know how it goes!

  7. Hi guys, I have been running a 24 server on my personal computer perfectly fine for about a week until they rang me up and complained I was using up all my upload data too quickly (lol). I've now resorted to buying a dedicated server. The server tick rate is 10 and players have been complaining that it's laggy when opening chests and what not. The server is 30 slot but we only have around 10-14 online at any one time. The RAM usage is also at around 40% when 14 users are online (900mb~/2048mb).

    Here is a list of our installed plugins, all using mySQL for data where possible.

    plugins.png

    Here is the log from the /lag command.

    2012-09-02 22:55:19 [iNFO] Current Players = 12/30
    
    2012-09-02 22:55:19 [iNFO] Current TPS = 9.09429
    
    2012-09-02 22:55:19 [iNFO] Maximum memory: 2,023 MB
    
    2012-09-02 22:55:19 [iNFO] Allocated memory: 1,071 MB
    
    2012-09-02 22:55:19 [iNFO] Free memory: 428 MB
    
    2012-09-02 22:55:19 [iNFO] World "01-A-Brave-New-World": 3405chunks,1953entities
    
    2012-09-02 22:55:19 [iNFO] The End "01-A-Brave-New-World_the_end": 625chunks,19entities
    
    2012-09-02 22:55:19 [iNFO] Nether "01-A-Brave-New-World_nether": 12chunks,4entities

    If anyone could help me I would be greatly appreciative. I have a few more plugin questions but I'll post them on another thread.

    ps. Our server host is Fructis if you need to look them up.

×
×
  • Create New...