Server 5065

04/08/2015 15:46 boki&steve#1
How i can add GM comands for telepor /tc /dc etc.. in source?
04/08/2015 20:39 m e n a#2
It's so simple to add but you could only do something more simple like remembering the map ID's using " /Map 1002 " as example.
04/10/2015 04:26 pintinho12#3
Quote:
Originally Posted by m e n a View Post
It's so simple to add but you could only do something more simple like remembering the map ID's using " /Map 1002 " as example.
y u do that?
04/10/2015 08:05 boki&steve#4
yes m e n a is the most helpful person in this forum!!!! Respect
04/10/2015 19:42 mejo33#5
If you using Redux 5065 server go to commands.cs and add:
Search for:
Quote:
{"summon", Process_Summon},
and add above this:
Quote:
{"tc", Process_tc},
and search for:
Quote:
private static void Process_Summon
and add above this:
Quote:
private static void Process_tc(Player client, string[] command)
{
if (client.Account.Permission < PlayerPermission.GM)
return;
client.ChangeMap(id, x, y);
}
04/10/2015 20:40 m e n a#6
Quote:
Originally Posted by pintinho12 View Post
y u do that?
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

And here's a full code but I didn't test it yet, so you could try and tell me if it works or not.

Code:
        static Commands()
        {
            _handlers = new Dictionary<string, IngameCommandHandler>
                {
                /*----Teleportation commands----*/
                {"tc", Process_TwinCity}, 
                {"pc", Process_CastleCity},
                {"ac", Process_ApeCity},
                {"dc", Process_DesertCity},
                {"bi", Process_BirdIsland},
                /*-------------------------------*/
Code:
        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);
        }
But I'm sure it will perfectly work, have fun, Bahahaha :D.
I've attached some pictures of how it's done.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
04/10/2015 21:00 U2_Caparzo#7
Quote:
Originally Posted by m e n a View Post


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
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)
04/10/2015 21:21 m e n a#8
Quote:
Originally Posted by U2_Caparzo View Post
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 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.
04/10/2015 22:16 Novakhan#9
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?
04/10/2015 22:19 U2_Caparzo#10
Quote:
Originally Posted by m e n a View Post


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.
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
04/10/2015 22:20 m e n a#11
Quote:
Originally Posted by Novakhan View Post
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?
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..
but though you're so right, and I really appreciate your kind way of talking. ^_^

Quote:
Originally Posted by U2_Caparzo View Post
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

You really don't have to explain anything with anger, because I will totally misunderstand your point, but though I already got it Novakhan has explained it very well.