Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
swimoTheBig
There is one or too fucked up emus in which it does. but most of them it just changes the string, and if they poof it will restore it.
If poofing resolves it, then it isn't saved in the DB, believe me
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
it won't work on my server's, it just poofs me, and does nothing else :L
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
idk if this works but found it in a server i had its supposed to be the transform command but it looks like its missing alot of stuff
PHP Code:
case "transform": // cat transform command
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
return false;
else
{
if (Room != null)
{
if (args[1] == "cat")
{
roomUser.catTransform = !roomUser.catTransform;
}
else if (args[1] == "croc")
{
roomUser.crocTransform = !roomUser.crocTransform;
}
else if (args[1] == "dog")
{
roomUser.dogTransform = !roomUser.dogTransform;
}
Room.sendData(@"@\" + roomUser.detailsString);
}
}
break;
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
I need a command that does this function:
Enter a room, and change the room category to a different category.
Lets say Trading Floor category ID is 23 and Casino Floor ID is 25
:category <change> 23 <to> 25
But while being in the room.
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
i need help, i try to add a :cureall command but it's not working... If someone can help me?
Code:
case "cureall":
if (_Rank > 5)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
virtualUser User = userManager.getUser(args[1]);
iszombie = dbClient.getInt("SELECT bited FROM users");
if (iszombie == 1)
{
{
dbClient.runQuery("UPDATE users SET bited = '0', time_zombie = '0'");
Room.sendSaying(roomUser, "*" + _Username + " cured the zombie syndrom of " + User._Username + "*");
User.refreshAppearance(true, true, true);
User.zombieLooper.Abort();
User.zombieLooper = null;
User.sendData("BK" + "You are cured!");
}
}
else
{
sendData("BK" + User._Username + " isn't a zombie!");
}
}
}
else
{
sendData("BK" + "You can't cure this disease :(");
}
break;
Thank you
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
I imagine this is for everyone in the room?
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
For all infected people in server :)
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Not tested should work.
Code:
#region :cureall
case "cureall":
{
if (_Rank > 5)
{
int iszombie;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
iszombie = dbClient.getInt("SELECT bited FROM users WHERE bited = '1'");
}
foreach (virtualRoomUser User in Room.Users)
{
if (iszombie == 1)
{
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET bited = '0', time_zombie = '0'");
Room.sendSaying(roomUser, "*" + _Username + " cured the zombie syndrom of " + User.User + "*");
User.User.refreshAppearance(true, true, true);
User.User.zombieLooper.Abort();
User.User.zombieLooper = null;
User.User.sendData("BK" + "You are cured!");
}
}
}
else
{
sendData("BK" + User.User + " isn't a zombie!");
}
}
}
else
{
sendData("BK" + "You can't cure this disease :(");
}
}
break;
#endregion
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Thank you, i'll test it and if it works, i love you !!!
EDIT: That's work but when i launch the command, i receive 2 "BK" message instead of 1 :/
---------- Post added at 11:24 PM ---------- Previous post was at 10:17 PM ----------
It's not a big problem but i would understand how deleted one BK message. Here a video:
[nomedia="http://www.youtube.com/watch?v=EQ3G7RQuFpw"]YouTube- Rp Emu zombie[/nomedia]
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Bjork you need something like Exit function . I dunno what that will be in holo though xD
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Hi
I need a :giveitem command for Dissis holoemu.
it gives the target user the drink that the person using the command is holding.
Abother thing, im not sure if its a command but when you enter my RP hotel you go to the last room you were in, but i know some hotels where you go to the last co-ords you were at.
If anyone could provide these it would be amazing.
Thanks
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Hello, i need an automatic brb/afk after xx minutes...
How could make that?
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
How to add hotelalert commando on UberEMU?
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Just look at the code in the hotel alert section of the HK. After that should be quite self-explanatory. I did it for my hotel this way, iSpaz.org.
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]
Quote:
Originally Posted by
Bjork
Thank you, i'll test it and if it works, i love you !!!
EDIT: That's work but when i launch the command, i receive 2 "BK" message instead of 1 :/
---------- Post added at 11:24 PM ---------- Previous post was at 10:17 PM ----------
It's not a big problem but i would understand how deleted one BK message. Here a video:
YouTube- Rp Emu zombie
I'l take a look @ this shortly, i'm starting to re-code obbo rp, so il test it on there.