Raised This Month: $51 Target: $400
 12% 

Counter-Strike SDK


Post New Thread Reply   
 
Thread Tools Display Modes
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 04-06-2010 , 19:36   Re: Counter-Strike SDK
Reply With Quote #51

Quote:
Originally Posted by Arkshine View Post
But I thought it was something added automatically ?
Yeah, but the last time I've registered a project it took about one day to fill in the code analysis (probably because it was much bigger than this one)
Seta00 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-07-2010 , 09:12   Re: Counter-Strike SDK
Reply With Quote #52

I would like to know offset m_iUnBalancedRounds from multiplayer_gamerules.cpp
__________________
xPaw is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-07-2010 , 09:30   Re: Counter-Strike SDK
Reply With Quote #53

Try :

Code:
[     {         "name"        : "m_iUnBalancedRounds",         "type"        : "int",         "memoryType"  : "data",         "identifiers" :         [             {                 "os"    : "windows",                 "mod"   : "cstrike",                 "value" : 208             },             {                 "os"    : "linux",                 "mod"   : "cstrike",                 "value" : 200             }         ]     } ]
__________________
Arkshine is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-07-2010 , 09:34   Re: Counter-Strike SDK
Reply With Quote #54

Quote:
Originally Posted by Arkshine View Post
Try :

Code:
[     {         "name"        : "m_iUnBalancedRounds",         "type"        : "int",         "memoryType"  : "data",         "identifiers" :         [             {                 "os"    : "windows",                 "mod"   : "cstrike",                 "value" : 208             },             {                 "os"    : "linux",                 "mod"   : "cstrike",                 "value" : 200             }         ]     } ]
hm orpheu sig, isn't its possible with normal offsets (lol) to use with [g/s]et_pdata_int ?
__________________
xPaw is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-07-2010 , 09:38   Re: Counter-Strike SDK
Reply With Quote #55

No, it won't work like that since it's not related to an entity. Here it's related to an object. ( g_pGameRules ). You have an example in my Round Terminator.
__________________
Arkshine is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-07-2010 , 09:55   Re: Counter-Strike SDK
Reply With Quote #56

Quote:
Originally Posted by Arkshine View Post
No, it won't work like that since it's not related to an entity. Here it's related to an object. ( g_pGameRules ). You have an example in my Round Terminator.
Oh right, thanks
__________________
xPaw is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 04-07-2010 , 21:15   Re: Counter-Strike SDK
Reply With Quote #57


Code:
/***
*
*    Copyright (c) 1996-2002, Valve LLC. All rights reserved.
*    
*    This product contains software technology licensed from Id 
*    Software, Inc. ("Id Technology").  Id Technology (c) 1996 Id Software, Inc. 
*    All Rights Reserved.
*
*   Use, distribution, and modification of this source code and/or resulting
*   object code is restricted to non-commercial enhancements to products from
*   Valve LLC.  All other use, distribution, or modification is prohibited
*   without written permission from Valve LLC.
*
****/
http://www.nooooooooooooooo.com/

Let me be clear: Why in the world did you use the Valve license on the SDK?????????


I've updated the license on the Ohloh project.

Last edited by Seta00; 04-10-2010 at 16:41.
Seta00 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-03-2010 , 14:46   Re: Counter-Strike SDK
Reply With Quote #58

A small bump to inform that all the weapons are now decompiled.
There are probably numerous errors/typos and some adjustments to do. All weapons will be reviewed later.

You can review there : http://code.google.com/p/cs-sdk/sour...wse/#svn/trunk or using a svn client software with http://cs-sdk.googlecode.com/svn/trunk/
__________________

Last edited by Arkshine; 05-03-2010 at 14:50.
Arkshine is offline
Lt.RAT
Member
Join Date: Sep 2008
Location: Russia Yekaterinburg
Old 05-03-2010 , 15:25   Re: Counter-Strike SDK
Reply With Quote #59

Also pm_shared fully decompiled.

About weapons:
From amxconst.inc
Code:
#define CSW_P228		1
#define CSW_SCOUT		3
#define CSW_HEGRENADE		4
...
#define CSW_VEST		31
#define CSW_VESTHELM	32
From weapons.h
Code:
#define WEAPON_P228          2
#define WEAPON_SCOUT         3
...
Need to recheck WEAPON_P228, and maybe add CSW_VEST and CSW_VESTHELM if they are in same enum in amxconst.inc (maybe not).

PS can you provide mp.map and mp.inc file for mp.dll ?) (if u filled smth in it)

Last edited by Lt.RAT; 05-03-2010 at 15:35.
Lt.RAT is offline
Send a message via ICQ to Lt.RAT
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-03-2010 , 15:32   Re: Counter-Strike SDK
Reply With Quote #60

Thanks fixed. I know there are other things to fix/add/modify in this file but I want to check some things before.
__________________

Last edited by Arkshine; 05-03-2010 at 15:36.
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 16:08.


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