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

Pages: 1 2 3 [4] 5 6 7 8 9 ... 196
46
Suggestions & Requests / Re: Jetpack system - needs scripter
« on: February 23, 2013, 09:40:16 AM »
Code: [Select]
package JetPackEmitter {
function Armor::onTrigger(%datablock,%player,%slot,%val)
{
//Armor::onTrigger is called whenever a player jumps, jets, crouches, etc.
//Each of these actions is assigned to a particular slot.
//The jet slot is 4 and because this function is called when a variety of actions are performed, we want to make sure the jet action triggered this function.
if(%slot == 4)
{
//%val is a boolean stating whether or not action is occurring or not.
//If %val is 1 then jets are on.
if(%val)
{
if(%player.getMountedImage(2) $= nameToID(JetpackImage))
{
%player.getMountedImage(2).mountImage(emitterImage,1);
}
}
//If %val is 0 then jets are not on.
else
{
if(%player.getMountedImage(2) $= nameToID(JetpackImage))
{
%player.getMountedImage(2).unMountImage(1);
}
}
}
return Parent::onTrigger(%datablock,%player,%slot,%val);
}
};
activatePackage(JetPackEmitter);
This should be the basic code you asked for. I commented stuff so you could understand some of it as I know you were trying to understand it somewhere else.

EDIT: Fixed a function. Oh and replace the JetpackImage and EmitterImage with the appropriate image names (I assume you knew that, but just checking).

47
General Discussion / Re: What the forget happened to the forums?
« on: February 23, 2013, 09:21:08 AM »
Badspot and Rotondo are both offline.
Badspot is definitely not getting online as it's close to 5 am for him.

It is safe to assume that this was a problem on the server host and not Badspot. I assume with this outage and with the problems RTB has been having, Badspot might be looking to change server hosts.

48
Suggestions & Requests / Re: Jetpack system - needs scripter
« on: February 23, 2013, 07:51:12 AM »
Okay, so I think I can script this up really fast for you but let me get everything straight.
You want it so when you press the jet key, the jetpack appears on your back. When you let go, the jetpack disappears. The jetpack is also on a nonregenerating energy bar separate from the player's normal jet fuel bar, which can be refueled through gas canisters?

And I assume you have all the emitters set-up so that isn't needed?

49
Suggestions & Requests / Re: Collision Box that Enables Brick Damage
« on: February 22, 2013, 05:08:47 AM »
What do you mean by destroyed?

50
http://imgur.com/a/yPFEb
I had my old v20 folder backed up on Skydrive.

EDIT: Uploaded to imgur.

51
Modification Help / Re: RTB Development
« on: February 22, 2013, 02:56:53 AM »
Definitely looking forward to this.

Was cloud back-up ever on the table for you Ephialtes? Like, a back-up of all your current RTB add-ons, Blockland control schemes, etc. I recall I read about it somewhere but frankly, I don't remember.

52
Suggestions & Requests / Re: Alternative building control scheme
« on: February 22, 2013, 01:41:12 AM »
This would require to run extremely inefficient maths stuff all the time or to have a client- and a server-sided part.
I'm pretty sure the former isn't even possible as the server will never know where the client's mouse is, aside from the crosshair.

This is actually a really cool suggestion. I'm sure there are a million other ways Blockland's building control scheme can be improved.

EDIT: In response to your original suggestion, you can already rebind everything to do that. I have no idea how it would work out with things like crouching and changing things in your inventory though.

53
Why not ask Djy1991 to do a video of it?
Atleast he used to play it.
He did.
http://www.youtube.com/watch?v=fDju6RVnnAs

54
Drama / Re: DESTROYER5062 - DoS Attacks (Small but lots of lag)
« on: February 21, 2013, 09:13:52 PM »
Maybe there's a problem on the server's end as well, but either way, attempting to do what DESTROYER5062 did here is despicable.
It is really a crime to try and rejoin a few times after being banned? Glass also never specified the ban length so Destroyer5062 might just be trying to rejoin as soon as possible.

