Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Scoreboard not working #82

Open
NickCloudAT opened this issue Oct 27, 2018 · 5 comments
Open

Scoreboard not working #82

NickCloudAT opened this issue Oct 27, 2018 · 5 comments

Comments

@NickCloudAT
Copy link

What happened?

The Scoreboard Tab "Spectator Deathmatch" or how it should show, does not work.
I do use a third party Scoreboard, but it also does not work with the default one.

I do also have a very old version of the addon, where it does still work. But I'd rather use the new one.

Are there any lua errors in the console?

Nope

Are you using a beta branch of GarrysMod? (No, prerelease, dev)

No

What version of TTT Spectator Deathmatch do you use? (e.g. Workshop, GitHub master, GitHub stable release)

Github stable release

@MinIsMin
Copy link
Collaborator

MinIsMin commented Oct 28, 2018

From what can you see it isn't working? Are there e.g. no columns for SpecDM or does it not open?
If something is displayed it would be good to take a screenshot so I can take a look at it.

Can you tell what's the version (maybe by date) where it works?

@NickCloudAT
Copy link
Author

From what can you see it isn't working? Are there e.g. no columns for SpecDM or does it not open?
If something is displayed it would be good to take a screenshot so I can take a look at it.

Can you tell what's the version (maybe by date) where it works?

The Scoreboard itself does work, it just does not show the SpecDM column which would be nice because other spectators would see it more obviously that others are playing in DM.

Well, the older version is pretty old I guess. I will upload the addon for you because I really dont know where to look exactly.

Download: https://nickcloud.at/nextcloud/index.php/s/NLCYN2MHQbQWWjg

Only thing i changed in this version are the sound files, because in that old version, 1 was like half a megabyte..

@NickCloudAT
Copy link
Author

Oh and one thing i tried, is changing the "cl_spectator_deathmatch.lua" from the new one, with the old one.
I did get 1 lua error, but I could fix that. After changing that file, the scoreboard worked again, but it's still old code and I dont wanna use it.

@MinIsMin
Copy link
Collaborator

MinIsMin commented Oct 28, 2018

Do you still know the lua error and what did you change?
Is the cl_spectator_deathmatch.lua you provided in the link above your "fixed" version?

@NickCloudAT
Copy link
Author

Do you still know the lua error and what did you change?
Is the cl_spectator_deathmatch.lua you provided above your "fixed" version?

The lua error was only an old function when you press the key for the global chat. It wants to give you a "Hint", but it does not exist so throws an error.

The above is not the fixed no. You dont have to change much other then remove the one Keypress function where you check for the chat key.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants