How i can add GM comands for telepor /tc /dc etc.. in source?
and add above this:Quote:
{"summon", Process_Summon},
and search for:Quote:
{"tc", Process_tc},
and add above this:Quote:
private static void Process_Summon
Quote:
private static void Process_tc(Player client, string[] command)
{
if (client.Account.Permission < PlayerPermission.GM)
return;
client.ChangeMap(id, x, y);
}
Why do I do what exactly? if you're talking about helping as much as I could so what this forum for? and actually I'm trying to be helpful because there's so many people already helped me when I needed help.Quote:
y u do that?
static Commands()
{
_handlers = new Dictionary<string, IngameCommandHandler>
{
/*----Teleportation commands----*/
{"tc", Process_TwinCity},
{"pc", Process_CastleCity},
{"ac", Process_ApeCity},
{"dc", Process_DesertCity},
{"bi", Process_BirdIsland},
/*-------------------------------*/
private static void Process_TwinCity(Player Client, string[] command)
{
if (Client.Account.Permission < PlayerPermission.GM)
return;
Client.ChangeMap(1002);
}
private static void Process_CastleCity(Player Client, string[] command)
{
if (Client.Account.Permission < PlayerPermission.GM)
return;
Client.ChangeMap(1011);
}
private static void Process_ApeCity(Player Client, string[] command)
{
if (Client.Account.Permission < PlayerPermission.GM)
return;
Client.ChangeMap(1020);
}
private static void Process_DesertCity(Player Client, string[] command)
{
if (Client.Account.Permission < PlayerPermission.GM)
return;
Client.ChangeMap(1000);
}
private static void Process_BirdIsland(Player Client, string[] command)
{
if (Client.Account.Permission < PlayerPermission.GM)
return;
Client.ChangeMap(1015);
}
It does harm others in this forum, the only thing you achieve by spoonfeeding is to decrease the quality of the discussions in this forum, just to make the same guy come to ask another ridiculous question, if you want to do this, y dare you to create your own forum without coping anything from this one (where is the people who "created" the CO PServers)Quote:
Why do I do what exactly? if you're talking about helping as much as I could so what this forum for? and actually I'm trying to be helpful because there's so many people already helped me when I needed help.
But actually I did the most researches by myself because I don't like to ask about silly easy things, so I search and sometimes I use the brain I got, I'm sure if anyone else has a better way to do the job he would tell him read\learn\ hiresomestaff.. that's not what he expected to hear in this forum so it wont harm me if I helped a little. :D
I already mentioned that if I'm in his place I wouldn't ask about such silly things because I've already earned my knowledge by myself and with some help from others.Quote:
It does harm others in this forum, the only thing you achieve by spoonfeeding is to decrease the quality of the discussions in this forum, just to make the same guy come to ask another ridiculous question, if you want to do this, y dare you to create your own forum without coping anything from this one (where is the people who "created" the CO PServers)
I'm going to change my point to, you are not helping anyone, i will let you figure out why instead of wasting my time explaining youQuote:
I already mentioned that if I'm in his place I wouldn't ask about such silly things because I've already earned my knowledge by myself and with some help from others.
There's forum staff they can react on his posts I have no attention to ignore his questions.. and I guess if it really harms anyone the staff would already react with these kind of posts..
and report his posts if you think it's harmful or w.e you noticed.
You're right, and I'm sorry.. but I just trying to help I'm so newbie though, and I can't help with big things so I'm trying to help with little things like these..Quote:
Mena. Did you ever notice that most of the people here don't help when it comes to pure idiocy questions? Those people ask questions that are easily searchable on google or the forum. They take the time to make a thread, bother the community for something disappointingly stupid. Why would we waste our time to help someone that will create a shitty server and spam the forum and top sites with a trash that doesn't even worth visiting the website?
Quote:
I'm going to change my point to, you are not helping anyone, i will let you figure out why instead of wasting my time explaining you