[SERVICE] Custom Commands Database - Request/Post Here

Status
Not open for further replies.
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

What does the :drop commmand do? :drop itemID roomplace ?
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

case "dropitem":
{
statusManager.dropCarrydItem();
break;
}
case "giveitem":
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access", userID) == false)
return false;
Room.sendShout(this.roomUser, "*Gives A Item To" + Target._Username + "*");
{
virtualUser Target = userManager.getUser(args[1]);
string item = args[2];
Target.statusManager.carryItem(item);
break;
}
}
Look At Page 3 I Released Alot Of Stuff There My Computer Is In A Upgrade So Ill Try TO dO dB With My Notebook :P:
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

I don't need a command, but I dropped in to see how this was going, great work on the commands, I'm using some of them right now!
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

<Command>
:eat <username>
<Server>
v26, Dissi's edit
<What it does>
It transform a user into a zombie if the target is like 1 coordinate away from you. I hope what you mean with coordinate or something like that lol.
1 space or whatever..


And

<Server>
v26, Dissi's edit
<What it does>
if you enter a certain room (Looks in db if it's enabled or not)
Like this: if (canHit == 1)
{
sendData("BK" + "Sorry, but this room has been declared a no fighting zone.");
}
else
With a void, i already have a void for that.
Than it will shows your health in your mission and if you leave the room it will be set what you previously had.
 
Last edited:
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Look At Page 3 Should Be Called Bite
;o but i asked for a bit more advanced code.
That you only can bite if you are close to the target.

Edit: And if you bited someon it gives a random rare from a couple furniture ids.
 
Last edited:
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Heres Some Commands Enjoy For Zombie U Might Have to Say Username Instead Of X And This Is For Dissi


---------- Post added at 10:26 PM ---------- Previous post was at 10:21 PM ----------

Marry Propose And Divorce Enjoy

You Gotta Make A Marriage In Db You Can Edit Marry So u Get A Badge :blush:

---------- Post added at 10:30 PM ---------- Previous post was at 10:26 PM ----------


You Gotta Make Two Things In Db Its Gang And Gangmember Enjoy :blush:

---------- Post added at 10:32 PM ---------- Previous post was at 10:30 PM ----------

Credits: -Jordan- And Me Commands From His Emulator And Db And Etc Edited By Me To Work On Dissi's Please Dont Say There Crap Because Just Started To C#

You have done some improvements to this that i wouldnt of spotted out.
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Can anyon code my requested commands?
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hey i got ubercms and uberemulator but where i need to add the commands??
somebody knows?

and i need a command named:
:credits <name> <amount>

:pixels <name> <amount>

Thank you ;):cool:
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

This thread is a bit death..
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hey..
:gift

Does anyone remember on openhotel the :gift command which would give you a gift containing a random furni ID..that could be any id from the database?

source: Dissi's edit
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Hey..
:gift

Does anyone remember on openhotel the :gift command which would give you a gift containing a random furni ID..that could be any id from the database?

source: Dissi's edit
Here, this should do it.

PHP:
                    case "gift": // Warps the virtual user to a certain X,Y coordinate
                        {
                            int TID;
                            using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                            {
                                dbClient.addParameterWithValue("userid", userID);
                                if (dbClient.findsResult("SELECT id FROM users WHERE id = @userid AND gifted = 0"))
                                    return; // Already used :gift
                                TID = dbClient.getInteger("SELECT tid FROM catalogue_items ORDER BY RAND() LIMIT 1");
                                dbClient.runQuery("UPDATE users SET gifted = 1 WHERE id = @userid");
                            }
                            catalogueManager.handlePurchase(TID, userID, 0, "", 0, 0);
                            break;
                        }


Execute this query
Code:
ALTER  TABLE  `users`  ADD  `gifted` TINYINT NOT  NULL DEFAULT  '0'
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Here, this should do it.

PHP:
                    case "gift": // Warps the virtual user to a certain X,Y coordinate
                        {
                            int TID;
                            using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                            {
                                dbClient.addParameterWithValue("userid", userID);
                                if (dbClient.findsResult("SELECT id FROM users WHERE id = @userid AND gifted = 0"))
                                    return; // Already used :gift
                                TID = dbClient.getInteger("SELECT tid FROM catalogue_items ORDER BY RAND() LIMIT 1");
                                dbClient.runQuery("UPDATE users SET gifted = 1 WHERE id = @userid");
                            }
                            catalogueManager.handlePurchase(TID, userID, 0, "", 0, 0);
                            break;
                        }


Execute this query
Code:
ALTER  TABLE  `users`  ADD  `gifted` TINYINT NOT  NULL DEFAULT  '0'

Reason why .addParametreWithValue, and DbClient.getinteger wont work..?:\
 
Re: [SERVICE] Making Holograph Emulator commands [SERVICE]

Cecer, why not release Habbz old emu with wobbley squabbly?
 
Status
Not open for further replies.
Back