Comments (78)
Can I see your advanced config?
from autorank-2.
We have this linked to PermissionsEX and Stats, I blocked the password to the SQL so that others can't find it.
http://pastie.org/private/0tenlyrnjouuklr96w11bg
Thanks
from autorank-2.
Just found an error where I had it set to changerank and execute a permissionsex rank change in commands. Here's an updated one I just made.
http://pastie.org/private/92uaa10g91gkibwybco0q
New Error Log for the above pastie
[21:49:49] [Server thread/INFO]: [Autorank] Enabling Autorank v2.8 Beta
[21:49:49] [Server thread/INFO]: [Autorank] Simple config file loaded
[21:49:49] [Server thread/INFO]: [Autorank] Advanced config file loaded
[21:49:49] [Server thread/INFO]: [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
[21:49:50] [Server thread/INFO]: [Autorank] Successfully established connection to central.mysql.pytohost.com:3306
[21:49:50] [Server thread/INFO]: [Autorank] Interval check every 0 minutes.
[21:49:50] [Server thread/INFO]: [Autorank] Data file loaded
[21:49:50] [Server thread/INFO]: [Autorank] Essentials was found! AFK integration can be used.
[21:49:50] [Server thread/INFO]: [Autorank] Vault Hooked!
[21:49:50] [Server thread/INFO]: [Autorank] Found Stats plugin: Stats (by Lolmewn)
[21:49:50] [Server thread/ERROR]: Error occurred while enabling Autorank v2.8 Beta (Is it up to date?)
java.lang.NullPointerException
at me.armar.plugins.autorank.config.ConfigHandler.getRequirements(ConfigHandler.java:49) ~[?:?]
at me.armar.plugins.autorank.playerchecker.builders.RankChangeBuilder.createFromAdvancedConfig(RankChangeBuilder.java:92) ~[?:?]
at me.armar.plugins.autorank.playerchecker.PlayerChecker.initialiseFromConfigs(PlayerChecker.java:48) ~[?:?]
at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:198) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
from autorank-2.
Ah, I see why it is giving the error. You use dots in the names: 'lv.1'. That is not allowed in the syntax of YAML. You'll have write out the complete name, or do 'l3' or something. You cannot use dots.
from autorank-2.
Pretty sure putting the names in between quotation marks would also fix
that. So try "lv.1":
2014-03-03 7:44 GMT+01:00 Staartvin [email protected]:
Ah, I see why it is giving the error. You use dots in the names: 'lv.1'.
That is not allowed in the syntax of YAML. You'll have write out the
complete name, or do 'l3' or something. You cannot use dots.Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-36485164
.
from autorank-2.
Actually, it's probably with single quotes. 'lv.1':
2014-03-03 14:39 GMT+01:00 Robin Deprins [email protected]:
Pretty sure putting the names in between quotation marks would also fix
that. So try "lv.1":2014-03-03 7:44 GMT+01:00 Staartvin [email protected]:
Ah, I see why it is giving the error. You use dots in the names: 'lv.1'.
That is not allowed in the syntax of YAML. You'll have write out the
complete name, or do 'l3' or something. You cannot use dots.Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-36485164
.
from autorank-2.
Yeah, it would be single quotes. However, just to be sure, it might be smarter to avoid dots.
from autorank-2.
Alright, after much much configing and etc, we have arrived here!
http://pastie.org/private/b4jcnhqbjrx14dt80ic9mq
<3
from autorank-2.
Autorank at this point is freezing whenever we attempt to start the server.
from autorank-2.
We have it taken out of the server, I would like to say thank you very much for taking the time to look at this for us.
I should also add that the problem is still continuing.
from autorank-2.
Is your plugin compatible with CraftBukkit Beta Build 1.7.2-R0.3?
from autorank-2.
Yes, it is compatible.
from autorank-2.
Can you show me your new config?
from autorank-2.
http://pastie.org/private/b4jcnhqbjrx14dt80ic9mq <-- Main Issue
This is the error we recieve when we run the server. All commands come back as AutoRank being disabled.
http://pastie.org/private/ksyczc6xntpgbktauow9a <-- There's our Config for Autorank,
http://pastie.org/private/bedcidlk7ykqvjtlcmfqa <-- There's our Config for Stats
http://pastie.org/private/2r7hjkkcjua82gbqz7bgtq <-- There's our Config for PEX
Thank's for the help! Can't wait to hear back.
from autorank-2.
Your fresh group doesn't have any requirements. A group has to have at least one requirement, because no requirements would defeat the purpose of Autorank :P
from autorank-2.
I set it as to where they NEED to right click the "skip tutorial" sign, or complete the tutorial and click a sign to make the server send a command to rank them up. But I will make an impossible requirement as long as that will make it work.
from autorank-2.
Alright, Combat and I set the ranks to require bedrock, just for testing purposes. Now we encounter this.
http://pastie.org/private/sryqb8gjpz2fywjqrtuj2w <--- Error
http://pastie.org/private/0m5norj9uwxbd2itypvzw <--- New Advanced Config.
do we have to have factions etc installed?
Thank's for your time.
from autorank-2.
You can also us a location requirement so that a player has to be at a specific location.
from autorank-2.
You do not have to have Factions if you don't use it. Stats couldn't be hooked because you probably do not have beta functions enabled, or do not use the correct version of Stats. You need to use Stats 1.37
from autorank-2.
Thank you very much for sending quick responses; you are an amazing developer! I will be sure to check that out in the morning (sounds pretty accurate). I have to get a few hours of shut eye before school, so good night.
from autorank-2.
No problem. Take some rest, so you can focus on other things ;)
from autorank-2.
Beta functions were previously set to false. I have them enabled now though. Also in the log it said that I did have stats 1.37
Still getting the same error, it also says that I do not have WorldGuard, is that because my WG version is not compatible with Autorank?
http://pastie.org/8863634 <----- log
http://pastie.org/private/7am4ujgwbkhymvupadm5w <----- stats config.yml
from autorank-2.
I have updated WorldGuard and even World Edit. I am still getting the dependancies error (not for worldguard anymore) :)
http://pastie.org/private/hqkqo9coaxfue0xdjrfma <----- log
from autorank-2.
I downloaded this Autorank.jar
http://dev.bukkit.org/bukkit-plugins/autorank/files/50-autorank-v2-8-beta/
Now the "dependencies" error is gone :)
http://pastie.org/private/0ptgzhuniu03efhnsszjg
It just stops there, and does not continue.
from autorank-2.
The Autorank version you downloaded from the dev repo is a more updated version. The new one has a new dependency manager. It's weird that it does not recognise WorldGuar. Can you try use WorldGuard 5.8?
from autorank-2.
I downgraded to WorldGuard v5.8 and this is the log
http://pastie.org/8865213
from autorank-2.
So now it is working?
from autorank-2.
No, I cannot even log into my server. here is an updated log though.
http://pastie.org/private/ujy3h0mvgnz8thgjcoai3g
from autorank-2.
You need to download the 112 version and disable auto updates.
from autorank-2.
What do you mean by the 112 version, can you send a link please?
from autorank-2.
#112 on the development server ;)
from autorank-2.
Which would be here:
http://62.131.38.74:8080/job/Autorank%20Beta/112/Autorank$Autorank/artifact/Autorank/Autorank/2.8-Beta-Dev-112/Autorank-2.8-Beta-Dev-112.jar
2014-03-05 11:15 GMT+01:00 Staartvin [email protected]:
#112 on the development server ;)
Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-36727809
.
from autorank-2.
Exactly!
from autorank-2.
We've updated to the Beta Dev 112 and now are at this error.
http://pastie.org/private/g39xsaq7rq5u0ya3uzdrxa
from autorank-2.
What version of mcMMO are you running?
from autorank-2.
none, do we need it?
from autorank-2.
You don't need it.
from autorank-2.
I'm confused on the next step we gotta take then o.o?
from autorank-2.
Hmm
It shouldn't give you any errors with mcMMO.
from autorank-2.
I can add mcmmo if you think we should, a few of my staff suggested it.
from autorank-2.
I'll look into the issue. I can fix it for you guys later on. But I have to get going now.
from autorank-2.
The server will be released on Monday if the autoranking plugin is completed and working by this friday, if not, we will delay the launch until a later date. We are very grateful for all of your help, thanks a bundle! If you are going to sleep, sleep well :D
from autorank-2.
I'll make sure to fix this tomorrow. I'm going to take a nap ;)
from autorank-2.
Okay, you can download dev build 133, which contains the fix ;)
from autorank-2.
Can't wait to try it this afternoon when I get home. Thanks.
from autorank-2.
Glad you were waiting for me ;)
from autorank-2.
When loading v133 http://pastie.org/private/uj5td1jkwpnxqcgaiuvb3w <----- log
When loading v136 http://pastie.org/private/6qis4xgh5z9uu6gnf5g <----- log
Neither of them worked, and after waiting 2 minutes for no movement in the console, I stopped the server. The server was frozen at these points.
from autorank-2.
Combat, just found this reading through there
[21:09:53] [Server thread/INFO]: [HMCmount] Enabling HMCmount v1.0
[21:09:53] [Server thread/ERROR]: [HMCmount] [Mount]: no Vault found
from autorank-2.
I see you use an newer version of Stats. You need Stats 1.37 from its bukkit page.
from autorank-2.
Vault needs to be enabled as well of course.
from autorank-2.
I wish I was at home on my pc
from autorank-2.
http://tinypic.com/r/dy26ol/8
picture of my plugins, Vault is there
from autorank-2.
I will upload a stats 1.37 .jar, one second.
from autorank-2.
Check for new version of vault?
from autorank-2.
Stats is at 1.37
Essentials (using latest version)
WorldGuard (using latest version)
WorldEdit (using latest version)
log Autorank v136 -----> http://pastie.org/private/cosirfmlojxytdhcrnw
log Autorank v133 -----> http://pastie.org/private/sfxqhlzg2u984kbpmmw6q
([Autorank] This version of Stats (by Lolmewn) is not supported by Autorank!)
Vault (using latest version)
from autorank-2.
Odds...
from autorank-2.
When I changed stats to the previous version that I had, it still did not work
Log: http://pastie.org/private/ssgngqgqnvemh3cnifg6lq
from autorank-2.
Stats is crashing. Look at the errors. You should use this version of Stats: http://dev.bukkit.org/bukkit-plugins/lolmewnstats/files/48-stats-v1-37/
Delete your Stats MySQL database and let it create a new one with that version I linked you.
from autorank-2.
I deleted the old database, created a new one, edited the new password in the stats config.yml
It created four new tables "Stats_Block", "Stats_Death", "Stats_Kill", and "Stats_Block".
http://pastie.org/private/j46cxz6osfvrewrqlisq <----- log (to big, had to make 2)
http://pastie.org/private/xeocqub6skwadkl4sjst9q <----- log # 2
Didn't work.
from autorank-2.
Combat born, there's a bug w/ stats. Stats_player is suppose to be a table created automatically, stats isn't creating the table like it's suppose to though. That's why I had to make that table by hand but I may have messed it up.
from autorank-2.
And you need to link auto ranks and stats
[Autorank] Could not connect to central.mysql.pytohost.com:3306
Excuse my typing, I'm on my phone
from autorank-2.
Autorank now has the correct password,
I did notice this:
/ / /
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'nyc2518.Stats_player' doesn't exist
Up to date log:
http://pastie.org/private/sev4zdzo3r5xjayq0paara <----- log # 1
http://pastie.org/private/ibvu9trxhf0wk1fv7tj9g <----- # 2
In the console, it freezes at:
07.03 03:45:31 [Server] INFO ---------------[Autorank Dependencies]---------------
07.03 03:45:31 [Server] INFO mcMMO has not been found!
07.03 03:45:31 [Server] INFO WorldGuard has been found and can be used!
07.03 03:45:31 [Server] INFO Factions has not been found!
07.03 03:45:31 [Server] INFO Hooked into Stats (by Lolmewn)
07.03 03:45:31 [Server] INFO Found Stats plugin: Stats (by Lolmewn)
07.03 03:45:31 [Server] INFO Searching dependencies...
07.03 03:45:31 [Server] INFO ---------------[Autorank Dependencies]---------------
07.03 03:45:31 [Server] INFO Vault found and hooked!
07.03 03:45:31 [Server] INFO Essentials was found! AFK integration can be used.
07.03 03:45:31 [Server] INFO Data file loaded
07.03 03:45:31 [Server] INFO Interval check every 25 minutes.
07.03 03:45:31 [Server] INFO Successfully established connection to central.mysql.pytohost.com:3306
from autorank-2.
Hmm, I'm not sure why it freezes. Very weird. Have you tried turning off the auto updater?
from autorank-2.
Hmm, as I can tell from your log, Stats is failing big time. I know that when Stats is updated, and then downgraded, it can cause a lot of problems.
from autorank-2.
I messaged Combat to check the Auto Updater. Staartvin, as far as the Stats_player table not being created, is that an error in our setup, or an error in the plugin, and if it's an error in the plugin, who do you know that can help us out? or do you have any other ideas?
from autorank-2.
I believe if you want to fix Stats, you'll have to completely remove all data from it. So delete the whole table and remove the Stats folder. Then download the jar I linked you to somewhat earlier this thread and start the server up again. Disable snapshots or whatever.
from autorank-2.
We'll try that. Expect a reply in less than 30 minutes with results :D
from autorank-2.
I am a little busy entertaining friends, I will fix this later. Thank you for being so active on helping us :D
You do not know how much we appreciate this!
from autorank-2.
We've been working at it for a while and still aren't seeming to find a fix. We'll keep you update Staartvin
from autorank-2.
We've made some awesome progress, we're at something else now.
In Game Warning
< AUTORANK > Warning: Rank change of rank 'twentythree' is invalid. The rank to promote to doesn't exist in the perm file.
Autorank Config of 20's levels. http://pastie.org/private/2eglugxxz304btvgfu4cg
Pex Config of 20's levels. http://pastie.org/private/d4k2ouakj1m0nk9uo5ryw
from autorank-2.
We have never been able to type "/ar check" until today when I was messing around with the files (trying to make it work). I was very glad to see it work, and thought the problem was gone.
Shortly after I started to configure autorank and permissionex (finish the ranks/rankups). Like my pal said, it was saying one of the ranks were "invalid" (which it was not). I even changed my own rank to 'twentythree' and surely, it did work.
Also Stats will no longer keep track of anything in the tables.
http://pastie.org/private/hlkipgezn2yluqrocav9w < ----- Server.log 1
http://pastie.org/private/jozt8s6mnhj4c1ijm3opkq < ----- server.log 2
http://pastie.org/private/lggorw46fqi1ph2qsjyww < ----- Autorank Adv. Config
http://pastie.org/private/6t8qzkrcqkqtrs2fwiqha < ----- PermissionsEx permissions
http://pastie.org/private/b1fxspubramayavgqtgaza < ----- Stats config
http://tinypic.com/m/hvavkx/3 < ----- Picture in game of:
- our beautiful spawn
- the chat shows the error message
- the chat shows my rank
from autorank-2.
It might have to do with the fact that all your permissions for any permissions group is null.
Ah, but I see Combat changed the permissions groups with correct permissions.
I think I have to do some with your PEX and Autorank config files, because I'm running out of options.
from autorank-2.
Most of the permissions are currently null, but I am planning to add permissions there shortly.
Also if that was the reason, It would have asked me that before I had even made the "twentythree" rank because there were null's previously.
I have been working on my server with little to no breaks for the past 4 months, and I am so close to being able to release it.. Autorank is now the only thing in the way of the server being released. I am very desperate for your help.
from autorank-2.
BTW'z combat, I blame the host network for stats not working.
EDIT: The tables I mean.
from autorank-2.
Hey Staartvin, just commenting here after helping Combat get fixed up, figured you'd probably want to know what we ended up having to do!
After struggling around with the "< AUTORANK > Warning: Rank change of rank 'twentythree' is invalid. The rank to promote to doesn't exist in the perm file." I noticed that twentythree had been spelled tewntythree in the PEX file, and as you can assume that problem went away fairly quickly. Reload wasn't properly picking up the changes so we figure that we may as well restart the server.
Server stops gracefully, we all cross our fingers in anticipation.... server appears to be up but is again running some very, very long operation after your ----[Autorank Dependencies]---- section. I give up debugging through the logs, as there isn't much to go by there and start digging through the PEX config. Nothing strange there, so I'm at a loss about what I should do.
Then, suddenly, I remember that I can attach a debugger to Java processes. I hook my eclipse up to a local setup of the server, matching plugins/configs. I go through all the running threads in the java process and break them one by one until I realize that the problem is in the main thread, and there's some sort of repeating cycle going on. I see the word permissions and I realize it right then. Inheritance. Inheritance was the problem all along, as it turns out, inheriting more than 20 groups or so causes some strange infinite loops and/or very long running loops.
Amazingly simple fix though, all I had to do was: every 10 groups, replicate the permissions of the 9 groups before, then have the multiple of 10 inherit from the lesser multiple of 10. That pretty much solved all the problems, it's been running great ever since. The issue seems to be with Vault's way of hooking into PEX and getting permissions (but only with very large inheritance trees), so I wouldn't worry too much about modifying your code, Staartvin.
Such a silly issue causing such a fuss... I'll take a look at PR'ing PEX or Vault to fix it, I might not be able to though...
from autorank-2.
Ah, thuis is very good to hear! Most people can't or don't know how to use a debugger, but it so handy! I'm very glad this is fixed! :)
from autorank-2.
Comment deleted, personal information displayed.
from autorank-2.
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.
Related Issues (20)
- Why wont my players get money?
- How to remove automatic message? HOT 1
- Automatically demoting promoted players.
- Autorank unable to hook into Aurelium Skills
- Quicker to use reset command
- Autorank producing huge log files HOT 2
- Choosing for you
- Is it possible to have it so the rank name and then the player name shows up as the username in chat?
- AutoRank automatically choose eligible path; multi linear paths
- Statz vs AutoRank Blocks placed
- Incorrect Loop Guarding
- Jobs Integration Error
- Lots of error messages after a power interruption
- player_head item is not recognized in player's inventory
- auto-repeatable pathes
- Error when using placeholder as requirement
- Ranking players up who have multiple ranks HOT 1
- Feature Request: Integration with Residence Plugin
- Players Don't Rank Up if they Logout right after hitting criteria HOT 1
- not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorank-2.