Monthly Target: $400 Donations: $277
 69% 

L4D Hidden CVars


Post New Thread Reply   
 
Thread Tools Display Modes
acetone
Member
Join Date: Apr 2009
Old 05-15-2009 , 01:47   Re: L4D Hidden CVars
Reply With Quote #41

Quote:
Originally Posted by Fyren View Post
only works for Linux
Any particular reason why this doesn't work for windows?
acetone is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 05-15-2009 , 01:58   Re: L4D Hidden CVars
Reply With Quote #42

He doesn't have the Windows signatures for the function calls.
bl4nk is offline
ProBoomer
Member
Join Date: Feb 2009
Old 05-15-2009 , 05:55   Re: L4D Hidden CVars
Reply With Quote #43

Yeah yesterday i have read the source of plugins and have find the way to get upgrade.

IS too nice if anyone fix the plugin for windows and add into admin_menu for gibe upgrade also to other people.

example: addupgrade 17 Louis blabla
ProBoomer is offline
Thraka
SourceMod Donor
Join Date: Aug 2005
Old 05-26-2009 , 17:00   Re: L4D Hidden CVars
Reply With Quote #44

I think it would be cooler to randomly spawn these upgrades as one-time-pickup items.
Thraka is offline
Bancky
Junior Member
Join Date: Apr 2009
Old 06-08-2009 , 12:54   Re: L4D Hidden CVars
Reply With Quote #45

Is there any chance we can get the plugin modified to where it says which player gets the skill/upgrade? There was a lot of confusion with the random adding.
Bancky is offline
NewGotham
New Member
Join Date: Jun 2009
Old 06-09-2009 , 18:09   Re: L4D Hidden CVars
Reply With Quote #46

Is there anyway to disable the console messages, or disable some of the upgrades?

Most of the time, people only want the Laser Sights, Hollow-Point Bullets, Kevlar Vests and High-Capacity Magazines, but Hot Meal seems to be popular when one guy's left...
NewGotham is offline
Shamoke
Junior Member
Join Date: Jul 2008
Old 06-10-2009 , 07:12   Re: L4D Hidden CVars
Reply With Quote #47

Have there been any new cvars since the latest update?
Shamoke is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-17-2009 , 21:46   Re: L4D Hidden CVars
Reply With Quote #48

Here's a working windows signature for AddUpgrade I managed to figure out. Sadly, I'm a noob at this, and haven't gotten any of the others, but at least I've gotten the most important one.
Code:
    StartPrepSDKCall(SDKCall_Player);
    PrepSDKCall_SetSignature(SDKLibrary_Server, "\xA1****\x83***\x57\x8B\xF9\x0F*****\x8B***\x56\x51\xE8****\x8B\xF0\x83\xC4\x04", 34);
    PrepSDKCall_AddParameter(SDKType_PlainOldData, SDKPass_ByValue);
    AddUpgrade = EndPrepSDKCall();
Hopefully we'll see some public windows servers with laser sights in the near future.
Jerrith is offline
Jerrith
Junior Member
Join Date: Jun 2009
Old 06-17-2009 , 23:31   Re: L4D Hidden CVars
Reply With Quote #49

Got two more useful ones...

Code:
    StartPrepSDKCall(SDKCall_Player);
    //PrepSDKCall_SetSignature(SDKLibrary_Server, "@_ZN13CTerrorPlayer17GiveRandomUpgradeEv", 0);
    PrepSDKCall_SetSignature(SDKLibrary_Server, "\x83\xEC\x18\xA1****\x56\x33\xF6\x39\x70\x30\x89***\x0F*****\x53\x55\x57\x33\xED\x33\xDB\x33\xFF", 33);
    GiveRandomUpgrade = EndPrepSDKCall();

    StartPrepSDKCall(SDKCall_Player);
    //PrepSDKCall_SetSignature(SDKLibrary_Server, "@_ZN13CTerrorPlayer13RemoveUpgradeE19SurvivorUpgradeType", 0);
    PrepSDKCall_SetSignature(SDKLibrary_Server, "\x51\x53\x55\x8B***\x8B\xD9\x56\x8B\xCD\x83\xE1\x1F\xBE\x01\x00\x00\x00\x57\xD3\xE6\x8B\xFD\xC1\xFF\x05\x89***", 32);
    PrepSDKCall_AddParameter(SDKType_PlainOldData, SDKPass_ByValue);
    RemoveUpgrade = EndPrepSDKCall();
RemoveUpgrade and GiveRandomUpgrade. The second wasn't in the .sp to begin with, I found it while looking for RemoveUpgrade, and thought it was useful enough to share. It gives the player one upgrade they don't already have (and does nothing if they have them all). Hope this is useful.
Jerrith is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 06-18-2009 , 08:07   Re: L4D Hidden CVars
Reply With Quote #50

I'm pretty confused, what are those for/how do I use them?
Dragonshadow is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:03.


Powered by vBulletin®
Copyright ©2000 - 2015, vBulletin Solutions, Inc.
Theme made by Freecode