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.
what happends when you click on the "Worlds" tab:
what gregbot does:
1) takes world id
2) gets block ids in that world
3) compate block ids to the colours he has in list
4) displays the picture
so all he need is the list of block ids and it's colours on the map. that's it
1) Client requests for the list of your worlds.
2) you revieve this list
3) 1 by 1 client recieves information (world data) about the world.
3) it creates a whole world from that data with legit blocks (not just a bunch of block ids in the matrix, real playable world)
4) it takes minimap from that world
5) displays the minimap
so, compare it yourself
Client creates the whole world
Gregbot has a list of colours
Why so? because greg has a specific order to do. do minimaps.
Client on the other hand is a large project. And it's really messed up in terms of code and optimization. Throwing new system to qucikly display minimaps is like adding oid to the fire
Offline
<snip>
what gregbot does:
1) takes world id
2) gets block ids in that world
3) compate block ids to the colours he has in list
4) displays the pictureso all he need is the list of block ids and it's colours on the map. that's it
1) Client requests for the list of your worlds.
2) you revieve this list
3) 1 by 1 client recieves information (world data) about the world.
3) it creates a whole world from that data with legit blocks (not just a bunch of block ids in the matrix, real playable world)
4) it takes minimap from that world
5) displays the minimap
<snip>
They essentially do the same thing. They both load worlds from the database, parse the blocks and generate a minimap image.
I think its the amount of requests is the reason why it takes so long.
1 world (from Greg)
vs
100+ worlds (for old EE players)
Miss Everybody Edits? Check out PixelWalker.net!
[imghttps://mm.sirjosh3917.com/PW?scale=1img]
Offline
the reason i said that about greg is because i have NO idea how greg does it; does it go through every world ID until it finds one of the right name or does it have an actual way of doing it?
suddenly random sig change
Offline
Greg does it the same way as ee.
Worlds are stored in database table "worlds"
You give Id of the world - it returns info about it such as: name, owner id, likes, worlddata(all blocks)
You take that worlddata and do whatever you want
Greg converts it in his way
Ee in it's way
Offline
the reason i said that about greg is because i have NO idea how greg does it; does it go through every world ID until it finds one of the right name or does it have an actual way of doing it?
Oh I understand what you're talking about now. My guess is that the Everybody Edits Staff has an index that allows you to search many DatabaseObjects by a Property Expression which in this case is called "name". This would yield all the results that contain or match whatever is sent with the index.
Miss Everybody Edits? Check out PixelWalker.net!
[imghttps://mm.sirjosh3917.com/PW?scale=1img]
Offline
GrebBot uses my API to grab minimaps, this API can load minimaps as fast as your download speed can handle (aka in a fraction of a millisecond), the reasoning for this is because I save every minimap in a database and indexed it by worldId, this way it can instantly grab the image data. However, if you want to load lets say... 30 worlds, it would probably take way longer. That's because you're requesting them one by one.
The way EE loads your worlds is by requesting every world one by one, which is extremely inefficient. I've fixed this issue by simply loading all your worlds at once by using only one request.
Thanks a lot, Sensei1, for drawing this amazing avatar for me <3
Offline
GrebBot uses my API to grab minimaps, this API can load minimaps as fast as your download speed can handle (aka in a fraction of a millisecond), the reasoning for this is because I save every minimap in a database and indexed it by worldId, this way it can instantly grab the image data. However, if you want to load lets say... 30 worlds, it would probably take way longer. That's because you're requesting them one by one.
The way EE loads your worlds is by requesting every world one by one, which is extremely inefficient. I've fixed this issue by simply loading all your worlds at once by using only one request.
wait u fixed that thanks nowi can load my profile much easier
thanks hg for making this much better and ty for my avatar aswell
Offline
I still don't have an answer to my question. Is it the minimaps or the actual finding of the worlds? If it's the former, it'd be useful to have a way to not show minimaps.
suddenly random sig change
Offline
I still don't have an answer to my question. Is it the minimaps or the actual finding of the worlds?
The minimaps. Its basically downloading each world one by one and converting them to minimaps.
If it's the former, it'd be useful to have a way to not show minimaps.
If its your own worlds, the 'mine' option in the rooms bit, although it would also be good if there was a way to show rooms by another player too.
Offline
[ Started around 1734060788.0213 - Generated in 0.077 seconds, 12 queries executed - Memory usage: 1.51 MiB (Peak: 1.68 MiB) ]