Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2024, 01:29:07 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Fretta map voting error ?
Pages: [1]
Author Topic: Fretta map voting error ?  (Read 2970 times)
Kazaki
Poster

Posts: 25



« on: April 23, 2011, 02:09:30 AM »

Hello,

I was messing around with the fretta voting system and I realized I couldn't make something I want to work. So I reinstalled the fretta  just to check if the error was from my part, and I still get this error:

Lua Error: Timer Error: [gamemodes\fretta\gamemode\sv_gmchanger.lua:38] attempt to index field '?' (a nil value)

this is the function that is getting the error:
function GetNumberOfGamemodeMaps( gm )

return table.Count( g_PlayableGamemodes[ gm ].maps )

end


Is the TTT gamemode not beeing detected ( the index gm is nil or rather ther gamemode isn't playable acc. to fretta ) ?

When I tested this with ttt_fretta_mapvoting set to "0" the other gamemodes showed up on the list and terrortown didnt but I am able to  load up a map with terrortown.

Edit:

Also... to be shure I completly reseted everything I ran a Steam Update on the (dedicated server) and it has no addons or anything.
Also the cvars that I have set relating TTT are:

+sv_defaultgamemode "terrortown"

ttt_firstpreptime 1

ttt_posttime_seconds 1

ttt_preptime_seconds 1

ttt_fretta_mapvoting 1

ttt_round_limit 1

« Last Edit: April 23, 2011, 04:00:43 PM by Kazaki »

http://ldt-clan.com/forum/forum.php
Kazaki
Poster

Posts: 25



« Reply #1 on: April 26, 2011, 10:31:24 PM »

bump

http://ldt-clan.com/forum/forum.php
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #2 on: April 27, 2011, 07:56:46 AM »

You messed with Fretta, tried to reinstall it, and now you get a Fretta error. This has nothing to do with TTT.

Of course, the answer is that you have forgotten a modification or script somewhere that is breaking things, but it's still got nothing to do with TTT.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Fretta map voting error ? « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 18 queries.