Inactive [MECH] MultiInv V2.4.1 - Per World Inventories [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Pluckerpluck, Feb 17, 2011.

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

    Lynxdragon

    Any chance of adding MySql support for inventory storage?
     
  2. Offline

    Adv

    I have a server with two worlds but would like to switch my main world with my second world. I tried this simply by changing the level-name in the server.properties, however upon doing so all my players no longer had any of there items in both worlds. How can I accomplish this change?
     
  3. Offline

    JohnPulse

    I'm also having the same problem on my server, and I also run Essentials 2.5.6 with Bk1000.

    Here is the log:

    Show Spoiler
    16:18:25 [WARNING] Task of 'MultiInv' generated an exception
    java.lang.NullPointerException
    at uk.co.tggl.Pluckerpluck.MultiInv.MultiInvHealthRunnable.run(MultiInvH
    ealthRunnable.java:19)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    This happened 2s after a player disconnects and that specific player looses all the items when disconnecting from the only map that is unlinked. He looses all the items from the unlinked and linked maps.

    I'm not at home now but I will further test this ASAP.

    I had to block my Creative world because of this :(

    Anyway, thanks to the plugin creator for this awesome plpugin and the hard work involved, cake to you mate.

    Regards,
    John.
     
  4. Offline

    JohnA

    I am trying to give each of my worlds a separate nether, and each world has its own inventory.
    If someone has any inventory in the SpawnWorld, then goes to another world, their inventory is cleared and everything seems to work okay. Then, someone dies in one of the secondary worlds. About 1 second after they respawn, they suddenly get all the items they had in the SpawnWorld. The individual file for the player is also changed in whatever secondary world the died in.

    Code:
    14:07:53 [INFO] [MultiInv] Sharing RPG_World_nether to RPG_World is invalid
    
    This is what I have in the shares.properties
    [CODE]# Shares are now stored using a 1 to 1 method
    # Store all shares in this format:
    # minorWorld = majorWorld
    # where the minor world copies the inventory of the majorWorld
    CaveWorld_nether = CaveWorld
    Narnia_nether = Narnia
    Biodomes_nether = Biodomes
    RPG_World_nether = RPG_World
    SpawnWorld_nether = SpawnWorld
     
  5. Offline

    Rallerbabz

    Could anyone Please PLEASE work on a working build?

    My server is currently down, because ppl can move items from build -> survival, which ruins the survival server :/ I would appreciate a working version :D

    Thx, Rallerbabz out.
     
  6. Ok, I'm back from Tanzania and I'm alive. I'm a tad exhausted but I'll try and fix problems as soon as possible.

    About the crafting table, no it's not fixed but I think I know how to fix it and I will try soon.

    Sorry for not being able to help before now, I'll see what I can do.
    @JohnA ensure you double check the spelling. Just before printing that line it should check to see if the worlds exist... note that there is only one "notch" nether. You'll have to add other nethers manually.
     
    Don Redhorse likes this.
  7. Offline

    Rallerbabz

    Nice, I'll look forward for a fast fix :D
     
  8. Wait.... RB is still 1000... unless I made a mistake before left it should work... (though it could contain bugs).

    I'll test it as soon as I've fed myself and got back to my actual pc.
     
  9. Offline

    shadydeath999

    @Pluckerpluck : if people are in different worlds and i want the world nether and world to share inv how do i do that cus it messed up before some some people
     
  10. It does work with CB1000 but there has been many fixes since then, please update it to work with CB1056.
     
  11. Offline

    Rizal

    This plugin is GOD!!!!! i really like it great work :)! can you make so you can have ex. 2 survival worls that runs same inventory and 1 freebuild with another inventory?
     
  12. That functionality already exists in the plugin.
     
  13. Offline

    Rizal

    ok ty i will search for it :)
     
  14. Offline

    Adv

  15. Are you using the latest version of the plugin? Because I can't see why just switching the server.properties wouldn't work.... I'll test this myself if I get the time.

    Edit: If ANYONE knows how to fix this depressing problem with the minecraft client ("Out of Memory") I would greatly appreciate it because it makes it SOO much harder to test anything.
    I have 3GB ram total, Windows Vista 32bit (the machine is 64bit compatible just the OS is 32bit) and use the exe to launch (therefore 1gb of ram is allocated)...
    I can play for about 60 seconds before I error out, and if I'm changing worlds (to test my plugin) I can only change about 4 times.

    If I can't fix this problem I'm gonna go an set up the pc to dual boot linux 64bit just to write my plugins (which wouldn't be a problem if I didn't like to game. Gaming is much harder on linux so I'd have to switch OS all the time)

    Edit 2: Seems like I can play on short view distance fine and normal if I don't go exploring. (Though that was only tested by running around and not changing worlds).
    It's just sad I can't play minecraft on high graphics when the PC could play crysis almost maxed out...
     
  16. Offline

    Adv

    Yes I'm using the latest version. I'll try it again in a bit and post a reply on what happens.

    As for your question, I was also getting that. Note: The following information is what I found online and it solved the problem for me. Java 32bit can only use 1.5GBs of RAM, even if you assign it more, it will only use 1.5GBs. You have to install the 64bit version of Java then you can allocate more RAM. I have 4GBs and allocated 2GBs and haven't had an out of memory error since then.
     
  17. I've noticed why this is happening but it's 1AM here. So here is a VERY quick fix:
    http://dl.dropbox.com/u/11060086/MultiInv_dev.jar

    I HAVEN'T tested this at all. It may completely not work and this plugin has a tendency to not want to die alone but enjoys taking anything it can find along with it.
    So please TEST this before use. I am not free tomorrow but I am the day after. It took me longer than expected to sort out everything after being away.

    (Note: Atm, health is not supported when re-spawning in a different world to the one you die in)
     
  18. Offline

    JohnA

    When anyone dies outside of the main world, they respawn in the world they die in. Example, I go from world to world1 and die, I respawn in world1. However, when people respawn, they get the items they had in their inventory in world. I have no idea as to what is causing this, I am running the right craftbukkit version, and I am not getting any error messages from multiinv. World shares seem to work, until someone dies.
     
  19. Offline

    cb253

    Hey guys
    MultiInv is fantastic!
    So, I imported an old Server-Map, but the Inventories weren't available. I think is 'cause MultiInv's inventory-files are *.data and minecraft inventory files *.dat.
    Is there any possibility to convert .dat into .data?

    Please answer quickly ;)
    Thx!
     
  20. I'll check on this later... If you respawn in the same world it should work...

    When people log in I don't load the inventories from my files but instead let minecraft do that instead. So if you just copy the player.dat files over to their normal minecraft location it should copy the inventories over to. But you can't put the player.dat files in my world folders because they're not compatible. The main problem is that if you were to convert the .dat to my .data it wouldn't work... because you'd still load the blank inventories from minecraft first. It's hard to explain but my plugin only takes action on changing worlds. When you log in and log out I don't record anything so that other plugins don't break because of me.
     
  21. Can someone test this, please?
    I haven't got a test server set up yet.
     
  22. Offline

    cb253

    [/QUOTE]

    So, i just have to copy the player.dat files into the world/players, right? I'll try this in a minute.

    Edit: Ok, i tried what you've said, but they weren't copied. MultiInv just creates a new, blank .data file for the players. What can i do else?
     
  23. Tested on 1060 and it seems to work for me without any problems. But I'm not large scale testing so I could miss something.
    In general it seems to be working though. Inventories are separated and I get the correct inventory after I die (and lose the inventory in the other world)
     
    AS1LV3RN1NJA likes this.
  24. Offline

    Rodney

    I've just updated to RB #1060 and MultiInv 2.3.1 gives me the following Error:

    P.S.: MultiInv 2.3.0 works fine!

     
  25. Darn, changed something last minute but forgot to update my plugin.yml

    I hope I fixed it, just re-downloading should work and I'm testing myself now.

    Edit: Ok, now it works for me. Sorry for the delay
     
  26. Offline

    Subrosa20

    My English is not that good so I don't really get how this 1 to 1 method works.

    So i got three worlds:
    - world
    - world_nether
    - wilderness

    I want world and world_nether to share one Inventory. The inventory of wilderness should be seperated. should i write:

    world = world_nether
    wilderness = wilderness

    ?!?

    Please help me, thank you very much :)
     
  27. Just write:
    Code:
    world_nether = world
    and that should make it work.
     
  28. Offline

    Subrosa20

    Works perfectly. Thank you for this nice work. :)
     
  29. Offline

    GyD

    I've this error on #CB1060 and MultiInv 2.3.1:

    Code:
    11:58:19 [SEVERE] Could not pass event PLAYER_PORTAL to MultiInv
    java.lang.NullPointerException
            at uk.co.tggl.pluckerpluck.multiinv.MultiInvPlayerListener.onPlayerPortal(MultiInvPlayerListener.java:79)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.f(ServerConfigurationManager.java:295)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:244)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:299)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:527)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:435)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
Thread Status:
Not open for further replies.

Share This Page