Fearless Forums
Precision tool bug - Printable Version

+- Fearless Forums (https://fearlessrp.net)
+-- Forum: CityRP Roleplay Server (https://fearlessrp.net/forumdisplay.php?fid=6)
+--- Forum: Bugs (https://fearlessrp.net/forumdisplay.php?fid=128)
+---- Forum: Fixed/Closed (https://fearlessrp.net/forumdisplay.php?fid=129)
+---- Thread: Precision tool bug (/showthread.php?tid=94854)



Precision tool bug - Mr. Flaminator - 12-03-2019

Title of Bug: Precision tool bug


Description: The precision isn't working as it worked before. When selecting the tool you would've a whole menu (Picture 1). When using the tool now, the whole menu is missing (Picture 2). When you have joined the server for the first time it also prints an error message.

Picture 1 = https://i.imgur.com/LVrPuWR.png
Picture 2 = https://i.imgur.com/NTerZwj.png



Evidence:



Code:
[ERROR] addons/precision/lua/weapons/gmod_tool/stools/precision.lua:1345: attempt to call method 'GetInfoNum' (a nil value)
  1. AddDefControls - addons/precision/lua/weapons/gmod_tool/stools/precision.lua:1345
   2. func - addons/precision/lua/weapons/gmod_tool/stools/precision.lua:1789
    3. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
     4. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
      5. ActivateTool - lua/includes/modules/spawnmenu.lua:287
       6. unknown - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:132



RE: Precision tool bug - Forgee - 12-03-2019

precision_defaultrestore in console fixes this Smile


RE: Precision tool bug - Mr. Flaminator - 12-03-2019

(12-03-2019, 01:29 PM)Forgee Wrote: precision_defaultrestore in console fixes this Smile

Will try that out once I am online.


RE: Precision tool bug - General Weed - 12-07-2019

(12-03-2019, 01:29 PM)Forgee Wrote: precision_defaultrestore in console fixes this Smile
This was working, thanks.


RE: Precision tool bug - Edned - 05-17-2020

This bug should no longer persist and console command "precision_defaultrestore" can fix this.

Closed.