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

07/13/2008 21:47 stephanyd#1876
Quote:
Originally Posted by InfamousNoone View Post
I generally work with only my sources, because I'd rather know where everything is then guess. This is why I usually work solo, the only seriously good partners I've ever enjoyed having is Toshiro (Created CO Admin is anyone knows what that is, and was an admin of CO 2.1) and Ultimation (Was banned for releasing a cracked SV on EPVP, founder of COWS). Oh, I'm more than willing to help (just ask Adz, he asked me nicely and I helped him), it's that if I help I'm doing it my way.

@finalcloud


Because I feel people have the right to hear the truth of an idea, then believe a false idea (Just read my T. Jefferson quote). What gfun is stating, is that INIs run faster than MySQL and MySQL puts a strain on the serve; Which is just completely incorrect. I've always looked at the perspective like this, if you're going to flame or bash something, at least know what your talking about and have correct information.

Ok...but only i thing.. i can't work alone on source caus my main Language is frech... i can understand english anough to read treads and talk to peoples ... for coding in english i sucks..lol...like we call i'm a noob programmer
07/13/2008 22:25 2coolforu2#1877
Quote:
Originally Posted by galdik View Post
(it was someone who have task to repair some code)

something is on this ... indeed
I agree with this if u know what I am trying to say by those quotes


but on the other hand there is already like over +- 12 versions of CO Pservers it getting messy this way
It isnt that easy to make a Pserver unless you have everything done than it can be good. in other words every pserver is messy get wit it not all of them are perfect.
07/14/2008 01:39 gfun1#1878
Ok guys, we now have the forum up and running.

[Only registered and activated users can see links. Click Here To Register...]

Everyone is welcome to join it, and participate in the community as well as the construction of the source code.
07/14/2008 01:57 §hadow§age#1879
guys i really wanna contribute to the source, and since adz left he will be missed very very much... and we all have a big spot to fill as coders and programers... we all really need to come together and get this source to its full potential
07/14/2008 02:01 gfun1#1880
Thats why there is now a forum up :/ So we can all work together in a more vast environment.
07/14/2008 02:12 999blackangel999#1881
VERY NICE JOB!!!
Full work!
Some bugs...but its not important...:D

Well, how can i make working of Trade/Team/And watch equips of others?
07/14/2008 02:45 zane203#1882
Quote:
Originally Posted by §hadow§age View Post
guys i really wanna contribute to the source, and since adz left he will be missed very very much... and we all have a big spot to fill as coders and programers... we all really need to come together and get this source to its full potential
aye thats why im practicing with C# more than ever, i was just the crowd control, i need to help more with programming now lol.
07/14/2008 04:03 §hadow§age#1883
gfun can u help me with something? im working on the inventory bugs but i want a command to clear the inv do you have one already? if not its cool i'll keep messing around till i get one working =D
07/14/2008 06:41 samehvan#1884
Quote:
Originally Posted by lolmaster123 View Post
maybe a BR or eggy who is just speaking dumb words....
Quote:
Originally Posted by galdik View Post
lthats the WORST players I ever meet ! (even if eggy dunno... mean EGO or egypt ? anyway both is valid as well) xDD
what is the matter with Egys???

Quote:
Originally Posted by gfun1 View Post
Ok guys, we now have the forum up and running.

[Only registered and activated users can see links. Click Here To Register...]
Everyone is welcome to join it, and participate in the community as well as the construction of the source code.
Quote:
Originally Posted by gfun1 View Post
Thats why there is now a forum up :/ So we can all work together in a more vast environment.
yes , WB Bro ;)

can i be a member there :P
Quote:
Originally Posted by §hadow§age View Post
gfun can u help me with something? im working on the inventory bugs but i want a command to clear the inv do you have one already? if not its cool i'll keep messing around till i get one working =D
what bugs u are working on ? the inv as i know has only one bug that is u cant carry out more than 39 items or u will get the not ready msg,, or is there any bugs else i dont know about?
07/14/2008 07:42 scottdavey#1885
Quote:
Originally Posted by §hadow§age View Post
gfun can u help me with something? im working on the inventory bugs but i want a command to clear the inv do you have one already? if not its cool i'll keep messing around till i get one working =D
I don't have one already but it's as simple as pie to make one.
I aint tryed this but it should work.

