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.
yeah
i just tried it
i got an error with argumentoutofrange exception with 38 entries
case "reset":
try
{
DataChunk[] datachunk = InitParse.Parse(m);
foreach (var chunk in datachunk)
{
foreach (var pos in chunk.Locations)
{
World.Blocks[chunk.Layer, pos.X, pos.Y] = chunk.Type; //is exactly same as roomData
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString()); //returns error
}
break;
i believe this is processor's fault for not making it work with "reset" properly
shh i have returned
Offline
this is an InitParse script, not a reset parse script, sorry, but you'll have to make your own...
EDIT: Also, why are you doing it in "reset"?
You can track all new blocks by going to "b" message and adding:
World.Blocks[m.GetInt(1), m.GetInt(2), m.GetInt(3)] = m.GetInt(4)
Offline
this is an InitParse script, not a reset parse script, sorry, but you'll have to make your own...
EDIT: Also, why are you doing it in "reset"?
You can track all new blocks by going to "b" message and adding:World.Blocks[m.GetInt(1), m.GetInt(2), m.GetInt(3)] = m.GetInt(4)
I desire to InitParse on LoadLevel.
Also, why does InitParse have the "reset" message type on it then?
Not a succesful answer to my question.
shh i have returned
Offline
i believe this is processor's fault for not making it work with "reset" properly
Then post it in the official thread.
Fixed.
I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.
Offline
[ Started around 1732811972.084 - Generated in 0.104 seconds, 12 queries executed - Memory usage: 1.41 MiB (Peak: 1.53 MiB) ]