Author Topic: Lost Add-On Request  (Read 1121 times)

Currently wondering if anyone still has this mod, since the link was down.

http://forum.blockland.us/index.php?topic=241364.msg6887496#msg6887496



You should be able to take the old code from here http://forum.blockland.us/index.php?topic=241232.msg6887271#msg6887271 and just put it in a server.cs

Alright, thank you. If there's anything else to be added, I'll keep the topic up.

Code: [Select]
package crap
{
function clientCmdServerMessage(%tag, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j)
{
parent::clientCmdServerMessage(%tag, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j);
%detag = detag(%tag);
if(%detag $= "MsgClientKilled")
{
if(%b $= "")
RTBCC_NotificationManager.push(%a,"","skull-32","",5000);
else if(%a !$= %b)
RTBCC_NotificationManager.push(%a,"by " @ %b,"skull-32","",5000);
else
RTBCC_NotificationManager.push(%a,"","skull-32","",5000);
}
else if(%detag $= "MsgYourDeath")
{
if(%b $= $Pref::Player::NetName)
RTBCC_NotificationManager.push("You got killed","by yourself...","skull-32","",5000);
else if(%b !$= "")
RTBCC_NotificationManager.push("You got killed","by " @ %b,"skull-32","",5000);
else
RTBCC_NotificationManager.push("You died","","skull-32","",5000);
}
}
};activatepackage(crap);

Also, 2 quick questions, should I rename the .zip folder with client_ first right?

What kind of RTB version would I need? Would Greek2Me's no IRC RTB, or Daprog's IRC RTB work?
« Last Edit: August 09, 2015, 01:06:35 PM by Spartan224 »

Well okay, I did input the code, but I don't see the notifications. I added a description.txt and a server.cs file with the code I posted earlier, in a zip file named Client_KillFeed. The thing is, I don't see any notifications popping up. Help?

A server.cs file is for server sided code, this is a client sided mod and needs a client.cs instead.

Still not seeing it, I think it's my version of RTB. Do you have a stable version of RTB that would work for this? I don't think Greek2Me's would work.


You don't need it in a zip. A folder will do fine.

Anyway, give us a console log.

I tried out the script and it didn't work for me

I tried out the script and it didn't work for me


Well, I figured it was the copy of RTB I used, I fixed it by grabbing DAProg's RTB, which can be found here.

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