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

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 19
76
sounds like one of the files in your music folder is corrupted according to blockland.

it may play in your favorite music player, but blockland only accepts .ogg files less than 1mb in size.

start by removing ALL of them and make sure blockland still runs ok.  If blockland still freezes, then your problem is elsewhere
If blockland strts fine, then add them back in batches of 5-10 until you find the batch with the one that fails.  then remove them 1 by 1 until it works -- the last file you removed will be the one with problems.

77
Modification Help / Re: Scripting Codes?
« on: June 23, 2011, 05:20:00 PM »
there is a good guide in this thread here:
http://forum.blockland.us/index.php?topic=146136.0

go read it

78
Modification Help / Re: Getting the brick number from the brick name
« on: June 22, 2011, 08:49:20 PM »
okay.. so you want the ID of the brick's datablock

try something like this:
echo( brick1x1Data.getID() );
echo( brick4xCubeData.getID() );

79
Modification Help / Re: Getting the brick number from the brick name
« on: June 22, 2011, 08:30:35 PM »
... I still dont get it.

you can look at a brick and say /getid
it will give you a number in chat.  but thats only good for your current session of blockland.

You say you need this brick number for your script.  what are you trying to do in your script?
it almost sounds like you want a /command to change your ghost brick.

80
Modification Help / Re: Getting the brick number from the brick name
« on: June 22, 2011, 08:22:34 PM »
what do you mean by "brick number" ?

81
Help / Re: Runtime error On dedicated server
« on: June 22, 2011, 06:32:23 PM »
Kay i will do that but not the default addon thing
well then you may never solve your problem.

the default addons is to check and see if the problem is with your pc, or with your addons.  If it works fine with just the default addons, then you know where to look.
If your server STILL crashes with the default addons, then the problem is with your PC.

82
Help / Re: Hosting Issue
« on: June 22, 2011, 05:05:59 PM »
Turn off Windows Automatic Update.
Dont turn it off

But set it NOT to auto-download, auto-install and auto-reboot.
When you do this, you will get a little icon in your system tray that says there are updates available.  Then you can pick a good time to do the updates.  Like after you shut down your server and while you are eating dinner.


For port forwarding...
you have to set your own pc with a 'static' IP address for port forwarding to work correctly.  Otherwise things will act weird.

83
Help / Re: Runtime error On dedicated server
« on: June 22, 2011, 04:57:20 PM »
just keep doing the same thing...

whatever addon gives errors, de-activate it.
The "L4B" addons seem to be causing a lot of errors.
You also have something thats duplicating your plate bricks
ERROR: Brick datablock "plate1x14x1Data" has the same uiname as "brick1x14x1Data" (1x14) - removing.

try deactivating the brick plate addons and see if the error goes away.


Also mabye its a good idea to start with ONLY the default addons and see how long your dedicated server runs.

84
Modification Help / Re: Force player to download sertain file
« on: June 22, 2011, 02:49:15 PM »
Instead of a gui or slash commands, why not just keybinds? Seriously, for some things, keybinds are simply better. I'd much rather press the key bound to light than say /light, for example, and I'd much rather press the button than open a GUI to click a button.
your right - that is much easier.

But are you willing to go download the client mod required to do this? ... just to connect to the server?  If so, you have a lot more tolerance than most people.

85
Help / Re: Runtime error On dedicated server
« on: June 22, 2011, 02:46:11 PM »
look over the log file yourself, and do the following:

find any addon that gives an error and disable it.  I would start with the AI_Shark since that seems to be the one spamming your console with errors.

also DELETE these zip files (they are marked as bad addons and will never run)
   Vehicle_Policecar.zip
   Brick_Corners.zip


Brick4x4f_Print is broken - delete it, download the update, or fix it yourself

Loading Add-On: Brick_4x4f_Print (CRC:1315919240)
Add-Ons/Brick_4x4f_Print/server.cs Line: 9 - Syntax error.
>>> Some error context, with ## on sides of error halt:
/ANOTHER 2Second edit... made by AndreZ...

datablock fxDTSBrickData(Brick4x4fprintData : brick2x2fPrintData)

