Author Topic: Taking coding-only requests (Requests closed, all queued items complete)!  (Read 3773 times)

That isn't what he wants, he wants it to tell you which add-ons are enabled but never used.
Oh... Oh well

Oh, oops. By the way, when you say wrench events, do you mean actual events or all wrench use?

actual events



Anyway you could make a script which records a log of everyone who has died for the current session and who they were killed by, along with echoing deaths and murderers of them to the console?

If the first part isn't possible for you, the second echo part is all I really need, though the first part would help a lot! I am going to use hidekills with this so that people don't know that people are dying, and so that I can also tell who is rdm'ing.

It would be really useful for my rp server that's in the works. I would be very grateful!

http://forum.blockland.us/index.php?topic=263262.0

http://forum.blockland.us/index.php?topic=262822.0
Sorry; I'm only taking suggestions that originate in this topic (otherwise there's a chance someone else will finish before me, and I'll have wasted my time).
Anyway you could make a script which records a log of everyone who has died for the current session and who they were killed by, along with echoing deaths and murderers of them to the console?

If the first part isn't possible for you, the second echo part is all I really need, though the first part would help a lot! I am going to use hidekills with this so that people don't know that people are dying, and so that I can also tell who is rdm'ing.

It would be really useful for my rp server that's in the works. I would be very grateful!

http://forum.blockland.us/index.php?topic=263262.0
Sure, I can do this.

Anyway you could make a script which records a log of everyone who has died for the current session and who they were killed by, along with echoing deaths and murderers of them to the console?

Code: [Select]
package DeathEcho
function GameConnection::onDeath(%client,%killerPlayer,%killer,%damageType,%damageLoc)
{
%path="config/server/death_records.txt";
echo(%killer.name@" - killed - "@%client.name);
%f=new fileobject();
%f.openForWrite();
if(!isWriteableFileName(%path))
{
%f.delete();
return 0;
}
%f.writeLine(%killer.name@" - killed - "@%client.name);
%f.close();
%f.delete();
parent::onDeath(%client,%killerPlayer,%killer,%damageType,%damageLoc);
}
};
activatepackage(DeathEcho);
Server_DeathEcho

Code: [Select]
package DeathEcho
function GameConnection::onDeath(%client,%killerPlayer,%killer,%damageType,%damageLoc)
{
%path="config/server/death_records.txt";
echo(%killer.name@" - killed - "@%client.name);
%f=new fileobject();
%f.openForWrite();
if(!isWriteableFileName(%path))
{
%f.delete();
return 0;
}
%f.writeLine(%killer.name@" - killed - "@%client.name);
%f.close();
%f.delete();
parent::onDeath(%client,%killerPlayer,%killer,%damageType,%damageLoc);
}
};
activatepackage(DeathEcho);
Server_DeathEcho

jesus thank u lol

greek2me told me to download this, but i could not find it at all.

Sure, I can do this.

er sorry but thanks lol

greek2me told me to download this, but i could not find it at all.

He probably meant another add-on, I just now scripted that as it was easy.

He probably meant another add-on, I just now scripted that as it was easy.

way to steal this guy's thunder on his own thread lol

thanks anyway.

way to steal this guy's thunder on his own thread lol

I'll let him code all the hard stuff ;D


That isn't what he wants, he wants it to tell you which add-ons are enabled but never used.
This exactly

Can you make an item that flips over Vehicles? (Mainly for SpeedKarts)

Basically places the vehicle 3 bricks above the position used and flips it back to normal.
Placing the vehicle 3 blocks above would double as something that fixes vehicles stuck in the ground.

it would be used by a command like "/flip"
« Last Edit: July 25, 2014, 12:06:34 PM by Fastlex »

way to steal this guy's thunder on his own thread lol

thanks anyway.

scratch that, this doesn't work. :[