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

[EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots


Post New Thread Reply   
 
Thread Tools Display Modes
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-20-2009 , 15:45   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #501

Sorry guys I did forget the gamedata, its the only thing I didnt edit. Attached is the real thing now, with Linux and gamedata. CSS users should use the package from the first post if that works? This package is for all OB users (TF2 DODS etc.) +karma?

For TF2, use the updated gamedata file here http://forums.alliedmods.net/showpos...&postcount=561
Attached Files
File Type: rar cbaseserver.rar (50.9 KB, 399 views)
__________________


Last edited by DontWannaName; 12-22-2009 at 23:12.
DontWannaName is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 09-20-2009 , 20:27   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #502

Thanks DWN, that's got it loaded on my server.
SuperShadow is offline
Onedda
Senior Member
Join Date: May 2009
Old 09-21-2009 , 01:05   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #503

Cheers DWN, its on working.

also thanks to pRED

cheers
Onedda

p.s Do i still need Reservedslot.smx by allied modders to be installed or shall i put that in the disabled folder?

Last edited by Onedda; 09-21-2009 at 02:58.
Onedda is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-21-2009 , 23:03   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #504

You dont need any reserved slot plugin but cbaseserver. If you have it disabled in sourcemod.cfg then you dont need to move it.
__________________

DontWannaName is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 09-30-2009 , 08:58   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #505

Ok, I don't know if EP1 is working yet or not, but Here is what I did to get it to work based on pRED's code from the first post:
Code:
    CSteamID SteamID;

    Q_memset ( &SteamID, 0, sizeof(SteamID) );
    memcpy ( &SteamID, &more[8], sizeof(SteamID) );
The steam info isn't in the same parameter as in the OB, it's actually in the 9th parameter. Parameter 10 is the length of data within parameter 9.

If somebody wants to update the latest download. So it goes from
Code:
#if defined ORANGEBOX_BUILD
    CSteamID SteamID;

    if(steamcert != NULL && len >= 20) 
    {
        memcpy(&SteamID, &steamcert[12], sizeof(SteamID));

        if(SteamID.GetEAccountType() != 1 || SteamID.GetEUniverse() != 1) 
        {
            return CONNECT_CALL
        }
    }
    else
    {
        return CONNECT_CALL
    }
#endif
in extension.cpp to
Code:
    CSteamID SteamID;

#if defined ORANGEBOX_BUILD
    if(steamcert != NULL && len >= 20) 
    {
        memcpy(&SteamID, &steamcert[12], sizeof(SteamID));
#else
    if(more != NULL && unknowns >= 16) 
    {
        memcpy(&SteamID, &more[8], sizeof(SteamID));
#endif
        if(SteamID.GetEAccountType() != 1 || SteamID.GetEUniverse() != 1) 
        {
            return CONNECT_CALL
        }
    }
    else
    {
        return CONNECT_CALL
    }
Keeper is offline
CS:S*
BANNED
Join Date: Jun 2009
Old 10-02-2009 , 12:44   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #506

will this work on CS:S ?
CS:S* is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 10-02-2009 , 13:12   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #507

My code is based on pRED's code, and it works for HL2DM, which is the same engine as CS:S.

I don't know if the binaries here work with EP1, but the fix above should work.
Keeper is offline
CS:S*
BANNED
Join Date: Jun 2009
Old 10-02-2009 , 13:35   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #508

can u make the plugin i don't know how to do it ,pack and post pls
CS:S* is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 10-02-2009 , 15:32   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #509

I have no experience building sourcemod plugins. It would be better if somebody else who already had the setup did it.
Keeper is offline
CS:S*
BANNED
Join Date: Jun 2009
Old 10-02-2009 , 15:35   Re: [EXTENSION] CBaseServer (+ Detouring class) - Reserved Slots with 0 wasted slots
Reply With Quote #510

I hope someone will help me here ?
CS:S* 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 08:57.


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