Spawn Menu Search Bar Error

Post Reply
ryanhemmet
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Nov 10, 2014 9:48 pm

Spawn Menu Search Bar Error

Post by ryanhemmet »

On my server I receive this error when I attempt to search in the search bar.

Code: Select all

[ERROR] gamemodes/sandbox/gamemode/cl_search_models.lua:34: bad key to string index (number expected, got string)
  1. error - [C]:-1
   2. __index - lua/includes/extensions/string.lua:274
    3. func - gamemodes/sandbox/gamemode/cl_search_models.lua:34
     4. GetResults - lua/includes/modules/search.lua:29
      5. RefreshResults - gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsearch.lua:81
       6. OnEnter - gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsearch.lua:17
        7. unknown - lua/vgui/dtextentry.lua:104


[ERROR] gamemodes/sandbox/gamemode/cl_search_models.lua:34: bad key to string index (number expected, got string)
  1. error - [C]:-1
   2. __index - lua/includes/extensions/string.lua:274
    3. func - gamemodes/sandbox/gamemode/cl_search_models.lua:34
     4. GetResults - lua/includes/modules/search.lua:29
      5. RefreshResults - gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsearch.lua:81
       6. unknown - gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsearch.lua:18
Possible screw-ups:
I recently added the gamemodes: base and sandbox, from the Garry's Mod repository on Github in an attempt to fix another error with sTools (< Resolved by other means)
djstrikes3
New to forums
New to forums
Posts: 11
Joined: Tue Oct 29, 2013 10:10 am

Re: Spawn Menu Search Bar Error

Post by djstrikes3 »

I would say just revert to the base and sandbox game modes you were using before. If the STools problem was resolved by other means you should be able to use the oiriginal base and sandbox and have everything back to normal.
Post Reply