Author Topic: Fix your spray.  (Read 1417 times)

Offline Chris@GPOINT

  • Map-Maker / Model-Maker
  • Server Admin
  • ****
  • Posts: 2331
  • Root-Admin / Moderator
    • View Profile
    • Homepage of Mannis FUN House
Fix your spray.
« on: 06. February 2011, 02:02:36 »
Some of you may noticed that there is a bug with your sprays, i dont know if all of you have this or only some of you, atleast i have this bug.
 
BUG: The config.cfg is not correctly loading.
I noticed that my spray is in it long time ago but i didnt know that its not loading correctly cause all the other settings (binds etc.) works great, thanks Berni for solution 1).

The last used spray is not saving, means you have to set it again after game restart. For all who have the same problem, 4 possible solutions to fix it. Let me know how it works cause these fixes wasnt figured out by me. All sounds plausible. I will try them too.
 
 
 
1) Best solution:   
  • Open your steam game library.
  • Right-Click on HL2DM and properties.
  • Open the Launch Options.
  • Most of you already have +console and/or +novid in it so here is the command for reload the config.cfg at every start of HL2DM. +exec config.cfg"
2) Easy solution:   
3) Also easy: (tested and it works perfect)
   
  • Open your steam game library.
  • Right-Click on HL2DM and properties.
  • Open the Launch Options.
  • Most of you already have +console and/or +novid in it so here is the command for set your spray. +cl_logofile "materials/vgui/logos/sprayname.vtf"
  • For sprayname.vtf you can set every .vtf name in folder STEAM\SteamApps\youraccount\half-life 2 deathmatch\hl2mp\materials\VGUI\logos or if you know how to create your own .vtf, save it there.

4) Maybe a bit difficult:
   
  • Open your autoexec.cfg with notepad, if you dont have one just start notepad.
  • Add this line in it. cl_logofile "materials/vgui/logos/sprayname.vtf"
  • For sprayname.vtf you can set every .vtf name in folder STEAM\SteamApps\youraccount\half-life 2 deathmatch\hl2mp\materials\VGUI\logos or if you know how to create your own .vtf, save it there.
  • "Save" or "save as" it as autoexec.cfg (all files)
Tell me your experience. And if you already know these things dont troll. :P

Offline DaftMink

  • *
  • Posts: 5
    • View Profile
Re: Fix your spray.
« Reply #1 on: 06. February 2011, 06:06:35 »
I'd highly suggest everyone download and install method 1.

It fixes a rather annoying exploit that would allow server's to change your spray to an advertisement which might end up getting you banned.

Over at [MGO] we have it set up so clients install a similar patch so this doesn't happen.

Offline Berni

  • Administrator
  • *****
  • Posts: 672
    • View Profile
Re: Fix your spray.
« Reply #2 on: 06. February 2011, 07:07:11 »
I tested a little bit around, it seems the problem is that HL2 doesn't correctly load the config.cfg file, but saves to it.
So I added "+exec config.cfg" to my command line and woops, it's working  ;D
Berni aka D.J. Aim eXtreme

>>If You Notice This Notice You Will Notice This Notice Wasnt Worth Noticing<<

Confucius say: war not determine who right, war determine who left.


Offline .Witto

  • Server Admin
  • ****
  • Posts: 1267
  • "We're admins, not babysitters." - Yamato
    • View Profile
    • Able Comp Website
Re: Fix your spray.
« Reply #3 on: 06. February 2011, 11:11:32 »
Alright, this is cool, thanks for fixes, I always wondered why if I spray my spray  it doesn't show on the wall etc. I always thought it's couse of the map textures.
Thanks guys.

Offline DajKamienia!

  • *
  • Posts: 136
    • View Profile
Re: Fix your spray.
« Reply #4 on: 06. February 2011, 12:12:14 »
GPOINT, the helper of the people! I'll do second method, because it's easier imho. Thanks for the aid, and can I add command like "+voice_loopback 1" too?

Offline Bachelor

  • *
  • Posts: 78
  • My heart is a fist drenched blood...
    • View Profile
Re: Fix your spray.
« Reply #5 on: 06. February 2011, 02:14:54 »
Thank you, it really helped me.
I did a second method and its works.


Offline DaftMink

  • *
  • Posts: 5
    • View Profile
Re: Fix your spray.
« Reply #6 on: 06. February 2011, 07:19:05 »
So I added "+exec config.cfg" to my command line and woops, it's working  ;D

Once again Berni you amaze me.

Thanks for the awesome tip, I'll try to spread it around.  :)

Offline Funnyman

  • *
  • Posts: 301
    • View Profile
Re: Fix your spray.
« Reply #7 on: 24. February 2011, 03:15:17 »
Thanks, i got this bug too :P!<3

Offline ^COMMODORE64

  • *
  • Posts: 919
    • View Profile
Re: Fix your spray.
« Reply #8 on: 25. February 2011, 07:07:24 »
Gpoint & Berni.... +1 rep for sharing the spray command!

I Used the Method 4, along with the VTF Plugin for Photoshop.... it can work with VTFeditor too!
 ;D