The Bots SteamId?
Hi!
I wonder if theres a way to get rid of the zero in the bots faked "steamid" tex bot<1><0><CT> Im using psychostats for the stats and it selects by the steamid. And since the bots have <0> as id theres stats are collected to. And I dont want that. |
Re: The Bots SteamId?
Yes, you just have to remove the hook for pfnGetPlayerAuthId() in the bot source code.
I had added it because some people wanted exactly the contrary: that bot stats be logged too. |
Re: The Bots SteamId?
Quote:
sm_rankbots 1 So - maybe in Psychostats there can be some variable for this, too. Another thing can be some possibility of using some clients commands like Slap, Slay, etc on bots. Latest Clanmod lets use some of these commands on bots, too (if the variable cm_botsmcds 1), but nobody can say if this change You proposed above do some unwanted result for some other plugins (for example AMX) or not. If sPlOrYgOn will prepare new dll with this change, I can test it with StatsMe and Clanmod, but need somebody to test with AMX - these plugins are the most frequently used by people.:) |
Re: The Bots SteamId?
PMB
I found this in engine.cpp Line 324 Code:
Code:
Will this change to the code do something strange to something else? tex. amxx? Oki I will try and see what happends.. |
Re: The Bots SteamId?
Quote:
Without tests nobody can say something more. |
Re: The Bots SteamId?
ehhhh we dont want this removed from the actual pb do we?..i like seeing which bot is better than me .....so i can hunt em down next round :P
|
Re: The Bots SteamId?
After removing that code..
I didn't crash nor did anything go wrong.. in CS 1.5 their WONids became "BOT" but in CS 1.6 their steam ids became "UNKNOWN" So in the "logging question" thread someone asked why they now show "0" instead of "BOT" and this is the reason.. I was thinking of just removing it but that would make them "UNKNOWN" in CS 1.6 so I think we should put "BOT" instead of "0" there.. anyone agree? |
Re: The Bots SteamId?
The fact why I wanted it to be a number was that some stats servers expected to see a number here, and not a character string. That's just it.
But if after all you test it and you see it works as well with a character string, sure, go ahead then. |
Re: The Bots SteamId?
Splo!
I took that function away and in Cz theres steamid are <BOT> and not unknown.. How hard would it be to code to have the opportunity to be able to choose this on a fly? I mean do I want <BOT> or <0>? |
Re: The Bots SteamId?
very simple :)
|
All times are GMT +2. The time now is 19:19. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.