generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: what would be the best way to set up a rank system like elo

Previous Thread :: Next Thread 
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
03 Apr 2016 11:01 PM
if i wanted to do:

ds = game:GetService("DataStoreService"):GetDataStore("Ranks")

ds:SetAsync(plr.UserId.." Rank", {Elo = 500, Rank = "Beginner})

would that work? or do i have to do

ds:SetAsync(plr.UserId.." RankElo", 500) etc etc
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
03 Apr 2016 11:10 PM
The first one would work.


Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
03 Apr 2016 11:15 PM
and i'd just do print(ds:GetAsync(plr.UserId.." Rank", Elo} >> 500 ?
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
03 Apr 2016 11:30 PM
b
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
03 Apr 2016 11:35 PM
sadf
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
03 Apr 2016 11:55 PM
bb
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 12:03 AM
adsf
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 01:40 PM
bb
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 06:49 PM
aaaa
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 07:13 PM
hee
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 07:19 PM
chim save me
Report Abuse
falsidge is not online. falsidge
Joined: 16 Jul 2013
Total Posts: 456
04 Apr 2016 07:37 PM
it would be more like this
print(ds:GetAsync(plr.UserId.." Rank")["Elo"])
since GetAysnc will return the table
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 07:51 PM
thank you so much :D
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
04 Apr 2016 10:31 PM
wait do i have to do dsonencode or something ?
Report Abuse
Shurimon12 is not online. Shurimon12
Joined: 16 Mar 2012
Total Posts: 36
04 Apr 2016 10:59 PM
bumppity bumppatoo bumppapee
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
05 Apr 2016 12:59 AM
hiss
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
05 Apr 2016 02:40 AM
It automaticly encodes/decodes.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
05 Apr 2016 03:06 AM
what use do dsonencode/decode have? i haven't used them in a while
Report Abuse
direMitten is not online. direMitten
Joined: 18 Jun 2015
Total Posts: 1294
05 Apr 2016 05:16 AM
AFAIK it's useful for httpservice
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image