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.


Topics - Destiny/Zack0Wack0

Pages: 1 2 3 4 [5] 6 7
61
Modification Help / Mods that break Variable/Conditional Events
« on: December 02, 2008, 01:35:15 AM »
The following events are known or expected to break variable/conditional events:
Event_setAppearance
Event_printEvents
Please stop complaining "IT DUNT WURK U PHAIL KK", because it works perfectly fine.

62
Drama / masterchief2412
« on: November 26, 2008, 01:07:14 AM »
ISSUE 1:
There seems to be a group of idiots hosting a blockland server called "Life(Host Guilmon X) Boys & girls please come". I joined the server, and was immediately flooded by virtual love in my chat hud. So I started to join in for the lulz. I spawned, and then there was all these people taking the game so ridiculously real. For one: Virtual love is stupid. And 2: WHY ARE YOU DOING IT IN BLOCKLAND, A GAME WHERE YOU BUILD STUFF?!?! I suggest anyone avoiding going to this server, as they take it like real life rofl. I got banned from the server for "raping someones ass" which all I was doing was clicking on them.

ISSUE 2:
The case of the masterchief. See topic posts for detail.

63
Add-Ons / setRandom Events
« on: November 21, 2008, 11:01:26 PM »
setRandom Events
Allows you to set brick options to random stuff and ... stuff.

Description
Includes:
setRandomItem - Randomly set the bricks item.
setRandomEmitter - Randomly set the bricks emitter.
setRandomLight - Randomly set the bricks light.
setRandomPrintCount - Randomly set a print bricks count.
setRandomMusic - Randomly set a music bricks music. (Radio anyone? :D)
playRandomSound - Play a random sound.
addRandomItem - Add a random item to the players inventory.

Coming in v2:
setRandomVehicle
setRandomColor
setRandomShapeFX
spawnRandomItem

Download
Event_setRandom.zip (Last Updated: Sat Nov 22, 2008 2:52 pm)
Destiny's Page Download

Installation
Put Event_setRandom.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

64
Add-Ons / Click Push
« on: November 21, 2008, 09:01:58 PM »
Click Push
Allows you to push idiots out of the way.

Description
This is a funky little script I made, that allows you to push players around. You can modify how much and disable/enable it in the Pref Manager.

Download
Non-Admin Version: Script_ClickPush.zip (Last Updated: Sat Nov 22, 2008 1:01 pm)

Installation
Put Script_ClickPush.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

65
Modification Help / Images in the chat?
« on: November 02, 2008, 03:19:34 AM »
How do you put images in the chat?

66
Add-Ons / Output Event: addItem
« on: November 01, 2008, 11:57:38 PM »
Output Event - addItem
An event that adds a specified item to an empty inventory slot.

Description
Yes, I know there already is setItem and setInventory events, but this is different. It adds an item to an empty inventory slot, rather then overwriting an item in your inventory.

Download
Event_addItem.zip (Last Updated: Sun Nov 02, 2008 2:57 pm)

Installation
Put Event_addItem.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

67
Mapping Help / Non-Repeat Terrain Problems
« on: October 25, 2008, 03:56:13 PM »
I'm trying to make a map that has non repeating terrain, but when I turn repeating terrain off, I can't control the terrain. So what am I mean't to do here?

68
Modification Help / Listing a certain object in a GUI.
« on: October 24, 2008, 03:51:50 PM »
I've long wondered what the correct function is to list objects in a scroll control. I'm trying to make a drop down box that shows all the weapons, but I'm not sure exactly how to do it.

69
1. Color Tables
I'm playing around with colors tables and was wondering if there is any commands to find out the next and previous colors on the color table, or getting a random color.

2. Variables for spawned stuff in bricks?
I was wondering if there is any thing like %brick.item or %brick.emitter or such, that stores the current emitter or item.

