Raised This Month: $94 Target: $400
 23% 

My Steam Community


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   v3x (159)
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-11-2008 , 17:41   My Steam Community
Reply With Quote #1

My Steam Community

Commands:
  • say /mysteam
Type "/mysteam" in chat and it'll open your SteamCommunity Page. Lots of people said it wasn't possible in AMXX,but here is the proof it is.

Developer Information:
I used a string-based math like in PHP's BCMath. It can do addition of infinite lenght numbers. It will probably work with multiplication,but you would need new functions for division and subtraction. You can use the stocks in this file as you wish.

Licensed under the General Public License (GPL).

Thanks to voogru for the original discovery.
Attached Files
File Type: sma Get Plugin or Get Source (my_steam_community.sma - 1766 views - 4.6 KB)

Last edited by danielkza; 09-11-2008 at 20:39.
danielkza is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-11-2008 , 18:08   Re: My Steam Community
Reply With Quote #2

Since I suck in Maths, I was not sure that a way did exist.

Good job, so.
__________________
Arkshine is online now
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-11-2008 , 18:16   Re: My Steam Community
Reply With Quote #3

Quote:
Originally Posted by arkshine View Post
Since I suck in Maths, I was not sure that a way did exist.

Good job, so.
All I did was translating the way people do additions in paper to code. Like 9+9= 18, put 8 carry 1, etc.
danielkza is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 09-11-2008 , 18:42   Re: My Steam Community
Reply With Quote #4

wouldnt this also work for myspace?
like for their url.

mine is pimpin_aint_easy_in_1992

so like /pimpin_aint_easy_in_1992 could open up their myspace?
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-11-2008 , 18:50   Re: My Steam Community
Reply With Quote #5

By the way, you should, at least, add credit for the person who has discovered originaly how to convert.
__________________
Arkshine is online now
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-11-2008 , 18:51   Re: My Steam Community
Reply With Quote #6

Quote:
Originally Posted by Reaper2331 View Post
wouldnt this also work for myspace?
like for their url.

mine is pimpin_aint_easy_in_1992

so like /pimpin_aint_easy_in_1992 could open up their myspace?
It has nothing to to with this. You can't figure out myspace or any other information based on their SteamID. All this does is translate the STEAM_0:0xxxx AuthID, used by the game, into SteamCommunity URLs.
danielkza is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-11-2008 , 20:38   Re: My Steam Community
Reply With Quote #7

Quote:
Originally Posted by arkshine View Post
By the way, you should, at least, add credit for the person who has discovered originaly how to convert.
Sorry, totally forgot, added now.
danielkza is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 09-11-2008 , 22:12   Re: My Steam Community
Reply With Quote #8

i know that, but i was saying this could also be a way to send them to their myspaces and stuff too, i was just saying that code could help do that.
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-11-2008 , 22:34   Re: My Steam Community
Reply With Quote #9

Quote:
Originally Posted by Reaper2331 View Post
i know that, but i was saying this could also be a way to send them to their myspaces and stuff too, i was just saying that code could help do that.
This is outside of this plugin scope.
danielkza is offline
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 12-21-2008 , 13:34   Re: My Steam Community
Reply With Quote #10

that string calculations are awesome someone who has good kowndledges about this should really write some stocks to give pawn new abilities like floats with more than 6 decimal places etc etc :O
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
Reply


Thread Tools
Display Modes

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 23:23.


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