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

Pages: 1 ... 4 5 6 7 8 [9] 10 11 12 13 14 ... 323
121
Suggestions & Requests / Re: ChatMsgAll outside of minigames
« on: February 16, 2013, 01:20:26 PM »
In case you guys missed the subtlety in port's post, you should use messageAll for the chatmessage one instead of overcomplicating things
I forgot those commands existed.

Code: [Select]
registerOutputEvent(fxDtsBrick, "ChatMessageServer", "STRING 200 150", 1);
registerOutputEvent(fxDtsBrick, "CenterPrintServer", "STRING 200 150 INTEGER 0 10", 1);
registerOutputEvent(fxDtsBrick, "BottomPrintServer", "STRING 200 150 INTEGER 0 10 BOOL", 1);

function fxDtsBrick::ChatMessageServer(%this, %msg, %oClient)
{
messageAll('', %msg);
}

function fxDtsBrick::CenterPrintServer(%this, %msg, %time, %oClient)
{
centerprintall(%msg, %time);
}

function fxDtsBrick::BottomPrintServer(%this, %msg, %time, %bar, %oClient)
{
bottomprintall(%msg, %time, %bar);
}

122
Suggestions & Requests / Re: ChatMsgAll outside of minigames
« on: February 15, 2013, 03:10:12 PM »
Code: [Select]
registerOutputEvent(fxDtsBrick, "ChatMessageServer", "STRING 200 150", 1);
registerOutputEvent(fxDtsBrick, "CenterPrintServer", "STRING 200 150 INTEGER 0 10", 1);
registerOutputEvent(fxDtsBrick, "BottomPrintServer", "STRING 200 150 INTEGER 0 10 BOOL", 1);

function fxDtsBrick::ChatMessageServer(%this, %msg, %oClient)
{
%numClients = ClientGroup.getCount();
for(%i; %i<numClients; %i++)
{
%client = ClientGroup.get(%i);
messageClient(%client,'', %msg);
}
}

function fxDtsBrick::CenterPrintServer(%this, %msg, %time, %oClient)
{
%numClients = ClientGroup.getCount();
for(%i; %i<numClients; %i++)
{
%client = ClientGroup.get(%i);
%client.centerPrint(%msg,%time);
}
}

function fxDtsBrick::BottomPrintServer(%this, %msg, %time, %bar, %oClient)
{
%numClients = ClientGroup.getCount();
for(%i; %i<numClients; %i++)
{
%client = ClientGroup.get(%i);
%client.centerPrint(%msg,%time,%bar);
}
}

I don't have time to test this, but this is generally what you need. You can test it out by copying all the code and then entering eval(getclipboard()); into the console while hosting a server. Though you'll want it packaged as an add-on if you want it to function properly.

123
If you add an activate on command function.
???

A / command? Event? I'm not sure what you mean.

edit: I'll assume you meant a / command to toggle it on/off.

Code: [Select]
function servercmdtoggleshoerp(%client)
{
if(!%client.isadmin)
return;

if($shoeRp)
$shoeRp=false;
else
$shoeRp=true;
}

package shoerp
{
function gameconnection::spawnplayer(%this)
{
parent::spawnplayer(%this);
if($shoeRp)
{
%this.player.hidenode("ALL");
%this.player.unhidenode("lshoe");
%this.player.unhidenode("rshoe");
}
}
};
activatepackage(shoerp);

So now you can just do /shoerp to toggle it on/off. It starts off.

124
Forum Games / Re: The Ultimate Ban List
« on: February 14, 2013, 10:22:58 PM »
https://gist.github.com/block8437/b753e65aa73fb29c1fdf

You can see where Im going with this
though I probably will use SQLite3 for databasing.
Possible to also make it support using TCP to add to the list? This way a Blockland mod can automatically add to the banlist.

Also you're going to need a ton of spam-prevention in that.

125
General Discussion / Re: Pecon7's Boss Battles!
« on: February 14, 2013, 08:33:01 PM »
Idea.
Put the bed room in map rotation.
No. That map is sacred. We will only use it on the anniversary.

126
General Discussion / Re: Pecon7's Boss Battles!
« on: February 14, 2013, 07:43:35 PM »
I increased his ban to 4 days.

127
Off Topic / Re: What the forget is Steam doing
« on: February 14, 2013, 06:44:54 PM »
Pick a random person in the friends list interface, and click block all communications. Then unblock them. This usually clears up the error for me.

128
Will I run out of data blocks If I made all the bricks from 1x1x1x to 64x64x64x?
That would be 64x over the limit. (262,144 datablocks, with the limit being ~4,090)

129
Not interested in any form of voice acting. Unless you happen to need a GLaDOS voice, I can do that. Otherwise no.

I can do in-game acting, though.

130
Creativity / Re: Pecon's laser projects
« on: February 14, 2013, 12:45:26 PM »
I cannot remake the smaller one because we are out of those special textured plastics. If you give me a screenshot or something of what you want then I can draw it and see what can be done about colors. It would most likely be about $40 for one.

131
Off Topic / Re: My Internet
« on: February 13, 2013, 11:40:51 PM »
No, it's most likely your adapter. I have a similar issue that just is less frequent. My wireless adapter likes to just die every now and again, and I have to disable it and re-enable it in the device manager to make it work again. That, or wait about 15 minutes until it recovers on it's own. It's a defect with the card, take devildog's advice and test it on a different computer to be sure.

132
Code: [Select]
package shoerp
{
function gameconnection::spawnplayer(%this)
{
parent::spawnplayer(%this);
%this.player.hidenode("ALL");
%this.player.unhidenode("lshoe");
%this.player.unhidenode("rshoe");
}
};
activatepackage(shoerp);

Someone host this, now.

133
Suggestions & Requests / Re: Gaze Mod Fix
« on: February 13, 2013, 11:09:16 PM »
This doesn't actually change anything.
Yes it does. I don't think you noticed that the old function was missing a parameter.

However, now bottom prints actually work, but oddly. They only appear after the second time its activated.
I suspect this was always a problem.

134
This is going to be good.

135
Suggestions & Requests / Re: Gaze Mod Fix
« on: February 13, 2013, 09:36:49 PM »
Pretty sure I figured out what the problem was. The gameConnection::BottomPrint function was packaged incorrectly because in a recent update a new argument was added to the bottomPrint function. This is easy to fix, just replace the code from lines 325 to 336 with the following:

Code: [Select]
function GameConnection::bottomPrint(%cl, %msg, %time, %bar)
{
if(!%cl.gazing)
{
%cl.stopGazing();
if(%time <= 0)
%cl.startGazing = %cl.schedule(60000, "startGazing");   //Cap time of one minute. That's long enough for any useful info.
else
%cl.startGazing = %cl.schedule(%time * 1000, "startGazing");
}
Parent::bottomPrint(%cl, %msg, %time, %bar);
}

If this works, you could probably just send the updated file to Xalos and I bet he would be happy to overwrite the current download with a new one with this file.

Pages: 1 ... 4 5 6 7 8 [9] 10 11 12 13 14 ... 323