Foohy / jazztronauts

Jazztronauts is a cooperative theft-em-up for Garry's Mod, also known as prop hunt 2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weird lua bug making game run at 1 fps on tf2 map

scarletshadowzz opened this issue · comments

[Jazztronauts] gamemodes/jazztronauts/gamemode/map/mapgen.lua:405: attempt to call field 'GetCurrent' (a nil value)

  1. CalculateShardCount - gamemodes/jazztronauts/gamemode/map/mapgen.lua:405
  2. GenerateJazzEntities - gamemodes/jazztronauts/gamemode/init.lua:185
    3. Run - gamemodes/jazztronauts/gamemode/init.lua:153
    4. StartMap - gamemodes/jazztronauts/gamemode/playerwait/playerwait.lua:129
    5. v - gamemodes/jazztronauts/gamemode/playerwait/playerwait.lua:163
    6. unknown - lua/includes/modules/hook.lua:96

this weird lua error keeps showing up every time i load a tf2 map, any idea why? the map i loaded in particular was ctf_2fort... idk why it lags so bad

Yep, this is a bug with TF2 maps. The data in the .bsp file is compressed and the loader cannot parse it.
We have an experimental branch (bsp3) that solves this problem, but it needs testing before we merge it in.

commented

i hope this gets fixed soon, i own almost every game that can be mounted to gmod and i think it'd be cool to just play with those, especially if i'm offline

The bsp3 branch has now been merged, and I was able to play cp_dustbowl just fine; so I think this can be closed, possibly along with a few other issues related to Valve maps.

Yep TF2 maps should be working fine with that branch being merged in. Closing this one!