70
Modification Help / A few Node related things;
« on: October 12, 2008, 01:27:27 AM »
Is there a variable that stores a clients nodes for example:
%client.player.headnode = headcode
Is there a command to show nodes after hiding them (I've tried showNode, but I was mistaken)
And is there a command to a set a node to something.
Note: I want to set other peoples appearance in my server to certain things, not my own appearance.

71
Add-Ons / Event: setBrickName
« on: October 10, 2008, 05:18:56 AM »
Output Event - setBrickName
A basic event that sets the brick's name to a specified string.

Description
A basic event that sets the brick's name to a specified string. I'm making a new version of variable and conditional events, that will add a ifBrickNameEquals.

Download
Event_setBrickName.zip [RTB Download]
Event_setBrickName.zip [Personal Site Download]

Installation
Put Event_setBrickName.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

72
Add-Ons / D&R Military Jeep
« on: September 19, 2008, 07:14:06 PM »
DnR Military Jeep
Jeep with a turret and added durability.

Description
Created by Destiny and Racer, the Modding Duo.
Version 3.5:
- Firing now aims correctly with your crosshair
- Works with all other trigger mods
- Works with other turret vehicles (Tank)
- Small recoil on fire
- Few bug fixes, listed by Space Guy.

Version 4:
- All stuff fixed
- Now on the shoot on click system by Nixill.
Download
Vehicle_MilitaryJeep.zip

Installation
Put Vehicle_MilitaryJeep.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager

73
Help / Client Prefs have broken?
« on: September 12, 2008, 05:29:33 PM »
It seems something has gone wrong with my game (Possibly a faulty Add-On) and now the prefs just get blanked on exiting the game. I've tried getting someone elses prefs and overwriting, still doesn't work. This keeps getting echoed throughout the console:
Invalid script file /config/client/pref.cs

Please Help.

74
Modification Help / Account System Problems
« on: September 08, 2008, 02:18:44 AM »
I've been writing my own account system for a small private RPG server. The saving functions are working fine, but it's having errors reading the saved data.
Code: [Select]
function serverCmdSaveAccount(%client,%called)
{
if(!%client)
{
   echo("Wrong number of arguements. Usage: SaveAccount(client,called);");
   echo("Client is the client, not the player. Called will message the client if 1.");
   return;
}
%a = %client.Account;
if(%a == "")
{
   if(%called == 1)
      messageclient(%client,'',"You don't have an account, or your not logged in yet.");
   return;
}
%a.userID = %client.BL_ID;
%a.ironore = %client.ore["IronOre"];
%a.copperore = %client.ore["CopperOre"];
%a.tinore = %client.ore["TinOre"];
%a.silverore = %client.ore["SilverOre"];
%a.mythrilore = %client.ore["MythrilOre"];
%a.goldore = %client.ore["GoldOre"];
%a.MiningExp = %client.MiningExp;
%a.MiningLvl = %client.MiningLvl;
%a.oakwood = %client.wood["OakTree"];
%a.pinewood = %client.wood["PineTree"];
%a.willowwood = %client.wood["WillowTree"];
%a.maplewood = %client.wood["MapleTree"];
%a.yewwood = %client.wood["YewTree"];
%a.WoodcuttingExp = %client.WoodcuttingExp;
%a.WoodcuttingLvl = %client.WoodcuttingLvl;
%file = new FileObject();
%file.openforRead("Add-Ons/Script_DRPG/AccountData/" @ %Client.BL_Id @ ".txt");
while(!%file.isEOF())
{
   %line = %file.readLine();
     switch$(firstWord(%line))
   {
      case "ID": %a.userID = restWords(%line);
      case "Iron Ore": %a.ironore = restWords(%line);
      case "Copper Ore": %a.copperore = restWords(%line);
      case "Tin Ore": %a.tinore = restWords(%line);
      case "Silver Ore": %a.silverore = restWords(%line);
      case "Mythril Ore": %a.mythrilore = restWords(%line);
      case "Gold Ore": %a.goldore = restWords(%line);
      case "Mining Exp": %a.MiningExp = restWords(%line);
      case "Mining Lvl": %a.MiningLvl = restWords(%line);
      case "Oak Wood": %a.oakwood = restWords(%line);
      case "Pine Wood": %a.pinewood = restWords(%line);
      case "Willow Wood": %a.willowwood = restWords(%line);
      case "Maple Wood": %a.maplewood = restWords(%line);
      case "Yew Wood": %a.yewwood = restWords(%line);
      case "Woodcutting Exp": %a.WoodcuttingExp = restWords(%line);
      case "Woodcutting Lvl": %a.WoodcuttingLvl = restWords(%line);
   }
}
%file.openForWrite("Add-Ons/Script_DRPG/AccountData/" @ %Client.BL_Id @ ".txt");
%file.writeline("ID " @ %a.userID);
%file.writeline("Iron Ore " @ %a.ironore);
%file.writeline("Copper Ore " @ %a.copperore);
%file.writeline("Tin Ore " @ %a.tinore);
%file.writeline("Silver Ore " @ %a.silverore);
%file.writeline("Mythril Ore " @ %a.mythrilore);
%file.writeline("Gold Ore " @ %a.goldore);
%file.writeline("Mining Exp " @ %a.MiningExp);
%file.writeline("Mining Lvl " @ %a.MiningLvl);
%file.writeline("Oak Wood " @ %a.oakwood);
%file.writeline("Pine Wood " @ %a.pinewood);
%file.writeline("Willow Wood " @ %a.willowwood);
%file.writeline("Maple Wood " @ %a.maplewood);
%file.writeline("Yew Wood " @ %a.yewwood);
%file.writeline("Woodcutting Exp " @ %a.WoodcuttingExp);
%file.writeline("Woodcutting Lvl " @ %a.WoodcuttingLvl);
%file.close();
%file.delete();
echo("Success. Account Saved.");
}
function serverCmdNewAccount(%client)
{
if(%client.Account != "")
{
   messageclient(%client,'',"You already have an account!");
   return;
}
%userID = %client.BL_ID;
%a = new ScriptObject(%userID);
%a.userID = %userID;
%client.Account = %a;
%a.ironore = %client.ore["IronOre"];
%a.copperore = %client.ore["CopperOre"];
%a.tinore = %client.ore["TinOre"];
%a.silverore = %client.ore["SilverOre"];
%a.mythrilore = %client.ore["MythrilOre"];
%a.goldore = %client.ore["GoldOre"];
%a.MiningExp = %client.MiningExp;
%client.MiningLvl = 1;
%a.MiningLvl = %client.MiningLvl;
%a.oakwood = %client.wood["OakTree"];
%a.pinewood = %client.wood["PineTree"];
%a.willowwood = %client.wood["WillowTree"];
%a.maplewood = %client.wood["MapleTree"];
%a.yewwood = %client.wood["YewTree"];
%a.WoodcuttingExp = %client.WoodcuttingExp;
%client.WoodcuttingLvl = 1;
%a.WoodcuttingLvl = %client.WoodcuttingLvl;
$Accounts.add(%a);
%name = %client.name;
messageclient(%client,'','Welcome to the realm.\nYou are now logged in with the ID: %1.',%userID);
messageAllExcept(%client,-1,'','%1 has come to the realm.',%name,%userID);
}

function AccountSaveAll()
{
for(%t = 0; %t<ClientGroup.getCount(); %t++)
{
   %cl = ClientGroup.getObject(%t);
   serverCmdSaveAccount(%cl);
}
}
function serverCmdAccountLogin(%client)
{
if(%a.account != "" || %client.Account !="")
{
   messageclient(%client,'',"You are already logged in!");
   return;
}
if(%a.account == 0)
{
   echo("Logging In.. Please Wait...");
   %file = new FileObject();
   %file.openforRead("Add-Ons/Script_DRPG/AccountData/" @ %client.BL_ID @ ".txt");
   while(!%file.isEOF())
   {
      %line = %file.readLine();
        switch$(firstWord(%line))
      {
         case "ID ": %a.userID = restWords(%line);
         case "Iron Ore ": %a.ironore = restWords(%line);
         case "Copper Ore ": %a.copperore = restWords(%line);
         case "Tin Ore ": %a.tinore = restWords(%line);
         case "Silver Ore ": %a.silverore = restWords(%line);
         case "Mythril Ore ": %a.mythrilore = restWords(%line);
         case "Gold Ore ": %a.goldore = restWords(%line);
         case "Mining Exp ": %a.MiningExp = restWords(%line);
         case "Mining Lvl ": %a.MiningLvl = restWords(%line);
         case "Oak Wood ": %a.oakwood = restWords(%line);
         case "Pine Wood ": %a.pinewood = restWords(%line);
         case "Willow Wood ": %a.willowwood = restWords(%line);
         case "Maple Wood ": %a.maplewood = restWords(%line);
         case "Yew Wood ": %a.yewwood = restWords(%line);
         case "Woodcutting Exp ": %a.WoodcuttingExp = restWords(%line);
         case "Woodcutting Lvl ": %a.WoodcuttingLvl = restWords(%line);
      }
      if(%a.userID != %client.BL_ID)
      {
         echo("Success. Account Login.");
         %a.Account = %client;
         %a.Account = 1;
         %client.Account = 1;
         %client.ore["IronOre"] += %a.ironore;
         %client.ore["CopperOre"] += %a.copperore;
         %client.ore["TinOre"] += %a.tinore;
         %client.ore["SilverOre"] += %a.silverore;
         %client.ore["MythrilOre"] += %a.mythrilore;
         %client.ore["GoldOre"] += %a.goldore;
         %client.MiningExp += %a.MiningExp;
         %client.MiningLvl += %a.MiningLvl;
         %client.wood["OakTree"] = %a.oakwood;
         %client.wood["PineTree"] = %a.pinewood;
         %client.wood["WillowTree"] = %a.willowwood;
         %client.wood["MapleTree"] = %a.maplewood;
         %client.wood["YewTree"] = %a.yewwood;
         %client.WoodcuttingExp += %a.WoodcuttingExp;
         %client.WoodcuttingLvl += %a.WoodcuttingLvl;
         serverCmdHandleMiningLevel(%client);
         serverCmdHandleWoodcuttingLevel(%client);
         %userID = %client.BL_ID;
         messageclient(%client,'','Welcome to the realm.\nYou are now logged in with the ID: %1.',%userID);
         messageAllExcept(%client,-1,'','%1 has logged into the realm.',%client.name);
         %file.close();
         %file.delete();
         return;
      }
                   }
                }
else
{
   echo("Login Failed. What the hell did you do to get this error.");
}
}

package SavingPackage
{
   function GameConnection::onClientLeaveGame(%this)
   {
      Parent::onClientLeaveGame(%this);
      AccountSaveAll();
   }
   function GameConnection::onClientEnterGame(%this)
   {
      Parent::onClientEnterGame(%this);
      serverCmdAccountLogin(%this);
      AccountSaveAll();
   }
};
activatepackage(SavingPackage);







75
Modification Help / GUI: Drag N' Drop?
« on: September 06, 2008, 07:34:00 PM »
Is it at all possible to drag and drop certain gui controls?

Pages: 1 2 3 4 [5] 6 7