GithubHelp home page GithubHelp logo

ns2stats.com's People

Contributors

ghoulofgsg9 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ns2stats.com's Issues

PostJoinTeam hook failed

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

Players unpickable

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.

Make the player picking clearer

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.

Mouse locked in freemouse mode after closing menu

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.

DebugLog.txt Errors

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).

Only Team 1 can Ready

When the captain of either team readied, only Team 1 was ever toggled to "ready". And the game did not start.

Stuck in Spectate

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?

noRookies with Captains Mode

Captains seems to bypass noRookies.

Also, any way to make Hours Played in captains mode display the Steam hours if available?

UI Bonked

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.

Only One Captain Selected

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?

Only one team readies 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?

Tournament Mode and Captains Mode hook errors

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.

Both teams ready, game does not start

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.

Readying up sometimes does not start a game.

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.

Message not going away

Unsure if this is Captains or Shine, but the side of screen message doesn't turn off when a game starts.

sh_ready not working

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.

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.