|
| 22 Feb 2013 11:00 AM |
I'm wondering if roblox has something similar to. http://www.roblox.com/game/GetCurrentUser.ashx I was wondering if there's a way to get current username ;o? |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:07 AM |
| What do you mean? In a script? Or through hax? |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:09 AM |
In a LocalScript:
game.Players.LocalPlayer.Name
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:12 AM |
| Oh my bad. I forgot to mention I am using c# |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:16 AM |
What exactly are you trying to do?
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:17 AM |
| Get the current username of the logged in profile. I have a login system in c# for roblox. I'm just wondering if it's possible to get the username of the current logged in user. |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:20 AM |
That link will work if the HTTP Web Request or whatever you're using has the appropriate cookies..
But the fact of the matter is if that link return's the player UID then they've logged in, which would indicate you already have their username in a textbox somewhere.
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 11:24 AM |
| If you have them login through your thing, then just store their username in a variable. |
|
|
| Report Abuse |
|
|
DannyCore
|
  |
| Joined: 25 Apr 2012 |
| Total Posts: 990 |
|
|
| 22 Feb 2013 01:17 PM |
| that wouldn't be safe, pre |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 01:18 PM |
^And why's that? 0_o
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 01:22 PM |
| username is not private at all. It's safe. |
|
|
| Report Abuse |
|
|
DannyCore
|
  |
| Joined: 25 Apr 2012 |
| Total Posts: 990 |
|
|
| 22 Feb 2013 01:25 PM |
oh, I thought you meant having them login with their full login
username is fine... |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 01:30 PM |
^They will need to enter their pass...
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 01:31 PM |
| Depends if you are account stealing or not... |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 01:35 PM |
^He's made a "login system" for roblox. Go figure.
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 22 Feb 2013 02:38 PM |
send an http request to http://www.roblox.com/game/GetCurrentUser.ashx get the userid it spits at you set it as a variable send an http request to "http://www.roblox.com/User.aspx?ID=USERID" get the < [title] > tag remove the " - ROBLOX" part wahlah |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 02:56 PM |
^He doesn't need to do that. :P
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 22 Feb 2013 03:00 PM |
| Well it's better than trying to take a user's full login info NOW ISN'T IT? |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 03:05 PM |
^He'll have their username anyway though. He's not gonna ask for their user id, is he?
~~~~Need a scripter? PM me. https://twitter.com/triston220Roblo ~~~~ |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
|
| 22 Feb 2013 04:04 PM |
Why is he doing this in C#?
Use something easier, like PHP or ASP. |
|
|
| Report Abuse |
|
|
DannyCore
|
  |
| Joined: 25 Apr 2012 |
| Total Posts: 990 |
|
|
| 22 Feb 2013 04:06 PM |
| so he is using full login? |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 04:23 PM |
@Garnished
Yeah easier must be better for all circumstances, lets make the next cod game in scratch! |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2013 06:52 PM |
| Because PHP is a server side language. |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2013 01:46 AM |
Screen scraping 101 1. Send a request to a website to get the page's HTML 2. Make a match with the HTML that gets the data you want even if your data is surrounded by stuff you don't need. 3. Make another match if you need to trim off excess stuff. 4. You have your data. Convert to other datatypes if you please. |
|
|
| Report Abuse |
|
|