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.
Not 00110001 00110000 (thats the string "10" in binary - minus the quotation marks of course), but rather this.
So, some blocks in everybody edits are invisible to the map, Such as gravity blocks and all decoration blocks. My goal is to record all of their IDs onto a List<int> (which you don't have to worry about).
If you require a reason, then
Anyways, all you guys have to worry about is putting the IDs of ALL DECORATION BLOCKS, NO OTHER BLOCKS in a post. Here's what I have done so far:
public static void DefineInvisBLocks()
{
InvisibleBlocks.Clear();
InvisibleBlocks.Add(1);
InvisibleBlocks.Add(2);
InvisibleBlocks.Add(3);
InvisibleBlocks.Add(4);
InvisibleBlocks.Add(460);
InvisibleBlocks.Add(459);
InvisibleBlocks.Add(411);
InvisibleBlocks.Add(412);
InvisibleBlocks.Add(413);
InvisibleBlocks.Add(414);
InvisibleBlocks.Add(98);
InvisibleBlocks.Add(99);
InvisibleBlocks.Add(118);
InvisibleBlocks.Add(120);
InvisibleBlocks.Add(114);
InvisibleBlocks.Add(115);
InvisibleBlocks.Add(116);
InvisibleBlocks.Add(117);
InvisibleBlocks.Add(417);
InvisibleBlocks.Add(418);
InvisibleBlocks.Add(419);
InvisibleBlocks.Add(453);
InvisibleBlocks.Add(420);
InvisibleBlocks.Add(421);
InvisibleBlocks.Add(461);
InvisibleBlocks.Add(100);
InvisibleBlocks.Add(101);
InvisibleBlocks.Add(5);
InvisibleBlocks.Add(369);
InvisibleBlocks.Add(119);
InvisibleBlocks.Add(431);
InvisibleBlocks.Add(432);
InvisibleBlocks.Add(433);
InvisibleBlocks.Add(434);
InvisibleBlocks.Add(227);
InvisibleBlocks.Add(375);
InvisibleBlocks.Add(376);
InvisibleBlocks.Add(379);
InvisibleBlocks.Add(380);
InvisibleBlocks.Add(377);
InvisibleBlocks.Add(378);
InvisibleBlocks.Add(438);
InvisibleBlocks.Add(439);
InvisibleBlocks.Add(261);
InvisibleBlocks.Add(270);
InvisibleBlocks.Add(269);
InvisibleBlocks.Add(268);
InvisibleBlocks.Add(267);
InvisibleBlocks.Add(266);
InvisibleBlocks.Add(265);
InvisibleBlocks.Add(264);
InvisibleBlocks.Add(263);
InvisibleBlocks.Add(262);
InvisibleBlocks.Add(271);
InvisibleBlocks.Add(272);
//InvisibleBlocks.Add();
}
You'll notice some of them aren't decorational blocks. Don't worry about that, I know what I'm doing.
Anyways, feel free to help.
Offline
Search for 0 on this pastebin and get the id, http://pastebin.com/CNn1GePn
Offline
Search for 0 on this pastebin and get the id, http://pastebin.com/CNn1GePn
" 0"
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
capasha wrote:Search for 0 on this pastebin and get the id, http://pastebin.com/CNn1GePn
" 0"
I thought he would understand that it needs a space.
Offline
Koya wrote:capasha wrote:Search for 0 on this pastebin and get the id, http://pastebin.com/CNn1GePn
" 0"
I thought he would understand that it needs a space.
I did not.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Not 00110001 00110000 (thats 10 in binary)
Correction, it's "10" (the string 10). The number 10 = 1010 (with some leading 0's, depending on value-type).
#binarynazi?
Offline
ninjasupeatsninja wrote:Not 00110001 00110000 (thats 10 in binary)
Correction, it's "10" (the string 10). The number 10 = 1010 (with some leading 0's, depending on value-type).
#binarynazi?
He was saying that that is 10...
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
^I think that's apparent. But let's be real. As programmers, screwing up data types messes with what we do.
You don't multiply strings... you don't use them as numbers. BUT........................... integers, yes!
so like
00000000000000000000000000001010
Offline
A list occupies more space. Use an array:
uint[] invisibleBlocks = new uint[] {
1, 2, 3
};
Everybody edits, but some edit more than others
Offline
Offline
anyways, I've achieved what I desired.
Offline
Zumza wrote:A list occupies more space. Use an array:
uint[] invisibleBlocks = new uint[] { 1, 2, 3 };
An array occupies space. Use a pencil and a piece of paper.
When you'd have enough arrays, it'd require less space to hold those arrays than to hold all the pencils and pieces of paper to write them down.
Have no idea exactly what that limit would be, but I don't think it's very high.
Offline
[ Started around 1732439124.5029 - Generated in 0.109 seconds, 12 queries executed - Memory usage: 1.63 MiB (Peak: 1.82 MiB) ]