AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SteamTools (https://forums.alliedmods.net/forumdisplay.php?f=147)
-   -   [CSS] Steam_SetCustomSteamID with steamtools (https://forums.alliedmods.net/showthread.php?t=183052)

delachambre 04-16-2012 13:30

[CSS] Steam_SetCustomSteamID with steamtools
 
Hello,

I don't say use
Code:

Steam_SetCustomSteamID
with steamtools...

Is it possible that I explained how to use this API?

Thanks in advance !

Smarmy 04-16-2012 16:27

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Sure, go ahead and explain how to use it.

minimoney1 04-16-2012 18:07

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Quote:

Originally Posted by Smarmy (Post 1690639)
Sure, go ahead and explain how to use it.

That's what he wanted to know.
Anyways, from what asherkin has told me, this native sets a custom steamid to a client, and you can use it instead of a client index, furthermore, this native can only be called OnClientPreConnect and with the Connect extension (obviously).

Zephyrus 04-17-2012 01:23

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
You don't want to use that function like ever, if you really want to fake ids you'd better just fake status else you mess up rank etc

asherkin 04-17-2012 14:47

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Moved the thread to the SteamTools forum.

Quote:

Originally Posted by Zephyrus (Post 1690861)
You don't want to use that function like ever, if you really want to fake ids you'd better just fake status else you mess up rank etc

That's exactly what this function doesn't do, it's nothing about setting a client's SteamID.
Helping without understanding doesn't help anyone.

Quote:

Originally Posted by minimoney1 (Post 1690695)
That's what he wanted to know.
Anyways, from what asherkin has told me, this native sets a custom steamid to a client, and you can use it instead of a client index, furthermore, this native can only be called OnClientPreConnect and with the Connect extension (obviously).

This is mostly correct.

The comment about OnClientPreConnect and the Connect extension only applies to the DLC and Subscription functions.

Basically the idea is that you can do something like this:
PHP Code:

Steam_SetCustomSteamID("STEAM_0:1:13776935");
Steam_RequestStats(USE_CUSTOM_STEAMID);

...

public 
Steam_StatsReceived(client)
{
    if (
client == USE_CUSTOM_STEAMID)
    {
        new 
String:steamID[32];
        
Steam_GetCustomSteamID(steamIDsizeof(steamID));
        
PrintToChatAll("Got stats for %s."steamID);
    }


It might not work for all functions.

delachambre 04-21-2012 11:50

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Possibly to set steam ID for bot ???

asherkin 04-21-2012 11:59

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Quote:

Originally Posted by delachambre (Post 1693695)
Possibly to set steam ID for bot ???

Please go away and never come back.

Zephyrus 04-21-2012 13:02

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Quote:

Originally Posted by asherkin (Post 1693697)
Please go away and never come back.

you see, i knew what he was onto... helping without understanding french people doesn't help anyone

http://25.media.tumblr.com/tumblr_lp...t40no1_400.gif

:crab::crab::crab:

delachambre 04-21-2012 13:25

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
... Don't understand :x

Flyflo 04-21-2012 14:39

Re: [CSS] Steam_SetCustomSteamID with steamtools
 
Quote:

Originally Posted by Zephyrus (Post 1693735)
you see, i knew what he was onto... helping without understanding french people doesn't help anyone

Are we somehow more difficult to understand ? :crab:

Quote:

Originally Posted by delachambre (Post 1693762)
... Don't understand :x

If you want to set a SteamID to bots, it's because you want other people to think they are real players isn't it ?
You'll get no help if you're trying to trick people.
---
Si tu veux donner des SteamID à des bots, il y a de grandes chances que cela serve à les faire passer pour des vrais joueurs, n'est-ce pas ?
Tu n'obtiendras pas d'aide si tu essayes effectivement de faire ça (ce qui revient à vouloir piéger les gens).


All times are GMT -4. The time now is 09:12.

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