[(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code

06/03/2009 08:39 alexbigfoot#526
Quote:
Originally Posted by kinshi88 View Post
Yup, its bugged.
That's whats causing it.
Gotta make a new item everytime.
PHP Code:
if (NewItem.CPCost > 0)
                    {
                        if (
CSocket.Client.CPs >= NewItem.CPCost * Data[20])
                        {
                            for (
byte x = 0; x < Data[20]; x++)
                            {
                                
Item.Color = new Random().Next(3, 9);
                                
Handler.CPs(NewItem.CPCost * -1, CSocket);
                                
Item.ItemID = NewItem.ID;
                                
Item.UID = Nano.Rand.Next(1, 9999999);
                                
bool created = Database.Database.NewItem(Item, CSocket);
                                while (!
created)
                                {
                                    
Item.UID = Nano.Rand.Next(1, 9999999);
                                    
created = Database.Database.NewItem(Item, CSocket);
                                }
                                
CSocket.Client.Inventory.Add(Item.UID, Item);
                                
CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, 0, 0, 0, 0, 0, Item.MaxDura, Item.MaxDura, 0, Item.Color));
                            }
                        }
                        else
                        {
                            
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[ERROR] You do not have enough CPs.", Struct.ChatType.Top));
                        }
                    } 
06/03/2009 08:47 © Haydz#527
I really do suggest you use incremental item UIDS.
06/03/2009 11:24 alexbigfoot#528
I`m going to update the source to work with incremental item uids when i`ll be back from school(yey, last 2 weeks). got already the item equip/unequip/loading working prety much correctly, yet is not fully.
06/03/2009 14:34 YukiXian#529
Look, my guards can move, and they can walk back to their spawning point,

[Only registered and activated users can see links. Click Here To Register...]
06/03/2009 15:17 EnoiZe#530
Quote:
Originally Posted by YukiXian View Post
Look, my guards can move, and they can walk back to their spawning point,

[Only registered and activated users can see links. Click Here To Register...]
Good Work dude, looks nice
06/03/2009 16:42 .Dan.#531
Uh,

I've been trying to get the server online, but it ain't working. Do the ports 9958 & 5816 have to be open? Because for some reason I can't seem to open them. Also what IP do I have to put into the server.dat? I've put 127.0.0.1 in the source (as my IP) but when I put it into the server.dat and try to logon I get the 'server.dat is broken' message.

Hope someone could help me,

NubCake~
06/03/2009 17:01 Ultimatum#532
Quote:
Originally Posted by tester View Post
Your attitude is why things for CO never progressed much beyond half written servers & poorly wrtten servers. by keeping eerything behind closed doors may give you a sense of grandure but it does nothing for the progression of the private server community.

There might be 1,000,000 people download the source, if 1 of them learnt from it or improves it then its a good thing for the community.
My attitude is there because nooblets don't get the chance to start a decent private server. 1 Might learn but for atleast 50% of them would just leach it and start thread 'Halp plax'. And actually i didn't have that attitude, epvpers made me like this :/. On any other game im nothing like this ....


Quote:
Originally Posted by tester View Post
Its not just the private server community, its the whole CO community. If everyone where to share like a real open source community then you would have full complete servers able to support 100s or 1000s of users by 2 years ago, even the people "in the know" dont share, its a massive criticism of us all, one i expressed a long time ago, its a big factor of the other place is so dead. So what your saying is we should just work our ass's of for the majority that are to lazy to learn, or incapable to learn and just should quit, since programming isn't for everyone?

Mark shared with anyone who asked yet we all kept it behind closed doors and never shared that information with each other. You have to see that you have strong skills in certain areas and weakness in others, by working together you would be strong in all areas but instead you choose to pick up your ball, take it home with you and lock it in a cupboard so noone else can play with it.
We do, on msn i talk to inf, haydz, tao and sparkie. However this section as recieved a growing number of people that just, don't want to learn. Start a thread and basically ask for the code. PB was an option for me because the community knew what they was doing, however even pb's getting alot of members that have made epvpers a place that i basically don't want to share my information on.
06/03/2009 19:27 alexbigfoot#533
Quote:
Originally Posted by NubCake~ View Post
Uh,

I've been trying to get the server online, but it ain't working. Do the ports 9958 & 5816 have to be open? Because for some reason I can't seem to open them. Also what IP do I have to put into the server.dat? I've put 127.0.0.1 in the source (as my IP) but when I put it into the server.dat and try to logon I get the 'server.dat is broken' message.

Hope someone could help me,

NubCake~
[Only registered and activated users can see links. Click Here To Register...]
06/04/2009 04:37 babydan123#534
What are the pm commands? do you no?
06/04/2009 11:03 YukiXian#535
Look into the source, under Handler->Chat.cs
You'll see : "CSocket.Client.isPM"
06/04/2009 11:25 alexbigfoot#536
Lol, i`m rewriting the dmap system cuz i dont rly like how it handles the dmap.
06/04/2009 13:09 kennylai#537
Hi guys. Well, I have a big problem. I followed LetterX's guide and all but I'm stuck on one step. I saved the source and opened it. When I extracted and opened CoEmu v2.snl. Microsoft C# program opens and a message pops up saying, "One or more projects in the solutions could not be loaded for the following reason(s): The project file or web has been moved, renamed or is not on your computer. These projects will be labeled as unavailable in Solution Explorer. Expand the project node to show the reason the project could not be loaded." Can someone tell me what I did wrong? Please and Thank you.



And can anyone tell me how MySQL and PHPADMIN works? lol
06/04/2009 16:09 skwaitne#538
i found this error

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

and conquer freeze in "Logging into account server..."

PLZ HELP
06/04/2009 16:16 krankheit#539
found xD it automaticli open after debbug but its only because you put anywhere the wrong ip may db connection ^^
06/04/2009 19:09 YukiXian#540
For those who are interested :
I started with the Guild System, but I don't really understand the packets =S

Here's what I've got :
[Only registered and activated users can see links. Click Here To Register...]