Inactive [RPG/FUN] Thieves 1.2.4 - Steal items from other players [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Snaipe, Jan 27, 2012.

  1. Offline

    vReactiionz

    I am REALLY loving this plugin. I set everything up in Permissions and realized this plugins doesn't support Permissions 3.x... Can you please support it? Permissions 3.x (Yeti)

    It's probably because your permissions plugin isn't supported. What permissions are you using?

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

    Snaipe

    rejectdeath please post what you are doing exactly.
    If you're using PEX, you will have to activate SuperPerm compatibility and put the bridge on your server.

    vReactiionz Permissions 3 is completely obsolete now, and as such, I do not see why it shoud be supported anymore. Most of active plugins have dropped its support, so you should switch to either SuperPerms, PEX or bPermissions.
     
  3. Offline

    vReactiionz

    Yes, I know. But is it a big hassle to do? I would really appreciate it.

    Snaipe lol nevermind... I JUST updated to PEX solely for the use of your plugin <3

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

    Snaipe

    vReactiionz haha, thanks :)
    Switching is a good choice, you will be able to use many good plugins out there.
     
  5. Offline

    filszyp

    I'm loving this plugin! By the way, I noticed that all items have a default value of 1. Shouldn't more valuable items like diamonds have a higher number? I know I can change that but it would be nice if the plugin came with proper default settings. Unless of course it works better this way?
     
  6. Offline

    Snaipe

    filszyp yes, of course valuable items should have a higher rank since rank 1 will give a 90% stealing probability to a level 1 thief for that item. The reason why the values are at 1 is because I did not have the time to find a proper "default" configuration.
     
  7. Offline

    Kainzo

  8. Offline

    Snaipe

    Kainzo does this happen every time ? Do you have a way to reproduce this ? I think I know where the error is, but I can't be sure since I can't reproduce it :/ ( also, having a NPE here is kinda weird, since i'm using only the Player::getName() and the JavaPlugin::getDataFolder() methods here... )
     
  9. Offline

    vReactiionz

    Snaipe Hey snaipe, really loving the plugin, but Spout is giving me a big annoyance. I can't /reload because Spout doesn't support it. I mean I can but it gives errors in the console. Can I just /reload then /spout reload? Will it work? Is there anyway to get rid of this annoying feature from Spout?
     
  10. Offline

    Kainzo

    unfortunately, I wasnt able to reproduce it
    just know it happened more than once.
     
  11. Offline

    AngkorDeNNiS

    This looks awfully cool. I can't wait to try it tomorrow in the morning when my server's done upgrading. Definitely adds a great amount of RP to the game now ahaha.
     
  12. Offline

    MagicPlus

    I should get this for my server. In a way, it's a tiny bit like McMMO. Great job.
     
  13. Offline

    Snaipe

  14. Offline

    rejectdeath

    I'm just using default perms, I probably will get PEX going when I get the time, but I was curious if it is possible to set up on default for the time being.
     
  15. Offline

    Snaipe

  16. Offline

    mahu8

    I was wondering if you could make an option to toggle leveling up on and off because people could just train themselves by putting dirt blocks and have no problem stealing just like training with mcmmo.
     
  17. Offline

    Snaipe

    mahu8 If that's what you fear, I can assure you It doesn't happen.
    Unless you put an item value greater than 1 on dirt, that would mean that they would have to steal 10 000 dirt blocks to reach level 10.
    Since you can only steal 10*(thief level) items with a value of 1 before having to wait for the cooldown to finish ( 1 minute if you did not change the config ), your users would have to spend 1000 minutes at least to get to level 2, and about 2125303 minutes ( and I don't even count the time spent on opening/clicking/dragging/closing in the inventory ) to get to level 10.
    Of course, you could use higher leveled items, but if you really don't want them to train themselves, raise the cooldown.
     
  18. Offline

    TexaSpex

    Ok, I've been doing the math in my head... and it seems that the higher the number, then the harder it is to get the item.

    So the formula is 100*(1-itemvalue*enchantmentvalue/(level+9))
    is this like 100*((1-itemvalue*enchantmentvalue)/(level+9))
    or like 100*(1-(itemvalue*enchantmentvalue)/(level+9))
    if the lower the number is the harder, I am thinking its:
    100*((1-itemvalue*enchantmentvalue)/(level+9))
     
  19. Offline

    Naliz

    For some reason people still cant use it even if they're out of spawn where PvP is allowed
     
  20. Offline

    Kainzo

    Seeing this mass spam stuff... http://pastebin.com/RnSHfKKN

    As a dev myself, you should avoid tracking onPlayerMove at ALL costs. The only reason I can see this being used is if you're trying to see when a player moves away from another while stealing... but it's not streamlined or efficient at all.
    Just giving some friendly assistance
     
  21. Offline

    Syd

    Are you going to remove the spout dependency, as Bukkit now has it's own Inventory API?
     
  22. Offline

    Sambrosia

    Hey, when do you plan to update the plugin for the newer bukkit? Will be useful.
    Thanks!
     
  23. Offline

    Eragogs

    Why it wont work saying abot i dunno 11 times or someting else
     
  24. Offline

    Syd

    @Snaipe
    Are you going to update this plugin?

    Getting this error with 1.2.3-R0.2
    Show Spoiler

    13:29:37 [SEVERE] Could not pass event PlayerInteractEntityEvent to Thieves
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:441)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1063)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :169)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.EntityPlayer.a(Lnet
    /minecraft/server/IInventory;)V
    at net.minekingdom.snaipe.Thieves.ThievesPlayer.startStealing(ThievesPla
    yer.java:147)
    at net.minekingdom.snaipe.Thieves.listeners.PlayerListener.onPlayerInter
    actEntity(PlayerListener.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:301)
    ... 11 more
     
  25. Offline

    filszyp

    Any chance of update?
     
  26. Offline

    Archespore

    Yeah I agree, I would really like to use the plug in... But it needs to be updated, doesn't work...
     
  27. Offline

    Syd

    I tried to update it to work with the newest Bukkit builds.
    By that I also removed Spout dependecy and all net.minecraft.server.* Class calls.

    I don't gurantee that it is bugfree, as I havn't tested all cases, but the basic functions work on my server.

    The Sourcecode is included in the .jar, if anyone is interessted in. ;)

    Download

    PS: It would be nice if @Snaipe continues the plugin. :)
     
  28. Offline

    filszyp

    Syd I'm going to test it a bit on my server today.
    /Edit: it seems to be working. I'm going to test it a bit more. Thank you Syd!

    Oh and don't reload the server (or plugin - i use PluginReloader) or you'll get a lot of errors. You need to Stop the server properly to load Thieves.jar.
     
  29. Offline

    Syd

    Yes, /reload is a bad idea overall...
     
  30. Offline

    filszyp

    Syd Some minor bugs like Thieves not registering PlayerQuitEvent but I don't think it's anything bad.
    One problem I noticed is that setting the ability to steal from hotbar to False doesn't work. You can always steal from all inventory including hotbar (quick bar? whatever it's called).

    BTW I love Freelancer! :D
     

Share This Page