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

Pages: 1 [2] 3 4 5 6
16
General Discussion / Image of ???
« on: January 29, 2011, 06:15:20 AM »

17
Modification Help / Brick Changing
« on: January 28, 2011, 02:32:20 PM »
Code: [Select]
      %gt = vectorAdd(%this.getPosition(), %obj.vehicleOffset);
      if(%obj.getPosition() $= %gt)
         return;
      %obj.setName("tempCopy_fxDTSBrick");
      %new = new fxDTSBrick(tempCopy2_fxDTSBrick : tempCopy_fxDTSBrick) {
         position = %gt;
         isPlanted = false;
      };
      %new.setName(%obj.getName());
      %new.setItem((isObject(%item = %obj.item.dataBlock) ? %item : -1));
      if(isObject(%obj.getGroup()))
         %obj.getGroup().add(%new);
      %new.setTrusted(1);
      %new.isPlanted = true;
      %new.plant();
      %obj.delete();
What is wrong with the above code?

18
Add-Ons / Add-On Favorites (by Flaw)
« on: January 28, 2011, 04:45:25 AM »
Add-On Favorites
(by Flaw)

Description
Host different types of servers in the same Blockland installation? Tired of constantly checking/unchecking and looking through a endless list of add-ons? This is the add-on for you. This lets you save up to 10 add-on favorites. Loading a favorite is as simple as clicking on it!

Features
  • Feels like it's a part of the game. (see screenshot)
  • Saves checked/unchecked add-ons.

Screenshots

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Downloads
This add-on can be downloaded by clicking this link.

Installation
Place Script_AddOnFavorites.zip in your Add-Ons folder and restart Blockland.

19
Add-Ons / Flood Protection Control (by Flaw)
« on: January 27, 2011, 08:18:05 AM »
Flood Protection Control
(by Flaw)

Description
This add-on adds three RTB preferences for controlling how Flood Protection works.
Please note, (ms) means that the input should be in milliseconds (1 ms = 0.001 seconds, 1 second = 1000 ms)

Message Threshold: The max amount of messages between the Ignore Time.
Mute Period (ms): How many milliseconds the player should be muted ("FLOOD PROTECTION: You must wait another X seconds.")
Ignore Time (ms): If you say the exact same message twice in under the value of this, you will be muted. If you say more than Message Threshold messages under the value of this, you will be muted.

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Downloads
This add-on can be downloaded by clicking this link.

Installation
Place Script_FloodControl.zip in your Add-Ons folder, restart Blockland and enable it when starting a server.

20
Add-Ons / Update Tags (by Flaw)
« on: January 27, 2011, 07:12:32 AM »
Update Tags
(by Flaw)

Description
Are you annoyed by the fact that you have to rejoin a server to 'refresh' your clan tags? No more! With this add-on, a fancy button is nicely integrated into your Avatar GUI, next to the done button. Click it, and your clan tags are retransmitted to the server. Please note, the server will also have to have the add-on in order for this add-on. If the server doesn't have the add-on, you get a fancy message box when you press the "Update Tags" button.

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Downloads
This add-on can be downloaded by clicking this link.

Installation
Client: Place Script_UpdateTags.zip in your Add-Ons folder and restart Blockland.
Server: Place Script_UpdateTags.zip in your Add-Ons folder, restart Blockland and enable it when starting a server.

21
Modification Help / RECOMMENDATION: Use the default 'Stack' class type.
« on: January 27, 2011, 06:53:36 AM »
Try running the following code:

Code: [Select]
new scriptObject(myObj) {
    class = Stack;
};

If you .dump() the 'myObj' object, you will notice that the "count" variable has automatically been set, and the functions push and pop have been added.

If you run myObj.push(new scriptObject(object).getName());, and dump myObj again, you will notice the following changes:
variable 'count' set to 1
variable 'data0' set to 'object'

Have I said enough yet?

22
Suggestions & Requests / REQUEST: Requests
« on: January 27, 2011, 03:21:12 AM »
I have absolutely no idea what to script, and I am requesting "requests".
No weapons, vehicles, etc. Just client-sided or server-sided scripts (or events/gamemodes).
And please, think before requesting. You can't have print bricks that show camera from another brick.

