Inactive [ADMIN] Crafty v0.7.6 - Server GUI [1240]

Discussion in 'Bukkit Tools' started by Timberjaw, Feb 3, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    noahwhygodwhy

    yes, and the crafty.jar is supposed to be in the same folder right?
     
  2. Offline

    Timberjaw

    Yes.

    Make sure craftbukkit has been renamed to 'craftbukkit.jar', NOT 'craftbukkit-0.0.1-SNAPSHOT.jar'

    Also, by default Windows hides common file extensions, so double check the names/extensions carefully. If your crafty jar shows up as just 'crafty' but craftbukkit shows up as 'craftbukkit.jar', that likely means your craftbukkit has actually been renamed to 'craftbukkit.jar.jar'
     
  3. Offline

    noahwhygodwhy

    ah, didn't rename craftbukkit.jar

    EDIT

    it is working, except for this on startup, before anything else goes, this pops up:
    Code:
     Jul 7, 2011 3:06:09 PM net.minecraft.server.ThreadCommandReader run
    SEVERE: null
    java.io.IOException: The handle is invalid
        at java.io.FileInputStream.read(Native Method)
        at jline.ConsoleReader.readLine(ConsoleReader.java:637)
        at jline.ConsoleReader.readLine(ConsoleReader.java:490)
        at jline.ConsoleReader.readLine(ConsoleReader.java:448)
        at jline.ConsoleReader.readLine(ConsoleReader.java:300)
        at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:25)
    
    it seems to be working though

    2nd edit

    not letting anyone on. let me on the first time, but now it say's it's not there, it follows the server.properties file right?
     
  4. Offline

    Timberjaw

    @noahwhygodwhy That's related to a Craftbukkit bug. There's nothing I can do about it for now as far as I know, but it won't cause any problems.
     
  5. Offline

    noahwhygodwhy

    in the bottom right corner of the program the memory used, is that for the server or the program? cause if it's for the server, that's why it's not letting me connect, it's only giving 200 mb
    EDIT
    guess you could call this good news, it's not letting me on launching it regularly either.
     
  6. Offline

    Timberjaw

    @noahwhygodwhy That's the memory usage for the JVM in which both Crafty and Craftbukkit are running. That number will expand automatically as needed, assuming you're using the default crafty.bat. That is likely not the reason you're unable to connect.
     
  7. Offline

    noahwhygodwhy

    *facepalm, got a new router, and forgot to get a static ip...sorry to bother you, it's working amazing now
     
  8. Offline

    Timberjaw

  9. Offline

    christley

    how would i do for starting itemcraft with this?
    also, what if your server file is actually named something else than the regular name, do i need to change it?
     
  10. Offline

    noahwhygodwhy

    this is working perfectly, except for one thing:
    Code:
    2011-07-07 20:10:00 [INFO] There are 0 out of a maximum 20 players online.
    2011-07-07 20:10:00 [INFO] Connected players: 
    this is me doing /list
    what are the #m things for? are those supposed to be colors of some sort?
     
  11. Offline

    Timberjaw

    @noahwhygodwhy Possibly, if you're using a plugin that does something like that. I haven't seen that behavior with no plugins.
     
  12. Offline

    noahwhygodwhy

    EDIT!
    It is not the server but minecraft that is taking up 50%cpu, looking into it, sorry to waste your time/blame your plugin for something it didn't do

    __________________________________
    hmm, i'm getting something weird, when i start the server with this:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar "%BINDIR%\crafty.jar"
    PAUSE
    it did this with the one you put in the download, did the same thing, and it doesn't give the error at the begining if you use java instead of javaw.
    and the servers fine, no errors, until someone gets on, the memory reading is ok, just about 200mb for 1-2 people, but the cpu usage goes up to about 50 percent, even after the person logs off, no exaggeration, an idle server taking up 50% of a cpu?!? i don't quite get it, here is my server startup:
    Code:
     18:57:01 [INFO] Starting minecraft server version Beta 1.7.2
     18:57:01 [INFO] Loading properties
     18:57:01 [INFO] Starting Minecraft server on *:25565
     18:57:01 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
     18:57:02 [INFO] DataSourcePool [DimensionDoor] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
     18:57:03 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
     18:57:05 [INFO] Entities enhanced[0] subclassed[1]
     18:57:07 [INFO] Preparing level "world"
     18:57:07 [INFO] Preparing start region for level 0 (Seed: 1420013959)
     18:57:08 [INFO] 16 achievements
     18:57:08 [INFO] 151 recipes
     18:57:08 [INFO] Preparing spawn area: 0%
     18:57:09 [INFO] Preparing spawn area: 20%
     18:57:10 [INFO] Preparing spawn area: 52%
     18:57:11 [INFO] [Alpha Chest] loaded 20 chests
     18:57:11 [INFO] [AlphaChest] version [1.7.0] enabled
     18:57:11 [INFO] [DimensionDoor] DimensionDoor v1.3.1 is enabled!
     18:57:12 [INFO] [DimensionDoor] - Permissions found (Permissions v2.7.2)
     18:57:12 [INFO] [DimensionDoor] - Applying configuration for world
     18:57:12 [INFO] Preparing start region for level 1 (Seed: 8843255247949460855)
     18:57:13 [INFO] Preparing spawn area for adventure, 48%
     18:57:14 [INFO] [DimensionDoor] - Applying configuration for adventure
     18:57:14 [INFO] [DimensionDoor] 2 worlds configured!
     18:57:14 [INFO] [EasyFlight] version [0.5] is Enabled.
     18:57:15 [INFO] Loaded Essentials build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
     18:57:16 [INFO] Loaded EssentialsChat build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
     18:57:16 [INFO] Loaded EssentialsGeoIP build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
     18:57:16 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
     18:57:16 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
     18:57:16 [INFO] GroupManager version 1.0(alpha-5) [Zombie-Version, please switch to Permissions 3] is enabled!
     18:57:16 [INFO] Loaded EssentialsProtect build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
     18:57:16 [INFO] Loaded EssentialsSpawn build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
     18:57:16 [INFO] [Giant Trees] version 0.3 is enabled
     18:57:16 [INFO] [OpenInv] version 1.3.1 is enabled!
     18:57:16 [INFO] Piston Smelter v1.6.1: Enabled
     18:57:16 [INFO] SearchIds version 2.3 is enabled!.
     18:57:16 [INFO] SearchIds: Updating data from https://github.com/mrapple/SearchIds/raw/master/search-ids-data.xml...
     18:57:19 [INFO] SearchIds: Update complete!
     18:57:20 [INFO] Stackable: Configuration file loaded.
     18:57:20 [INFO] Stackable: Version 0.5.1 enable.
     18:57:20 [INFO] Superpickaxe v0.1 by DiddiZ enabled
     18:57:20 [INFO] UnlimitedLava 0.2 is enabled!
     18:57:20 [INFO] WirelessRedstone: WirelessRedstone version 1.0e alpha is loading...
     18:57:20 [INFO] WirelessRedstone: Detected Permissions version 2.7.2
     18:57:20 [INFO] WirelessRedstone: Registering Events...
     18:57:20 [INFO] WirelessRedstone version 1.0e alpha is enabled!
     18:57:20 [INFO] WorldEdit 4.6 enabled.
     18:57:20 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
     18:57:21 [INFO] [xWarp]: No Register found. Deactivating Register support.
     18:57:21 [INFO] [xWarp]: 45 warps loaded
     18:57:21 [WARNING] [xWarp]: 1 invalid warps found.
     18:57:21 [WARNING] [xWarp]: Skiped disabled permissions system: Permissions v2.7.2
     18:57:21 [INFO] [xWarp]: No permissions system found until here. A permissions plugin will be maybe activated later.
     18:57:21 [INFO] [xWarp]: Linked with economy system: Essentials v2.3.7
     18:57:21 [INFO] [xWarp]: xWarp 2.12.0 enabled
     18:57:21 [INFO] Fake Permissions version 2.7.2 is enabled!
     18:57:21 [INFO] [xWarp]: Linked with permissions system: Permissions v2.7.2
     18:57:21 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
     18:57:21 [INFO] Done (1.455s)! For help, type "help" or "?"
    if you need my computer specs i can post them, but i don't get what could be causing this to spike like this, only happened when i started using this.
     
  13. Offline

    Timberjaw

    @noahwhygodwhy It's happening because you changed the default parameters and removed the 'jline' part. There's a CraftBukkit bug that causes high CPU usage if jline is enabled in a wrapper (like Crafty). That's also the cause of the error you've been seeing.

    In summary: normal crafty.bat + error = normal CPU usage; modified crafty.bat + no error = high CPU usage. I highly recommend you switch back to the default crafty.bat and ignore the error for now. It won't cause any problems.
     
  14. Offline

    noahwhygodwhy

    ah, ok, thank you for the advice, changing back right now

    Ok, i did what you said, the start up is like this:
    Code:
    @echo off
    start /b javaw -Xincgc -Xmx1G -jar crafty.jar "-nojline"
    the one you put in the download, and it started, and it is using about 1/2 as much cpu, but it's still using 25%. Is there a version of java that works best with this? Or is it not compatible with the most recent version of java? I don't quite know what i'm doing wrong...but it's lagging my computer up

    edit, there's something wrong with my version of java, the regular craftbukkit.jar started with the .bat they suggested, still takes up 25% cpu, does anyone know what version of java works best? or if any versions cause problems?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  15. Offline

    Roihu

    It would be almost perfect but when its running it takes about 70% of my macs CPU even when theres nobody on the server
    It also says "Memory used: 123/123mb" but it takes almost 300 mb of memory

    EDIT: pic:
    [​IMG]
     
  16. Offline

    Timberjaw

    @Roihu Make sure you're launching Crafty with the -nojline option.
     
  17. Offline

    Roihu

    Thanks it's woking now! :)
     
  18. Itemcraft support?
     
  19. Offline

    John Kapsis

    Maybe a link to the thread?
     
  20. Offline

    John Kapsis

  21. Offline

    Timberjaw

    Updated! v0.7.5 is a minor but important update. I've finally sorted out the crazy jline error on startup. Also rebuilt against CB 1000 to eliminate another new error.
     
  22. Offline

    Southpaw018

    Thank you for the updates! :)
     
  23. Offline

    SuperTrex97

    ERROR.png ??? Please help ???
     
  24. Offline

    Timberjaw

    @SuperTrex97 Looks like your Java install is not set up correctly. You need to add your Java bin folder to your Windows PATH. You'll have to double check where your actual Java folder is. The example uses 'C:\Program Files\Java\jdk1.6.0_23\bin;' but yours may be slightly different.
     
  25. Offline

    dragolord175

    This mod would be awesome in my opinion! However, there is a problem :(
    Whenever I open crafty.bat, and error message pops up saying, "Could not find the main class: com.aranai.craft.Crafty. Program will exit." PLEASE HELP!!! [diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]

    Never mind! Its working now!!! :):)[diamond][diamond]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  26. Offline

    NightMare46

    how did you fixed it i have the same error :(
     
  27. Offline

    NightKev

    Rename craftbukkit-0.0.1-SNAPSHOT.jar to craftbukkit.jar
     
  28. Offline

    Budross

    ok i get this.. i have done everything told...i dont know what this is from (i am very new to bukkit) 2011-07-27 16:34:50 [INFO] Starting minecraft server version Beta 1.7.3
    2011-07-27 16:34:50 [INFO] Loading properties
    2011-07-27 16:34:50 [SEVERE] java.net.UnknownHostException: 5.94.147.87:25565
    2011-07-27 16:34:50 [SEVERE] at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2011-07-27 16:34:50 [SEVERE] at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
    2011-07-27 16:34:50 [SEVERE] at java.net.InetAddress.getAddressFromNameService(Unknown Source)
    2011-07-27 16:34:50 [SEVERE] at java.net.InetAddress.getAllByName0(Unknown Source)
    2011-07-27 16:34:51 [SEVERE] at java.net.InetAddress.getAllByName(Unknown Source)
    2011-07-27 16:34:51 [SEVERE] at java.net.InetAddress.getAllByName(Unknown Source)
    2011-07-27 16:34:51 [SEVERE] at java.net.InetAddress.getByName(Unknown Source)
    2011-07-27 16:34:51 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:109)
    2011-07-27 16:34:51 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-27 16:34:51 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-27 16:34:51 [SEVERE] Unexpected exception
    java.net.UnknownHostException: 5.94.147.87:25565
    at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
    at java.net.InetAddress.getAddressFromNameService(Unknown Source)
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getByName(Unknown Source)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:109)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    ok now i got that part sorta fixed... but now i have the com.aranai.crafty.crafty problem... any suggestions?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  29. Offline

    Kebab

    Quick fix to sort this out?
    The chat window displays unneeded code:

    Code:
    [Trusted] mattywaggr: mORNING SUN VANQUISH THIS HORRIBLE NIGHT! 
    While it should be:
    Code:
    [Trusted] mattywaggr: mORNING SUN VANQUISH THIS HORRIBLE NIGHT!
    I'm using iChat that adds colours to usergroups.
     
Thread Status:
Not open for further replies.

Share This Page