|
| 02 Jun 2013 04:45 PM |
I want to make a bot on any language to check a server for a determined user, and when he joins the game it pops up.
What is the best language, can I use the API and what should I use? |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 04:47 PM |
"I want to make a bot on any language to check a server for a determined user, and when he joins the game it pops up."
What?
Rephrase please.
The Prime Jester of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 04:48 PM |
@awsum I want to make a bot to check a game for a determined user, and when he joins the game a message pop up. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Jun 2013 04:51 PM |
Wat? On roblox?
game.Players.PlayerAdded:connect(function(plyr) if plyr.Name == "TheChosenOne" then popDatMsg() end end)
? |
|
|
| Report Abuse |
|
|
| |
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Jun 2013 04:55 PM |
| ???? What game? Y SO SMALL DETAILS?! |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 04:58 PM |
| I want to program a bot OUTSIDE Roblox to check if a player joined a game, then run through all the pages searching for him, then give me the page number if found. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Jun 2013 05:00 PM |
| Oh, I see.... I think making chrome/firefox extension would be best. Like you'd want to scan one game, or know what game that player is currently playing? |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 05:01 PM |
| Like, give a username, it checks the game he is playing, scan the game for him (what if are like 20 pages?) then go to the page |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 05:02 PM |
| A chrome extension is a good idea. |
|
|
| Report Abuse |
|
|
GigsD4X
|
  |
| Joined: 06 Jun 2008 |
| Total Posts: 3794 |
|
|
| 02 Jun 2013 05:12 PM |
| So automatically follow a player whenever he goes into a game? |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 05:16 PM |
| Not by using follow, but grabbing the game he is playing and searching for the page of the server he is playing |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Jun 2013 05:23 PM |
| OOH I SEE! If some one has turned off follow button, you can still find him fast and join. Lemme see, I'll try to find useful HTTP requests for this. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Jun 2013 05:26 PM |
| Well this is rather confusing request... |
|
|
| Report Abuse |
|
|
GigsD4X
|
  |
| Joined: 06 Jun 2008 |
| Total Posts: 3794 |
|
|
| 02 Jun 2013 05:31 PM |
So basically you want to automatically join the server that someone is in whenever they join a game, right?
Or do you want to /know/ the server? |
|
|
| Report Abuse |
|
|
| |
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 02 Jun 2013 05:36 PM |
loop if Shedletsky's ctl00_cphRoblox_rbxUserPane_lUserOnlineStatus says "[ Online: ur game ]" alert("what is this"); |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 05:46 PM |
| Telling what page of the game would not be possible unless you are capable of writing a chrome plugin that is about 500 lines long HTML without errors and create it so that it checks pages # - # where it is #+1> <#+1 and then set it to display the final resulting number. It would be easier for you to just set it up where it tells when the player is online, and when the player enters the game, even easier make it so you enter the game idea instead of it having to grab the game id. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 05:52 PM |
@richponygirl It is possible.. You even know about what are you saying? |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 02 Jun 2013 06:09 PM |
"[ctl00_cphRoblox_rbxUserPane_lUserOnlineStatus], a Free Game by " site:www.roblox.com -seoname parse google search results |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Jun 2013 06:09 PM |
| @Rich. Don't make yourself into a fool... Be a nice girl, and walk away. |
|
|
| Report Abuse |
|
|
GigsD4X
|
  |
| Joined: 06 Jun 2008 |
| Total Posts: 3794 |
|
|
| 02 Jun 2013 06:26 PM |
Alright, so since you're not responding to me, I'm about to drop some knowledge (in fact, I'll probably document this more thoroughly in a separate thread):
I'll keep this as simple as possible so that you can understand it.
First of all, you have to request some data from http://www.roblox.com/Game/PlaceLauncher.ashx?request=RequestFollowUser&userId=[the user's ID]
Then, you have to get the ROBLOX plugin object. Just insert
(object id="robloxpluginobj" type="application/x-vnd-roblox-launcher")
(replace the parentheses with lt & gt tags—the filter doesn't like them lol)
Into your HTML and you'll be able to call it.
So anyway, now you do some things with the JSON data that you got from that GET request: 1. You call the Put_AuthenticationTicket function of the plugin with one argument: the authenticationTicket property 2. You call the StartGame function of the plugin with two arguments: the authenticationUrl and the joinScriptUrl properties.
That should start the ROBLOX client.
If you were to do the above in code:
var JoinData = JSON.parse([the data that you got from http://www.roblox.com/Game/PlaceLauncher.ashx?request=RequestFollowUser&userId=[the user's ID] when its status property is 2]);
var RBXPlugin = document.getElementById("robloxpluginobj");
RBXPlugin.Put_AuthenticationTicket(JoinData.authenticationTicket); RBXPlugin.StartGame(JoinData.authenticationUrl, JoinData.joinScriptUrl); |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 06:32 PM |
@Gigs If the user doesn't have follow..
Thats why I would want the plugin to scan all pages of the game |
|
|
| Report Abuse |
|
|
GigsD4X
|
  |
| Joined: 06 Jun 2008 |
| Total Posts: 3794 |
|
|
| 02 Jun 2013 06:36 PM |
It doesn't matter whether they disallowed following or not, the above should work :-)
Fact: When you disable following, all ROBLOX really does it hide the button from your profile, but the function is still available. |
|
|
| Report Abuse |
|
|
GigsD4X
|
  |
| Joined: 06 Jun 2008 |
| Total Posts: 3794 |
|
|
| 03 Jun 2013 08:44 PM |
Addendum/corollary (I'm referencing this from other places so it makes sense that I include these facts as well):
Other ways of joining games: ============================================= If instead of following someone you'd just like to open any server from the game (like if you pressed the Play button), you can use:
http://www.roblox.com/Game/PlaceLauncher.ashx?request=CheckGameJobStatus&jobId=JoinPlace%3D[the place id]
Instead of the other API call ============================================= If instead you'd like to join a /specific/ server of the game, you can use:
http://www.roblox.com/Game/PlaceLauncher.ashx?request=CheckGameJobStatus&jobId=JoinPlace%3D[the place id]&gameId=[the server id]&gameJobId=[the server id again]
Insetad of the other API call |
|
|
| Report Abuse |
|
|