Register for your free account! | Forgot your password?

You last visited: Today at 19:28

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

Advertisement



[Release]StartPack like TQs

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 132
Received Thanks: 64
[Release]StartPack like TQs

ok here is the code for a startpack like tq it had
this is only a example u can edit it who u want because i added only 2 pack. lvl 1-50 and lvl 51-100
what did u get by using the pack?
u can choose my putting the code in the source what ever you want.
i added for lvl 1-50
a DB cps money and a necklare

lvl 51-100
4 expballs
elite armor
super ring
cps
money

search in your character.cs for:
Code:
else if (ItemParts[0] == "723017")
before this add:
Code:
            else if (ItemParts[0] == "11002")//StartPack 1-50
            {
                if (Level >= 1 && Level <= 50)
                {
                    if (ItemsInInventory <= 38)
                    {

                        AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        AddItem("11003-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        AddItem("120048-3-1-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        CPs += 1000;
                        MyClient.SendPacket(General.MyPackets.Vital((long)UID, 30, CPs));
                        Silvers += 10000;
                        MyClient.SendPacket(General.MyPackets.Vital((long)UID, 4, Silvers));

                        RemoveItem(ItemUID);
                    }
                }
                else
                {
                    MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You can use the StartPacklvl1 only if u are between level 1 and 50", 2005));
                }
            }

            else if (ItemParts[0] == "11003")//StartPack lvl 51-100
            {
                if (Level >= 51 && Level <= 100)
                {
                    if (ItemsInInventory <= 34)
                    {
                        AddItem("723700-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        AddItem("723700-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        AddItem("723700-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        AddItem("723700-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        CPs += 10000;
                        MyClient.SendPacket(General.MyPackets.Vital((long)UID, 30, CPs));
                        Silvers += 200000;
                        MyClient.SendPacket(General.MyPackets.Vital((long)UID, 4, Silvers));

                        if (Job >= 11 && Job <= 15)//trojan
                        {
                            AddItem("150139-2-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                            AddItem("130278-4-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        }
                        if (Job >= 21 && Job <= 25)//warrior
                        {
                            AddItem("150139-2-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                            AddItem("131278-4-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        }
                        if (Job >= 41 && Job <= 45)//archer
                        {
                            AddItem("150139-2-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                            AddItem("133268-4-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        }
                        if (Job >= 131 && Job <= 145)//tao
                        {
                            AddItem("152149-2-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                            AddItem("134278-4-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        }
                        
                        
                        
                        RemoveItem(ItemUID);
                    }
                }
                else
                {
                    MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You can use the StartPacklvl2 only if u are between level 51 and 100", 2005));
                }
            }
now open your debug folder and add in the ItemNamesToId.ini
Code:
StartPacklvl1=11002
StartPacklvl2=11003
NOW BECAUEFULL
if u have a client there u added some items donīt download this patch. it is only for client there no other items are added:


put it in your client folder and open it

_________________________________________
if u have a client with some edited items open the
itemtype.dat with the decrypt tool and add there
Code:
11002 StartPacklvl1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 QuestItem Open~if~you~ate~between~level~1~and~50~and~you~will~get~some~cps,~money~and~some~free~items.
11003 StartPacklvl2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 QuestItem Open~if~you~ate~between~level~51~and~100~and~you~will~get~some~cps,~money~4~Expballs~a~free~super~ring~and~a~elite~+4~armor.
now open the ItemMinIcon.Ani with notpad and add there:
Code:
[Item11003]
FrameAmount=1
Frame0=data/ItemMinIcon/11002.dds
[Item11002]
FrameAmount=1
Frame0=data/ItemMinIcon/11002.dds
and in the MapItemIcon.Ani
Code:
[11002]
FrameAmount=1
Frame0=data/MapItemIcon/11002.dds

[11003]
FrameAmount=1
Frame0=data/MapItemIcon/11002.dds
and finaly
download this patch:


thatīs all i hope i helped you
koio is offline  
Thanks
3 Users
Old 01/16/2009, 19:19   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 132
Received Thanks: 64
@ modd plz change the tread name to: [Release] StartPatch like tq.
i clicked wrong srry
koio is offline  
Old 01/16/2009, 20:43   #3
 
sherwin9's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 222
Received Thanks: 27
You again wrote it wrong...
sherwin9 is offline  
Old 01/17/2009, 10:08   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 132
Received Thanks: 64
thx for chaning the name
koio is offline  
Old 01/17/2009, 15:27   #5
 
elite*gold: 0
Join Date: Sep 2008
Posts: 132
Received Thanks: 64
no one like this?
koio is offline  
Old 01/17/2009, 17:02   #6
 
elite*gold: 20
Join Date: Feb 2007
Posts: 660
Received Thanks: 79
i liked it
JoieJones90 is offline  
Old 01/18/2009, 16:12   #7
 
Weezz's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 58
Received Thanks: 6
Quote:
Originally Posted by koio View Post
no one like this?

No ofence but...arent u double posting?
Weezz is offline  
Old 01/19/2009, 05:35   #8
 
HellCo's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 212
Received Thanks: 14
Nice post, But seams u just copied / pasted from ********, and re-uploaded to you're site to make it look like you created this script.
HellCo is offline  
Old 01/19/2009, 10:59   #9
 
elite*gold: 0
Join Date: Sep 2008
Posts: 132
Received Thanks: 64
if there is a post about this on ragzone i am sorry
but this was made 100% by me
koio is offline  
Old 04/30/2009, 22:15   #10
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
i put it in but i dont get it when im lvl 51 or what ever? whats wrong?
ph03nixx is offline  
Old 05/05/2009, 01:38   #11
 
elite*gold: 0
Join Date: Dec 2006
Posts: 37
Received Thanks: 0
Quote:
else if (ItemParts[0] == "723017")
hey wat if i dont have that in character.cs where should i just put it too??
warriorgod06 is offline  
Old 05/05/2009, 01:41   #12
 
AndreaCo's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 510
Received Thanks: 104
if u dont have the character.cs ur source is completly screwed up.. lol
AndreaCo is offline  
Old 05/05/2009, 03:43   #13
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Quote:
Originally Posted by AndreaCo View Post
if u dont have the character.cs ur source is completly screwed up.. lol
Hi andrea =]
PeTe Ninja is offline  
Reply




All times are GMT +1. The time now is 19:29.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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