Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 15:35

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

Advertisement



Need Help in coding. Just reed it.

Discussion on Need Help in coding. Just reed it. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
gery92's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 32
Received Thanks: 1
Need Help in coding. Just reed it.

Hello! I can code now .... But i don't know why all npc's say that what they say 'd & and give 'd , make 'd , and i coded them i don't know what is the problem ....... Nothing happen 's .I don't know it can be a problem if i use trial visual c# ? Or something other is the problem ? If you can hep just write please . Thank you very much
gery92 is offline  
Old 12/25/2009, 22:37   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
So lemme get this right.. You have an npc that you are using to create items based on text/information entered by players using input fields?

Input fields can be a tad tricky, you also have to ensure that you are converting them to the proper data type and saving them in variables. Then at the end of the npc code combine them into the create item code (assuming they are all valid obviously and you have inventory room)

I would just double check that your input fields are working properly (test them in a smaller application such as have an npc that allows you to enter a number and then the npc prints out what number you entered) and then after you get that working fully, check that the data types are converting properly and then once all of those stages are working I'd work on the actual item creation code.


Sorry if I completely misunderstood the question.

Ps: if you need examples on how to use the input field I'd suggest looking at how the guild creation npc or wh password npc is coded in your source. Took me a little while to figure them out the first time I used them also.
pro4never is offline  
Thanks
1 User
Old 12/26/2009, 17:49   #3
 
gery92's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 32
Received Thanks: 1
..

Quote:
Originally Posted by pro4never View Post
So lemme get this right.. You have an npc that you are using to create items based on text/information entered by players using input fields?

Input fields can be a tad tricky, you also have to ensure that you are converting them to the proper data type and saving them in variables. Then at the end of the npc code combine them into the create item code (assuming they are all valid obviously and you have inventory room)

I would just double check that your input fields are working properly (test them in a smaller application such as have an npc that allows you to enter a number and then the npc prints out what number you entered) and then after you get that working fully, check that the data types are converting properly and then once all of those stages are working I'd work on the actual item creation code.


Sorry if I completely misunderstood the question.

Ps: if you need examples on how to use the input field I'd suggest looking at how the guild creation npc or wh password npc is coded in your source. Took me a little while to figure them out the first time I used them also.
I use Oldcodb and that rikaidoupdtae thing and in that rikaidoupdate folder there ar some visual c# files . And there are NPCdialogs. I edited it and nothing happens .
gery92 is offline  
Old 12/26/2009, 23:32   #4
 
plasma-hand's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 442
Received Thanks: 105
@gery92
No offense or anything, but you did build the project right? Meaning it says build successful and there were no errors

@pro4never
How in the hell did you get anything out of the opening post....
plasma-hand is offline  
Reply


Similar Threads Similar Threads
[Exclusive]Fixed Source 5165 reed D:\OldCODB Rather than C:\OldCODB and more
12/07/2010 - CO2 PServer Guides & Releases - 48 Replies
this aFixed Source of Patch 5165 not ma work it's bk to Korolos I just make it reed D:\OldCODB Rather than C:\OldCODB Better in ? -Ninja 100 % Work -Steeds System 100 % Work -3rd Rebrith -4th Rebrith -New NPC 100 % work



All times are GMT +1. The time now is 15:37.


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.