Code Monkey home page Code Monkey logo

Comments (38)

JINXADORE avatar JINXADORE commented on August 26, 2024 1

Hey ,

we have a Server and we are Trying to do a Advanced config edit but we fail every time.

We ask around and noone could help us so the Author is the last posibility.

Could you please help and tell us the reason why the config is still Invaild and Groups are not defined ?

This is a debug file of Autorank. You should give this to an author or ticket manager of Autorank.
You can go to http://pastebin.com/ and paste this file. Then, give the link and state the problems you're having in a ticket on the Autorank page.

Date created: 2019-07-07 16:33:54

Autorank version: 3.7.2

Server implementation: git-Spigot-1.7.9-R0.2-208-ge0f2e95 (MC: 1.7.10)

Server version: 1.7.10-R0.1-SNAPSHOT

Server warning state: DEFAULT

Ranks defined:

------------------- ChangeGroup debug info -------------------
Group: Nomad

  • Nomad
  • 1 requirements
  • 3 results

Group: Vagabond

  • Vagabond
  • 1 requirements
  • 3 results

Group: Drifter

  • Drifter
  • 1 requirements
  • 3 results

Group: Scarab

  • Scarab
  • 1 requirements
  • 3 results

Group: Seeker

  • Seeker
  • 1 requirements
  • 3 results

Group: Dunewalker

  • Dunewalker
  • 1 requirements
  • 3 results

Group: Sandstalker

  • Sandstalker
  • 1 requirements
  • 3 results

Group: Pharaoh

  • Pharaoh
  • 1 requirements
  • 3 results

Group: Inquisitor

  • Inquisitor
  • 1 requirements
  • 3 results

Config used: AdvancedConfig.yml

Using MySQL: false

Java version: 10.0.2

Operating system: Windows 10

OS version: 10.0

OS architecture: amd64

Loaded addons: []

Thank you !

from autorank-2.

MrBrainBusta avatar MrBrainBusta commented on August 26, 2024

Its because you have the config incorrect. Paste your config file and I can help you out.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

Advanced Config http://pastebin.com/BCE4GQDs

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

I redid the config to this http://pastebin.com/1t5pdNLq now it just lists the players time and says they don't have a next rank. It got rid of the Internal Error though.

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

What permissions plugin are you using?

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

permissionsEX

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

What does your server.log say about Autorank?

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

this is all that shows about autorank

