Inactive [SEC] PIP v1.0 - one Player per IP [1.2.5R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by gkovalecyn, Feb 22, 2012.

  1. Offline

    ExiztenceX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What if you have siblings and we all have the same IP, how does this plugin work out with that?
  2. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    IT WORKS, don't give up :c!
  3. Offline

    jenks1999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    2012-04-03 23:19:27 [INFO] PIP: Trying to connect to MySQL
    2012-04-03 23:19:27 [INFO] PIP: Unable to connect to MySQL
    2012-04-03 23:19:27 [SEVERE] invalid database address: com.mysql.jdbc.Driver
    2012-04-03 23:19:27 [INFO] PIP has been enabled!

    just so you know


    config shows like this...
    DefaultAction: kick
    UseMySQL: true
    MaxIPsPerPlayer: 1
    MaxIPforAllowMorePermission: 1
    Debug: false
    URL: jdbc:mysql://localhost/PIP
    Driver: com.mysql.jdbc.Driver
    Username: root
    password: pass

    Might want to look into changing the driver to table or something i assume.

    This post has been edited 1 time. It was last edited by jenks1999 Apr 4, 2012.
  4. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You could just add the permission PIP.allowMore to their names and it should work.
  5. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is fixed now
  6. Offline

    jenks1999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nope same error still

    2012-04-05 14:05:15 [INFO] [Player IP] Enabling Player IP v0.5a
    2012-04-05 14:05:15 [INFO] PIP: Trying to connect to MySQL
    2012-04-05 14:05:15 [INFO] PIP: Unable to connect to MySQL
    2012-04-05 14:05:15 [SEVERE] No suitable driver found for com.mysql.jdbc.Driver
    2012-04-05 14:05:15 [INFO] PIP has been enabled!

    MySQL still doesnt work.
  7. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It should be fixed now, i have no idea what was causing it but I tested it and it should be working.
  8. Offline

    jenks1999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is still not working, its reading a driver that doesnt exist. Please look into this......[SEVERE] No suitable driver found for com.mysql.jdbc.Driver
  9. Offline

    mike2033

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

    it almost worked for me. First time it logged IP's, but didn't kick players with more than one IP's ( my fault - forgot permissions ) Now I tried to update it. Error while starting :


    Code:
    18:53:22 [FATAL] Error occurred while enabling Player IP v0.5a (Is it up
    to date?)
    java.lang.ArrayIndexOutOfBoundsException: 1
            at me.gkovalechyn.PIP.Debug.testCreation(Debug.java:102)
            at me.gkovalechyn.PIP.PlayerIP.onEnable(PlayerIP.java:52)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:336)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    I'm using the latest version. May any help?
  10. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just set Debug to false, it should work.
  11. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you try moving the lib folder to your main folder? where the craftbukkit jar is located.
  12. Offline

    Pr07o7yp3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [SEVERE] You have an error in your SQL syntax; check the manual that co
    rresponds to your MySQL server version for the right syntax to use near ''Player
    s' ('Player' VARCHAR(16) NOT NULL,'IP' VARCHAR(12) NOT NULL)' at line 1
  13. Offline

    jenks1999

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    lib folder is already in main minecraft folder location.. and the mysql connect jar is inside. i have mcmmo and many other plugins already connected to mysql database, it is a specific issue with the plugin.
  14. Offline

    mike2033

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

    cool! It works now. But it still doesn't log the IP's from every player. I logged in as Administrator, it logged my IP. I tried to connect from another IP. It even added the IP but it let me connect anyway... May be it's because my group got all permission ( even the " can have more IPs " permission ) . But in the config it set to max 1 IP. Even with permission...
  15. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That is really weird, I tried removing the lib folder and it worked anyway. Could you try downloading the latest, it might be that the version that you have isn't the same as the one I am testing.
  16. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I advise giving only one permission, the PIP.use or just the PIP.allowMore but even with both of them it should be working since it checks for the allowMore first.
    Could you tell me witch permission plugin are you using? that could be what is causing the problem.
  17. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is fixed in the latest update.
  18. Offline

    nhoclesnar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Don't ever abandon this plugin. It's awesome.
  19. Offline

    mike2033

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm using Essentials. Could you tell me, why it only logs IP's from Admins / OPs
  20. Offline

    Pr07o7yp3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why when a player join in with another name he got kick but his name still persist in the game?
  21. Offline

    nhoclesnar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The first name, yes.
  22. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Because you must have the permission or be OP. To use this.

    This post has been edited 1 time. It was last edited by gkovalecyn Apr 10, 2012.
  23. Offline

    mike2033

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

    thanks. It's working now with other groups but it still does let players have more then one IP's. I tried to login trough localhost ( 127.... ) it logged the IP and than I tried to login with another IP and it let me login =(
  24. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry for replying this late. Is it creating the files? Is it adding to the files this IP's or just saying that it was added? Could you try deleting the entire plugin folder? so that it could write the IPs again again.
  25. Offline

    mike2033

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

    no problem... I have tried to delete the folder, but it still got the same problem -> doesn't kick them. It's even adding the IP's.
  26. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well I tried with the latest version/download/files/(...) and it seems to be working. I don't know if you'll be able to tell me, anyhow, is it being able to read the files?
  27. Offline

    mike2033

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hm, sorry. I don't really understand what you mean :/
  28. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If it is being able o read a line from the player file, the one created in the "Players" folder.
  29. Offline

    mike2033

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh. Hm. I'm not sure.. I dont think its important that I'm computer administrator.

    Is there a way to check if can read / have read permissions?
  30. Offline

    gkovalecyn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I added a warning to the debug option witch should tell you when the line read was nothing.

Share This Page