You last visited: Today at 00:43
Advertisement
[Release] Much more advanced skill command LOTF
Discussion on [Release] Much more advanced skill command LOTF within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
09/17/2010, 19:07
#1
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
[Release] Much more advanced skill command LOTF
RELEASE
This is for LOTF,, 5017.
Sooo lets get started
I made a much more advanced skill command today.
What do it do? Simply you can just learn all skills or all skills for a type of class with just one code instead of lots
Search for
PHP Code:
if ( Splitter [ 0 ] == "/skill" )
{
MyChar . LearnSkill2 ( short . Parse ( Splitter [ 1 ]), byte . Parse ( Splitter [ 2 ]));
}
simply remove this and where it was add this. (Yup its bit long code
)
PHP Code:
if ( Splitter [ 0 ] == "/skill" )
{
#region TrojanSkills
if ( Splitter [ 1 ] == "trojan" )
{
MyChar . LearnSkill2 ( short . Parse ( "1190" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "1115" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1110" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1015" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1045" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1046" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "5030" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1250" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5050" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5010" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1260" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5020" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1290" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5040" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1300" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7000" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7010" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7020" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7030" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7040" ), byte . Parse ( "9" ));
}
#endregion
#region WarriorSkills
if ( Splitter [ 1 ] == "warrior" )
{
MyChar . LearnSkill2 ( short . Parse ( "1015" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1020" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1025" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1040" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1051" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1320" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "1045" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1046" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "5030" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1250" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5050" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5010" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1260" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5020" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1290" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5040" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1300" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7000" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7010" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7020" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7030" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7040" ), byte . Parse ( "9" ));
}
#endregion
#region Archer Skills
if ( Splitter [ 1 ] == "archer" )
{
MyChar . LearnSkill2 ( short . Parse ( "8001" ), byte . Parse ( "5" ));
MyChar . LearnSkill2 ( short . Parse ( "8000" ), byte . Parse ( "5" ));
MyChar . LearnSkill2 ( short . Parse ( "8003" ), byte . Parse ( "1" ));
MyChar . LearnSkill2 ( short . Parse ( "8002" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "8030" ), byte . Parse ( "0" ));
}
#endregion
#region FireSkills
if ( Splitter [ 1 ] == "fire" )
{
MyChar . LearnSkill2 ( short . Parse ( "1002" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1005" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1010" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1120" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1125" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1150" ), byte . Parse ( "7" ));
MyChar . LearnSkill2 ( short . Parse ( "1160" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1165" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1180" ), byte . Parse ( "7" ));
MyChar . LearnSkill2 ( short . Parse ( "1195" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "5001" ), byte . Parse ( "0" ));
}
#endregion
#region WaterSkills
if ( Splitter [ 1 ] == "water" )
{
MyChar . LearnSkill2 ( short . Parse ( "5001" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1001" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1005" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1010" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1075" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1095" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1090" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1085" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1100" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1170" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1175" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1195" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "1260" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1510" ), byte . Parse ( "9" ));
}
#endregion
#region allskills
if ( Splitter [ 1 ] == "all" )
{
MyChar . LearnSkill2 ( short . Parse ( "1190" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "1115" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1110" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1015" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1045" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1046" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1015" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1020" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1025" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1040" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1051" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1320" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "1045" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1046" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "5030" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1250" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5050" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5010" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1260" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5020" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1290" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "5040" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1300" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7000" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7010" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7020" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7030" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "7040" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "8001" ), byte . Parse ( "5" ));
MyChar . LearnSkill2 ( short . Parse ( "8000" ), byte . Parse ( "5" ));
MyChar . LearnSkill2 ( short . Parse ( "8003" ), byte . Parse ( "1" ));
MyChar . LearnSkill2 ( short . Parse ( "8002" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "8030" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1002" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1005" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1010" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1120" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1125" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1150" ), byte . Parse ( "7" ));
MyChar . LearnSkill2 ( short . Parse ( "1160" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1165" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1180" ), byte . Parse ( "7" ));
MyChar . LearnSkill2 ( short . Parse ( "1195" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "5001" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "5001" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1001" ), byte . Parse ( "3" ));
MyChar . LearnSkill2 ( short . Parse ( "1005" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1010" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1075" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1095" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1090" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1085" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1100" ), byte . Parse ( "0" ));
MyChar . LearnSkill2 ( short . Parse ( "1170" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1175" ), byte . Parse ( "4" ));
MyChar . LearnSkill2 ( short . Parse ( "1195" ), byte . Parse ( "2" ));
MyChar . LearnSkill2 ( short . Parse ( "1260" ), byte . Parse ( "9" ));
MyChar . LearnSkill2 ( short . Parse ( "1510" ), byte . Parse ( "9" ));
}
#endregion
else
{
MyChar . LearnSkill2 ( short . Parse ( Splitter [ 1 ]), byte . Parse ( Splitter [ 2 ]));
}
}
type this in chat to use them
Code:
/skill trojan
/skill warrior
/skill archer
/skill fire
/skill water
/skill all
/skill 9876 0 <== just like your old /skill command
Screenshots
Good luck with your more advanced skill command
,,
Thanks me if i helped
Attached Images
11853448.jpg
(483.7 KB, 180 views)
11855766.jpg
(479.8 KB, 182 views)
11861193.jpg
(480.9 KB, 178 views)
11865661.jpg
(481.4 KB, 179 views)
11875377.jpg
(487.1 KB, 180 views)
09/17/2010, 19:17
#2
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
u could put it in regions so it aint that long.
#region TrojanSkills
//Code here
#endregion
09/17/2010, 19:29
#3
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
Quote:
Originally Posted by
☆★Zuper★☆
u could put it in regions so it aint that long.
#region TrojanSkills
//Code here
#endregion
I actually did that in my source but not in this thread,, i think im going change it cause i just have to do some other final changes
Off-Topic
(may i ask how you login with that strange stars in your name)?
09/18/2010, 16:55
#4
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by
jackpotsvr
I actually did that in my source but not in this thread,, i think im going change it cause i just have to do some other final changes
Off-Topic
(may i ask how you login with that strange stars in your name)?
I believe you can login with your email address as well as your user name. I might be wrong though.
09/18/2010, 17:29
#5
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
Quote:
Originally Posted by
.Beatz
I believe you can login with your email address as well as your user name. I might be wrong though.
Ah okay
09/19/2010, 16:44
#6
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
Emm, is alt codes.
Im just writing them before i login, but i got name on save so i can just choose it.
09/19/2010, 18:08
#7
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
Quote:
Originally Posted by
☆★Zuper★☆
Emm, is alt codes.
Im just writing them before i login, but i got name on save so i can just choose it.
This is still faster.
09/19/2010, 18:11
#8
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
Quote:
Originally Posted by
jackpotsvr
This is still faster.
what is faster?
09/19/2010, 20:00
#9
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
Quote:
Originally Posted by
☆★Zuper★☆
what is faster?
Sorry wrong intrepretation
Didn't know it was possible ;P
04/26/2011, 17:13
#10
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
Nice work, whats the skill or command for your piglet GM thing?
Similar Threads
[LOTF]How do I change drop rates and xp skill.
07/25/2011 - CO2 Private Server - 9 Replies
Could I change the drop rates like I would with exp rate?
And right now the xp skill goes twice as fast lol, where can I change that.
[Release]BlacknameToJail LOTF 5017 (Better & more advanced)
07/13/2010 - CO2 PServer Guides & Releases - 11 Replies
Hellows?
Well title says all.
First go to character.cs and search for:
public void Die()
Now after MyClient.SendPacket(General.MyPackets.Death(this)) ;
put:
[Release]Advanced LOTF Reg page
08/14/2009 - CO2 PServer Guides & Releases - 7 Replies
Hello all :)
This is a register page i made for my server.
It uses PHP, all you have to do is change the settings in 'settings.php', upload it. Voilah!
here it is...
Press thanks if i helped you!
[help] LOTF - Command nick name
04/24/2009 - CO2 Private Server - 4 Replies
Hey i need to convert my all command like TQ.
Player name xxx and status 8 can use command
other player cant use it. Who can give me code ;>?:mofo:
All times are GMT +2. The time now is 00:45 .