Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CS:S] Sprays don't work #127

Closed
jorgenpt opened this issue Feb 15, 2013 · 10 comments
Closed

[CS:S] Sprays don't work #127

jorgenpt opened this issue Feb 15, 2013 · 10 comments

Comments

@jorgenpt
Copy link
Contributor

Issue transferred from ValveSoftware/steam-for-linux#1521
@sikon posted at 2013-02-10T08:09:04Z:

When I create a server with the default settings and press the spray key (whether with the default spray or a custom spray), the sound is played but nothing is painted on the wall.

@jorgenpt
Copy link
Contributor Author

@bdeen-valve posted at 2013-02-11T15:47:47Z:

Yup. There's definitely something wrong here. Investigating.

@jorgenpt
Copy link
Contributor Author

@bdeen-valve posted at 2013-02-11T19:09:42Z:

ugh...busted on Windows too.

@ghost ghost assigned bdeen-valve Feb 15, 2013
@jorgenpt
Copy link
Contributor Author

@bdeen-valve posted at 2013-02-11T19:32:29Z:

Ok, I was looking at the wrong build. On our public release it appears to be working.
There is a config on the server that disallows sprays. Are you starting your own server or are you running against a public one?
Also, there's a limit as to how many sprays can be done and how often...
Can you go into the console and see what the value for cl_playerspraydisable is?

for instance,
] find spray
client"cl_playerspraydisable" = "0" archive

@jorgenpt
Copy link
Contributor Author

@brl1214 posted at 2013-02-15T13:45:53Z:

Not a bug sprays work fine.
sprays have always been buggy jump into a server before you post an issue.

/close

@jorgenpt
Copy link
Contributor Author

@quaec posted at 2013-02-15T16:41:28Z:

That's really helpful @brl1214.

.vtf sprays don't work for me correctly.

When I try to upload a new vft spray, it doesn't change. JPG and TGA sprays seem to work fine.

I copied the .vtf file of the new spray to /pathtomyfolder/Steam/SteamApps/mysteamname/Counter-Strike Source/cstrike/materials/VGUI/logos.

  • I must also note that there are two vgui folders. vgui and VGUI.
  • But only the VGUI folder shows up in the CSS file manager.
  • When I delete one of the folders CS:S recreates these folders.

Maybe this causes some unwanted behavior?

drwxr--r--  6 christian christian 4096 Feb 15 16:59 ./
drwxrwxr-x 13 christian christian 4096 Feb 15 17:06 ../
drwxr--r--  3 christian christian 4096 Feb  7 00:23 models/
drwxr--r--  2 christian christian 4096 Feb 15 17:05 temp/
drwxr--r--  4 christian christian 4096 Feb 15 16:59 vgui/
drwxr--r--  4 christian christian 4096 Feb 15 16:59 VGUI/

folder css

Prozessor:
    Hersteller: AuthenticAMD
    Geschwindigkeit: 3200 MHz
    4 logische Prozessoren
    4 technische Prozessoren
    HyperThreading:  Nicht unterstützt
    FCMOV:  Unterstützt
    SSE2:  Unterstützt
    SSE3:  Unterstützt
    SSSE3:  Unterstützt
    SSE4a:  Unterstützt
    SSE41:  Nicht unterstützt
    SSE42:  Nicht unterstützt

Netzwerk-Informationen:
    Netzwerk-Geschwindigkeit: 

Betriebssystem:
    Ubuntu 12.04.2 LTS (64 Bit)
    Kernel-Name: Linux
    Kernel-Version: 3.2.0-37-generic
    X-Server-Vendor: The X.Org Foundation
    X-Server-Release: 11103000

Grafikkarte:
    Treiber: NVIDIA Corporation GeForce GTX 260/PCIe/SSE2

    Treiber-Version: 3.3.0 NVIDIA 313.18
    Desktop-Farbtiefe: 24 Bit per Pixel
    Monitor-Aktualisierungsrate: 59 Hz
    Anbieterkennung: 0x10de
    Gerätekennung: 0x5e2
    Anzahl der Monitore: 2
    Anzahl der logischen Grafikkarten: 2
    Prim. Anzeigeauflösung: 1680 x 1050
    Desktop-Auflösung: 2960 x 1050
    Prim. Anzeigegröße: 47,4 cm x 29,6 cm (55,8 cm diag.)

    Primärer Bus: PCI Express 16x
    Primärer VRAM: 896 MB
    Unterstützte MSAA-Modi: 2x 4x 8x 16x 

Soundkarte:
    Audiogerät: VIA VT1708S

Speicher:
    RAM: 3953 MB

Weitere Daten:
    UI-Sprache: Deutsch (Deutsch)
    LANG:  de_DE.UTF-8
    Mikrofon: Not set
    Verfügbarer Festplattenspeicher insgesamt: 928699 MB
    Größter freier Festplattenspeicherblock: 41060 MB

Installierte Software:

Neueste Fehlerberichte:

@AlexanderVL
Copy link

I' ve got trouble with sprays too in CS:S. The problem is threefold.

(1) The CS:S file browser can' t see any subdirectories in most directories. For example, when it is opened it shows ~/.local/share/Steam/SteamApps/common/Counter-Strike Source/ by default, but shows no content as if it were empty. If I switch to my home directory it does show the subdirectories, but if I go to ~/Downloads for example it doesn' t show any of the files or subdirectories present there.
(2) I copied a .vtf and .tga file for my spray to my ~/.local/share/Steam/SteamApps/common/Counter-Strike Source/ directory. Even though it doesn' t show anything, I can type the names of the spray files manually and hit the Enter key. This will cause them to be imported; the preview shows them correctly.
(3) When I then start my own server with bots to test if the sprays work, I hit the "t" key and hear the spray sound, but I don' t see my spray anywhere. I' ve verified that client"cl_playerspraydisable" = "0". This happens with both the .vtf and .tga sprays which I've imported succesfully.
(4) If I close CS:S and start it up again, it will forget that the spray was imported; it defaults to the purple/black checkerboard pattern for the spray again.

This might be four bugs in one comment, but I've got the impression it's all related. Anyway, thanks a lot for giving us Linux ports Valve engineers.

@bdeen-valve
Copy link
Contributor

The fix hasn't been pushed yet... Just waiting on that.

@zpostfacto
Copy link

Fix has shipped in TF2. We'll release a CS:S update in a day or so that fixes it.

@zpostfacto zpostfacto reopened this Apr 30, 2013
@ghost ghost assigned zpostfacto Apr 30, 2013
@AlexanderVL
Copy link

It works for me since I got the update, thanks for fixing! Maybe you want to close this issue now?

@NeonSpaceTurtle
Copy link

NeonSpaceTurtle commented Dec 31, 2022

Fix has shipped in TF2. We'll release a CS:S update in a day or so that fixes it.

still have this exact bug on a fresh install of css with vtf spray files that should work for certain (and with freshly made tga as well). i tried uploading from all kinds of directories in case css is still capricious, it made no difference. i double checked cvars like op did too. max graphic settings on. default sprays work, custom sprays all look invisible in lan server even when uploaded from main menu, and after css restarts too, nothing fixes it.

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

No branches or pull requests

5 participants