-
[SERVICE] - Coding Commands
Hey guys, I'm wanting to get better at coding, I'm pretty much good for anything. I tend to use very little MySQL in commands; but that's just so you know ;).
I'm coding commands for people, but I'm not coding any for Phoenix, Only Plus/Bfly or some sort of open source Emulator that's easily accessible.
Just write it like this E.G.
Command - What it does - :<command> <user> or something? for example;
hit - hits the user / decreases their health - :hit <username>.
-
Re: [SERVICE] - Coding Commands
Hello !
Can you make for me :
A command for transform to a pet like dog,cat and more
for AnkkaEmulator ( Source in RG ) based in BcStorm
Sorry for my bad english i'm french
You can contact me with skype : romuald.buisson
Thank's !
-
Re: [SERVICE] - Coding Commands
Can u code the :giverank command (PlusEmu R2) please?
-
Re: [SERVICE] - Coding Commands
Hi,
Are you able to code commands to reload room (:reloadroom), open mod chatlog tool for room (:chatlogs) and open user-info mod tool (:userinfo X) for Ankka BCStorm Edit?
Thanks.
-
Re: [SERVICE] - Coding Commands
Code me a selfdestruct command.
-
Re: [SERVICE] - Coding Commands
A command for transform to a pet like dog,cat and more
-
Re: [SERVICE] - Coding Commands
Can u fix Invisible for like SwiftEmu (Bfly based i tink)
Or fix the Kick User so it doesnt work with user Enter's Room
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
TheDerpster
Hi,
Are you able to code commands to reload room (:reloadroom), open mod chatlog tool for room (:chatlogs) and open user-info mod tool (:userinfo X) for Ankka BCStorm Edit?
Thanks.
Why would you want the commands for chatlog and user-info? Also it's not really possible with a command since the window shows up and then the request is being made. By sending the outgoing packet it won't show the window itself.
-
Re: [SERVICE] - Coding Commands
A fix for the superban command for Plus revision 2 :)
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Rush Retros
A fix for the superban command for Plus revision 2 :)
Yeah! And for swift!
-
Re: [SERVICE] - Coding Commands
Superban is already fixed.
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Twan
Superban is already fixed.
What about for swift?
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
ImNotSatan
What about for swift?
I dont know, i only have it for PlusEmu R@
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Twan
Can u code the :giverank command (PlusEmu R2) please?
So if i get it right you mean that they don't need to reload the hotel after you gave them a rank, right? jw
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
SubDababa
So if i get it right you mean that they don't need to reload the hotel after you gave them a rank, right? jw
No, just that you dont have search it in the database everytime.
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Twan
No, just that you dont have search it in the database everytime.
PHP Code:
case "giverank":
{
if (Session.GetHabbo().HasCmd("giverank"))
{
GameClient clientByUsername = null;
Room currentRoom = Session.GetHabbo().CurrentRoom;
clientByUsername = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(Params[1]);
string rank = Params[2];
if (clientByUsername != null)
{
using (IQueryAdapter adapter = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.runFastQuery(string.Concat(new object[] { "UPDATE users SET rank =", rank, " WHERE id = ", clientByUsername.GetHabbo().Id }));
}
Session.SendNotif("You have ranked " + clientByUsername.GetHabbo().Username + " to rank" + rank);
clientByUsername.SendNotif("You have been ranked by " + Session.GetHabbo().Username + " to rank" + rank + "please reload");
}
}
}
there you go
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Power69
PHP Code:
case "giverank":
{
if (Session.GetHabbo().HasCmd("giverank"))
{
GameClient clientByUsername = null;
Room currentRoom = Session.GetHabbo().CurrentRoom;
clientByUsername = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(Params[1]);
string rank = Params[2];
if (clientByUsername != null)
{
using (IQueryAdapter adapter = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.runFastQuery(string.Concat(new object[] { "UPDATE users SET rank =", rank, " WHERE id = ", clientByUsername.GetHabbo().Id }));
}
Session.SendNotif("You have ranked " + clientByUsername.GetHabbo().Username + " to rank" + rank);
clientByUsername.SendNotif("You have been ranked by " + Session.GetHabbo().Username + " to rank" + rank + "please reload");
}
}
}
there you go
Gonna try it, thanks.
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Twan
Gonna try it, thanks.
missed something use this
PHP Code:
case "giverank":
{
if (Session.GetHabbo().HasCmd("giverank"))
{
GameClient clientByUsername = null;
Room currentRoom = Session.GetHabbo().CurrentRoom;
clientByUsername = SilverwaveEnvironment.GetGame().GetClientManager().GetClientByUsername(Params[1]);
string rank = Params[2];
if (clientByUsername != null)
{
using (IQueryAdapter adapter = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.runFastQuery(string.Concat(new object[] { "UPDATE users SET rank =", rank, " WHERE id = ", clientByUsername.GetHabbo().Id }));
}
Session.SendNotif("You have ranked " + clientByUsername.GetHabbo().Username + " to rank" + rank);
clientByUsername.SendNotif("You have been ranked by " + Session.GetHabbo().Username + " to rank" + rank + "please reload");
}
}
return true
}
-
Re: [SERVICE] - Coding Commands
-
Re: [SERVICE] - Coding Commands
-
[SERVICE] - Coding Commands
Quote:
Originally Posted by
Beny.
:backuproom
:restoreroom
Wow, thats just amazing!
Gr8 idea!
-
Re: [SERVICE] - Coding Commands
How about a Copy and Paste command?
So you type :copy (maybe coords here too)
Then :paste to copy all the furniture.
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Beny.
:backuproom
:restoreroom
what emu since the owner of the thread hasnt done any commands yet ill give it ago
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Power69
what emu since the owner of the thread hasnt done any commands yet ill give it ago
Plus emu revision 2 please i:
ifor the request could u try code
:saveroom = saves the room
:backuproom = place all the furnitured down if pickall / manual pickup has been used (if :saveroom was used before)
-
Re: [SERVICE] - Coding Commands
Quote:
Originally Posted by
Damien Jolly
How about a Copy and Paste command?
So you type :copy (maybe coords here too)
Then :paste to copy all the furniture.
So what your saying is that poeple can copy their rare furniture then o.O dafaq