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

Pages: 1 ... 25 26 27 28 29 [30] 31 32 33 34 35 ... 53
436
Modification Help / Re: Chat filters
« on: October 14, 2010, 02:27:48 AM »
Code: [Select]
addBadWord("ass");
package poop
{
     function serverCmdMessageSent(%cl,%msg)
     {
          %msg = filterString(%msg,"$#!@");
          Parent::serverCmdMessageSent(%cl,%msg);
     }
};
activatepackage(poop);

Changes any occurence of ass to randomly picked characters: $#!@
Examples:
$$$
$!@
###
!!!
@$!

437
Modification Help / Re: Chat filters
« on: October 13, 2010, 01:51:40 PM »
Then use case-isensitivity, or use variables and a file reader that reads a file for words.

438
Off Topic / Re: Post Your Desktop!
« on: October 13, 2010, 10:58:54 AM »


meh i forgot to minimize msn bro'.

439
Modification Help / Re: Chat effects
« on: October 13, 2010, 07:12:26 AM »
If you want it to be case-sensitive, use
Code: [Select]
if(strPos(%msg,"theWoRD") >= 0)
If you want it to be case-insensitive, use
Code: [Select]
if(striPos(%msg,"theword") >= 0)



also, nonrelated topic title much? (Chat effects).



closes.
or does
Code: [Select]
deleteVariables("$PATTERN");

440
Modification Help / Re: Syntax error ("CityRPG_getRandomMailbox(##)##;")
« on: October 12, 2010, 12:29:01 PM »
Syntax error report:
Code: [Select]
   }
   if(%from.getClassName() $= GameConnection)
   {
      if(isObject(%from.player))
         %mailbox=CityRPG_findClosestMailbox(%from.player.getPosition()[MISSING )];
      else
         %mailbox=CityRPG_findRandomMailbox(##)##;
   }
   else
   {

Found it. Oh forget, I hate small errors that I don't see when I code late at night.

441
Help / Re: Forever servers?
« on: October 12, 2010, 05:05:37 AM »
dedicated.bat

or

Blockland.exe -dedicated -map slate
noedit.

Right click your Blockland shortcut, and select Open File Location.


Double-click dedicated.bat


It should open a command prompt window, that's the "forever" dedicated server. You can start Blockland and join if you want. Closing the command prompt window that dedicated.bat opens will end the "forever" dedicated server.

442
Help / Re: Scorpian tank link
« on: October 12, 2010, 04:59:52 AM »
Yea how do you get onto rtb2 anyways?
You don't. The archives were publicly available for a while, but users kept porting stuff that didn't need porting, and spamming the Add-Ons board, so they were blocked by RTB Staff.

443
Help / Re: Why is blockland so slow?
« on: October 12, 2010, 04:58:27 AM »
Define 'slow', you're constantly lagging, it seems like the timescale is low, or what?

444
Help / Re: Can't join IRC
« on: October 12, 2010, 04:57:14 AM »

445
Help / Re: Avatar Animation
« on: October 12, 2010, 04:54:38 AM »
Graphic Interface File

Graphics Interchange Format

446
Help / Re: Forever servers?
« on: October 12, 2010, 04:54:02 AM »
dedicated.bat

or

Blockland.exe -dedicated -map slate

447
Modification Help / Re: Teamchat Function help
« on: October 12, 2010, 04:45:33 AM »
Try this:
trace(1);  (warning: spammy. hurry with the next part or you will have a very full console. Also, try not to rotate your view)
Send a teamchat message.
trace(0); (ASAP. Once you do, the spammy bit will stop)

There will probably be a bit of useful information in the console, now. Depending on how fast you are, between 50% and 99.9% of the information added will be useless.

Code: [Select]
trace(1); commandToServer('TeamMessageSent',"Test."); schedule(ServerConnection.getPing()*2+1,0,trace,0);

@fullconsole:
Code: [Select]
cls();

448
Modification Help / Syntax error ("CityRPG_getRandomMailbox(##)##;")
« on: October 12, 2010, 04:33:47 AM »
Code: [Select]
function requestMailSend(%to,%from,%str)
{
   if(getSubStr(%to,0,4) $= "SYS:")
   {
      %sys=getSubStr(%to,4,strLen(%to));
      %obj=nametoid("CityRPG_GAME_SYS_" @ %sys);
      if(!isObject(%obj))
         return;
      %to=%obj;
   }
   else
   {
      %obj=findclientbyname(%to);
      if(!isObject(%obj))
         return;
      %to=%obj;
   }
   if(getSubStr(%from,0,4) $= "SYS:")
   {
      %sys=getSubStr(%from,4,strLen(%from));
      %obj=nametoid("CityRPG_GAME_SYS_" @ %sys);
      if(!isObject(%obj))
         return;
      %from=%obj;
   }
   else
   {
      %obj=findclientbyname(%from);
      if(!isObject(%obj))
         return;
      %from=%obj;
   }
   if(%from.getClassName() $= GameConnection)
   {
      if(isObject(%from.player))
         %mailbox=CityRPG_findClosestMailbox(%from.player.getPosition();
      else
         %mailbox=CityRPG_findRandomMailbox();
   }
   else
   {
      if(strLen(%from.scriptPos) > 0)
         %mailbox=CityRPG_findClosestMailbox(%from.scriptPos);
      else
         %mailbox=CityRPG_findRandomMailbox();
   }
   if(!isObject(%mailbox))
      return;
   %mailbox.addMail(%from,%to,%msg);
}

Syntax error report:
Code: [Select]
   }
   if(%from.getClassName() $= GameConnection)
   {
      if(isObject(%from.player))
         %mailbox=CityRPG_findClosestMailbox(%from.player.getPosition();
      else
         %mailbox=CityRPG_findRandomMailbox(##)##;
   }
   else
   {

449
Modification Help / Re: Activating with a Weapon
« on: October 08, 2010, 06:15:24 AM »
Code: [Select]
the key is depressed

OH NO GIVE IT A HUG PLOX

450
Off Topic / Re: Wish Granted, but...
« on: October 08, 2010, 06:07:32 AM »
Granted, but then GLaDOS incinerates you.

I wish I knew why I bumped this.

Pages: 1 ... 25 26 27 28 29 [30] 31 32 33 34 35 ... 53