Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[CLOSED] [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Status
Not open for further replies.

AWA

Master Summoner
Loyal Member
Joined
Feb 24, 2008
Messages
595
Reaction score
389
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Try it and test. (In debug mode please!)
 
Experienced Elementalist
Joined
Aug 15, 2008
Messages
298
Reaction score
15
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Hey!
I have A Question again xP

Somebody know a :givebadge command? And It would be Great, like :massfurni <id> can somebody make these Commands?
Would Rock!
Thanks :D
 
Junior Spellweaver
Joined
Jan 8, 2010
Messages
119
Reaction score
3
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Hmm Basicly all habboRP commands for boston and ***'s patched v26 server, And also how do i disable nav for users?
 
Newbie Spellweaver
Joined
Aug 19, 2008
Messages
98
Reaction score
11
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Hmm Basicly all habboRP commands for boston and ***'s patched v26 server, And also how do i disable nav for users?

Move all rooms into a minirank category of 7?

And HabboRP Copy :} Aaron won't be happy now would he.
 
Junior Spellweaver
Joined
Jan 8, 2010
Messages
119
Reaction score
3
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Move all rooms into a minirank category of 7?

And HabboRP Copy :} Aaron won't be happy now would he.

Hmm - Ive changed it now - Basicly Theres a phrase where it says
Code:
//string Name = dbClient.getString("SELECT name FROM room_categories WHERE id = '" + cataID + "' AND (access_rank_min <= " + _Rank + " OR access_rank_hideforlower = [COLOR="Red"][B]'0')[/B][/COLOR]");
                                if (Name == "") // User has no access to this category/it does not exist
Where it says 0, change it to 5/6 :)
 
Experienced Elementalist
Joined
Aug 15, 2008
Messages
298
Reaction score
15
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Nobody knows a :massfurni <id> Command and :givebadge Command?

I Hope somebody can code it or have it already.

Thanks ;)

JabboHotel
 
Junior Spellweaver
Joined
Aug 15, 2009
Messages
129
Reaction score
16
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Jabbo Badge command is so easy to code xD
 
Joined
Nov 29, 2006
Messages
559
Reaction score
530
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Nobody knows a :massfurni <id> Command and :givebadge Command?

I Hope somebody can code it or have it already.

Thanks ;)

JabboHotel
Here's givebadge, change the rank > 6 part to whatever you want to restrict the commands abilities to;
Code:
                    case "givebadge":
                        {
                            string badge = Text.Split(' ')[2];
                            if (_Rank > 6)
                            {
                                virtualUser Target = userManager.getUser(Text.Split(' ')[1]);
                                DB.runQuery("INSERT INTO users_badges (userid, badgeid, iscurrent) VALUES ('" + Target.userID + "', '" + badge + "', '0')");
                                Target.refreshBadges();
                            }
                            break;
                        }
 
Newbie Spellweaver
Joined
Jan 16, 2010
Messages
33
Reaction score
5
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Can someone make a :Startwork command, so it puts the user in a sertion uniform.

---------- Post added at 09:43 PM ---------- Previous post was at 09:37 PM ----------

I'm 50% Done, can someone tell me what eles i need to do.

PHP:
#region 
case "startwork":
{
if (_Rank > 3)
this._Figure = "hd-207-3.sh-290-110.lg-285-110.wa-2005-.ch-809-110.ca-1811-.ha-1013-110.ea-1404-110.fa-1201-.hr-115-31";
                    this._Mission = "Police Officer";
                    this.refreshAppearance(false, true, true);
                }
#endregion
 
Last edited:
Experienced Elementalist
Joined
Aug 15, 2008
Messages
298
Reaction score
15
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Here's givebadge, change the rank > 6 part to whatever you want to restrict the commands abilities to;
Code:
                    case "givebadge":
                        {
                            string badge = Text.Split(' ')[2];
                            if (_Rank > 6)
                            {
                                virtualUser Target = userManager.getUser(Text.Split(' ')[1]);
                                DB.runQuery("INSERT INTO users_badges (userid, badgeid, iscurrent) VALUES ('" + Target.userID + "', '" + badge + "', '0')");
                                Target.refreshBadges();
                            }
                            break;
                        }

Great & Do u have a :massfurni, then i Think everything works :D

:massfurni, i think this isnt to hard, too or?

Greetz
JabboHotel

---------- Post added at 10:53 PM ---------- Previous post was at 10:45 PM ----------

PS: Your :givebadge has errors, it says in the dissi´s source, the db couldnt be found in the context.

Ive tried dbClient.runquery, but it cant find.

Can u fix it?

Thanks
 
Last edited:
Joined
Nov 29, 2006
Messages
559
Reaction score
530
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

I'm not familiar with that source, it shouldn't be too hard to port it over though. As for mass furni.. what exactly are you wanting it to do? Give a specific item to everyone on the hotel, everyone in the room? everyone online, everyone in the database.. in a present, direct to hand, need more details..
 

AWA

Master Summoner
Loyal Member
Joined
Feb 24, 2008
Messages
595
Reaction score
389
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Jabbo, you need to insert this first:
using(DatabaseClient dbClient = (Eucalypt.dbManager.getClient()))
dbClient thing here
 
Joined
Aug 31, 2008
Messages
543
Reaction score
123
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Can someone make a command for rank 3 and above,
a :naked Command and a :unnaked command so it changes you back to your old clothes

Thanks
 
Joined
Nov 29, 2006
Messages
559
Reaction score
530
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Can someone make a command for rank 3 and above,
a :naked Command and a :unnaked command so it changes you back to your old clothes

Thanks

try something like this;
Code:
                    case "naked":
                        {
                            if (_Rank < 3)
                                break;
                            _Figure = "hd-207-3.sh-0-.lg-0-.ch-0-.hr-115-31";
                            refreshAppearance(false, true, true);
                        }

Code:
                    case "unnaked":
                        {
                            if (_Rank < 3)
                                break;
                            refreshAppearance(true, true, true);
                        }
 
Experienced Elementalist
Joined
Aug 15, 2008
Messages
298
Reaction score
15
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

using (DatabaseClient dbClient = (Eucalypt.dbManager.getClient()))
dbClient.runQuery("INSERT INTO users_badges (userid, badgeid, iscurrent) VALUES ('" + Target.userID + "', '" + badge + "', '0')");

So ive put in, now it cant find .getClient ?
 
Initiate Mage
Joined
Oct 29, 2009
Messages
1
Reaction score
0
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

Can anyone code a command that lets transfer ownership of a room from one user to another?

1) The room owner would type in a command to sellroom :)sellroom 5000)

2) The first user to type in a command to buy the room :)buyroom)will instantly become the new owner and it will show up under their rooms in the hotel navigator.

Thanks sooooo much.
 
Joined
Aug 31, 2008
Messages
543
Reaction score
123
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

try something like this;
Code:
                    case "naked":
                        {
                            if (_Rank < 3)
                                break;
                            _Figure = "hd-207-3.sh-0-.lg-0-.ch-0-.hr-115-31";
                            refreshAppearance(false, true, true);
                        }

Code:
                    case "unnaked":
                        {
                            if (_Rank < 3)
                                break;
                            refreshAppearance(true, true, true);
                        }
Is this for Holopooling because it gives me errors :(
 
Experienced Elementalist
Joined
Aug 15, 2008
Messages
298
Reaction score
15
Re: [REL][SERVICE] Making Holograph Commands! [SERVICE][REL]

The :givebadge from sojobo isnt for database pooling :/
 
Status
Not open for further replies.
Back
Top