Inactive [MECH/DEV] ItemCraft 1.6.6 - Support for client mods in Bukkit [1060/1000]

Discussion in 'Inactive/Unsupported Plugins' started by asdaarg, May 3, 2011.

  1. Offline

    asdaarg

    ItemCraft
    Version:1.6.6
    [​IMG]

    Description:

    ItemCraft is a Bukkit mod that allows adding new item and block types, crafting and furnace recipes, and custom tree generators and more. Using a Modloader and SettingsGUI interface it allows subplugins known as ICPlugins to be loaded to support client mods. ICPlugins can be created by translating a client mod using the ICTranslator ICplugin. Using a ModloaderMP interface (ported by krnlyng/liar) it allows porting multiplayer mods to bukkit.

    Features:
    • Add more Block types
    • Add more Item types
    • Add more Entity types
    • Add more TileEntity types
    • Add more Crafting recipes
    • Add more Smelting recipes
    • Add more Tree generators
    • Ported ModLoader interface
    • Ported ModLoaderMP interface
    • Fake GUIAPI Settings interface
    • Startup file for configuring plugins and making simple blocks and items

    Installation & Usage:
    • Back up your world(s). Just in case.
    • ItemCraft.jar goes in same folder as craftbukkit
    • IC plugins go into ItemCraft/ICPlugins folder under craftbukkit. (folder is autocreated the first time)
    • uncomment (remove #) in front of all plugins you want to use in plugins.ics (autocreated in ItemCraft/ICScript)
    • Make sure you have the recommended version of craftbukkit in the title - since this is a mod of that version in particular.
    • Delete/rename the META-INF folder inside craftbukkit-0.0.1-SNAPSHOT.jar (Use some decent zip program (e.g. 7zip) that can do it.)
    • All players on the server needs to have the client mods installed
    • If you use the 16 bit entity id packet mod (in case you use new entites (only ICMCreatures need it)), All players need (flan's unofficial) ModLoaderMP client mod
    • All players also need the 16 bit entity id packet mod (overwrites a ModLoaderMP's class so make sure ModLoaderMP is installed first) in case you use new entites (only ICMCreatures need it) If decide not to use the packet mod, you can turn it off putting this in your startup file: false setEntityIDPacketMod
    • Sometimes you get block/item ID conflicts, between plugins. You then need to set the conflicting ids in the startup script using setID command: example. They have to be set before the plugin that uses them is loaded. Note also that there is typically a props file on the clientside you have to edit the ids on to be the same as well.
    • To start:
      • Windows:
        Code:
        java -Xmx1024M -Xms1024M -cp ItemCraft.jar;craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main
      • Others:
        Code:
        java -Xmx1024M -Xms1024M -cp ItemCraft.jar:craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main
      IF You do not understand how to install this follow THIS link! Also Try:

      ItemCraft Forum
      ItemCraft Wiki


      Downloads:

      Installation instructions changed since 1.5

      For Minecraft 1.7.3

      Inofficial ItemCraft update by Syrome1.6.6 (#1060)
      ItemCraft 1.6.5 (#1000)
      QwertyPower files (ICSGlass, ICFancyPack addons and more...)
      o4kapuk 16 bit packet mod Does not work without (flan's unofficial) ModLoaderMP client mod.
      ICKSlopes - support for Kaevator SuperSlopes
      ICNTrees - support for Nandonalt's Trees mod. Details regarding use Ignore ScotTools or you will have problems breaking various blocks
      ICFancyPack - support for ChocolateySyrup's FancyPack unofficial update for 1.7.3 mod Details regarding use of potted plants IDs and settings
      User ported mods list maintained by icephantom

      For Minecraft 1.6.6

      ItemCraft 1.4.5
      ItemCraft 1.5.1 (for use with planes)

      ItemCraft 1.3.5 (for CB #818)
      ICSGlass - support for ChocolateySyrup's Stained Glass unofficial update for 1.6.6 mod
      ICFancyPack - support for ChocolateySyrup's FancyPack unofficial update for 1.6.6 mod Details regarding use of potted plants Also be sure to read: Release notes Does not work well and not at all with the newest FancyPack update(v6) Wait until client is stable.
      ICKSlopes - support for Kaevator SuperSlopes
      Usage notes
      ICNTrees - support for Nandonalt's Trees mod. Details regarding use
      ICMCreatures - Support for DrZhark's Mo's Creatures
      16 bit entity id packet mod
      User ported mods list maintained by Asymetrikon


      Dev tools:
      ICJanino
      ICJode
      ICTranslator - How to use

      Other
      Source and old versions


      ICScript documentation

      Frequently Asked Questions

      Tutorial on how to make your own blocks also list of block and item IDs in most popular mods.


      Suggestions of mods to port
      Vote here not in this thread anymore (it gets lost in all the other stuff)

      Reporting errors:
      • Read known issues - don't report those.
      • State the version of CB, ItemCraft and ICPlugin(s) you have problems with
      • If your client crashes, start the client from command line so that you get the error report.
      • Make sure the mod(s) works in SSP First before you report any errors here.
      • You are more likely to get a response if you describe the problem in more detail and do some testing yourself first of under what circumstances it occurs
      • Do not ask for uploads of minecraft.jar.
      • Do not pm me.
      • If you have problems installing, you are likely doing something wrong. Make sure you've followed the instructions exactly, read the FAQ and Wiki. If that doesn't work you can always ask in the thread, while I will likely not reply, there are others who can help you with your problem. But at least try to get it working yourself first.

      That said, I want to thank all who have helped users with their problems. In particular special thanks to icephantom and Asymetrikon for their big efforts in this. Also a special thanks to xeronut for being generally helpful.

      Changelog: (open)

      ItemCraft:
      v1.6.6
      • Inofficial update by Syrome to support CB #1060 and ModloaderMp v1.7.3v4.
      v1.6.5
      • Added changes by krnlyng/liar to support buildcraft
      v1.6.4
      • Inofficial updated by Qwertypower to support CB #1000
      v1.6.3
      • Fixed Generators not working since ModLoaderMP merged.
      v1.6.2
      • Added option to turn off packet230 being sent to clients: false setPacket230OnLogin
      v1.6.0,1.6.1
      • @QwertyPower's unofficial update to 1.7.2 and 1.7.3.
      v1.5.1
      • Fixed issues with ICPlugins not being able to use ModLoader methods obtained through relection.
      v1.5
      • Merge with @krnlyng/liar's translated vesion of SDK's ModLoaderMP
      v1.4.5
      • Added dummy method RegisterTileEntity to fake modloader.
      v1.4.4
      • Added dummy methods AddArmor and getUniqueSpriteIndex to fake modloader.
      v1.4.3
      • ItemCraft commands are now loaded automatically and can be used in init.ic
      v1.4.2
      • Fixed nonesense message when parsing a string and EOF is found after escape character.
      • Platform independent line breaks of autocreated files
      • added some stuff in the autocreated file
      v1.4.1
      • Fixed unupdated materials.java mod causing problems for other plugins accessing the enum's constants for new block ids 1.6.
      v1.4
      • Removed spam on use command
      • Fixed java method invocation
      • Added javamethod invocation of declared methods
      • Fixed pop removing 2 elements off stack
      • putsetting command, allowing editing settings using new script
      • putvar and getvar commands allowing use of variables in scripts
      • added if command, conditional execution of closures
      • ishidden, isCustomType and getCustomType commands
      • exec command, allowing execution of closures. Acts as function calls.
      • while command, for while-loops, execution of closures.
      • Annotation of non-standard methods allowing correction of semantics during parsing with methods that manually alter type info. (needed for for loops, and various stack commands (such as popall, push, pull,dup, casting, getvar, all that do not have a static type signature) to have any usefulness beyond execution using GUI.
      • added casts
      v1.3.8
      • Fixed setEntityIDPacketMod demanding a this pointer.
      v1.3.7
      • Fixed boolean constants missing.
      v1.3.6
      • Updated to CB #860
      • GUI is now off by default
      v1.3.5
      • Fixed illegal access of Item constructor and other methods
      v1.3.4
      • 16 bit Entity Id Packet mod can now be turned off
      • Added file loading functions that use filename rather than file class for Fileman, for use with Janino
      v1.3.3
      v1.3.2
      • Fixed intellisense being screwy, showing previous context
      • Fixed castability test of primitive types to primitive types being screwy
      • Fixed selected method in context view not being visible (scrolled down/up to).
      v1.3.1
      • Fixed array bounds error
      v1.3
      • added intellisense (context box showing sorted list of all applicable methods in context at cursor position, as well as selecting the one closest matching)
      • added tooltips showing documentation both in command box and in the context (list) box
      • added getmaterial method to get Minecraft's materials
      • added documentation to most methods.
      • removed some obsolete methods
      • renamed some methods
      v1.2.2
      • remove NAME: spam on classloaderlclass, 1,2,3 4.. spam and vs: spam
      • fixed classloaderlclass leaving junk on stack
      • fixed getconstructor (?)
      • fixed right square bracket without left square bracket not resulting in parse error
      • fixed parse to fail due to right bracket not yielding an array type
      v1.2.1
      • removed autocreate double spam
      • ics extension changed to ic (conflicting with korganizer and iCalendar)
      • moved plugins into plugins.ic (since it now doesn't execute "use" until it parsed the whole file, it doesn't
      • recognize ItemCraft functions in init.ic)
      • added setID
      • added back support for old file format using includeold
      • fixed execution of abstract script calling providing arguments in wrong order
      v1.2
      • ICScript is now completely converted into postfix
      • Completely rewritten script parsing and execution code
      • Math functions should work now
      • Scripts Are not executed until fully parsed
      • ICS now support direct invokation of java functions when no ICS function matches a call
      • ICS now support arrays
      • ICS now support closures (for later support for menus, functions, loops, conditionals)
      • Parser produces Abstract code that runs much faster, than when having to parse each time to execute code.
      • Pre 1.0-style startupfile scripts are no longer supported (for now)
      • Warning of Block loss with prompt to quit CB on any error during parsing
      • Warning of Block loss with prompt to quit CB if startup script file was not found and was autocreated. This way you can have it autocreate it safely without having to worry about loss of blocks during upgrade.
      • Detailed error reports during both parsing with line number and column and during execution.
      v1.1
      • added simple math functions
      • added basic string and character functions
      • fixed methods popping more than one element
      v1.0.3
      • fixed dup not duplicating
      • added primitive classes
      • added parsing of primitives as primary commands
      • added parsing of strings as primary commands
      v1.0.2
      • fixed identifier after a string being misparsed
      v1.0.1
      • fixed popup menus not working in windows
      • added methods to get icplugins and their classloaders
      • added methods to get constructors and invoke them
      v1.0
      • Implemented new functional script language ICScript
      • Implemented GUI
      • inclusion of files (so you can split up startupfile in smaller files)
      • loading plugins on the fly
      • executing any script commands on the fly using GUI
      • exploring variables and functions of objects in GUI
      • invoke any functions, private or public, on any class loaded in IC/ICPlugins/minecraft/CB/any bukkit plugins
      • Built in text editor (was going to be for editing java code)
      • Removal of blocks, entities and items, even on the fly
      • Adding new blocks, entities and items on the fly
      • Specify what entities spawn in what biomes and how frequently.
      • Customizable programmable menus per node type in GUI
      • IC now retrieves version number both for plugins and itself automatically and reports it when plugins are loaded
      v0.8.5
      • fixed mimic having target object mimic itself.
      v0.8.4
      • fixed invokation on wrong object when interacting with mimiced block
      v0.8.3
      • fixed setint setting a string and not an int
      v0.8.2
      • fixed case sensitivity of block parameters
      • fixed some other bugs related to block parameters
      • no more commas assigning multiple values in block parameters (because I'm lazy)
      v0.8.1
      • Mobs that are unspawnable don't crash the server anymore
      v0.8
      • Added new startupfile commands: blocks and entites
      • Added new startupfile commands: setbool, setint, setfloat, setdouble, that allows changing the settings of mods that use GUIAPI (nandonalt trees and mo's creatures)
      v0.7.5
      • fixed various bugs with craft command in startup script
      v0.7.4
      • removed debug spam on id command
      • fixed comments causing "unknown commands" in startup file
      • cleaned up unnecessary stuff from error report
      • fixed skip skipping over the next line too
      v0.7.3
      • Implemented modloader removespawn (could that have anything to do with the watermob problem?)
      • fixed unknown command spam on empty lines
      • fixed some bugs with craft command in startup file manager.
      v0.7.2
      • Fixed kicked when horse throws you off because of accessing protected field
      v0.7.1
      • Fixed problems adding recipes, tile entites, entites using API.
      • added items command for debug purposes
      • added a copy of spawncreatures to the mod, no idea if that will solve the issue with sharks crashing server.
      v0.7
      • Mimic feature of block allows block to mimic other blocks, fully or in some respect (useful to customize blocks beyond the fixed values from startup file)
      • back to start from craftbukkit folder; its no longer a plugin
      • IC plugins go into ICPlugin folder now in craftbukkit folder. These are to avoid problems caused by plugins being reloaded by CB
      • usedefaults on by default
      • fix item 0 is not valid item spam
      • implemented Modloader getUniqueEntityId,RegisterEntityID,setPrivateValue
      • implemented various SettingsGUI widgets facades, and SettingFloat, SettingsMulti
      • script pauses when error occurs to avoid startup with wrong settings
      v0.6.1
      • Items are also registered as dummy, to avoid error spam by other plugins
      v0.6
      • Modloader world generator interface for normal type worlds implemented
      • Barebones fake GUIAPI interface that loads default settings (might add ability to modify options through startup later)
      • Added fix for blocks not having dummy material in ICFancyPack that inherit the Block class directly
      • Dummy id changed to 255
      v0.5
      • Added support for Entities in API
      • Added support for adding mobs to biome spawnlist in API
      • Added support for adding tilentities in API
      • Added fake modloader for to interface with translated mod plugins
      v0.4.4
      • Added more detailed output when plugin loading fails.
      v0.4.3
      • Backward incompatible update to 766
      v0.4.2
      • Added ability to set data on input items in crafting recipe
      • Added ability to comment in startup file with #
      • Added more error handling.
      v0.4.1
      • Fixed unable to craft out of nonblocks
      • Added more error handling
      • Partial support for GUIs
      v0.4.0
      • Mod for custom tree generation
      • Custom Tree generation API
      • Custom Tree generation startup file instructions:tree,treebiome and biometreedensity
      v0.3.5
      • Added mod of org.bukkit.Material to accomodate new block types, should reduce at least some errors other plugins have.
      v0.3.3
      • Fixed Item id being offset by 256
      • Fixed startup script created Blocks not being added to item list
      • Added more error handling
      v0.3.2
      • Fixed ItemCraft not starting because of spaces in the path on windows machines
      v0.3.1
      • Fixed regexp error on windows when starting as plugin
      • More error handling added
      • Fixed freeze when adding new block properties using startup script
      v0.3
      • Now doubles as plugin, so you can start it as a plugin rather than a mod
      • Startup file autocreation
      • loud startup file instruction- prints out more info at startup
      • a whole lot more error handling
      • fixed bug not being able to load any other plugin that KSlopes.jar (what am I thinking)
      v0.2
      • Most if not all simple constant Block properties now definable from the startup file.
      • Better error handling
      • More complete Block API
      • Syntax correction
      v0.1
      • Initial Release
      KSlopes:
      v0.1.3
      • Made compatible with IC 1.0
      v0.1.2
      • Syntax correction
      • More information on startup
      v0.1.1
      • Fixed slopes and corners dropped having wrong data.
      v0.1
      • Initial Release
      ICFancyPack:
      v0.3.2
      • Introduced options to change settings and IDs
      v0.3.1
      • Disabled new bookshelves
      v0.3
      • Updated for 1.7.3
      v0.2.5
      • Fixed another NPE on startup
      v0.2.4
      • Fixed NPE on startup
      v0.2.3
      • Updated to unofficial version of 1.6.6
      v0.2.2
      • changed class path for flower, cactus and reed
      v0.2.1
      • Fixed not able to place in potted plants
      • Fixed blockcycler interaction
      v0.2
      • Added potted plants
      v0.1
      • Initial Release
      ICNTrees
      v0.1.4
      • Updated to 1.7.3
      v0.1.3
      • Fixed static construction of objects problem
      • Fixed no tree generation
      v0.1.2
      • updated to 1.6.6
      v0.1.1
      • fixed clicking on bananacake blocks, fruit leaves
      • fixed using fertilizing
      • fixed activating banana cake
      v0.1
      • Initial Release
      ICMCreatures
      v0.1.2
      • Updated to 1.6.6
      v0.1.1
      • Made everything public and even added a public ()V constructor in water mob class (no idea if that will solve it though)
      • Says its loaded on startup when its loaded
      v0.1
      • Initial Release
      16 Bit Entity ID Packet Mod
      v0.2
      • Supports both 16 bit and 8 bit servers
      v0.1
      • Initial Release
      ICSGlass
      v0.1.1
      • Fixed conflict with glass bug
      v0.1
      • Initial Release
      ICTranslator
      v0.1.4
      • Fixed no output on windows machines.
      v0.1.3
      • More informative about files to translate not being found.
      v0.1.2
      • Made it tolerate there being no file separator at the end of retroSource.
      • Removed some spam.
      v0.1.1
      • Added checks that make sure you have all the necessary maps specified, when you translate.
      v0.1
      • Initial Release
      KSlopes:
      v0.1.1
      • Update to 1.7.3
      v0.1
      • Initial Release

      Donate (Not necessary but appreciated)
     
  2. Offline

    asdaarg

    Yes, as long as its before the plugin is started. its actually safer to put anything there than in init.ic, since ItemCraft commands will not work there.
     
  3. Code:
    9 [INFO] BaseMod.java
    9 [INFO] bz.java
    9 [INFO] ct.java
    9 [INFO] EntityRendererProxy.java
    9 [INFO] fi.java
    9 [INFO] hj.java
    9 [INFO] ItemGlass.java
    9 [INFO] kr.java
    9 [INFO] MLProp.java
    9 [INFO] ModLoader.java
    9 [INFO] ModTextureAnimation.java
    9 [INFO] ModTextureStatic.java
    9 [INFO] mod_StainedGlass.java
    9 [INFO] og.java
    9 [INFO] sf.java
    9 [INFO] tc.java
    9 [INFO] vi.java
    9 [INFO] xh.java
    9 [INFO] ym.java
    9 [INFO] class,mcp,searge,,,,,bukkit,,,,[searge,bukkit]
    9 [INFO] class,name,searge,,,bukkit,,[searge,bukkit]
    9 [INFO] class,mcp,searge,,,,,bukkit,,,,[searge,class]
    9 [INFO] class,name,searge,,,bukkit,,[searge,class]
    OOoooo
    Got this - looking really good - wot do I do with the resulting files please ? Hopefully we're nearing the final steps
    [Edit]
    Some of those previous errors were I think caused by a sticking key on my keyboard - anyway, I wouldn't worry about them - things are looking up !!
     
  4. Offline

    woodzy


    • New item : coins (bronze, silver and gold) <--- Icomony plugins have this
    • Money changer (for converting iron ingots, etc. to coins) ;<--not shure
    • Add a bubble above a player when he talks ;<--cant be done
    • Change the color of the username (not in the chat) according to the group of the player.<-- can be done look at IChat
     
  5. Offline

    asdaarg

    @icephantom
    It looks good, but you should also have a list of stuff like this that follows:
    Code:
    2011-06-19 01:51:49 [INFO] field_378_bb -> textureId(Block)
    2011-06-19 01:51:49 [INFO] field_6528_myiterations X
    2011-06-19 01:51:49 [INFO] field_6527_mytype X
    2011-06-19 01:51:49 [INFO] _________________BlockRoad.java_________________
    2011-06-19 01:51:49 [INFO] field_1334_d -> STONE(Material)
    2011-06-19 01:51:49 [INFO] func_254_a -> b(Block)
    2011-06-19 01:51:49 [INFO] field_608_an -> motX(Entity)
    2011-06-19 01:51:49 [INFO] field_607_ao -> motY(Entity)
    2011-06-19 01:51:49 [INFO] field_608_an -> motX(Entity)
    
    Its basically a listing of all translations made, and in what files. Once you have this, you can move on to the last phase of porting the mod, which is to turn it into an ICplugin. This part will however require at least some java knowledge, until there is detailed enough tutorials out here for the regular java noob to do it.
     
  6. No, thats all I got - All that was in the test1 folder was Stainedglass mod unzipped files and modloader unzipped files - should there have been anything else ?
    [Edit]
    The test1 folder was the source files.

    Here is a copy of my test2 folder - HERE

    I typed in the server GUI :
    "c:\\test2\\" file "c:\\test2\\mod\\" file translate1

    and previous post was what I got - however, there was nothing in the mod folder when I looked.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2016
  7. Offline

    Olat

    @asdaarg
    When I load up Itemcraft, I get this error
    Code:
    
    java.lang.NoSuchMethodError: net.minecraft.server.BlockPressurePlate.<init>(IILnet/minecraft/server/EnumMobType;)V
            at net.minecraft.server.Block.<clinit>(Block.java:95)
            at net.minecraft.server.StatisticList.a(SourceFile:124)
            at net.minecraft.server.StatisticList.<clinit>(SourceFile:59)
            at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:406)
            at org.bukkit.craftbukkit.Main.main(Main.java:99)
    
    Im using command
    Code:
    java -Xmx7162M -Xms7162M -cp BiomeTerrain.jar:ItemCraft.jar:craftbukkit_clean.jar og.bukkit.craftbukkit.Main
    
    to run Biome and Itemcraft...
    When I take out Itemcraft my server starts fine.
     
  8. Offline

    asdaarg

    In that case there seems to be only one explanation left. Your retroSource folder is not set correctly. Try:
    Code:
    "retroSource" "c:\\test1\\java\\" putsetting
    
    It needs that last \\. I guess I could make it more lenient.
     
  9. I'm not sure how Biome and Itemcraft live together ? However, try downloading a test server from HERE
    and see if you can get it working without Biome. If you can, then try adding Biome after and see if thats the issue.
     
  10. Offline

    Olat

    in the last 1.5_01 version, it worked just fine. I dunno whats been changed or whats the difference, but ill try out this test server.

    @icephantom
    @asdaarg
    Edit:

    Cant run the Test Server.. using Ubuntu Linux. I need a script or console command to modify.

    Edit#2:

    I took out Biome and tried to start with nothing but Itemcraft and CB and I get the same error.

    Code:
    java.lang.NoSuchMethodError: net.minecraft.server.BlockPressurePlate.<init>(IILnet/minecraft/server/EnumMobType;)V
            at net.minecraft.server.Block.<clinit>(Block.java:95)
            at net.minecraft.server.StatisticList.a(SourceFile:124)
            at net.minecraft.server.StatisticList.<clinit>(SourceFile:59)
            at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:406)
            at org.bukkit.craftbukkit.Main.main(Main.java:99)
    
    
     
  11. Yes, that was it - the result was too long to post here - but I've now got some files in my mod folder - am I close ? wots next ?
    [Edit]
    I got 6 files

    The test server MAY help you - it doesn't need Itemcraft listing seperately, so you should get away with something like this if you use it :
    java -Xmx7162M -Xms7162M -cp BiomeTerrain.jar:craftbukkit860.jar og.bukkit.craftbukkit.Main
    [Edit]
    By the way - huge memory allocation there - have you tried lowering it a bit to see if that helps ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2016
  12. Offline

    asdaarg

    Yes, then you have some native files that are modded, typically all two letter class files (obfuscated names). If you want to translate those too, there's two ways to do it.
    a) make dummy class files with the corresponding mcp class names
    b) use the translate command to translate individual files.
    In case a) you use use the same command.
    In case b) you do:
    Code:
    "java.lang.String" class [ "BlockReed.java" "EntityLiving.java" ] "c:\\test1\\translatedmod\\" translate
    
    BlockReed and EntityLiving are just examples.
    Edit:
    To figure out what the deobfuscated names are, search for the obfuscated name in reg.reg. Then you should get the mcp name.
     
  13. Offline

    woodzy

    @asdaarg
    is possable for you to add [1.6.6]Hedges & Shears v1.1? that would be cool
     
  14. OK, although the original translate.bat file should work for you, I've posted another bat file HERE.
    Please give this one a try - it is based on the path you gave me to your jar.exe file.
     
  15. Offline

    Olat

    Trying to run a local windows version of this Test Server. Im errors still on start up. Using just the minecraft6.bat I get Invalid or Corrupt jarfile Craftbukkit860.jar my Command prompt then closes... using the Modified Bat i made to run with Biome I get errors.

    Edit: I got the Test Server to run in Windows, but I cant figure out how to tie in Biome.. Im using onlt 1024 as memory Allocation.

    Ya, using just CB and Itemcraft and only 1024 on my linux Server I cant get it to start.

    Im still getting

    Code:
    java.lang.NoSuchMethodError: net.minecraft.server.BlockPressurePlate.<init>(IILnet/minecraft/server/EnumMobType;)V
            at net.minecraft.server.Block.<clinit>(Block.java:95)
            at net.minecraft.server.StatisticList.a(SourceFile:124)
            at net.minecraft.server.StatisticList.<clinit>(SourceFile:59)
            at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:406)
            at org.bukkit.craftbukkit.Main.main(Main.java:99)
    
    This is my linux console command
    Code:
     java -Xincgc -Xmx2500M -Xms2500M -cp ItemCraft.jar:craftbukkit.jar org.bukkit.craftbukkit.Main
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2016
  16. Offline

    Asymetrikon

    Wow this Thread is moving so fast. Was just gone 3 hours and 3 new Pages. :)
    I added the Modporttutorial to the Wiki, so it doesnt get lost.
     
  17. Offline

    Olat

    @icephantom

    when i downgraded to 1.3.5 for 818. I got IC to start but then it threw some exceptions. So there is something up with 860 and 1.4 or something. here is the exception i get when i downgrade to 1.3.5
    Code:
    02:03:51 [INFO] class com.asdaarg.bukkit.itemcraft.ItemCraft
    02:03:51 [INFO] Error executing script file: plugin: threw com.asdaarg.bukkit.itemcraft.ScriptMan$CustomError: IOException:[com.asdaarg.bukkit.itemcraft.ICUtil.pluginYML(ICUtil.java:35)
    
     
  18. There is an alternative test server available where you got the other one from - that is still runs with bukkit #860, but it uses Itemcraft 1.3.8 - worth a try perhaps ?
    I'm not sure that Biome is going to run with Itemcraft on 1.6.6 - there may have been too many changes made which is stopping this working - I shall give it a try myself when I have some time tomorrow - in the meantime, if you haven't tried the alternative - there's nothing lost in trying it out ?
     
  19. Offline

    Olat

    @icephantom
    Im not even using BiomeTerrain Mod. I cant get Itemcraft 1.4 and CB 860 to start on my server at all.
     
  20. You say you have windows & linux - one of your edits say you got it to work on windows ?
    If you want to add in the biome try :
    java -Xmx1024M -Xms1024M -cp BiomeTerrain.jar;craftbukkit860.jar og.bukkit.craftbukkit.Main

    The semi-colon between Biome and Craftbukkit may make the difference
     
  21. Offline

    Olat

    @icephantom
    I tried with a semicolon cause i know the diff from windows to linux, not being smug just stating. Umm.. on my linux server I got 1.4.1 IC to start up but it immediately causes errors....
    Code:
    02:18:58 [INFO] Error executing script file: plugin: threw com.asdaarg.bukkit.itemcraft.ScriptMan$CustomError: IOException:[com.asdaarg.bukkit.itemcraft.ICUtil.pluginYML(ICUtil.java:35)
     com.asdaarg.bukkit.itemcraft.ItemCraft$Plugin.<init>(ItemCraft.java:42)
     com.asdaarg.bukkit.itemcraft.ICS.plugin(ICS.java:433)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     java.lang.reflect.Method.invoke(Method.java:616)
     com.asdaarg.bukkit.itemcraft.ScriptMan$cmdMetSV.exec(ScriptMan.java:172)
     com.asdaarg.bukkit.itemcraft.ScriptMan$cmdList.exec(ScriptMan.java:99)
     com.asdaarg.bukkit.itemcraft.ScriptMan.load2(ScriptMan.java:1167)
     com.asdaarg.bukkit.itemcraft.ICS.include(ICS.java:374)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     java.lang.reflect.Method.invoke(Method.java:616)
     com.asdaarg.bukkit.itemcraft.ScriptMan$cmdMetSV.exec(ScriptMan.java:172)
     com.asdaarg.bukkit.itemcraft.ScriptMan$cmdList.exec(ScriptMan.java:99)
     com.asdaarg.bukkit.itemcraft.ScriptMan.load2(ScriptMan.java:1167)
     com.asdaarg.bukkit.itemcraft.ICInit.init(ICInit.java:124)
     net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:286)
     net.minecraft.server.ThreadServerApplication.run(SourceFile:422)]
    
    I got just the your test server to run on my Local Windows PC.
    My Server is not local its a Dedicated Server in Germany and its Linux Based.

    In the windows one I only could get the IC 860 to start.
    On the Linux Server. I cant get IC to start at all with out causign massive errors

    @icephantom

    Well, I have NO idea what I did.. I got IC to work, and added Biome, and it all just worked. TBH, im clueless. I did nothing differently. I just redownloaded, I also let IC generate new folders. Maybe thats the issue.

    Thanks for helping me.. I wish I could know what I did to fix it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2016
  22. Hey, if it works - go with it !! that's what I say. Have fun, and what is Biome anyway ? :confused:
     
  23. Offline

    Asymetrikon

    Still have Problems with the Translator.
    It says that mcpmet is set to nonexsisting file.
    I have the methods.csv in c:\retro
    I used this command:
    "mcpmet" "c:\\retro\\methods.csv" putSetting
    I dont get why it keeps saying its nonexsistant.
     
  24. Offline

    TheSuperCow

    Please excuse my noob ways but I'm obviously doing something very wrong with the latest update. When I run the craftbukkit starter everything loads fine until it gets to loading the world at which point I get a flood of severe error messages consisting of NoSuchMethod and Unexpected Exception. What do these mean?

    I've followed the instructions to a tee (I think) and even tried loading a fresh world but it doesn't help.

    Edit: Nevermind, I stopped being an idiot and just redid everything and it works. However, now anyone who connects to my server is fine until they place a block, destroy a block or open a chest, craftbench etc. at which point they get disconnected with End Of Stream. Any ideas?
     
  25. Offline

    xeronut

  26. I put my settings in the plugins.ic file - @asdaarg said as long as they go before the plugins - should be no problem - here's the relavent part of my plugins.ic file - my csv files are in c:\test1 with my retrosource in c:\test1\java

    "mcpmet" "c:\\Test1\\methods.csv" putsetting
    "mcpfie" "c:\\Test1\\fields.csv" putsetting
    "classmap" "c:\\Test1\\classmap.csv" putsetting
    "kedamet" "c:\\Test1\\kedamet.csv" putsetting
    "kedafie" "c:\\Test1\\kedafie.csv" putsetting
    "retroSource" "c:\\Test1\\java\\" putsetting
     
    ## Uncomment Plugins you want to use:
    "ICKSlopes.jar" plugin
    "ICFancyPack.jar" plugin
    "ICSGlass.jar" plugin
    "ICMCreatures.jar" plugin
    "ICNTrees.jar" plugin
    #"ICJanino.jar" plugin
    #"ICJode.jar" plugin
    "ICTranslator.jar" plugin
     
  27. Offline

    Fawa

    Edit: Stupid Mistake
     
  28. Offline

    Asymetrikon

    Thanks icephantom. Will try it tomorrow. Its late already where i live. Too tired to concentrate myself right now. :p
    Think the error was that i tried to manually type the commands afzter plugins were loaded.
     
  29. Offline

    Olat

  30. Offline

    Specops343

    @asdaarg Hey, i just found this/tested it, and thought this might interest you a bit. Its a modloader for bukkit, basically.

    showmessage (open)

    Tested it with Flan's WW2 guns, the only mod ported to it currently.
    [​IMG]
     

Share This Page