Register for your free account! | Forgot your password?

You last visited: Today at 14:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]SpirtualHealing

Discussion on [Release]SpirtualHealing within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
[Release]SpirtualHealing

Credit to alexbigfoot for the healing effect thingy

Character.cs search for
if (SkillId == 1095) under that paste this

Code:

Code:
if (SkillId == 1190 && Stamina >= 100)
                        {
                            if (SkillLvl == 0)
                            {
                                CurHP += 500;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 500, (short)LocX, (short)LocY);
                            }
                            if (SkillLvl == 1)
                            {
                                CurHP += 800;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 800, (short)LocX, (short)LocY);
                            }
                            if (SkillLvl == 2)
                            {
                                CurHP += 1300;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 1300, (short)LocX, (short)LocY);
                            }
                        }
either open ur DataBase or ur ExternalDatabase
Search for
publicstaticvoid DefineSkills()
under that paste this:

Code:

Code:
SkillAttributes[1190] = newushort[3][];
SkillAttributes[1190][0] = newushort[6] { 8, 0, 0, 500, 100, 0 };
SkillAttributes[1190][1] = newushort[6] { 8, 0, 0, 800, 100, 0 };
SkillAttributes[1190][2] = newushort[6] { 8, 0, 0, 1300, 100, 0 };
SkillsDone.Add(1190, 2);
then Search for
publicstaticuint NeededSkillExp(short SkillId, byte Level)
under that paste this:

Code:

Code:
elseif (SkillId == 1190)
          {
                 if (Level == 0)
                    return 560000;
                 if (Level == 1)
                    return 4000000;
                 if (Level == 2)
                     return 0;
                else return 0;
           }
thats it...

Have Fun in ur server
coreymills is offline  
Old 04/20/2009, 20:40   #2
 
doku66655's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 59
Received Thanks: 7
It was already released.
doku66655 is offline  
Old 04/20/2009, 20:47   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
there is no effect, when u use a skill, it will automaticaly load its own.
Code:
#region SkillAttributes7
                    if (SkillAttributes[0] == 7)
                    {
                        if (SkillId == 4000 && Stamina >= 100)
                        {
                            if (Guard == null)
                            {
                                if (SkillLvl == 0)

                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 0);
                                if (SkillLvl == 1)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 1);
                                if (SkillLvl == 2)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 2);
                                if (SkillLvl == 3)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 3);

                            }
                            else
                            {
                                Guard.Dissappear();

                                if (SkillLvl == 0)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 0);
                                if (SkillLvl == 1)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 1);
                                if (SkillLvl == 2)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 2);
                                if (SkillLvl == 3)
                                    Mobs.NewRBGuard(Convert.ToInt16(MyClient.MyChar.LocX), Convert.ToInt16(MyClient.MyChar.LocY), Convert.ToInt16(MyClient.MyChar.LocMap), MyClient.MyChar.UID, 3);
                            }
                            Stamina = 0;
                                                        World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 0, (short)LocX, (short)LocY);
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                        }
                        if (SkillId == 1190 && Stamina >= 100)
                        {
                            if (SkillLvl == 0)
                            {
                                CurHP += 500;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 1300, (short)LocX, (short)LocY);
                            }
                            if (SkillLvl == 1)
                            {
                                CurHP += 800;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 1300, (short)LocX, (short)LocY);
                            }
                            if (SkillLvl == 2)
                            {
                                CurHP += 1300;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 1300, (short)LocX, (short)LocY);
                            }
                        }
                        if (SkillId == 8003 && Stamina >= 100)
                        {
                            Flying = true;
                            XpList = false;
                            if (SkillLvl == 0)
                                FlyType = 0;
                            else if (SkillLvl == 1)
                                FlyType = 1;
                            Stamina = 0;
                            FlyActivated = DateTime.Now;

                            MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                            World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 0, (short)LocX, (short)LocY);
                        }
                        if (SkillId == 8002)
                        {
                            Flying = true;
                            XpList = false;
                            FlyType = 0;
                            FlyActivated = DateTime.Now;

                            MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
                            World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 0, (short)LocX, (short)LocY);
                        }
                        if (SkillId == 1110)
                        {
                            CycloneOn = true;
                            XpList = false;
                            XpCircle = 0;
                            XPActivated = DateTime.Now;
                            ExtraXP = 20000;

                            MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
                            World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 0, (short)LocX, (short)LocY);
                        }
                        if (SkillId == 1025)
                        {
                            SMOn = true;
                            XpList = false;
                            XpCircle = 0;
                            XPActivated = DateTime.Now;
                            ExtraXP = 20000;

                            MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
                            World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 0, (short)LocX, (short)LocY);
                        }
                        if (SkillId == 1015)
                        {
                            XpList = false;
                            AccuracyOn = true;
                            AccuracyActivated = DateTime.Now;
                            MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
                            MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "Accuracy XP: Your accuracy wil be increased for 200 seconds.", 2005));
                            World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 0, (short)LocX, (short)LocY);
                        }
                        
                        World.UpdateSpawn(this);
                    }
                    #endregion
