AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   Counter-Strike SDK (https://forums.alliedmods.net/showthread.php?t=123097)

Arkshine 04-02-2010 11:02

Counter-Strike SDK
 
Counter-Strike SDK
- last updated : 2 apr 2010


The purpose is obviously not to provide a full working and compilable project
but only showing the content of some functions to know more on some CS specificities,
understanding the flow of some features, extracting useful datas thus creating better plugins
which should be more finely, intelligently, and efficiently coded.

So, from now I'm starting to release there as many function as I can gradually as time passes.
If people want to help, they are welcomed, though you should be aware it requires a lot of times.

As side notes I don't know much C/C++ so there will be probably some typos and sometimes
you will see pawn syntax. Unless it must be fixed, don't bother me with details.

I've started recently, don't expect to see all the functions at once.
I will try to keep one post by class, so I can explain things if need,
like the offsets related to the function, or from where is called such function.

Credits to HLSDK and HL2SDK.

EDIT: Now the project has been moved at : https://github.com/Arkshine/CSSDK
EDIT2: Another project by s1lentq, more complete at: https://github.com/s1lentq/ReGameDLL_CS. Consider checking this one instead.


Arkshine 04-02-2010 11:09

Re: Counter-Strike SDK
 
* snip *

Seta00 04-02-2010 11:10

Re: Counter-Strike SDK
 
Nice job!

EDIT: In player.cpp, lines 231 and 241, you're assigning instead of comparing:
Quote:

Originally Posted by player.cpp
if ( g_pGameRules->m_bCTCantBuy && m_iTeam = TEAM_CT )
...
if ( g_pGameRules->m_bTCantBuy && m_iTeam = TEAM_TERRORIST )


Arkshine 04-02-2010 11:16

Re: Counter-Strike SDK
 
*snip*

Arkshine 04-02-2010 11:18

Re: Counter-Strike SDK
 
Thanks, it will be fixed for the next version.

Arkshine 04-02-2010 11:22

Re: Counter-Strike SDK
 
*snip*

Asd' 04-02-2010 11:24

Re: Counter-Strike SDK
 
Arkshine, Nice job.
Regards.

Arkshine 04-02-2010 11:27

Re: Counter-Strike SDK
 
*snip*

Arkshine 04-02-2010 11:33

Re: Counter-Strike SDK
 
*snip*

Arkshine 04-02-2010 11:37

Re: Counter-Strike SDK
 
*snip*


All times are GMT -4. The time now is 14:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.