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.


Messages - Crwn

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 225
76
Add-Ons / Wider Playerlist
« on: August 01, 2017, 11:34:02 PM »
Wider Playerlist

I felt like the playerlist wasn't wide enough, sometimes names and scores get cut off. I made it wider.
Did my best to not mess with it in a way that would affect other add-ons such as trust manager or client-sided mute. I didn't test anything with that so let me know how it plays with other add-ons and I will fix it if needed.

Before
After


77
Help / Re: Is there a way to put my own addons into a gamemode?
« on: August 01, 2017, 05:33:58 PM »
In your gamemode folder look for something called gamemode.txt inside the main folder. Open it up and the first few lines are which add-ons it will load with the gamemode.

Example from Blockheads Ruin Xmas:
//add-ons to load
ADDON Brick_Arch
ADDON Brick_Christmas_Tree
ADDON Support_Doors
ADDON Brick_Doors
ADDON Brick_Halloween

You're able to add anything under that, so if you wanted admin chat for example you'd add
ADDON Server_AdminChat to the bottom.


78
Help / Re: Is it possible to talk via the server .bat?
« on: August 01, 2017, 04:31:59 PM »
Type talk("your message here"); into the console window.

79
I'm guessing you're mostly confused about %this.

When elm's functions get called they're not just by doing hunger_end(); they're used on a gameConnection (a client) object instead, so it's %client.hunger_end();. The first variable in a function being called on an object is the object itself, so you're able to access the object being used. You could name %this whatever you wanted.

80
What you need to do is learn how to create a function and then a schedule.

So to start youll need a function that decreases your hunger every time its called. Since youre keeping track of a players hunger it makes most sense to create the function on the player class. This can be done like this:

function player::hungerTick(%this)
{
    %this.hungerLevel += 1;
    %this.bottomPrint(%this.hungerLevel);
    %this.schedule(100, hungerTick);
}

This is very basic but it should help you understand how a schedule works somewhat and how to store variables on a player. You should look into finding out how to call this function when a player spawns. This will start at 0 and keep increasing the players hunger every 100 ms. You can do checks in the function like if(%this.hungerLevel == 100) %this.kill(); or whatever.

81
Drama / Re: Glass (47458) - spamming edd's server
« on: July 27, 2017, 06:50:26 AM »
He did the same thing on my server.

82
General Discussion / Re: ogg files delete it self when i load them
« on: July 23, 2017, 11:50:17 PM »
There is an add-on to remove the size limit here: https://blocklandglass.com/addons/addon.php?id=596

83
Super cool stuff so far, I hope to see this playable some day.

One of the biggest things I'd like is support for servers to be able to draw GUIs and other things on the client without having them download something. The add-on system in Blockland has amazing potential when it comes to modifying the game. But requiring/having a specific add-on just to play on a server it's not really a realistic expectation.

I also think voice chat would be cool to have (obviously with mute).

84
Add-Ons / Re: Blockland Glass 4.0
« on: July 23, 2017, 07:01:06 AM »
You can disable notifications from the chat room in the settings window to avoid being spammed. I dont believe there is a way to rejoin currently, maybe we can make the chat button open the chat back up if youve closed it.

85
General Discussion / Re: Server hosting services?
« on: July 19, 2017, 03:08:33 PM »
Honestly I'm capable of setting up a Linux VPS and have used one in the past but Glass Hosting's panel/restarting the server from my phone and in-game console are worth the $7/m.

86
Gallery / Re: workin on a new weapon pack
« on: July 18, 2017, 04:12:33 PM »
I like it.

87
General Discussion / Re: BLG down?
« on: July 17, 2017, 11:38:57 AM »
Works for me.

88
General Discussion / Re: Just wanna make sure Im completely forgeted
« on: July 15, 2017, 10:10:02 PM »
I have the key.dat but its from another computer I don't have anymore.
I'm pretty sure the key.dat can only be read if it's from the computer it was created on.

89
Add-Ons / Re: Blockland Glass 4.0
« on: July 14, 2017, 09:42:46 AM »
Control + Spacebar.

90
Add-Ons / Re: [Hatmod] Crash Bandicoot
« on: July 12, 2017, 07:55:15 PM »
Nice. Added to Jailbreak.

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 225