[Release]5165 commands

12/15/2010 16:57 [X]-Cape#1
today i got bored so i made some commands for 5165 source
- Command to restore you hp and mp
Code:
if (Cmd[0] == "/life")
                        {
                            GC.MyChar.CurMP = (ushort)GC.MyChar.MaxMP;
                            GC.MyChar.CurHP = (ushort)GC.MyChar.MaxHP;
                        }
- scroll command
Code:
 if (Cmd[0] == "/scroll")
                        {
                            if (Cmd[1] == "tc")                          
                                GC.MyChar.Teleport(1002, 432, 380);
                            if (Cmd[1] == "bi")
                                GC.MyChar.Teleport(1015, 716, 575);
                            if (Cmd[1] == "pc")
                                GC.MyChar.Teleport(1011, 193, 261);
                            if (Cmd[1] == "dc")
                                GC.MyChar.Teleport(1000, 500, 650);
                            if (Cmd[1] == "ac")
                                GC.MyChar.Teleport(1020, 565, 562);
                            if (Cmd[1] == "ma")
                                GC.MyChar.Teleport(1036, 211, 196);
                            if (Cmd[1] == "pka")
                                GC.MyChar.Teleport(1005, 50, 50);
                            if (Cmd[1] == "house")
                                GC.MyChar.Teleport(1099, 44, 40);
                            if (Cmd[1] == "ship")
                                //This works only if you have the ship map
                                GC.MyChar.Teleport(9999, 67, 52);
                        }
- skills command
Code:
if (Cmd[0] == "/troskills")
                        {
                            GC.MyChar.RWSkill(new Game.Skill() { ID = 1115, Lvl = 4, Exp = 0 });
                            GC.MyChar.RWSkill(new Game.Skill() { ID = 1045, Lvl = 4, Exp = 0 });
                            GC.MyChar.RWSkill(new Game.Skill() { ID = 1046, Lvl = 4, Exp = 0 });
                            GC.MyChar.RWSkill(new Game.Skill() { ID = 7020, Lvl = 9, Exp = 0 });
                            GC.MyChar.RWSkill(new Game.Skill() { ID = 5030, Lvl = 9, Exp = 0 });
                        }
                            if (Cmd[0] == "/ninjaskills")
                            {
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 6000, Lvl = 4, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 6001, Lvl = 4, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 6002, Lvl = 4, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 6003, Lvl = 4, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 6004, Lvl = 0, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 6010, Lvl = 0, Exp = 0 });
                            }
                            if (Cmd[0] == "/warrskills")
                            {
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 1025, Lvl = 0, Exp = 0 });
                            }
                            if (Cmd[0] == "/archerskills")
                            {
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 8001, Lvl = 5, Exp = 0 });
                            }
                            if (Cmd[0] == "/taoskills")
                            {
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 1095, Lvl = 4, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 1100, Lvl = 0, Exp = 0 });
                                GC.MyChar.RWSkill(new Game.Skill() { ID = 1002, Lvl = 3, Exp = 0 });
                            }
- and stats command
Code:
if (Cmd[0] == "/stats")
                            {
                                GC.MyChar.Str = 500;
                                GC.MyChar.Agi = 500;
                                GC.MyChar.Vit = 500;
                                GC.MyChar.Spi = 500;
                            }
i know this is a lame release but if someone noob (like me) needs them and doesn't know how to do it feel free to take them :)
12/15/2010 16:59 Syst3m_W1z4rd#2
U did notice u posted in wrong section? :D

Anyways improving is always good.
12/15/2010 17:31 [X]-Cape#3
omg , i didn't notice .
#request move please !
12/15/2010 19:58 †he Knight#4
What a release 'Oh my god' ! You took them straight away from "your source" (Tanel's)
atleast you could do values for the attributes by other people choice,, lets say

Quote:
if (Cmd[0] == "/str")
{
GC.MyChar.Str = ushort.Parse(Cmd[1]);
}
I Hope you understand how this goes//

And about the command for life , you could do Stamina reload and Maxvigor//

Quote:
if (Cmd[0] == "/life")
{
GC.MyChar.Vigor = GC.MyChar.MaxVigor;
GC.MyChar.Stamina += 150; // or GC.MyChar.Stamina = GC.MyChar.MaxStamina;
}
Your picture in your signature is <3
12/15/2010 20:21 [X]-Cape#5
Quote:
Originally Posted by †he Knight View Post
What a release 'Oh my god' ! You took them straight away from "your source" (Tanel's)
atleast you could do values for the attributes by other people choice,, lets say


I Hope you understand how this goes//

And about the command for life , you could do Stamina reload and Maxvigor//


Your picture in your signature is <3
i use arco's source o.o and i coded them because it didn't have them lol .
read the full thread ( i'm a beginner ) , still learning bro . just made my first quest :) working on making the mob drop the item ( but i keep failing for like 3h )

off topic : you like the picture with "niggers" or the signature ? :|
12/15/2010 20:57 Syst3m_W1z4rd#6
Btw. Arco's source = Tanel.
Since Tanel created it.
12/15/2010 21:06 †he Knight#7
Doesn't matter , check your inbox X-Cape ,, Help me with photoshop and I'll help you with C# (some basic things) i'm a noob also
12/15/2010 22:14 [X]-Cape#8
my signature was made by a friend but maybe he will make one for you too ( i'll tell him on msn ) and by the way i added you to my msn list .
and about the commands , if you guys think i took them from someones source then i'll delete them .
12/16/2010 09:54 Korvacs#9
Moved.
12/16/2010 18:35 [X]-Cape#10
thanks korvacs