P Server "NPC base code/shops/drop items" for who asked me 2 do it

05/05/2009 14:23 0civ#2221
yah samehvan. But i descovered some bugs idk how to solve em out
You can rb as many times as you want and you will have a great attack. If you dc all will be back to normal
HP increase while attked. Sometimes it happens when a person hittes for my hp dont go down... actually grow up xD.

And thank you for all ur hard work!
05/05/2009 14:23 ShockSoft#2222
5017 Done ill update it whenever u add me on msn or send me the soure :P To the Wh.... we would have to look on Hybrids one or LOTF shouldnt be too hard :P
05/05/2009 23:28 mataecheala#2223
Ihave a problem ... when i start TheCoServer , PowerSourceCo or any source gives me an error .. what should i do ? Screen here: [Only registered and activated users can see links. Click Here To Register...]
05/06/2009 01:38 samehvan#2224
Quote:
Originally Posted by 0civ View Post
yah samehvan. But i descovered some bugs idk how to solve em out
You can rb as many times as you want and you will have a great attack. If you dc all will be back to normal
HP increase while attked. Sometimes it happens when a person hittes for my hp dont go down... actually grow up xD.

And thank you for all ur hard work!
yea it's an old bug i fixed the first reborn ,when reborn at Market u have to be lvl 120 and non reborn or else it wont allow u to reborn again , the second reborn should be very easy i'll try to fix it soon

Quote:
Originally Posted by ShockSoft View Post
5017 Done ill update it whenever u add me on msn or send me the soure :P To the Wh.... we would have to look on Hybrids one or LOTF shouldnt be too hard :P
oh, i dd uploaded it with my last post , check the first post

and about the WH i think it might be my client or somthing , couse the very strange thing is that u have to click the WH man 2ice to view your WareHouse items and u can c also that the first click on him he looks to a wrong direction then when u click it again he looks to u and ur items show up , i tried to send the function 2ice to solve that but also the same i even sent the packet 4 times but still have to click the WH man 2wice i dunno why this problem drove me crazy :P

Quote:
Originally Posted by mataecheala View Post
Ihave a problem ... when i start TheCoServer , PowerSourceCo or any source gives me an error .. what should i do ? Screen here: [Only registered and activated users can see links. Click Here To Register...]
i think u need net framework new version then try to rebuild the solution
05/06/2009 03:51 samehvan#2225
the Rebitems fixed download and replace the character.cs or download the source again or just edit your character.cs ---> RebItems void to the following

