Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Lua 

[PSS] Partial SDK Scripting [FREE] [COMPILE YOURSELF FAG]

Updated version of PCS (Private Cvar Scripting).
Injector is now scripted.
There are now INetChannel functions available to use.

And I will not release compiled versions anymore. If you can't figure out how to build this with the sourcesdk you shouldn't be allowed to use it. And I don't want people straight up copy pasting my injector executable.

NOTE: When using this unmodified you MUST copy the compiled PCS.dll and rename the copied one PCS_CSS.dll. PCS.dll is what the injector defaults to if it cannot load the config script.

NOTE 2: When compiling, MAKE SURE you change the precompiler BASEPATH definition in both header files (main.h and pcsinjector.h) if you want to not have to place it in %SYSTEMDRIVE%\PCS

https://dl.dropboxusercontent.com/u/3657...tingV2.zip

And before I even hear it. THIS DOES NOT FUCKING HAVE ANYTHING TO DO WITH GLUA NOR WILL IT EVER. THIS IS A SEPARATE LUA ENVIRONMENT/STATE.

And the new functions:
Code
NC_GetNetChannel() - get client net channel (returns INetChannel)

NC_RequestFile(INetChannel, filename) - request file (returns integer)
NC_SendFile(INetChannel, filename, transferID) - send file (returns boolean)

NC_SetFileTransmissionMode(INetChannel, backgroundmode) - set transmission mode
NC_SetCompressionMode(INetChannel, usecompression) - set compression mode
NC_SetRemoteFramerate(INetChannel, frametime, stddeviation) - set remote framerate

And the injector scripting functions:
Code
/* PCSinjector Lua Functions */

global function GetDll(exename) needs to return the dll path (you can include environment strings)
global variable InjectOnStart can be set to a string containing the process name to inject into
global variable MaxExeNameLen can be set to an integer and it will only list exes with a name <= to that number
WindowExists(title) - check if a window with this title exists

Soon to come: IClientEntity/IClientEntityList functions.
Thanks for this, will come in handy.
Looks promising, this will be great for me to use.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Source] by midlegApr 29, 2025 09:29 AM 1 193 Apr 29, 2025 09:29 AM
Last Post: khalilbush23
[Delphi] by collisionpackerAug 10, 2017 06:47 AM 3 368 Aug 10, 2017 06:47 AM
Last Post: collisionpacker
by Ashish BishtOct 24, 2016 03:00 AM 0 135 Oct 24, 2016 03:00 AM
Last Post: Ashish Bisht