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 [2] 3 4 5 6 7 ... 53
16
Drama / Re: Flaw
« on: March 19, 2011, 08:27:16 PM »
inb4placid

17
Modification Help / Re: Script_ClientKills
« on: March 19, 2011, 06:39:42 PM »
FFFFFFFFFFFFUU-

but uh, that callback didn't show up in the list generated by this test:
Code: [Select]
$f = new fileObject();
$f.openForWrite("config/taggedStrings.txt");
$i = 0;
while(strLen($t = getTaggedString($i++)) > 0)
   $f.writeLine($t);
$f.close();
$f.delete();

18
Off Topic / Re: Do you hate Internet Pirates?
« on: March 19, 2011, 03:49:58 PM »
I love pirates that pirate Microsoft, Apple, EA, etc products.
I hate pirates that pirate indie and small companies products.

19
Modification Help / Re: Question(s)
« on: March 19, 2011, 03:12:54 PM »
I would just recommend doing like:
if(!isObject(%player.tool[%i]))



Dohoh. They're still arrays, just a very dumb form of them.

They are ways of setting a variable without using eval.
$variable[$amount] = "hurr durr"; is a replacement to eval("$variable" @ $amount @ " = \"hurr durr\";");

20
Modification Help / Script_ClientKills
« on: March 19, 2011, 03:10:38 PM »
Is there some way that I can optimize this? I have a feeling there's something exremely simple right in front of me and I'm missing it.

Code: [Select]
// ==============================
// Support_ClientKills.cs (client-sided)
// ==============================
// Author: Flaw (BL_ID: 2107)
// Project: Scripting Utilities
// ==============================
// Evaluates a callback every time a kill message is sent to us.
// ==============================

if($isLoaded["Support_ClientKills"])
   return;

package clientKills {
   function clientCmdServerMessage(%callback, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j, %k, %l, %m, %n) {
      parent::clientCmdServerMessage(%callback, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j, %k, %l, %m, %n);
      if(isMurderMessage(%msg, 8))
         onMurderMessage(%a, trim(strReplace(strReplace(%msg, "%2", ""), "%1", "")), %b);
      else if(isSelf DeleteMessage(%msg, 8))
         onSelf DeleteMessage(trim(strReplace(%msg, "%2", "")), %b);
   }
};
activatePackage(clientKills);

function isMurderMessage(%message, %bitmapTolerance) {
   return (strPos(%message, "%1") > -1 && strPos(%message, "<bitmap:") > 2 && strPos(%message, ">") > 11 + %bitmapTolerance && strPos(%message, "%2") > 12 + %bitmapTolerance);
}
function isSelf DeleteMessage(%message, %bitmapTolerance) {
   return (strPos(%message, "<bitmap:") > -1 && strPos(%message, ">") > 8 + %bitmapTolerance && strPos(%message, "%2") > 9 + %bitmapTolerance);
}

function onMurderMessage(%killer, %type, %victim) {
}
function onSelf DeleteMessage(%type, %victim) {
}

$isLoaded["Support_ClientKills"] = true;

21
Modification Help / Re: for loop questions
« on: March 19, 2011, 12:17:52 PM »
array

Blockland doesn't have arrays. It's as simple as that.

22
Suggestions & Requests / Re: >JoinMiniGame
« on: March 19, 2011, 12:16:48 PM »
There should be a RTB preference for whether only bricks planted by the host can use the 'joinMinigame' event.

23
Suggestions & Requests / Re: Handheld Radio
« on: March 19, 2011, 12:15:40 PM »
"Radio mod"? uh..

24
Suggestions & Requests / Re: /buildcircle
« on: March 19, 2011, 11:48:04 AM »
Gah, the GUI looks horrible.
And it can only make quadrifoliums. Mine can make spheres and spirals too.

25
Suggestions & Requests / Re: /buildcircle
« on: March 19, 2011, 10:06:31 AM »
Quote from: Ingame Chatlog
[08:02:52] DrenDran: his is serversided with hardcoded variables

what.

/sphere radius
/spiral size
/quad n d detail (quadrifolium)

26
Forum Games / Re: Avatar Rating
« on: March 19, 2011, 05:48:33 AM »
yus, it did, and the challenge is loving impossible without checkpoints. 7/10.

27
Help / Re: Exhausted almost all options, still can't host
« on: March 19, 2011, 05:32:15 AM »
It would revert the settings on the desktop computer, not on the router. If your router supports forwarding the port to a computer name instead of IP address, use that, and turn off the "use this IP address" in TCP/IP settings, and make it select one automatically.

28
Forum Games / Re: Avatar Rating
« on: March 19, 2011, 05:29:50 AM »
1.7/10. Seriously, what?

29
Off Topic / Re: Post your computer specs
« on: March 19, 2011, 05:15:20 AM »
Laptop with 6 GB ram, 640 GB HDD, AMD Athlon II P320 Dual-Core and ATI Mobility Radeon HD 5650. Laptops don't suck c:

$879

30
Help / Re: Exhausted almost all options, still can't host
« on: March 19, 2011, 05:02:37 AM »
Do you use a firewall? Are you sure that 192.168.1.45 isn't taken by another computer?

Pages: 1 [2] 3 4 5 6 7 ... 53