View Single Post
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen.
Old 03-20-2019 , 05:40   Re: [CS:GO] Web Shortcuts CS:GO version (again functional with the panorama update)
Reply With Quote #603

Quote:
Originally Posted by SOBgaming View Post
I get this error:

Data :
STEAM_1:0:116233669/http://sobs.pro
Trying to parse 1 to Int32 !
Trying to parse 1 to Int32 !

And nothing seems to happen, any ideas?
The weird thing is 1 is actually an Int32...

Edit: It might have to do with my configuration, will update this if it wasn't!
Edit2: My config seems fine? TCPTest works fine aswell.
That's ASteambot logs. This line only help me to debug, you can disable this message by disabling debug mod of ASteambot through the config file. Nothing's wrong with ASteambot tho.

You probably missconfigured something in this plugin, not in ASteambot.


EDIT:
Related code:

Code:
 if (Program.DEBUG)
                Console.WriteLine("Trying to parse " + idmid[1] + " to Int32 !");

Int32.TryParse(idmid[1], out tmpInt);
Link : https://github.com/Arkarr/ASteambot/...rverRequest.cs

EDIT 2:

I am pretty sure the problem lies with the function FindClientBySteamID(), since ASteambot return SteamID64 formated like that : 321412412521521521 and the function check for steamID32 formated like that : STEAM_X:Y:ZZZZZ

EDIT 3:

https://github.com/Franc1sco/WebShortcuts/pull/6

Do you have the bot as friend in your friend list?
__________________
Want to check my plugins ?

Last edited by Arkarr; 03-20-2019 at 06:00.
Arkarr is offline