Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-09-01 12:24:30

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

Help with three database object strings for world loading

Hi

I recently discovered the rooms1, rooms2 and rooms3 objects.
I would like to know how rooms1 work, as rooms2 are room names and rooms3 room names ids.

I know rooms1 act as some sort of key, but I am not sure.

Thanks,
marcoantonimsantos


http://i.imgur.com/bjvgH5L.png?1

Offline

#2 2016-09-01 15:01:10

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: Help with three database object strings for world loading

Objects? Or are they databases? I've been out for a while. Or are they parts of the Worlds database object?

Offline

#3 2016-09-01 17:24:43, last edited by SirJosh3917 (2016-09-01 17:25:29)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: Help with three database object strings for world loading

A PlayerIOClient.DatabaseObject?

probably only EE staff can help you, like thanel or some other coder dude. But based on what I know you're doing, they probably won't.

Offline

#4 2016-09-01 19:51:40

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Help with three database object strings for world loading

Why do you not tell where you are reading these? What I know is there nothing that is named room1 room2 room3.
If you are talking about worldx, then I could say its from getProfileObject or payvault.

Offline

Wooted by:

#5 2016-09-01 19:54:51, last edited by hummerz5 (2016-09-01 20:04:35)

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: Help with three database object strings for world loading

A great point cap

I just came across that data from somewhere

http://pastebin.com/KZeRutc7

But yeah, the world# is what comes out of the payvault like cap said. What, though, is it used for? IIRC that has something to do with the worlds that are purchased but haven't been accessed yet, right? Like, so the room list can say "Large World 2" without accessing the DB index because in reality there is nothing there yet (?)

edit: oh wow they opened playerobjects back up? Where have I been?

Yeah no there's legitly a Room0, no clue what it does.

Offline

#6 2016-09-01 20:03:02, last edited by capasha (2016-09-01 20:03:54)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Help with three database object strings for world loading

I updated my code for getProfileObject. And it's reading from the 3 different values.

line 13:
world1x1,world1x2 - Means that the number before x, is the size of the world.
line 14:
welcome to my world,welcome to my world2 - Title of the world. If null name it untitled.
line 15:
PW01,PW02 - The roomids.

I can't think of any other things that is named 3 times.

Offline

Wooted by:

#7 2016-09-02 11:55:24

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

Re: Help with three database object strings for world loading

capasha wrote:

I updated my code for getProfileObject. And it's reading from the 3 different values.

line 13:
world1x1,world1x2 - Means that the number before x, is the size of the world.
line 14:
welcome to my world,welcome to my world2 - Title of the world. If null name it untitled.
line 15:
PW01,PW02 - The roomids.

I can't think of any other things that is named 3 times.

Exactly what I needed! Thanks!


http://i.imgur.com/bjvgH5L.png?1

Offline

realmaster421472813724621773

Board footer

Powered by FluxBB

[ Started around 1732746173.1228 - Generated in 0.377 seconds, 12 queries executed - Memory usage: 1.47 MiB (Peak: 1.61 MiB) ]