{

^brickFile = "./4x4f_Print.blb";

^category = "Plates";

^subCategory = "Prints";

^uiName = "4x4f_Print";

^iconname = "Add-Ons/Brick_4x4f_Print/4x4f_Print"

}##;##
>>> Error report complete.
ADD-ON "Brick_4x4f_Print" CONTAINS SYNTAX ERRORS


you also have a bunch of duplicate names in your print bricks:
ERROR: Brick datablock "plate1x14x1Data" has the same uiname as "brick1x14x1Data" (1x14) - removing.
.. and bunches more


86
Modification Help / Re: Force player to download sertain file
« on: June 21, 2011, 08:36:07 PM »
RTB has the ability to let people download a GUI when they connect.

The problem is the thing is so limited as to make it almost impossible to do anything more than a super fancy /help screen.

Your best option is to live with the fact that some will not download your sound files.  Also consider those who play with the sound off.

for a custom client GUI - thee are several threads already that explain how to put in a check for that.

87
Modification Help / Re: Scripting Help
« on: June 13, 2011, 04:58:35 PM »
what do  you want the /commands to do?

starting the script files is easy:

function serverCommandStuff(%client)
   {
    // your code goes here
  }

Then when you type /stuff
in the chat, that function will be run.

If you want something else you have to be more specific, what youve asked for is too vague.

88
Mapping Help / Re: My water is messed up, Help me
« on: June 13, 2011, 04:55:32 PM »
2 things:

First Change the scale from 800 800 100
to  1024 1024 128
and hit Apply

Then click on the water block with your mouse and drag it where you want.
If that doesnt work, try adjusting the position values.

89
Modification Help / Re: Messing with baseplate rules...
« on: June 13, 2011, 04:44:58 PM »
   function serverCmdPlantBrick(%client)
   {
      parent::serverCmdPlantBrick(%client);
      if($Pref::Server::BREnable == 2)
      {
         if(%client.bl_id == getNumKeyID())
            return;
         if($Pref::Server::BRAppliesToAdmin == 1 && %client.isSuperAdmin)
            return;
         if($Pref::Server::BRAppliesToAdmin == 2 && %client.isAdmin)
            return;
         if(%client.BRException)
            return;
         %plantedBrick = %client.brickGroup.getObject(%client.brickGroup.getCount() - 1);
         if(%plantedBrick.getDistanceFromGround() == 0 && %plantedBrick.getDatablock().category !$= "Baseplates")
         {
            %plantedBrick.delete();
            commandToClient(%client,'MessageBoxOK',"Invalid Brick","You must start with a Baseplate.<bitmap:base/client/ui/brickIcons/16x16 Base>");
         }
      }
   }

That doesnt match what you originally posted.

Also - this is slightly easier use:
Code: [Select]
function serverCmdPlantBrick(%client)
  {
   %plantedBrick = parent::serverCmdPlantBrick(%client);
   if (!isObject(%plantedBrick) )
     return;

   if ($Pref::Server::BREnable == 2)
     {
      if(%client.bl_id == getNumKeyID())
        return;
      if($Pref::Server::BRAppliesToAdmin == 1 && %client.isSuperAdmin)
        return;
      if($Pref::Server::BRAppliesToAdmin == 2 && %client.isAdmin)
        return;
      if(%client.BRException)
        return;

      if (%plantedBrick.getDistanceFromGround() == 0 && %plantedBrick.getDatablock().category !$= "Baseplates")
        {
         %plantedBrick.delete();
         commandToClient(%client,'MessageBoxOK',"Invalid Brick","You must start with a Baseplate.<bitmap:base/client/ui/brickIcons/16x16 Base>");
        }
     }
  }

but what do you mean "it doesnt work" ?

what happens when you plant a baseplate on the ground?
what happens when you plant a non-baseplate on the ground?
what happens when you plant a non-baseplate on a baseplate?

90
The projectile will already have all the info you need when it collides with the brick
if you use MyProjectile::onCollistion you should be able to get the info out.

use trace(1) and dump() to see where the info is stored.

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