Raised This Month: $32 Target: $400
 8% 

Counter-Strike SDK


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:02   Counter-Strike SDK
Reply With Quote #1

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.

__________________

Last edited by Arkshine; 12-09-2015 at 16:52.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:09   Re: Counter-Strike SDK
Reply With Quote #2

* snip *
__________________

Last edited by Arkshine; 04-07-2010 at 09:43.
Arkshine is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 04-02-2010 , 11:10   Re: Counter-Strike SDK
Reply With Quote #3

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 )

Last edited by Seta00; 04-02-2010 at 11:18.
Seta00 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:16   Re: Counter-Strike SDK
Reply With Quote #4

*snip*
__________________

Last edited by Arkshine; 04-07-2010 at 09:45.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:18   Re: Counter-Strike SDK
Reply With Quote #5

Thanks, it will be fixed for the next version.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:22   Re: Counter-Strike SDK
Reply With Quote #6

*snip*
__________________

Last edited by Arkshine; 04-07-2010 at 09:46.
Arkshine is offline
Asd'
Senior Member
Join Date: Jun 2009
Location: Argentina
Old 04-02-2010 , 11:24   Re: Counter-Strike SDK
Reply With Quote #7

Arkshine, Nice job.
Regards.
__________________
Asd' is offline
Send a message via MSN to Asd'
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:27   Re: Counter-Strike SDK
Reply With Quote #8

*snip*
__________________

Last edited by Arkshine; 04-07-2010 at 09:46.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:33   Re: Counter-Strike SDK
Reply With Quote #9

*snip*
__________________

Last edited by Arkshine; 04-07-2010 at 09:45.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2010 , 11:37   Re: Counter-Strike SDK
Reply With Quote #10

*snip*
__________________

Last edited by Arkshine; 04-07-2010 at 09:46.
Arkshine is offline
Reply



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:19.


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