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

  Show Posts
Pages: [1]
1  Other / Trouble in Terrorist Town / Re: Lua error when using the DNA scanner on: August 15, 2010, 01:46:05 AM
It was included with the terrortown v9 dev download Bad King Urgrain posted. It has nothing to do with my original problem/thread though. I was just giving him a heads up.
2  Other / Trouble in Terrorist Town / Re: Lua error when using the DNA scanner on: August 15, 2010, 01:34:04 AM
Or new content.
3  Other / Trouble in Terrorist Town / Re: Lua error when using the DNA scanner on: August 15, 2010, 01:15:11 AM
Threw up that dev version on my dev server (ha) and it seems to work. The detective was able to open the DNA Scanner, scan a sample, and close the window (which was the issue).

Progress! :D

Unrelated note, the player who was the detective got the following error on the start of the next round:
entities\ttt_hat_deerstalker\shared.lua:102: bad argument #2 to '?' (Vector expected, got nil)
4  Other / Trouble in Terrorist Town / Re: Lua error when using the DNA scanner on: August 14, 2010, 10:25:34 PM
The ULX devs had a similar issue. The function file.FindInLua() does not return files in alphabetical order on Linux (or Garry's implementation of). This unpredictable behavior caused a lot of issues for them at init time.

Rumor has it that in Garry's ProgressBar.lua, "LabelAsPecentage" is spelled incorrectly. Might want to look into that too.

Also, XGUI (the new menu for ULX) does use Garry's progress bar, which for some reason was being blocked by SE. The workaround they used is below:
--This is for servers with scriptenforcer enabled.
--It will force scriptenforcer to allow these files to be included on the client where they weren't included by default.
AddCSLuaFile( "menu/progressbar.lua" )
AddCSLuaFile( "sandbox/gamemode/spawnmenu/controls/CtrlColor.lua" )


I'm going to temporarily remove the XGUI addon to see if this is causing our issues.
5  Other / Trouble in Terrorist Town / Lua error when using the DNA scanner on: August 14, 2010, 05:22:56 AM
When I open up the detectives DNA scanner, I get the following error in console:
weapons\weapon_ttt_wtester\shared.lua:556: attempt to call method 'LabelAsPercentage' (a nil value)


This causes the detective to not be able to close the DNA scanner's window. Has anyone else experienced this problem?

The only other addons I am using are the SVN version of ULX, ULib, and XGUI (the new menu for ULX).

I have ScriptEnforcer enabled and do not see any errors in the server console. I'm also using sv_downloadurl, but I know that's configured properly (or the gamemode wouldn't even load). This server is also running on Linux, which causes issues with file paths that have capital letters in it, but I do not believe this is the cause of the problem for this gamemode.

And yes, I've updated Garry's Mod using -verify_all.

Thanks for the help!
Pages: [1]


Login with username, password and session length

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