55
Off Topic / Re: Hey! I don't have a key for that!
« on: February 21, 2013, 09:10:34 PM »
ブロックランド・フォーラム・オフ・トピック

56
Drama / Re: DESTROYER5062 - DoS Attacks (Small but lots of lag)
« on: February 21, 2013, 09:04:03 PM »
I think what glass is saying is that it was extremely fast, and therefore being done by an auto-join script.
Maximus and Gunnaboy got their keys revoked for doing that.

If it's looking like this
Code: [Select]
Got Connect challenge Request from 174.16.223.208:18217
Starting arranged connection to 174.16.223.208:18740...
   o possible[0] = 174.16.223.208:18740
Sending punch packet to 174.16.223.208:18740
Got connect request from 174.16.223.208:18217
  net name = DESTROYER5062
AUTHCHECK: DESTROYER5062 = internet client -> internet server, regular auth
BL_ID 36171 is banned, rejecting
Issuing Disconnect packet.
0 0
CDROP: 480465 174.16.223.208:18217
Got Connect challenge Request from 174.16.223.208:18217
Starting arranged connection to 174.16.223.208:18740...
   o possible[0] = 174.16.223.208:18740
Sending punch packet to 174.16.223.208:18740
Got connect request from 174.16.223.208:18217
  net name = DESTROYER5062
AUTHCHECK: DESTROYER5062 = internet client -> internet server, regular auth
BL_ID 36171 is banned, rejecting
Issuing Disconnect packet.
0 0
CDROP: 480465 174.16.223.208:18217

Got Connect challenge Request from 174.16.223.208:18217
Starting arranged connection to 174.16.223.208:18740...
   o possible[0] = 174.16.223.208:18740
Sending punch packet to 174.16.223.208:18740
Got connect request from 174.16.223.208:18217
  net name = DESTROYER5062
AUTHCHECK: DESTROYER5062 = internet client -> internet server, regular auth
BL_ID 36171 is banned, rejecting
Issuing Disconnect packet.
0 0
CDROP: 480465 174.16.223.208:18217
it's not that fast.

57
Drama / Re: DESTROYER5062 - DoS Attacks (Small but lots of lag)
« on: February 21, 2013, 08:56:08 PM »
This has happened before. http://forum.blockland.us/index.php?topic=208453.0
Well, I stand corrected about punch packets causing lag. Destroyer5062 still doesn't appear to be DoSing you at all. What those two did to you previously was send a connection request multiple times before the server could even respond. What Destroyer5062 appears to be doing is sending a connection request, waiting for a server reply, getting rejected, and trying again (which is equivalent to clicking your server, clicking join, getting the "you're banned" message, closing the window, and rejoining). Unless the connection are extremely fast, it probably isn't him but a problem on your side.

58
Drama / Re: DESTROYER5062 - DoS Attacks (Small but lots of lag)
« on: February 21, 2013, 08:34:51 PM »
oh lol this entire thread

This isn't a DoS attack. Punch packets are just tiny bits of information being sent to the client trying to join. They shouldn't affect your game play in the slightest. He isn't DoSing, he's just trying to join multiple times despite the fact he's banned.

So basically let him DoS me until he gets unbanned? Haha no.

One of those IPs are yours. The other is an IP on your local network. The other 3 are not Destroyer5062's, but rather other players.

59
Off Topic / Re: axe stokin thread 2: turbo electric boogaloo
« on: February 18, 2013, 09:56:06 AM »
これを読める?

60
Suggestions & Requests / Re: 3rd person shooter player?
« on: February 17, 2013, 10:46:07 AM »
Isn't it also possible to reduce the alpha of the head's and hat's colour to make it transparent only to the client?
No, that's not possible to do.

Pages: 1 2 3 [4] 5 6 7 8 9 ... 196