Jump to content

Top 1 Players, wont show input

Closed 2.1.4 2.1.5

Madsls
Madsls

Posted

Top 1 Players don't wanna be showen.? But Top 30 Players it will.

I have been into to config, and set Show Top 1 players as default, when you call /pr. But the menu wont show up.? But when i set it to False, it will show the UI panel, but when i try to click on top 1 players, nothing happen, and on Top 30 players, it will show the ranks. Is this a bug?

top 1.png

  • Administrator
Steenamaroo

Posted

Hi,

Check your server console or rcon whilst trying to open top1.
If you see an error similar to this

Failed to call hook 'LBUI' on plugin 'PlayerRanks v2.1.4' (InvalidOperationException: Sequence contains no elements)

then I've fixed this issue and the next update will address it.
If you're seeing any other error, please let me know.

Thanks for the report.

Madsls

Posted

5 minutes ago, Steenamaroo said:

Hi,

Check your server console or rcon whilst trying to open top1.
If you see an error similar to this

Failed to call hook 'LBUI' on plugin 'PlayerRanks v2.1.4' (InvalidOperationException: Sequence contains no elements)

then I've fixed this issue and the next update will address it.
If you're seeing any other error, please let me know.

Thanks for the report.

Thanks for your reply!

I'm getting this messages:
 

Failed to call hook 'LBUI' on plugin 'PlayerRanks v2.1.4' (InvalidOperationException: Sequence contains no elements)

at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0

at Oxide.Plugins.PlayerRanks.CallTopOne (BasePlayer player, System.String button, System.Boolean clan) [0x004b3] in <22446f00b52f4013961ccb4c42e988f6>:0

at Oxide.Plugins.PlayerRanks.LBUI (ConsoleSystem+Arg arg) [0x0006f] in <22446f00b52f4013961ccb4c42e988f6>:0

at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01016] in <22446f00b52f4013961ccb4c42e988f6>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

But it's only when im on my admin account.? - I have just tried to login by my othere Rust account, as normal player, and from here i can acces the Top 1 Player. - Can this be a problem when you are the admin owner, and have disable admin status in rank list.?

Madsls

Posted

And now im on my admin account. And now i can see the Top 1 Players. 

  • Administrator
Steenamaroo

Posted

That's the same error - Thanks for confirming.
Keep an eye out for the next update which addresses this issue.

  • Administrator
Steenamaroo

Posted

Changed Status from Pending to Closed

Changed Fixed In to 2.1.5

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.6k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.