try with this one and u`ll get the "effect"


^^
||
Its from a LOTF, idk which, anyway i keep a LOTF on my pc to help noobs out .
alexbigfoot is offline  
Old 04/20/2009, 22:31   #4
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
ok thanks i'll try it out
coreymills is offline  
Old 04/21/2009, 03:18   #5
 
elite*gold: 0
Join Date: Apr 2007
Posts: 46
Received Thanks: 0
Here have 6 erro!

Error 4 Invalid rank specifier: expected ',' or ']' C:\Users\xxxx\Desktop\Steals Server Pack\Source\PowerSource CO\Database\Database\Database.cs 167 50 Database

Error 7 The * or -> operator must be applied to a pointer C:\Users\xxxx\Desktop\Steals Server Pack\Source\PowerSource CO\Database\Database\Database.cs 167 69 Database

here:

Code:
SkillAttributes[1190] = new ushort[3][];
        SkillAttributes[1190][0] = new ushort[6] { 8, 0, 0, 500, **** 0 };
        SkillAttributes[1190][1] = new ushort[6] { 8, 0, 0, 800, **** 0 };
        SkillAttributes[1190][2] = new ushort[6] { 8, 0, 0, 1300, **** 0 };
        SkillsDone.Add(1190, 2);
my:
Code:
SkillAttributes[1190] = new ushort[3][];
        SkillAttributes[1190][0] = new ushort[6] { 8, 0, 0, 500, 255, 0 };
        SkillAttributes[1190][1] = new ushort[6] { 8, 0, 0, 800, 255, 0 };
        SkillAttributes[1190][2] = new ushort[6] { 8, 0, 0, 1300, 255, 0 };
        SkillsDone.Add(1190, 2);

problem is taking the *?
auraboreal is offline  
Old 04/21/2009, 03:44   #6
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
ya everytime i try to put that in it takes the 255 out and add the 4 * dont know y though but thanks for pointing that out
coreymills is offline  
Old 04/21/2009, 21:02   #7
 
doku66655's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 59
Received Thanks: 7
C'mon guys... It's a typic Power Source Co...
doku66655 is offline  
Old 07/02/2009, 16:14   #8
 
elite*gold: 0
Join Date: Dec 2007
Posts: 22
Received Thanks: 4
and is this for powersource?? or loft
duffman125 is offline  
Old 07/02/2009, 16:35   #9
 
elite*gold: 0
Join Date: Jun 2009
Posts: 149
Received Thanks: 15
Quote:
Originally Posted by duffman125 View Post
and is this for powersource?? or loft
LOTF = Psco.
AmbiguousStatement is offline  
Old 07/02/2009, 18:50   #10
 
ImFlamedCOD's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 140
Quote:
Originally Posted by AmbiguousStatement View Post
LOTF = Psco.
Wrong, LOTF = LOTF , PSCO = A version of LOTF, There are many different releases of the Lands of the Forgotten source , coded and re-organized by difrent people, but in the end and all sense any loft source will fail due to the major lack of coding ability that was used when this source was created.

LOTF , and any version of loft is going to fail miserably that is a fact.
ImFlamedCOD is offline  
Old 07/02/2009, 18:55   #11
 
elite*gold: 0
Join Date: Jun 2009
Posts: 149
Received Thanks: 15
Quote:
Originally Posted by ImFlamedCOD View Post
Wrong, LOTF = LOTF , PSCO = A version of LOTF, There are many different releases of the Lands of the Forgotten source , coded and re-organized by difrent people, but in the end and all sense any loft source will fail due to the major lack of coding ability that was used when this source was created.

LOTF , and any version of loft is going to fail miserably that is a fact.
Well, yes.

I've been pawned
AmbiguousStatement is offline  
Old 07/02/2009, 22:24   #12
 
elite*gold: 0
Join Date: Jul 2007
Posts: 73
Received Thanks: 1
it's not working with CoEmu but any way good job
0105653642 is offline  
Old 07/02/2009, 23:29   #13
 
elite*gold: 0
Join Date: May 2008
Posts: 103
Received Thanks: 3
where is this Credit to alexbigfoot for the healing effect thingy

Character.cs search for
if (SkillId == 1095) under that paste this
m7med is offline  
Old 07/03/2009, 00:12   #14
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
for the amount of hp u get when u use it the showing of the 500,800,1300
coreymills is offline  
Old 07/03/2009, 16:10   #15
 
elite*gold: 0
Join Date: Jun 2009
Posts: 361
Received Thanks: 98
This guide didn't help me at all. The very first thing Corey wrote did not work. I tried pasting the code he gave us under Skillid == 1095. I had to guess where to put it because how was I supposed to know? All he said was "under" Anyways, when i pasted it, it made a bunch of squiggly red lines under some things. Why? Post a more detailed guide or something. Btw, I'm a super *** at this ****, I only got interested in all of this Private Server stuff when my friend asked me to join his last week. 2 weeks ago I had no idea what a private server was and anything related. I'm learning fast though
Jay1029 is offline  
Reply




All times are GMT +2. The time now is 14:44.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.