Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
That tonumber() is not needed as Playerdata.skill is always a number as tonumber gets applied on it when the value gets fetched in PlayerRanking.lua .
As mentioned at the wiki page users with permission to use sh_ignorestatscheck will be ignored by the check. So if you want admins to be checked you have to exlude the given permission.
Invalid data implies a LuaJIT compilation error.
I hope this answers your questions.
I changed Hiveteamrestriction Line 185 to:
local Skill = tonumber(Playerdata.skill)
And then I found out that I needed to comment out something more for the mod to kick me from the server.
I think it was "not Shine:IsValidClient( Client ) or Shine:HasAccess( Client, "sh_ignorestatscheck" ) " part that prevented me from getting kicked.
If admins are automatically sh_ignorestatscheck:ed and the server remembers this so removing yourself from the admin-group does not let you try it on yourself.. then mystery solved. Otherwise one of those checks could be at fault.
My copy of the mod now always give "Invalid data" error when activated on the server and I got stuck right when I was about to check which test let me stay on the server... :-(
Since I got the type-error on line 186 only when someone else joined the server, it looks like admin-power...
I didn't think about checking what excactly Playerdata.skill contained. Maybe tonumber() returns 0 for an empty string?
So you open the flood gate for cheaters.
I would suggest to use the normal development process of ns2 mods (Launchpad etc.) to play around with code and then release it as own mod if you want to use it at your server.
I just realized that excluding lua files in ConsistencyConfig.json lets me tinker with the code to try out stuff.. No?
Make sure that the Min and Max are numbers.
Details can be found at http://json.org/
[10:53:14]Error: lua/shine/extensions/hiveteamrestriction/server.lua:186: attempt to compare string with number.
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__lt'
lua/shine/extensions/hiveteamrestriction/server.lua:186: in function 'CheckValues'
I guess values read from config file are all strings..?
Non of the code is getting run or load in the menu or loading screen
Just assign your admin badges to another row: https://github.com/Person8880/Shine/wiki/Badges#assigning-badges-to-rows-for-the-badges-mod
Furthermore I will add options to change the rows the epsilonbadge plugin uses for the next update
The status message was a network latency issue. Sometimes the config packets just arrived later than the "show the message now" package. I changed the plug-in so it covers up for 500 ms.
And the mines one well that was just a dumb mistake of mine. Moving a method to some other place without moving the related private variables is never a good idea.
also after being disabled and re-enabled it does not show the status text at all, though it still runs and pgp becomes active after 30 seconds, with slow evolve times...
also ignores other commands from the PregamePlus.json, like allowmines: false
There is nothing i can do to fix this atm beside not pushing more updates for now.
Usefull for some private events.
Is the Cross Spawn plugin suppose to be working with MvM mod?
Currently isn't.
Also as my mods are smaller than 100 kb, it doesn't really matter for loading speed.
Also ofc this requires Shine to work