I've tried looking through this board, but found nothing that included all of the following terms: useful, possible, etc.

23
Add-Ons / Trust Manager (by Flaw)
« on: January 25, 2011, 03:11:58 AM »
Trust Manager
(by Flaw)

Description
If you temporarily gave someone trust, and you're annoyed that you can't demote them until you meet them again? Or, you want to know who you trust, and have a nice overview. Or, you could lookup someone you trust in one click!
Trust Manager, the new add-on which allows you to list everyone you trust, whois lookup users and demote them to any trust level!

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Screenshots

Downloads
This add-on can be downloaded by clicking this link.

Installation
Place Script_TrustManager.zip in your Add-Ons folder, restart Blockland and create a keybind in the Options -> Controls menu.

24
Modification Help / Sun Lightning Changes
« on: January 19, 2011, 05:30:29 PM »
If I change color, azimuth, etc of the Sun object, how would I simulate a click of the Apply button (server-sided)?

25
Add-Ons / Arena Gamemode (by Flaw)
« on: January 14, 2011, 04:42:19 AM »
Arena Gamemode
(by Flaw)

Description
This is a lot like King of the Hill, except for that in Arena, everybody only has one life. If a entire team is dead, the opposite team wins. But after a specific amount of seconds (gamemode rule), the control point will be unlocked. Control the point for a specific amount of seconds or kill all enemies to win the round!

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Downloads
This add-on can be downloaded by clicking this link.

Requirements
This add-on requires Team Deathmatch by Space Guy.

Installation
Place Gamemode_Arena.zip in your Add-Ons folder, restart Blockland and enable it in the Add-Ons GUI when starting a server.

26
Add-Ons / onChatMessage v1.1 (by Flaw)
« on: January 13, 2011, 04:43:24 AM »
onChatMessage (v1.1)
(by Flaw)

Description
When a player says any chat message, any bricks within the range of 10 studs (can be changed using the RTB preference) will trigger the input event "onChatMessage". This can be very useful in combination with VCE's lastChatMessage.

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Versions
1.1
  • Fixed VCE compatibility.

Downloads
This add-on can be downloaded by clicking this link.

Installation
Place Event_onChatMEssage.zip in your Add-Ons folder, restart Blockland and enable it in the Add-Ons GUI when starting a server.

27
Add-Ons / Item Names (by Flaw)
« on: January 13, 2011, 04:21:36 AM »
Item Names
(by Flaw)

Description
When spawning a item, the name of the item will appear hovering above the item, and the name will be colored to the color of the weapon.
When dropping (throwing away) a item, the same effect as above will be applied.
When picking up a item, and the "Picked Up" Message RTB Pref is enabled, you will recieve a message telling you that you have picked up that item.

Test Report
This add-on has been tested on a default Blockland installation with default add-ons, and worked flawlessly without any errors.

Screenshots

Downloads
This add-on can be downloaded by clicking this link.

Installation
Place Script_ItemNames.zip in your Add-Ons folder, restart Blockland and enable it in the Add-Ons GUI when starting a server.

28
Modification Help / Hexadecimal conversion
« on: January 05, 2011, 09:31:34 AM »
Code: [Select]
function mDecToHex(%dec) {
   %res = %dec % 16;
   if(%dec-%res == 0)
      return mGetHexChar(%res);
   else
      return mDecToHex((%dec-%res)/16) @ mGetHexChar(%res);
}
function mHexToDec(%hex) {
   for(%i=0;%i<strLen(%hex);%i++) {
      %a = getSubStr(%hex,%i,1);
      switch$ (%a) {
         case A: %a = 10;
         case B: %a = 11;
         case C: %a = 12;
         case D: %a = 13;
         case E: %a = 14;
         case F: %a = 15;
      }
      %b += %a * mPow(16, (strLen(%hex)-1)-%i);
   }
   return %b;
}
function mGetHexChar(%num) {
   return getSubStr("0123456789ABCDEF", %num, 1);
}

I tried making hexadecimal conversation functions, but apparantly the mDecToHex does not work. For example, converting 701 to hex with that function returns 2, whereas the valid output would be 2BD.

