jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 20 Apr 2013 05:44 AM |
Hello there.
Most have already noticed that the :GetProductInfo(id) method of MarketplaceService will return the product info of the asset id "id".
However, this can be used for tons of other uses.
In fact, you can use it to also get descriptions from places. And models (of course).
That means that you can do some really cool things. I am writing an API to extend the features for those which will eventually feature Remote Server Control.
In the case you didn't get the idea already, this function can be used to (less awesome to more awesome):
--> Shout something on your place - on ALL servers on the same time! (tick() synchronisation on minutes, which will theoretically always work) --> Add people to a servers' ban list
--> REMOTELY UPDATE (PATCH) your place! (!!!)
The last one is pretty serious. You can update your place normally, but also try to patch your server using the descriptions of the models.
Possible problems: Does anybody know a way to get a description with more than 1000 characters? Otherwise you would have to "link" the descriptions to make a gigantic description.
You know what's also extremely cool? You don't have to have the models you use to use any "description function" - which means you can actually let people with remote controls from anywhere. You can also "hide" your "description data" from others by not taking the model.
Please discuss uses for the :GetProductInfo here, besides the usages it's made for.
More info on the API soon. Stay tuned.
https://twitter.com/jobro_13 |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 05:50 AM |
| What is this black magic!!?!?!? :o Honestly are you a genie!!?!?!? :o |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 05:55 AM |
| Actually, you can make a patch script on your model with a name like Patch 1, and with a loop, you can check if the name of that script change (Patch 2, Patch 3). If so, it'll insert this new script and do the patches. |
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 20 Apr 2013 05:55 AM |
I already made a group shout grabber.
https://twitter.com/WootRBLX/status/325552215043489793 |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 05:55 AM |
"What is this black magic!!?!?!? :o Honestly are you a genie!!?!?!? :o"
Thank you woot3 c: (and OP for making a thread about this) |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 05:57 AM |
| Oh by they way, yes thank-you! This was very informational and helpful. |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 20 Apr 2013 06:14 AM |
Ah nairod indeed... That's a very good idea.
However, you still have to insert the model :) Meaning everyone can take it. Something I don't like. |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 06:18 AM |
| Make a secret alt and upload your patches on this alt. |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 20 Apr 2013 06:20 AM |
| You have to take the model to insert it. |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 06:22 AM |
Ah yea... totally forgot c: Otherwise, make an encoder and a decoder. Upload on your model an encored StringValue which will contain your patch script, and your decoder in your place will execute the decoded lua string. |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 20 Apr 2013 06:23 AM |
Yeah, that will work. Good idea.
To be honest, I think this is one of the most awesome updates ever. I don't like roblox virtual economy (in fact, I don't like any virtual economy) but the side-effects of this update are awesome. |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 06:25 AM |
| Indeed. I hope they won't protect this function it later >.> |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
| |
|
iStone4S
|
  |
| Joined: 07 May 2012 |
| Total Posts: 416 |
|
|
| 20 Apr 2013 06:27 AM |
| They need a function in which you can game.Players.Local.Player.Buy(id) or something, for trading. |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 06:28 AM |
There's already one: http://wiki.roblox.com/index.php/PromptPurchase_(Method) But for now, this function is allowed only on 3 places. |
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 20 Apr 2013 06:29 AM |
| game:GetService("MarketplaceService"):InvokeTrade(PlayerA,PlayerB) |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 20 Apr 2013 06:29 AM |
I don't like that update. Did they put a spam protection on it?
If I was someone with bad intentions, I would make a fun game (a fun game for 30 minutes, not longer) and prompt purchase every 30 secs. |
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 20 Apr 2013 06:30 AM |
In my opinion. They should leave it as it is, no spam protection and such. If it's annoying players then they might as well not play the game. |
|
|
| Report Abuse |
|
|
iStone4S
|
  |
| Joined: 07 May 2012 |
| Total Posts: 416 |
|
|
| 20 Apr 2013 06:31 AM |
| @Nairod, not that. There should be separate stuff. PromptPurchase to allow, Buy to well, buy. We can make people trade their items for this, example. A t-shirt for a model. They should promptpurchase the 2, but only execute the buy function once the 2 agrees. |
|
|
| Report Abuse |
|
|
nairod7
|
  |
| Joined: 26 Mar 2010 |
| Total Posts: 869 |
|
|
| 20 Apr 2013 06:37 AM |
| Well, if they make a separate function to allow and to buy, the buy function must be protected then. That would be useless. |
|
|
| Report Abuse |
|
|
iStone4S
|
  |
| Joined: 07 May 2012 |
| Total Posts: 416 |
|
|
| 20 Apr 2013 07:07 AM |
| If both allowed, then the buying will occur, as I said. If 1 didn't allow, no buying will occur, very useful for trading. |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 20 Apr 2013 07:16 AM |
Didn't read all the replies, sorry.
Yeah, I tried doing something like that... using... a quite different method, but where I also needed to get a large description from somewhere...
But yeah, it's quite sad D: We can make it so servers shutdown after a warning has counted down, and such, but not quite auto-inject code into our places... well, unless we could get the :InsertContent, or requiring that the place owner didn't make a new patch/update before >nearly< all servers with an old update had shutdown.
- As, ouch, I don't believe in sorcery, but I do practice what you guys call sorcery :] |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 07:22 AM |
| I'm about to make an auto updater. |
|
|
| Report Abuse |
|
|
itunes89
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 1957 |
|
|
| 20 Apr 2013 07:25 AM |
| Yea, this seems like some cool stuff. I don't get how you're planning on making a auto patcher. Can someone explain that? |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 07:37 AM |
Ahh. Easy.
Stick your whole script in a string and then make a loader that detects changes and then restarts the script with the patch info installed. |
|
|
| Report Abuse |
|
|