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
Modification Help / Re: Syntax Error 3: Voltaic Jubilee
« on: August 08, 2017, 04:02:57 PM »
Not sure if it got cut off or not but youre missing }; at the bottom.

Modification Help / Re: Syntax Error 3: Voltaic Jubilee
« on: August 08, 2017, 03:53:38 PM »
When it tells you what line the error is on its usually the one above it. Your issue, Potatoh, is that you need a semicolon after .kill();

TableSalt post more code. I might be just missing it but I dont see an error in your screenshot.

General Discussion / Re: what the hell is this supposed to be
« on: August 05, 2017, 11:13:09 AM »

I think they gave like everyone honor 3, I got it and I don't deserve it.

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.


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.

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.

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.

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.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.

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

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:

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).

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.

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.

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

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