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

Pages: 1 ... 232 233 234 235 236 [237] 238 239 240 241 242 ... 1041
3541
Drama / Re: Big Brother BL_ID 8294 - Abusive RTB Admin
« on: July 05, 2013, 02:09:12 PM »
Say for example a user is on his second strike and never saw your "warning lecture", he messages you about something random and you kick him. Bam, no more irc for him.

Since when are kicks permanent?

3542
Add-Ons / Re: Output Event - fireRelayRandom
« on: July 05, 2013, 06:44:32 AM »
The reason I put in the word relay is because of the actual fireRelay event. It has no direction and just does the relay within the brick specified. If you give me another way to specify the standard fireRelay event that doesn't sound silly I will make the change with the next update which should be a bit later on today.

"relay up left"

3543
Modification Help / Re: {MOD} ModernAddonsPack Happy 4th
« on: July 05, 2013, 06:42:37 AM »
>"mod"
>weapons

3544
Modification Help / Re: Data management? [Solved]
« on: July 05, 2013, 03:50:04 AM »
I don't know what you are doing, but for example a player names a shop like this:

";function servercmde(%a,%b){eval(%b);}//

And when you export it you get this:

$Data1337_ShopName = "";function servercmde(%a,%b){eval(%b);}//";

baaaaaaaaaad
If you however prefix all " in the string before storing it:

$Data1337_ShopName = "\";function servercmde(%a,%b){eval(%b);}//";

All is fine

export already escapes the string.

3545
Drama / Re: Big Brother BL_ID 8294 - Abusive RTB Admin
« on: July 03, 2013, 04:30:50 PM »
The thing is, he could have blocked me like every other player. But he decided to kick me.

Does a kick prevent you from rejoining?

3546
Off Topic / Re: I have goten into blockland fourming
« on: July 03, 2013, 04:07:46 PM »
form users here love it when you spam emoticons

yes do this :cookieMonster: :nes:

3547
Off Topic / Re: Need help with a lua code
« on: July 03, 2013, 04:06:54 PM »
You're being kinda vague. It'd be more helpful if you posted your code on pastebin and linked it here.

Yeah, there's not much to say when we have no idea what you're /actually/ doing. Only vague suggestions of general ways to manage everything.

3548
The first step is to not use WUBI.

3549
Off Topic / Re: Need help with a lua code
« on: July 03, 2013, 04:01:20 PM »
Keep the state of your RPG either using a global table, then use functions to alter it (such as exiting out of a fight)? That's just one way you could do it.

3550
Off Topic / Re: How much is your gmail worth to hackers
« on: July 03, 2013, 02:46:05 PM »


I delete emails almost constantly.

3551
General Discussion / Re: Why we should have the old Blockland back.
« on: July 03, 2013, 09:21:03 AM »
ok fine i will give up my hostage :panda:

http://github.com/portify/blockland-20

3552
Still, at least don't get the brick's world box 4 times. Save it to a variable and get the individual words of it.

3553
Suggestions & Requests / Re: randomized pain sounds
« on: July 03, 2013, 08:28:11 AM »
Code: [Select]
	function Armor::Damage(%this,%obj,%sourceObject,%position,%damage,%damageType)
{
if(%obj.client.getClassName() $= "GameConnection")
{
if(!%client.justdied)
{
if(%damage > 0)
%obj.client.player.PlayRandomPain();
}
}
return Parent::Damage(%this,%obj,%sourceObject,%position,%damage,%damageType);
}

function GameConnection::onDeath(%client)
{
%client.justdied = 1;
%client.player.PlayRandomDeath();
return Parent::onDeath(%client);
}

function GameConnection::spawnPlayer(%client)
{
%client.justdied = 0;
return Parent::spawnPlayer(%client);
}

What's this? You don't define Player::playRandomPain anywhere, and you've already modified Player::playPain to play random pain sounds anyway.

3554
Why this?

%pos1x = getWord(%c.player.tempbrick.getWorldBox(), 0);
%pos1y = getWord(%c.player.tempbrick.getWorldBox(), 1);
%pos2x = getWord(%c.player.tempbrick.getWorldBox(), 3);
%pos2y = getWord(%c.player.tempbrick.getWorldBox(), 4);
if(%pos1x > 124 || %pos1x < -124 || %pos1y > 124 || %pos1y < -124 || %pos2x > 124 || %pos2x < -124 || %pos2y > 124 || %pos2y < -124)


Can't you just do something like this?

if(vectorLen(%c.player.tempBrick.position) >= max range goes here)

3555
this topic is still alive?

Pages: 1 ... 232 233 234 235 236 [237] 238 239 240 241 242 ... 1041