Code:
string[] Head = RepChar.Eq_HeadGear.Split('-');
            if (Head.Length > 1)
            {
                char[] HeadId = Head[0].ToCharArray();
                HeadId[4] = char.Parse("0");
                string newid = "";
                for (int x = 0; x < HeadId.Length; x++)
                {
                    newid = newid + HeadId[x];
                }
                string newHead = newid;
                for (int x = 1; x < Head.Length; x++)
                {
                    newHead = newHead + "-" + Head[x];
                }
                RepChar.Eq_HeadGear = newHead;

            }
            string[] Nick = RepChar.Eq_Necklace.Split('-');
            if (Nick.Length > 1)
            {
                char[] Id = Nick[0].ToCharArray();
                Id[4] = char.Parse("2");[U][B] Id[3] = char.Parse("0");[/B][/U]
                string newid = "";
                for (int x = 0; x < Id.Length; x++)
                {
                    newid = newid + Id[x];
                }
                string new_ = newid;
                for (int x = 1; x < Nick.Length; x++)
                {
                    new_ = new_ + "-" + Nick[x];
                }
                RepChar.Eq_Necklace = new_;
            }
            string[] Ring = RepChar.Eq_Ring.Split('-');
            if (Ring.Length > 1)
            {
                char[] Id = Ring[0].ToCharArray();
                Id[4] = char.Parse("1");[U][B] Id[3] = char.Parse("0");[/B][/U]
                string newid = "";
                for (int x = 0; x < Id.Length; x++)
                {
                    newid = newid + Id[x];
                }
                string new_ = newid;
                for (int x = 1; x < Ring.Length; x++)
                {
                    new_ = new_ + "-" + Ring[x];
                }
                RepChar.Eq_Ring = new_;
            }
            string[] R8Hand = RepChar.Eq_RightHand.Split('-');
            if (R8Hand.Length > 1)
            {
                char[] Id = R8Hand[0].ToCharArray();
                Id[4] = char.Parse("2");[U][B] Id[3] = char.Parse("0");[/B][/U]
                string newid = "";
                for (int x = 0; x < Id.Length; x++)
                {
                    newid = newid + Id[x];
                }
                string new_ = newid;
                for (int x = 1; x < R8Hand.Length; x++)
                {
                    new_ = new_ + "-" + R8Hand[x];
                }
                RepChar.Eq_RightHand = new_;
            }
            string[] Left = RepChar.Eq_LeftHand.Split('-');
            if (Left.Length > 1)
            {
                char[] Id = Left[0].ToCharArray();
                Id[4] = char.Parse("2"); [U][B]Id[3] = char.Parse("0");[/B][/U]
                string newid = "";
                for (int x = 0; x < Id.Length; x++)
                {
                    newid = newid + Id[x];
                }
                string new_ = newid;
                for (int x = 1; x < Left.Length; x++)
                {
                    new_ = new_ + "-" + Left[x];
                }
                RepChar.Eq_LeftHand = new_;
            }
            string[] Armor = RepChar.Eq_Armor.Split('-');
            if (Armor.Length > 1)
            {
                char[] Id = Armor[0].ToCharArray();
                [U][B]int check = (int)(Id[2]);
                if (check >= 5) Id[2] = (char)(check - 5);[/B][/U]
                Id[4] = char.Parse("0");
                string newid = "";
                for (int x = 0; x < Id.Length; x++)
                {
                    newid = newid + Id[x];
                }
                string new_ = newid;
                for (int x = 1; x < Armor.Length; x++)
                {
                    new_ = new_ + "-" + Armor[x];
                }
                RepChar.Eq_Armor = new_;
            }
            string[] Boots = RepChar.Eq_Boots.Split('-');
            if (Boots.Length > 1)
            {
                char[] Id = Boots[0].ToCharArray();
                Id[4] = char.Parse("1"); [B][U]Id[3] = char.Parse("0");[/U][/B]
                string newid = "";
                for (int x = 0; x < Id.Length; x++)
                {
                    newid = newid + Id[x];
                }
                string new_ = newid;
                for (int x = 1; x < Boots.Length; x++)
                {
                    new_ = new_ + "-" + Boots[x];
                }
                RepChar.Eq_Boots = new_;
            }
            RepChar.SendEquips2();
            RepChar.SaveChar();
        }
the bold underlined parts are what u need to add
05/06/2009 05:42 ShockSoft#2226
Ok ill look on it and upgrade it now then u can work on it again :D

Here it is : 5017 with new RepItem
05/06/2009 07:29 samehvan#2227
Quote:
Originally Posted by ShockSoft View Post
Ok ill look on it and upgrade it now then u can work on it again :D

Here it is : 5017 with new RepItem
thanks , very good and fast work

oops , ddnt work , dd u remove the threadpoollib.* from the debug folder?

if it has some edits so u forgot to return them back to the folder or what i am missing ?
05/06/2009 15:45 ShockSoft#2228
yep woops :)

Im sry ill upload them all again sry again
05/06/2009 15:56 ShockSoft#2229
.
05/06/2009 15:58 Bochumboy#2230
ty ;)
05/07/2009 05:34 ShockSoft#2231
hehe hit the thx button please :P

Well Samehvan could u PM me ur msn?? plspls :P
05/07/2009 09:15 samehvan#2232
still not working ShockSoft ,, always gives me an error (unknown one)

edit:- lol ur PM option is disabled , anyway i already posted it on the prev page
05/07/2009 13:53 ShockSoft#2233
Ok i got it thx :P and ill enable my pm function :P

Btw the error appears on login right?
05/07/2009 15:21 samehvan#2234
Quote:
Originally Posted by ShockSoft View Post
Ok i got it thx :P and ill enable my pm function :P

Btw the error appears on login right?
yes,and i used the cidLoader , still the same
05/13/2009 17:28 MegaCheater#2235
FUck u Shawan or what ever is your name. Im sure nobody know ur name. Your source is shit and its just sux with 900 bugs .. lmao !!! stop your stupid projekt and get a life this is just stupid this time waste and the end is only shit and noob things,,. WWWWW