[Release]StartPack like TQs

01/16/2009 19:13 koio#1
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:
[Only registered and activated users can see links. Click Here To Register...]

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:
[Only registered and activated users can see links. Click Here To Register...]

thatīs all i hope i helped you
01/16/2009 19:19 koio#2
@ modd plz change the tread name to: [Release] StartPatch like tq.
i clicked wrong srry
01/16/2009 20:43 sherwin9#3
You again wrote it wrong...
01/17/2009 10:08 koio#4
thx for chaning the name
01/17/2009 15:27 koio#5
no one like this?
01/17/2009 17:02 JoieJones90#6
i liked it:)
01/18/2009 16:12 Weezz#7
Quote:
Originally Posted by koio View Post
no one like this?

No ofence but...arent u double posting?
01/19/2009 05:35 HellCo#8
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.
01/19/2009 10:59 koio#9
if there is a post about this on ragzone i am sorry
but this was made 100% by me
04/30/2009 22:15 ph03nixx#10
i put it in but i dont get it when im lvl 51 or what ever? whats wrong?
05/05/2009 01:38 warriorgod06#11
Quote:
else if (ItemParts[0] == "723017")
hey wat if i dont have that in character.cs where should i just put it too??
05/05/2009 01:41 AndreaCo#12
if u dont have the character.cs ur source is completly screwed up.. lol
05/05/2009 03:43 PeTe Ninja#13
Quote:
Originally Posted by AndreaCo View Post
if u dont have the character.cs ur source is completly screwed up.. lol
Hi andrea =]