mushroomhostage / exphc

The Experimental Hardcore Post-Apocalyptic Minecraft Server
www.exphc.com
8 stars 5 forks source link

Recipes from mods list after /reload #22

Closed mushroomhostage closed 12 years ago

mushroomhostage commented 12 years ago

Unable to craft (insulated) copper cables from IndustrialCraft^2. http://wiki.industrial-craft.net/index.php?title=Cable#Cable_Types

Neither recipes work:

Copper cables are pre-requisites for almost all technology in IC2.

mushroomhostage commented 12 years ago

Copper cables are 30184:0. If I /w or /give the item, it displays in the client as expected, and I can place it, so the server is recognizing it, too.

config/IC2.cfg (on both client and server) shows itemCable=29928. Not a mismatch! 29928+256=30184.

mushroomhostage commented 12 years ago

Finally a chance to update RecipeList. Should be much easier with new recipe API in Bukkit, too. Will help diagnose this problem, I hope..

mushroomhostage commented 12 years ago

Works in SSP - very likely server problem (but why?)

mushroomhostage commented 12 years ago

Now seeing the same problem crafting Crystal Shard (20014:1) x 2, supposed to craft into Crystal Stick (20014:3) and it was previously, but now flashes and disappears! Non-modded recipes work fine. The plot thickens..

mushroomhostage commented 12 years ago

And even with Treetap. RecipeList shows there aren't any other recipes in the server at all! 202 on exphc.com:1230, 5015 on localhost:1230.

mushroomhostage commented 12 years ago

I restarted the server and now RecipeList shows 5015 on exphc.com:1230 and I can craft treetaps. Go figure. Somehow being deleted? Another reason for an auto-restart.

mushroomhostage commented 12 years ago

This is happening again now..

mushroomhostage commented 12 years ago

The problem happens after /reload!

Occurs with no plugins installed.

Occurs with nothing in 'mods'.

Trees++ is in the jar, totals 1851 recipes (mostly fruit smoothies). Vanilla has 192 recipes. All mods with no plugins = 5005. All mods with plugins = 5015. Without Trees++, with all mods + plugins, 1690 recipes. Reload, get 192 recipes.

With only IC2, no other plugins or mods, 508 recipes, reload, drops to 192. Appears to be a problem with MCPC itself. Using craftbukkit-1.2.3-R0.3-MCPC-SNAPSHOT-56.jar.

mushroomhostage commented 12 years ago

Reported upstream:

[MCPC 1.2.3 #56] Crafting recipes from mods lost after reload

mushroomhostage commented 12 years ago

Confirmed upstream.. just have to be careful not to /reload server.

mushroomhostage commented 12 years ago

Still a bug in MCPC 1.2.3. Maybe I could blacklist /reload in ExphcTweaks to prevent accidentally losing recipes, but I've basically stopped using /reload entirely and the problem does not occur. Plus with Remote Toolkit, /stop will restart the server, and it is much better, avoiding inherent memory leaks in /reload. There is an upstream bug report http://www.mcportcentral.co.za/index.php?topic=1998.0 tracking this problem, maybe could investigate a real fix at some point, but it is not that important for ExpHC anymore now that I understand the issue, closing as won't fix.