Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2024, 02:59:01 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Modified Scoreboard - Not sending to clients, causing error
Pages: [1]
Author Topic: Modified Scoreboard - Not sending to clients, causing error  (Read 3932 times)
DarthTealc
Poster

Posts: 2


« on: December 30, 2010, 11:45:12 AM »

I've modified the scoreboard to add an icon column, where mods and admins will have a special image. It works fine, except that the file will not send itself to clients. This results in the scoreboard only showing the scoreboard header, and errors.

The file I modified is sb_rows.lua, located at "garrysmod\gamemodes\terrortown\gamemode\vgui\sb_rows.lua", and replaces the default sb_rows.lua file.

Is there a way to have that modified file send itself to clients? I just can't figure it out. I tried doing it the same way I send the custom images, but it didn't work. (It does work for the images though)

Not sure if this is important or not, but the private test server I am doing this on doesn't have a FastDL server, while the public server it will eventually be used on does have a FastDL server.
hayhay89
Poster

Posts: 100


« Reply #1 on: December 30, 2010, 05:26:05 PM »

try fixing it?
Redcow
Poster

Posts: 87


« Reply #2 on: December 30, 2010, 05:30:04 PM »

I think it has to be a different file name because the game thinks they already have the file.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #3 on: December 30, 2010, 05:34:24 PM »

After putting the modified file on the server, are you uploading the new lua cache it generates to the FastDL server?
hayhay89
Poster

Posts: 100


« Reply #4 on: December 30, 2010, 05:42:00 PM »

Atm the server doesnt have FastDl enabled. As it is just a testing a server.
the Main server Will. if that helps you at all.
DarthTealc
Poster

Posts: 2


« Reply #5 on: December 31, 2010, 02:52:19 AM »

After hours of uploading the file with slight modifications and trying to get it to send the file to clients, I finally got it working. I don't know how. I am hoping it will continue to work, but I'll come back here if it suddenly stops sending it to clients again.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Modified Scoreboard - Not sending to clients, causing 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.011 seconds with 18 queries.