Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pastrey Crust

Pages: 1 2 [3] 4 5 6 7 8 ... 15
31
Modification Help / Sorting an array numerically - silly me
« on: February 19, 2017, 06:37:18 PM »
To sort an array numerically, I've tried using array objects. Guess what? Blockland doesn't have the required commands to sort them anyways.

So I resorted to a manual sort.

Code: [Select]
function updateLeaderboard() {
%leaderboard[0] = 0;
%temp = 1;
%i = 0;
%leaderboard[1] = 2;
%leaderboard[2] = 1;
%leaderboard[3] = 7;
%leaderboard[4] = 4;
%leaderboard[5] = 9;
%leaderboard[6] = 3;
echo(%leaderboard[1] SPC %leaderboard[2] SPC %leaderboard[3] SPC %leaderboard[4] SPC %leaderboard[5] SPC %leaderboard[6]);
for(%i = 1; %i < %leaderboard[0]; %i = %i + 1) {
for(%j = 1; %j < %leaderboard[0]; %j = %j + 1) {
if(%leaderboard[%i] > %leaderboard[%j]) {
%temp = %leaderboard[%j];
%leaderboard[%j] = %leaderboard[%i];
%leaderboard[%i] = %temp;
}
}
}
echo(%leaderboard[1] SPC %leaderboard[2] SPC %leaderboard[3] SPC %leaderboard[4] SPC %leaderboard[5] SPC %leaderboard[6]);
}

Now I'm pretty certain this should work but for some reason, it doesn't. I've been like 30 minutes trying to figure out why it doesn't work. Any help?

32
Suggestions & Requests / Make Gamemode_ making not a pain in the ass
« on: February 18, 2017, 04:09:55 PM »
I'm tired of rebooting my server a zillion times because there's an add-on which uses ForceRequiredAddon.
What I'm asking is, before stopping the server, make a list of add-ons that use ForceRequiredAddon and which add-on they're forcing. This will reduce the amount of times I need to reboot the server because of a missing addon and the amount of times I need to reboot Blockland because of a typo I made when updating the gamemode.txt

Also, if possible, have the ForceRequiredAddon not actually require the add-on to load the server because mods like Brick_PoleAdapters use this function to make sure that an add-on (Brick_Pole) ISN'T enabled.

33
Off Topic / There are people my age making phones and new inventions
« on: February 16, 2017, 08:18:45 AM »
And then there's me pushing a door that says pull and tearing off one of the hinges.

34
Off Topic / guten tag
« on: February 15, 2017, 05:14:58 AM »
i have a strange urge to exterminate something

36
Off Topic / Calculus help (Optimization Integration)
« on: February 13, 2017, 09:49:01 AM »
1) Part the number 100 into two which the sum of their cubes is minimum.
2) A prism's length is thrice the width and the sum of the length, width, and height is 60.
Calculate the maximum volume possible.

Also how to correctly do integration by parts? I have this excersize which I obviously did incorrectly
1) /ln(x^2) dx

37
Off Topic / Oui oui
« on: February 11, 2017, 11:13:22 AM »
hon hon hon

38
Off Topic / Where is Critawakets?
« on: February 10, 2017, 06:42:23 AM »
Did he take a break? It's been some time since he last posted.

39
Off Topic / Getting to class when suddenly
« on: February 06, 2017, 05:16:21 AM »

40
Help / Used trace();, got buffer overflow.
« on: February 01, 2017, 12:35:54 PM »


Console.log is 3GBs in size.
Last entry:
Code: [Select]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Leaving onWindowReactivate() - return
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Entering GlassLiveConnection::onLine(17531, {"type":"roomMessage","room":0,"sender":"Schtirliz","sender_id":"209987","msg":"jb open? ","timestamp":1485974026,"datetime":"1:33:46 pm"})

41


Mostacholi a la pomarola.

42
Add-Ons / [Glass+Blockland] Loading Screen Music + Main Menu Music
« on: January 23, 2017, 04:16:07 PM »
Loading Screen Music

When you join a server, the mod searches for songs (.ogg) in
Add-Ons/Music/LoadingScreen/.
and pick a song to play at random.

Should the folder not have any songs, it will randomly pick the following defaults:
After School Special
Peaceful
Piano Bass.

If the folder doesn't exist, create it yourself or run Blockland with the mod once to create it.

Blockland v1.0.2*



Main Menu Music

It will search Add-Ons/Music/MainMenu for .ogg songs, pick a song at random, and play it. Should the folder not have any songs, it will pick from the following default songs:
After School Special
Peaceful
Rock
Stress
Ambient Deep
Bass 1-3
Distort
Drums

Like in the Loading Screen add-on, if the folder doesn't exist, it will be created.

Main Menu Music* **


*I took the liberty of making it check if Glass exists instead of having two versions of the same mod.
**Since the Main Menu GUI doesn't actually use onWake and onSleep, the check is on the buttons.

43
Off Topic / joosy joos
« on: January 20, 2017, 03:24:12 PM »
Apple and mango are my favorite juices. How about you guys?

44
Add-Ons / [Glass] General Discussion on Chat HUD
« on: January 17, 2017, 11:08:27 PM »
Glass on Chat HUD
Uploaded by Pie Crust

Client Mods
Client_GDChat.zip
Jan 18th 2017, 12:03 AM


This mod allows you to read and chat to the general discussion. PMs and other rooms may be added in the future.

The client add-on comes with two keybinds. One to toggle the mod itself and the second one to open the chat thingomabob.

Toggling the mod allows you to chat to GD without opening the overlay and reading what people are stuffposting in the General Discussion.

The thingomabob opener allows you to send a message to the General Discussion. Only works if the add-on is toggled on.

Report bugs and submit suggestions!



Get it on Blogland Glass!

45
Off Topic / rainy rain pls go away
« on: January 15, 2017, 08:58:47 AM »
and come back another day

Pages: 1 2 [3] 4 5 6 7 8 ... 15