View Single Post
Author Message
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 12-13-2015 , 19:35   F2P Detections not working correctly!
Reply With Quote #1

Code used to detect F2P:

Code:
public OnClientPostAdminCheck(client)
{
    if (CheckCommandAccess(client, "BypassPremiumCheck", ADMFLAG_ROOT, true))
    {
        return;
    }

    if (Steam_CheckClientSubscription(client, 0) && !Steam_CheckClientDLC(client, 459))
    {
        FreeToPlay[client] = true;
    }
    else
    {
        FreeToPlay[client] = false;
    }

    return;
}
Sometimes F2P detects work, but before thanksgiving update.. they worked all the time!

I know I'm not F2P, and several of my regular players are not F2P. Please help fix!

Exts list:

] sm_Rcon sm exts list
[SM] Displaying 18 extensions:
[01] Automatic Updater (1.7.3-dev+5250): Updates SourceMod gamedata files
[02] Webternet (1.7.3-dev+5250): Extension for interacting with URLs
[03] Equinox Console Cleaner (): Bite me alien boi
[04] Accelerator (2.0.1): Take back control
[05] TF2Items (1.6.2): TF2 Item Modifier
[06] Sound Info Library (1.0): Access information of sound files
[07] <FAILED> file "geoipcity.ext.so": Failed to open: */addons/sourcemod/configs/geoip/GeoIPCity.dat
[08] TF2 Tools (1.7.3-dev+5250): TF2 extended functionality
[09] BinTools (1.7.3-dev+5250): Low-level C/C++ Calling API
[10] SDK Hooks (1.7.3-dev+5250): Source SDK Hooks
[11] SDK Tools (1.7.3-dev+5250): Source SDK Tools
[12] Regex (1.7.3-dev+5250): Provides regex natives for plugins
[13] Top Menus (1.7.3-dev+5250): Creates sorted nested menus
[14] Socket (3.0.1): Socket extension for SourceMod
[15] SteamTools (0.9.1+7202836): SteamWorks for SourceMod.
[16] Client Preferences (1.7.3-dev+5250): Saves client pre


__________________

Last edited by El Diablo War3Evo; 12-13-2015 at 19:38. Reason: making stuff more understandable
El Diablo War3Evo is offline