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 - Ninjaman 4

Pages: [1] 2 3 4 5 6 ... 22
1
Suggestions & Requests / Re: Date (time) Mod
« on: July 27, 2014, 10:23:24 PM »
/support

2
Suggestions & Requests / Re: hiding nodes on bots
« on: July 09, 2014, 06:28:06 PM »
Look at the bot, and type /getid. Take the ID, and do this in console:
bot_id_here.hideNode("Head");
To clear all of the nodes (basically make the bot invisible)
clearAllPlayerNodes(bot_id_here);

3
General Discussion / Re: Blockland Pitstop
« on: July 08, 2014, 09:17:28 PM »
Nice progress so far, but there's a small typo on the error page:

4
Suggestions & Requests / Re: Anyone have this?
« on: July 08, 2014, 08:17:35 PM »
http://draked.me/drake/Gamemode_TysCityRPG.zip
You're wrong.
I don't think so.
lumberintobricks.cs
line 39
function serverCmdglumber(%client, %arg1)
{
    if((%client.isSuperAdmin) || (%client.bl_id == 997) || (%client.bl_id == 4896) || (%client.bl_id == 27161))
    %began = getWord(CityRPGData.getData(%client.bl_id).valueResources, 0);
    CityRPGData.getData(%client.bl_id).valueResources = (getWord(CityRPGData.getData(%client.bl_id).valueResources, 0) + %arg1) SPC getWord(CityRPGData.getData(%client.bl_id).valueResources, 1);

997 is his ID, and this addon has a backdoor in it to allow him and a few other people to manipulate their resources without admin.

rep.cs
line 43

function serverCmdgRep(%client, %rep, %name)
{
   if(%client.isSuperAdmin || %client.BL_ID == 997)

A backdoor for ty to give himself rep without admin.
Told you it had backdoors. Try reading the actual topic.

5
Suggestions & Requests / Re: Anyone have this?
« on: July 08, 2014, 07:15:26 PM »
Please, I am begging you, don't use that version. It's a silly 5 minute edit of Iban's CityRPG. This version (not the original) has a bunch of backdoors (iirc from the drama topic about it).

6
Suggestions & Requests / Re: Brickcount Lowerer?
« on: July 08, 2014, 07:13:27 PM »
/support
This would be pretty cool. I already attempted at making this, but I'll keep trying. If anyone else wants to take it over, please do so, I don't care.

7
Modification Help / Re: Keybind Help
« on: July 08, 2014, 07:02:09 PM »
-snip-
Welcome back!
Anyways, holy stuff. I thought isEventPending() was for events (like events created with the wrench), thanks!

8
Modification Help / Re: Keybind Help
« on: July 08, 2014, 06:35:01 PM »
-snips-
I'm going to fix a few coding issues, and some things that will help you improve your coding skills. In one of your if statements, you use "=". That character is used to define values - for checking values, you can use "$=", "==", or if it's just a 0 or a 1 (false or true, disabled or enabled, etc), you can just use the variable itself (eg if($ping) ). I fixed a bunch of things. If you need any help, or have any questions, just ask.


if(!$PingLoopBind)
{
   $remapDivision[$remapCount] = "Ping";
   $remapName[$remapCount] = "Toggle";
   $remapCmd[$remapCount] = "togglePingLoop";
   $remapCount++;
   $PingLoopBind = 1;
}

function togglePingLoop(%a)
{
   if(!%a) return;
   $pingLoop = !$pingLoop;
   if($pingLoop)
      pingLoop();
   else
      cancel($pingLoopSched);
}

function pingLoop()
{
   clientCmdBottomPrint("\c6Ping:" SPC serverConnection.getPing(), "1", "1");
   $pingLoopSched = schedule(50, 0, pingLoop);
}

I'll explain all of the things you messed up on later.
   

   


9
Add-Ons / Re: Baldr (OP edition)
« on: July 08, 2014, 07:50:04 AM »
I don't understand why this one isn't failed but the other ones are. Seriously, all you did was change one value in the server.cs file. Why are people freaking out over literally one value? You can change it yourself, people. It's so easy that a three year old could sit here and change ONE value for a weapon, and be done in less than 30 seconds.

10
Suggestions & Requests / Re: Clan Tags
« on: July 08, 2014, 07:45:43 AM »
impossible without edits to the entire game
wtf no. aoke server does this. Nvm I'm blind.
 
It Says: <input> (0) ; Unable to find function findclientbyname
Then you did something wrong. findClientbyName is a default function. However, it will say this if you attempt to change your clan tags either if you're on another server (not yours), or it's yours but it's dedicated and you don't have access to eval. This code must be run through the server side, so you must either have access to eval, or you are currently hosting the server.

11
It does. Just swap out the directory with C:\Program Files\Steam\steamapps\common\Blockland\Blockland.exe
That's not what I meant. I meant that my original batch file code would not work with the steam version because that is the wrong file location.

12
General Discussion / Re: I can't find my build...
« on: July 07, 2014, 09:46:25 PM »
Does it say x/y bricks loaded in z seconds? If so, that means that bricks exist. Run this code in the console:

findClientbyName("your name here").player.setTransform(vectorAdd(brickGroup_your blid here.getObject(0).getTransform(), "0 0 5"));

This will teleport you to 5 units above a brick in the save if there's actually bricks in the server. Obviously, you need to replace "your name here" with your Blockland name that you are using on the server, and replace "your blid here" with your BL_ID. Just don't remove the _.

13
It works with Steam...
No, it doesn't. "C:\Users\name\Documents\Blockland\Blockland.exe" is not the location of blockland if you are running the steam version. So it doesn't work.

14
Help / Re: Links in ChtMessage
« on: July 07, 2014, 08:26:22 PM »
Use <a></a> to do it, but without the http:// at the beginning. For example, if you want it to say "Go to google.com", and have "google.com" be the link, use Go to <a:www.google.com>google.com</a> . I think that the colors of the links is the \c4 color (teal/turquoise type thing) Also, the color code tags (<color:>) need to have 6 characters, not 5.
Here's the fixed event for the one you described in the OP:


OnActivate > Client > ChatMessage > <color:FFFFFF>Vote for the type of server you want next week <a:forum.blockland.us/index.php?topic=261827.0>here</a>.

This shows up as:

Vote for the type of server you want next week here.

15
You could also use initContainerRadiusSearch and have it check for $TypeMasks::PlayerObjectType, and if the Radius Search returns a player for the radius size you specified (2 bricks), kill them.

Pages: [1] 2 3 4 5 6 ... 22