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

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

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

    tremor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    using multiverse to /mvtp between worlds.. world1 inventories are becoming world2 inventories, world2 inventories are being deleted... there is no consistency to inventories at all between just 2 worlds.. I just updated to 1.5.2 - i shut down my server, deleted the inventories.dat and let it regenerate... still having the issue
  2. Offline

    tremor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    to add more information it seems as if players are getting 3 inventories... for 2 worlds, and they are swapping around as the move between world1 and world2
  3. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well... that sounds like a major problem...
    Right here's what I can do:
    1) Stare at code and attempt to magically find error
    2) Ask you for help

    I'm going number 2:
    1) What is your current shares.txt file. Are you trying to share world 1 and 2 or not?
    2) Can you run "/MultiInv debug start" run around for a bit through portals (causing the error if you can do it on demand) and then type "/MutliInv debug stop" (you need admin rights atm... or potentially MultiInv.debug can't remember)
    Then in the plugins/MultiInv/logs folder can you upload the log file for me to view it (the one with the latest number if there are multiple). If you can do that it will probably speed up my debugging about 100x

    Finally, what build of craftbukkit are you on?

    Edit: it does say that shares.txt loaded right?

    To chat with me: http://mibbit.com/?channel=#Pluckerpluck&server=irc.esper.net
    jasonznack likes this.
  4. Offline

    tremor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There is no shares... world 1 and world 2 are not shared. Craftbukkit 617. Not using portals, using the /mvtp command from multiverse.

    Here is a debug log.

    Code:
    #-----RSAssassin changed world-----#
    Moved from yasmp to yasmp
    #-----tremor77 changed world-----#
    Moved from playland to yasmp
    Saved 'tremor77" "w:playland'
    Saved inventories to file
    Loaded 'tremor77" "w:yasmp'
    #-----tremor77 changed world-----#
    Moved from yasmp to yasmp
    #-----tremor77 changed world-----#
    Moved from yasmp to playland
    Saved 'tremor77" "w:yasmp'
    Saved inventories to file
    Loaded 'tremor77" "w:playland'
    #-----tremor77 changed world-----#
    Moved from playland to yasmp
    Saved 'tremor77" "w:playland'
    Saved inventories to file
    Loaded 'tremor77" "w:yasmp'
    #-----tremor77 changed world-----#
    Moved from yasmp to yasmp
    #-----tremor77 changed world-----#
    Moved from yasmp to playland
    Saved 'tremor77" "w:yasmp'
    Saved inventories to file
    Loaded 'tremor77" "w:playland'
    #-----tremor77 changed world-----#
    Moved from playland to yasmp
    Saved 'tremor77" "w:playland'
    Saved inventories to file
    Loaded 'tremor77" "w:yasmp'
    #-----tremor77 changed world-----#
    Moved from yasmp to yasmp
    I can now see 3 distinct inventories... and they are rotating between the 2 worlds as i move back and forth.. i also have installed essentials, worldguard, worldedit, craftbook
  5. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hm... my code thinks it's doing it right... You are describing the strangest problem I've heard yet...
  6. Offline

    fffizzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    tremor, set it up so plucker can see first hand. Often, seeing the problem happen making resolving them easier.
  7. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not sure if you can do this... but is there any chance you can try on a blank server. Using just my plugin and multiVerse? Just in case...

    Edit: I'm glad this was fixed. Note that from now on I will always recognise this problem if another, less able, person hits the problem and gives me little information. So I'd say this was useful.
  8. Offline

    tremor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Problem solved thanks pluckerpluck.. and a note to other admins, check you dont have the same plugin loaded twice.. oh geebus. I have multiinv1.5.0.jar and multiinv1.5.2.jar both loaded
  9. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the file is named MultiInv_1.5.2 and i maybe stopping with /stop its a rented server so i suppose and your old MultIinv_1.5.0 works great and im using version 670

    and i tried re d/ling 1.5.2 to no avail but i re d/led 1.5.0 and it works

    finally on 1.5.0 it never saves until the players log off
  10. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ya, with 1.5.0 it only saved then the tped across worlds of logged off. Now it should save all the time (when the worlds save hopefully)

    but I just asked the other devs and they're sure the jar file has got corrupted. Neither them nor me can think of anything else to do other than say re-download.

    http://bit.ly/dIYwLj <- try that link. Same file but different place and different name.

    Other than that I can't think of any other problem.

    What Operating System are you on... maybe that is contributing (unlikely... not much changed in those 2 versions really)
  11. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Its not working with the new MV and CB 670!
  12. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok ill get back to you on it thanks!
  13. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the great insight into your problem. Using my amazing "plugin dev mind reading powers" (which all devs have btw) I can accurately diagnose the issue you are facing.

    ... If you didn't realize that was all a lie/sarcasm. If you really need help with the plugin you will need to tell me about what the error is (especially as there are others it is working for). And it shouldn't matter what MultiVerse you are using as this plugin is independent of how you change worlds. The CB build number was useful though.
  14. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I lol'd at your sarcasm. Well whenever my users log in the inventories go away and when they go to a different world they still have the same inventory as the other world.
  15. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My internet is currently dying... I did reply to this earlier.

    Is there any error in the console when people log in or when the server starts up etc. Also, have you tried deleting the inventories.data and letting it create a new one? And what are the names of the worlds? They don't have any odd symbols in them do they?
  16. Offline

    Insanehero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I deleted the inventories data and now it works great thanks for the help!
  17. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Pluckerpluck
    Code:
    2011-04-09 12:45:47 [SEVERE] Could not load 'plugins\MultiInv.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:53)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    im on Version 670 (Sad Panda T.T)
  18. Offline

    MrChick

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Pluckerpluck could you calculate a md5 or sha1 of the MultiInv.jar and post it please?
    @Avous are you using a proxy or some firewall like ZoneAlarm or such?
  19. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hm.... trust one person to get an error that makes no sense.

    The problem is that normally it would have said invalidPluginException first like in these two cases:
    http://pastebin.com/t4Fky04A
    http://pastebin.com/2KKC142M

    But sadly you don't seem to get that.

    I'll ask around more in IRC and see if I can find anyone who knows something about this. But here are the only suggestions that I can think of now:

    1) Try it on another "blank" bukkit server using only my plugin. Just see if it loads

    2) Try re-downloading bukkit 670 and try the blank server with 617 if 670 didn't work.

    3) Are you using IE to download my files? If so try using another browser.
    This is quickest, do this first if you use IE.
    I know someone who couldn't download .docx or .xlsx because IE kept converting them to zip files...

    4) Try and get another link from someone who has the plugin working... that way you know the jar file is definitely working for someone
  20. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    strangely enough ive done all of these i tried d/ling on chrome and firefox ive made a clean bukkit server because i just need this plugin to open up multiworlds and i tried it with 617 before i updated to 670

    @MrChick nope nothing like that. all plugins but this and chestlock work
  21. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @MrChick
    MD5: 0fd244121b3fb2d42a808d226acd8d35
    SHA1: ec3293572008328b6987c4ae12c8c279ade993d8

    @Avous Is chestlock the same problem?

    Edit: I'm assuming MrChick wants you to compare the checksum btw.
  22. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ya exact same error
  23. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  24. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i cant i rent a server from a host but i can post the logs and it only does this with multiinv for this.. -snaps fingers- version



    Code:
    2011-04-09 12:45:46 [SEVERE] Could not load 'plugins\ChestLock.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:53)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-09 12:45:47 [SEVERE] Could not load 'plugins\MultiInv.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:53)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
  25. Offline

    Imitation

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Have you taken this up with your server provider?
  26. Offline

    Avous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    not yet because it works on everything besides these two plugins at their current version
  27. Offline

    Flenix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I got a suggestion for this that could be really cool.

    Right, we use MultiVerse for multiple worlds (in which, you can set an area that when walked into, will teleport you)

    The area to teleport to the new world, its the cabin of a space shuttle, but the rest of the shuttle will not teleport you.

    IS there a way, to have a multiworld "Chest" - two chests that are linked and display the same inventory, so you could deposit in one world and collect in another?
    (And if so, a seperate config for it so you could have a world where chests can be linked, but inventories cannot)

    That way, a player could put their items in the "storage" of a shuttle, then board and collect the items at the other end :)
  28. Offline

    MrChick

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Exactly.

    Do you have _ANY_ possibility to get this jar from your server to your pc? FTP or HTTP? Cause I'm REALLY interested if your checksums match
  29. Offline

    TE5LA

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This works between my worlds that I'm NOT sharing if I use a MultiVerse portal. However, if someone dies and then spawns back to another world or uses a portal to go back, they have lost the inventory in that world.

    Example:

    In world1, I have a diamond sword. I portal to world2. I have no inventory. I gather some items there. I die. I go back to world1 and have no inventory. If I were to go back without dying, I'd still have my sword.
  30. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I wouldn't mind creating another plugin to do this (I think it would be better if it was a separate, linked chest, plugin) But I don't think it's possible... we need better inventory hooks. When they the right hooks I might make this.

    Have you updated to 1.5.2? I thought I'd fixed this problem in 1.5.2 but it definitely exists in 1.5.0. If it doesn't work I need to fix that because respawning doesn't call a teleport event and I had to work around the fact that any inventories I get set are still blanked.

    Did you still have the inventory in world2? As if you hadn't died?
Thread Status:
Not open for further replies.

Share This Page