Code:
                if (Splitter[0] == "/clearinv")
                {
                    Ini Save = new Ini(System.Windows.Forms.Application.StartupPath + @"Characters" + TheClient.MyChar.CharName + ".chr");
                    Save.WriteString("Character", "Inventory", "");
                    TheClient.MyChar.SendInventory();
                    TheClient.SendPacket(ThePackets.SendMsg(TheClient.MessageId, "System", TheClient.MyChar.CharName, ("Inventory Cleared!"), 2000));
                }
Quote:
Originally Posted by §hadow§age View Post
guys i really wanna contribute to the source, and since adz left he will be missed very very much... and we all have a big spot to fill as coders and programers... we all really need to come together and get this source to its full potential
Indeed he's good, But you make it sound like he's dead...
07/14/2008 10:56 999blackangel999#1886
Code:
                if (Splitter[0] == "/clearinv")
                {
                    Ini Save = new Ini(System.Windows.Forms.Application.StartupPath + @"Characters" + TheClient.MyChar.CharName + ".chr");
                    Save.WriteString("Character", "Inventory", "");
                    TheClient.MyChar.SendInventory();
                    TheClient.SendPacket(ThePackets.SendMsg(TheClient.MessageId, "System", TheClient.MyChar.CharName, ("Inventory Cleared!"), 2000));
                }
Its didnt work....
Look how i puted...
Code:
}
                    if (Splitter[1] == "birth")
                    {
                        TheClient.MyChar.Teleport(1010, 60, 110);
                    }
                }

                i[COLOR="Red"]f (Splitter[0] == "/clearinv")
                {
                    Ini Save = new Ini(System.Windows.Forms.Application.StartupPath + @"Characters" + TheClient.MyChar.CharName + ".chr");
                    Save.WriteString("Character", "Inventory", "");
                    TheClient.MyChar.SendInventory();
                    TheClient.SendPacket(ThePackets.SendMsg(TheClient.MessageId, "System", TheClient.MyChar.CharName, ("Inventory Cleared!"), 2000));
                }[/COLOR]

                if (Splitter[0] == "/save")
                {
                    TheClient.MyChar.SaveChar();
                }
07/14/2008 14:57 999blackangel999#1887
And 1 more problem
Whats wrong with this???
[Only registered and activated users can see links. Click Here To Register...]ers!
:(:(:(:(
And have this problem everytime when i am making build with some file:eek:
07/14/2008 15:17 gfun1#1888
Quote:
Originally Posted by samehvan View Post
can i be a member there :P
No sorry mate...
You can be an Admin there. But not a member. :P
07/14/2008 15:47 samehvan#1889
Quote:
Originally Posted by 999blackangel999 View Post
Code:
                if (Splitter[0] == "/clearinv")
                {
                    Ini Save = new Ini(System.Windows.Forms.Application.StartupPath + @"Characters" + TheClient.MyChar.CharName + ".chr");
                    Save.WriteString("Character", "Inventory", "");
                    TheClient.MyChar.SendInventory();
                    TheClient.SendPacket(ThePackets.SendMsg(TheClient.MessageId, "System", TheClient.MyChar.CharName, ("Inventory Cleared!"), 2000));
                }
Its didnt work....
Look how i puted...
Code:
                i[COLOR="Red"]f (Splitter[0] == "/clearinv")
                {
                    Ini Save = new Ini(System.Windows.Forms.Application.StartupPath + @"Characters" + TheClient.MyChar.CharName + ".chr");
                    Save.WriteString("Character", "Inventory", "");
                    TheClient.MyChar.SendInventory();
                    TheClient.SendPacket(ThePackets.SendMsg(TheClient.MessageId, "System", TheClient.MyChar.CharName, ("Inventory Cleared!"), 2000));
                }[/COLOR]
this wont work coz the character inv is loaded when he log in so the SendInventory Function will actually sends the inventory once more fake one as i think
so u may try this
Code:
if (Splitter[0] == "/cinv")
                {
                    for (int cc = 39; cc >0 ; cc--)
                    {
                        if (TheClient.MyChar.Inventory[cc]!=null) TheClient.MyChar.RemoveAnItem(TheClient.MyChar.Inventory_UIDs[cc], 0);
                    }
                }
07/14/2008 16:02 999blackangel999#1890
Code:
if (Splitter[0] == "/cinv")
                {
                    for (int cc = 39; cc >0 ; cc--)
                    {
                        if (TheClient.MyChar.Inventory[cc]!=null) TheClient.MyChar.RemoveAnItem(TheClient.MyChar.Inventory_UIDs[cc], 0);
                    }
                }
Nah, wont work...can u build chis char.cs and send me?:(:(