ghoulofgsg9 / ns2stats.com Goto Github PK
View Code? Open in Web Editor NEWStats Mod for NS2
License: MIT License
Stats Mod for NS2
License: MIT License
Checking the debug log this seems to be happenning a lot:
Error: lua/shine/extensions/captains/server.lua:324: attempt to index global 'Connected' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:65: in function '__index'
lua/shine/extensions/captains/server.lua:324: in function <lua/shine/extensions/captains/server.lua:284>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:116: in function 'Call'
lua/shine/core/shared/hook.lua:640: in function 'JoinTeam'
lua/shine/extensions/basecommands/server.lua:886: in function <lua/shine/extensions/basecommands/server.lua:876>
[C]: in function 'xpcall'
lua/shine/core/server/commands.lua:571: in function <lua/shine/core/server/commands.lua:433>
[Hook Error] PostJoinTeam hook failed from plugin 'captains'. Error count: 1.
Debuglog.txt gist:
https://gist.github.com/akrigline/ea94f6f3a038f6b878f1
I know it's still in beta so there's no documentation for me to figure out what these options are supposed to do.
It doesn't seem that "AllowPregameJoin" does anything.
The "Reset Captains Mode" button in the Shine Admin Menu doesn't seem to do anything either.
Sometimes, there are a few players that don't show up on the menu to be picked
It might be when someone joins mid-picking process. It also seems to happen when a player leaves and rejoins, the plugin still thinks they're on a team and thus they aren't pickable.
"StateMessageColour": [ 255, 255, 255 ]
Returns Yellow, not white. Changing the last value does not affect the color.
Add a option so that the plugin won't do anything until the user vote for it to start.
Make it so captain 1 picks then captain 2 and so on with a small text at the bottom showing the players who is picking at the moment.
I haven't experienced this but I think it has to do with some people having rebound "m" so they cannot use the Shine menu to get at the captains menu. After typing "!captainmenu" in chat, then exiting, they can't look around and instead have the mouse stuck moving across the screen.
Teams stopped being swapped after round end.
Sometimes NoRookies fails to kick people, I checked my debuglog and this stuff was here, wonder if it has anything to do with it?
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:63: in function <lua/shine/extensions/norookies/server.lua:58>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:61: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveSteamData hook failed from plugin 'norookies'. Error count: 1.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:71: in function <lua/shine/extensions/norookies/server.lua:66>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:62: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveHiveData hook failed from plugin 'norookies'. Error count: 2.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:79: in function <lua/shine/extensions/norookies/server.lua:74>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:63: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveNs2StatsData hook failed from plugin 'norookies'. Error count: 3.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:63: in function <lua/shine/extensions/norookies/server.lua:58>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:61: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveSteamData hook failed from plugin 'norookies'. Error count: 4.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:71: in function <lua/shine/extensions/norookies/server.lua:66>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:62: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveHiveData hook failed from plugin 'norookies'. Error count: 5.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:79: in function <lua/shine/extensions/norookies/server.lua:74>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:63: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveNs2StatsData hook failed from plugin 'norookies'. Error count: 6.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:63: in function <lua/shine/extensions/norookies/server.lua:58>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:61: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveSteamData hook failed from plugin 'norookies'. Error count: 7.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:71: in function <lua/shine/extensions/norookies/server.lua:66>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:62: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveHiveData hook failed from plugin 'norookies'. Error count: 8.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:79: in function <lua/shine/extensions/norookies/server.lua:74>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:63: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveNs2StatsData hook failed from plugin 'norookies'. Error count: 9.
Error: lua/shine/extensions/norookies/server.lua:92: attempt to index local 'Player' (a nil value).
stack traceback:
lua/shine/core/shared/hook.lua:67: in function '__index'
lua/shine/extensions/norookies/server.lua:92: in function 'Check'
lua/shine/extensions/norookies/server.lua:63: in function <lua/shine/extensions/norookies/server.lua:58>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:127: in function 'Call'
lua/shine/core/server/playerinfohub.lua:25: in function 'Call'
lua/shine/core/server/playerinfohub.lua:61: in function 'OnConnect'
lua/shine/core/server/playerinfohub.lua:177: in function <lua/shine/core/server/playerinfohub.lua:176>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:82: in function 'CallHooks'
lua/shine/core/shared/hook.lua:155: in function 'Call'
lua/shine/core/shared/hook.lua:508: in function <lua/shine/core/shared/hook.lua:507>
[Hook Error] OnReceiveSteamData hook failed from plugin 'norookies'. Error count: 10.
Unloading plugin 'norookies' for too many hook errors (10).
When the captain of either team readied, only Team 1 was ever toggled to "ready". And the game did not start.
With captains enabled, there doesn't seem to be a way to get out of spectate one you're in.
This might have something to do with the AllowPregameJoin not doing anything?
Captains seems to bypass noRookies.
Also, any way to make Hours Played in captains mode display the Steam hours if available?
Whenever a player joins a team in captains mode, it shows the message twice in the text.
Celerity in particular is difficult to click on with Captains mode enabled. You need to click a little below it to get it selected. Other options aren't too hard to click on.
It seems like when one of the two people who are eligible to be captain leaves, only one captain gets elected. Which causes problems. Perhaps some way of bumping the next person in line up?
So now it reads that the captain of team one readied up, but the game still doesn't start.
The next game though, the game starts once both teams have a commander. It's really weird and super confusing.
Help?
Enabling both tournament mode and captains mode in plugins bombards the console with hook errors until it disables tournament mode because of too many hook errors.
I created a test server with only Shine Admin and NS2stats Beta, enabled only captains, tournamentmode, and basecommands. Here's the debuglog.txt:
https://gist.github.com/akrigline/af9077287e296869b66e
Oddly enough, after the server loads with tournamentmode disabled I have been able to load the tournamentmode plugin via the Shine console without everything breaking. It's just having it set to true in the baseconfig.json that makes issues appear.
Now both teams ready up, it says both teams have readied up, but the game doesn't start.
The next game (after I !forceroundstart) starts as soon as both teams have a commander.
Something's goofed.
Can you add web admin to in game menu.
Regards
CarNagE[PL]
Sometimes the "ready" commands fail to start a game even though both teams have a commander.
I am not certain but I think this comes from a captain readying up before a commander is in the hive/chair, then trying to ready up after the fact as well.
Unsure if this is Captains or Shine, but the side of screen message doesn't turn off when a game starts.
No message pops up that indicates a team has readied and after both teams are ready, the game doesn't start.
This occurs when both the commanders and the captains try to ready up via the console, chat, and captains menu.
Openning debuglog.txt shows this:
Error: lua/shine/extensions/captains/server.lua:527: attempt to index local 'self' (a number value).
stack traceback:
lua/shine/core/server/commands.lua:398: in function '__index'
lua/shine/extensions/captains/server.lua:527: in function 'GetTeamName'
lua/shine/extensions/captains/server.lua:797: in function <lua/shine/extensions/captains/server.lua:782>
[C]: in function 'xpcall'
lua/shine/core/server/commands.lua:571: in function 'RunCommand'
lua/shine/core/server/commands.lua:615: in function <lua/shine/core/server/commands.lua:588>
[C]: in function 'xpcall'
lua/shine/core/shared/hook.lua:96: in function 'Call'
lua/shine/core/shared/hook.lua:549: in function <lua/shine/core/shared/hook.lua:548>
[Command Error] Console command sh_ready failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.