29
Off Topic / Kalphiter's 59-player server is madness
« on: December 31, 2010, 08:17:11 PM »
quote from chatlog gogo.
Quote
156 Avatarflyby7: TETROS GONE TECHNO!
156 Kalphiter: don't have
156 UMoBThe ScoutMODR: Altair Assassin's creed rocks but you are  the stupidest piece of stuff ever
156 wmau5: Lets start a train, flyman
156 Altair Assassian: who wantz to do somgamblin!?!??!?!?!?!
156 testNanoCaptube: oh, thats to bad
156 tssJames: TO THE BAR
156 BLIDhankyje5924: LOL
123 Kiddeh: SEE THE FEAR IN MY ENEMIES EYES
156 tZachary.E: can i load somthing
156 <SDFShadowsfeaRLead: LOCK UR ARMOR SPARTAN
156 Avatarflyby7: wotowotwotwotwotowtottooooott
156 UMoBThe ScoutMODR: SHADOW
156 UMoBThe ScoutMODR: I LOVE YOU
156 <SDFShadowsfeaRLead: Hai
156 testNanoCaptube: O:
156 <SDFShadowsfeaRLead: K
156 ~CS~Flaw.py: Singing: 'trolol'.
156 UMoBThe ScoutMODR: I LOVE YOOUU
156 tZachary.E: bye
156 ~CS~Flaw.py: Ahhhhh ya ya yaaaah, ya ya yaaah, yaaah, ya yah.
156 UMoBThe ScoutMODR: MORE GUNS
156 UMoBThe ScoutMODR: NOW
156 ~CS~Flaw.py: Ohohohoooo! Oh ya yaaah, ya ya yaaah, yaaah, ya yah.
156 wmau5: Erif
156 ~CS~Flaw.py: Ye-ye-ye-ye-yeh ye-ye-yeh ye-ye-yeh, oh hohohoh.
156 ~CS~Flaw.py: Ye-ye-ye-ye-yeh ye-ye-yeh ye-ye-yeh, oh hohohooooooooooo!
156 wmau5: Lets start a train
156 ~CS~Flaw.py: -aaaaoooooh, aaaooo hooo haha
156 UMoBThe ScoutMODR: RELEASE MORE GUNS FOR SX
156 BLIDhankyje5924: SSSSSSHHHHHHHIIIIIIIITTTTT
156 ~CS~Flaw.py: Nah-nah-nah-nah-nuh-nuh, nah nuh-nuh, nah nuh-nuh, nah nuh-nuh, nuh-nah.
156 ~CS~Flaw.py: Nah-nah-nah-nun, nun-ah-nah, nun-ah-nah, nah-nah-nah-nah-nah!
123 Kiddeh: NAAAAAA NA NA NANANANA!
156 ~CS~Flaw.py: Nah-nah-nah-nah-naaaaaaaaaaaaaaaaaaaaaaaaaah! Dah dah daaaaaaaaah...
156 Kalphiter: IDEA
156 ~CS~Flaw.py: Da-da-daaah, daaah, daa-daah.
123 Kiddeh: NANANA!
156 testNanoCaptube: O:
156 ~CS~Flaw.py: Lololololoooooooo! La la-laaaaaah, la la laah, lol, haha.
156 wmau5: JAMES, LETS START A TRAIN :D
123 Kiddeh: HEY HEYYYY
156 ~CS~Flaw.py: Oh-ho-ho-ho-ho, ho-ho-ho, ho-ho-ho, oh-ho-ho-ho-ho!
156 <SDFShadowsfeaRLead: I want to make halo reach armor nao
156 ~CS~Flaw.py: Oh-ho-ho-ho, ho-ho-ho, ho-ho-ho, lo-lo-loooo!
156 <SDFShadowsfeaRLead: :D
156 ~CS~Flaw.py: AAIIEEEEEEEEEEEEEEEEEEEEEE-eee-eee-EEEE!
156 Altair Assassian: EVERY ! SHUT UP!!!!!!!!!!!!!!!!!
156 ~CS~Flaw.py: Luh luh lah, lah, lah-lah.
156 Arthas: LOL
156 ~CS~Flaw.py: Oh-ho-ho-ho-hoooooo!-BOPahdududuh-dah-dadudaaah!
156 tssJames: yes
156 ~CS~Flaw.py: Da-da-daaah, daaah, daa-daah.
156 ~CS~Flaw.py: Done singing.
123 Kiddeh: A
123 Kiddeh: M
156 UMoBThe ScoutMODR: Give us rockets kalp
123 Kiddeh: E
156 Kiddeh: R
156 UMoBThe ScoutMODR: It will make it funny
123 Kiddeh: I
123 Kiddeh: C
123 Kiddeh: A
123 Kiddeh: AMERICA
156 testNanoCaptube: Kalphiter shpuld let us have a gun
156 wmau5: YYYY M C A
156 wmau5: DO IT
156 Celtic Fiddler: SEISURE
156 Avatarflyby7: ug i spinned to fast....*pukes alover the floor with spam*
156 testNanoCaptube: Should*
123 Kiddeh: GOD BLESS!
156 tssJames: KALPH CAN WE GO BY NOW
156 BLIDhankyje5924: IF AMERICA IS AWESOME SPRAY YELLOW BUBBLES
156 Flyman: ROBOT
156 Altair Assassian: SPONGE!!!!!!!
123 Kiddeh: BUM BUM BUM
156 Jenxas: Nobody is at Toms. :c
156 wmau5: Jagged
123 Kiddeh: CRAZY FROG
156 BEESluggerSays: <3 this
156 Canoli: Wow
156 wmau5: BEVERLY HILLBILLIES
156 Altair Assassian: JEGAX FOR FAIL GAMING!!!!!!!
156 LOAHardy619Ledr: HEHEHEHEHE and then another HEHEHEHEHEH
156 Celtic Fiddler: forget YES
156 tssJames: brb
156 UMoBThe ScoutMODR: Kalp make it PST
123 Kiddeh: YEAH
156 ORGYXang: forget this server
156 BLIDhankyje5924: GO EASTERN TIME
156 ORGYManty: KALPH
156 ORGYXang: lets go manty
156 ORGYManty: KALPH PLAY CLIFFS OF DOVER
156 UMoBThe ScoutMODR: Make it PST please
156 Kalphiter: xang come back in a few
156 Arthas: klap can you fetch me
156 ORGYManty: CLIFFS OF DOVEERRRR
123 Kiddeh: forget YIOU XANG@!
156 ORGYXang: i will
156 Arthas: i wanna look around
156 BLIDhankyje5924: EASTERN PACIFIC TIME
156 LOAHardy619Ledr: HEHEHEHEHEHEHEHE HEHEHEHEHEHEHE AND THEN ANOTHER HEHEHEHEHEHEH
123 Kiddeh: XANG IS tribal
156 ORGYManty: yeaaaa
156 ORGYManty: cliffs of dover

30
Modification Help / Calling grouped method from seperate script
« on: December 29, 2010, 02:51:04 PM »
Code: (script1.cs) [Select]
exec(path to script2.cs);
function chatb_dataAI::recieve(%this,%line,%pre,%name,%suf,%msg) {
    echo("test ran");
}
Code: (script2.cs) [Select]
%script = new ScriptObject(chatb_dataAI) {
    class = "mod_chatb_object";
    module = "chatb";
    ai = %obj;

    dispatchCount = 0;
};
someGroup.add(%script);
package mod_chatb_package
{
function clientCmdChatMessage(%cl,%a,%b,%line,%pre,%name,%suf,%msg,%x)
{
for(%i=0;%i<somegroup.getCount();%i++)
{
%o=somegroup.getObject(%i);
eval(%o.getName() @ ".recieve(\""@%line@"\",\""@%pre@"\",\""@%name@"\",\""@%suf@"\",\""@%msg@"\");");
}
Parent::clientCmdChatMessage(%cl,%a,%b,%line,%pre,%name,%suf,%msg,%x);
}
};
activatePackage(mod_chatb_package);

Console echoes "function 'recieve' not found", or something like that.

Pages: 1 [2] 3 4 5 6