SimpleClans

SimpleClans

467k Downloads

[Bug] Seems like plugin dont write almost anything to database

yamnikov-oleg opened this issue · 8 comments

commented

Some commands seems like dont work.
I can:

  • Create clans.
  • Add users to clans.
  • Resign from clan.
    I cant:
  • Promote users to leaders.
  • Set them as trusted.
  • Change clan's tag.
    (Other thing I either forgot or havent tested)
    Symptoms:
  • Plugin show message, that command passed succesfully, but no changes appears. So it i promote user, it say user has been promoted, but if i profile clan it shows that this user is not a leader.
  • No changes appears in the database (i connected to mysql, but sqlite has same symptoms).
    I tried to change info directly in mysql and reloaded plugin. All change I set are ok. Without reloading it doesnt work.
    Looks like plugin only can add or delete raws in the tables but cant modify them.
    My bukkit version: 1597, 1.0.1-R1
    My OS: ubuntu server 11.10.
    My jre: 1.6.0_23, OpenJDK

Server output when i try to change tag:

2012-01-08 00:29:08 [INFO] §cSimpleClans command failure: cant parse argument number: clan
2012-01-08 00:29:08 [INFO] java.text.MessageFormat.makeFormat(MessageFormat.java:1356)
2012-01-08 00:29:08 [INFO] java.text.MessageFormat.applyPattern(MessageFormat.java:475)
2012-01-08 00:29:08 [INFO] java.text.MessageFormat.(MessageFormat.java:367)
2012-01-08 00:29:08 [INFO] java.text.MessageFormat.format(MessageFormat.java:828)
2012-01-08 00:29:08 [INFO] net.sacredlabyrinth.phaed.simpleclans.SimpleClans.log(SimpleClans.java:55)
2012-01-08 00:29:08 [INFO] net.sacredlabyrinth.phaed.simpleclans.Clan.clanAnnounce(Clan.java:1161)
2012-01-08 00:29:08 [INFO] net.sacredlabyrinth.phaed.simpleclans.Clan.addBb(Clan.java:1219)
2012-01-08 00:29:08 [INFO] net.sacredlabyrinth.phaed.simpleclans.commands.ModtagCommand.execute(ModtagCommand.java:57)
2012-01-08 00:29:08 [INFO] net.sacredlabyrinth.phaed.simpleclans.managers.CommandManager.processClan(CommandManager.java:183)
2012-01-08 00:29:08 [INFO] net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener.onPlayerCommandPreprocess(SCPlayerListener:104)
2012-01-08 00:29:08 [INFO] org.bukkit.plugin.java.JavaPluginLoader$5.execute....
Some other stuff you probably dont need.

Please, fix this fastly, i really like the plugin and how it fits with my Permissions 3 and nChat, but this issue dont let use it!

commented

Have you tried this with a fresh DB, and default config?

commented

Yes, when i just downloaded it and launch with fresh config and sqlite mode, it already couldnt change tag.

commented

Yeah, now it works fine.

commented

What is the name of the clan you are making?

commented

I tried Vim and Dwarves, both of them had this issue.

commented

Try removing all other plugins, except Permissions etc, and trying it out.

commented

Cool, add in a batch of plugins at a time to track down which one is causing the problems. Let me know if you find out.

commented

Which plugin was giving you the problems btw?