2013-10-18 16:03:47 [INFO] [Autorank] Enabling Autorank v2.7 Beta
2013-10-18 16:03:47 [INFO] [Autorank] Simple config file loaded
2013-10-18 16:03:47 [INFO] [Autorank] Advanced config file loaded
2013-10-18 16:03:47 [INFO] [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
2013-10-18 16:03:47 [INFO] [Autorank] Interval check every 5 minutes.
2013-10-18 16:03:47 [INFO] [Autorank] Data file loaded
2013-10-18 16:03:47 [INFO] [Autorank] Vault Hooked!
2013-10-18 16:03:47 [INFO] [Autorank] Hooked into Stats! Stats requirements can be used.
2013-10-18 16:03:47 [INFO] [Autorank] Config files have been correctly setup!
2013-10-18 16:03:47 [INFO] [Autorank] Language file loaded (lang.yml)
2013-10-18 16:03:47 [INFO] SQLDataStorage.connect
2013-10-18 16:03:47 [INFO] SQLException: Access denied for user 'user'@'%' to database 'minecraft'
2013-10-18 16:03:47 [INFO] SQLState: 42000
2013-10-18 16:03:47 [INFO] VendorError: 1044
2013-10-18 16:03:47 [SEVERE] [Autorank] Could not connect to 'address'
2013-10-18 16:03:47 [INFO] [Autorank] Autorank 2.7 Beta has been enabled!

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

Try to use another user or let Autorank have access to your database.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

Can't get this plugin to connect to my database either. I only have 1 MySQL database

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

You have to check your inbound and outbound allowed connections for your database.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

do you mind talking me through how to do that? I don't know my way around the database to well

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

Are on using a multicraft hosted server?
Something that looks like this: http://screencloud.net/v/swae
If not, what way of accessing the database does your server host provide?

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

yes i am using a hosted minecraft server with Multicraft as my control panel. I access the MySQL database using phpMyAdmin

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

Hmm, I hadn't followed this issue very closely previously so I just noticed now that you don't even have an SQL setting in your config. Did you leave that out from the pastebin text or do you not have a need for a database?
Because Autorank shouldn't even try to connect to the database if there is no config entry.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

I left it out of the pastebin text instead of just clearing out the information. Here is what it looks like though. Sorry about that

sql:
enabled: true
hostname: IpAddress
username: user
password: 'password'
database: minecraft
table: autorank

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

Anyway, if you do want SQL to work just put the login info you can find on multicraft in the Autorank config.
It's under Advanced > MySql Database
hostname in the config = Host in multicraft
and database in config = Username in multicraft
table you can just leave as the default "autorank", it should generate the table automatically if it has the right permissions

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

yeah, unfortunately it does not work. And for while i don't think it has connected. I just never had the time to look into it since other things were more important seeing as the plugin was still functioning fine. But now i came upon this issue since the update as well.

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

Oh and where you see
hostname: localhost:3306
The :3306 is important too, its the server port, 3306 is the default so whatever your multicraft lists as ip, just adding :3306 to the end should work.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

Still not connecting. I tried a reload, restart etc. Won't connect and still not registering that players can achieve a new rankup. In place of localhost i have the Ip Address next to Host listed on the Control Panel. Do 'quotes' around them or anything matter as well? (Even though i have tried every combination of things i can think of)

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

EDIT: never mind, I missed where you said that the original issue was fixed
@Staartvin should still take a look at the depreciated method that's used in the Stats API though.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

just to confirm, Everything in the advanced config that is typed out about the player requirement ranking is ok, correct? Ranks are newbie, amateur, crafter, builder, survivor, merchant, expert, hero. If so i will copy that and backup the player data and try removing all the files and everything and configure everything all over again.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

I apologize if there was a bit of miscommunication. The original issue (the reason created this ticket) about when typing /ar check. It lists only the time, what rank they are and that they do not have another rankup. It should list the time, and the requirements for the next rank up like it used to before the update.

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

oh god
"use advanced config: false"
might wanna change that
xD
lets hope thats the last issue, that'd be an easy one

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

I got it to work with your last posted config but with ^ turned to true
a dummy permissions file in PEX and the stats plugin

http://screencloud.net/v/p69e

Btw @Staartvin this error: java.lang.NoSuchMethodError: nl.lolmewn.stats.api.StatsAPI.getTotalBlocksBroken(Ljava/lang/String;)
is caused by people not having Stats installed (I forgot :P)
maybe you could have autorank give a better warning about this.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

omg can't believe that wasn't change. Originally after I updated it would say and internal error occurred. so I rewrote the config correctly after regenerating the advanced config file. so I never changed that. I just turned it on and ayers are saying it it listing their time played and that an internal error has occurred. lol so not sure. I had to do this on my phone this time. best if I wait 15 minutes until im home

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

what do you mean by "a dummy permissions file in PEX and the stats plugin" was that something else I need to change?

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

Ok this is what shows in console when doing the /ar check now. http://pastebin.com/ybEbxnUP It has that stats API error you mentioned above but i do have stats installed as well as vault. Both up-to-date. I would think it may be caused by the fact Stats plugin was completely re-written if i remember correctly. AutoRank and Stats both had a big update around the same time. But considering it seems im the only one with this issue it doesn't seem likely...Probably something on my end

from autorank-2.

Armarr avatar Armarr commented on August 26, 2024

Just to be sure, you are using this stats plugin right? There are a couple of similar looking stats plugins out there.
http://dev.bukkit.org/bukkit-plugins/lolmewnstats/

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

yes I use that stats plugin. the one by lolmewn

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

I know that my code is deprecated. The new Stats versions are Beta though, so I can't support them yet.

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

Once Stats has a official release I can update to the new code. Otherwise it would lose backwards compatibility.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

so if I drop down to the latest non-beta build of stats it should work?

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

Yes, it should.

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

I'll add a reminder to the Autorank files.

from autorank-2.

airmyles avatar airmyles commented on August 26, 2024

ok thank you so much for your help everyone that commented here. I will try that out when I get home. hopefully that's the final solution!! You've all been great help

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

Great! Post if you need more help! ;)

from autorank-2.

Staartvin avatar Staartvin commented on August 26, 2024

@Armarr I'll add a warning whenever stats is not found but stats required requirements are in the config.

from autorank-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.