Register for your free account! | Forgot your password?

You last visited: Today at 19:26

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

Advertisement



[Un-Official] CoEMU Help

Discussion on [Un-Official] CoEMU Help within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 11/12/2009, 21:56   #31
 
elite*gold: 0
Join Date: Nov 2009
Posts: 159
Received Thanks: 27
This is very usefull >.<
MexicanoCoder is offline  
Old 11/12/2009, 22:04   #32
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by darkichou View Post
i guys
i have the error : " the name 'face' doesn't exist the context".
what should i do to fix it?

add the face void. It's been posted a bunch of times on the forum already.


Simple explanation of voids:

Voids can be thought of a little bit like an equation. It lets you do the same thing over and over again without having to write the exact same code every time.


Example, adding an item to the server requires a significant amount of code. you have to set values for every stat the item has (itemid, itemuid, plus, progress, bless, enchant, gem1, gem2, position, color and anything else), you gotta save it to the database, you have to spawn it to the character and you gotta control how that's all done...

You could re-write the entire code for that EVERY TIME you want to add an item to a player but that would be stupid. Using a void you write the code once and then just invoke that code whenever you want to create an item and you provide it with the details it needs to run its "equation".... and by equation i mean function.

(I know anyone who knows terminology or coding is going to cringe, I am well aware that they are not equations, I just figured it might be a way to explain it easier to people)


Now, here's the face void you needed.

Code:
public static void Face(int Face, ClientSocket CSocket)
        {
            CSocket.Send(ConquerPacket.NPCTalk(2544, Face, 255, 4));
        }
And since you will be asking, it goes in the bottom section of gameserver>handlers>npctalk.cs where all the other voids are (there won't be many if you are just starting out but they are most definitely there lol.

Hope that helps you out.
pro4never is offline  
Thanks
1 User
Old 11/12/2009, 22:40   #33
 
elite*gold: 0
Join Date: Jun 2008
Posts: 30
Received Thanks: 0
i got same error with Convert, Hasitem, DeleteItem and some other things :S
i'm unable to fix it :S
i tried to remplace names but it don't work
darkichou is offline  
Old 11/12/2009, 23:06   #34
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by darkichou View Post
i got same error with Convert, Hasitem, DeleteItem and some other things :S
i'm unable to fix it :S
i tried to remplace names but it don't work


That's because you don't have voids for convert, hasitem or delete item. You have to add them (I assume these are all from the thread "some needed things for CoEmu" or w/e the hell it's called?)


They have all the voids in the first post for the codes in there if I remember correctly.
pro4never is offline  
Old 12/03/2009, 00:39   #35
 
elite*gold: 0
Join Date: Nov 2009
Posts: 14
Received Thanks: 1
Hello i need help adding Nobilty & Mentor system

Hello i need help adding Nobilty and mentor system if you can help please reply back i need this as soon as possible if you help you will get rewared staff postion for as long as our server is on (FORVER) . Once someone helps me figure it out i will release on how to fix pk system most server have it but they arent correct so system wnt give pkps for killing someone.
JordanIsPsychotic is offline  
Old 12/03/2009, 08:31   #36
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
#Moved
Huseby is offline  
Old 12/04/2009, 03:12   #37
 
shadow8994's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 124
Received Thanks: 16
I need help i get this error public static byte[] NobleIcon(int CharID, ---->ClientSocket<---- CSocket)
shadow8994 is offline  
Old 01/24/2010, 11:48   #38
 
Pitylee's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 52
Received Thanks: 7
This is my error:

Error 1 'DimensionCO_v2_GameServer.Structs.Struct.ItemInfo ' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'DimensionCO_v2_GameServer.Structs.Struct.ItemInfo ' could be found (are you missing a using directive or an assembly reference?) C:\server\CoEmu v2 GameServer\PacketProcessor.cs 1917 139 CoEmu v2 GameServer

Where can I find the definition for Progress?
Pitylee is offline  
Old 01/24/2010, 16:04   #39
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
You have to define it yourself.

So basically the item structure you have to add progress to the list of values (follow the guide, it shows the main edits you have to make)

it's literally as simple as saying "int Progress" in the correct spots.
pro4never is offline  
Reply


Similar Threads Similar Threads
Official EuroCo Server Opening ( 5095 / CoEmu ( 100% Modified ) ( EUROPE SERVER )
03/13/2010 - CO2 PServer Archive - 11 Replies
First off The main TEAM: Me, Cutz & Yuki Website URL: EuroCo Name: EuroCo Version: 5095 - (5165( On Our US server release) ( Still Coemu Though )) Features: Allmost 100% Debugged Ranks Page Ninjas 100% ( Toixfog & Vortex Removed ( FOR GOOD )) All ip open server ( Unless problems with EGYPT araise ) Really friendly staff ... you hear this a lot but join the game
[REL] Official CoEmu v2's questions thread
11/11/2009 - CO2 Private Server - 45 Replies
Heya all ! I will try my best to keep this thread alive and monitored This is just preventing many threads asking for things. Please press thanks if i helped you. Bytes : Cya,



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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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