ViperZ8 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

[Garry's Mod 13] FPP Menu results in kick #923

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Open Q, hit utilities, select FPP Admin Menu.

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)? Latest SVN

Please provide any additional information below.
sv_kickerrornum 0 will fix, you may want to just force this convar in init like 
you do with sv_alltalk.

I only have one error related to FPP, but it's not around the timing of me 
opening the menu.

Simple Timer Error: 
[@gamemodes/darkrp/gamemode/fpp/server/fpp_settings.lua:189] bad key to string 
index (number expected, got string)

    1. lua/includes/modules/timer.lua:190 (unknown)
    2. [C]:-1 (pcall)
    3. lua/includes/modules/hook.lua:75 (unknown)

Traceback: stack traceback:
    lua/includes/modules/timer.lua:226: in function 'Simple'
    gamemodes/darkrp/gamemode/fpp/server/fpp_settings.lua:697: in function <gamemodes/darkrp/gamemode/fpp/server/fpp_settings.lua:696>
    [C]: in function 'pcall'
    lua/includes/modules/hook.lua:75: in function <lua/includes/modules/hook.lua:58>
    1. lua/includes/modules/timer.lua:191 (unknown)
    2. [C]:-1 (pcall)
    3. lua/includes/modules/hook.lua:75 (unknown)

Original issue reported on code.google.com by rok...@summit-gaming.com on 17 Aug 2012 at 6:12

GoogleCodeExporter commented 9 years ago
I lied, clientside FPP Error:

[gamemodes/darkrp\gamemode\FPP\client\FPP_Menu.lua:24] attempt to index global 
'contents' (a nil value)
    1. gamemodes/darkrp\gamemode\FPP\client\FPP_Menu.lua:24 (func)
    2. gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:107 (FillViaFunction)
    3. gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:92 (FillViaTable)
    4. gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73 (DoClick)
    5. lua/vgui/dlabel.lua:196 (unknown)
    6. (tail call):-1 (unknown)

Original comment by rok...@summit-gaming.com on 17 Aug 2012 at 6:12

GoogleCodeExporter commented 9 years ago
The serverside error is because of gmod and will be fixed in the next gmod beta 
update. The clientside error is being fixed.

Original comment by fpeijnen...@gmail.com on 17 Aug 2012 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by fpeijnen...@gmail.com on 18 Aug 2012 at 8:19