Register for your free account! | Forgot your password?

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

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

Advertisement



I think I'm wrong saving in Visual C #

Discussion on I think I'm wrong saving in Visual C # within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
verdito99's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 22
Received Thanks: 10
Exclamation I think I'm wrong saving in Visual C #

NPCDialog.cs open (for example) and change something. So I save and close. (I saved by using Ctrl + S). I the New CO Server and reopen. And when I open the server, the NPC has changed nothing. What i need to do to save correctly?
verdito99 is offline  
Old 05/31/2010, 01:27   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
saving does nothing... You need to debug it in order to re-build the .exe files.


The project file and the .cs files it loads are all your source code that controls the server. You cannot simply run those though (without using a compiler obviously, I just mean in general). You have to use a program to build them into a .exe file that you can click and run. To do that press f5 in your project and it will debug (and load) the server. you can then open the bin/debug folder to find the .exe and run it.
pro4never is offline  
Old 05/31/2010, 03:09   #3
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
Quote:
Originally Posted by pro4never View Post
saving does nothing... You need to debug it in order to re-build the .exe files.


The project file and the .cs files it loads are all your source code that controls the server. You cannot simply run those though (without using a compiler obviously, I just mean in general). You have to use a program to build them into a .exe file that you can click and run. To do that press f5 in your project and it will debug (and load) the server. you can then open the bin/debug folder to find the .exe and run it.
You made something so simple so confusing.

@OP: You aren't building your project. Go to Build > Build Solution OR hit "F6"... then run the server.

You hit F5 (or Debug > Start Debugging) when you want to debug it within Visual Studios to find errors.
LetterX is offline  
Old 05/31/2010, 08:14   #4
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Writing code does nothing.
You have to COMPILE that code into machine language, so you get the .exe you see.
So just saving the code does nothing. You would have to recompile the project.
kinshi88 is offline  
Old 05/31/2010, 20:59   #5
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
To clarify this to rebuild the project hit F6 and that will rebuild the project
.Beatz is offline  
Old 06/01/2010, 09:54   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Make sure you open the project file, not a single .cs file, project files have the extension .sln
Korvacs is offline  
Old 06/01/2010, 10:02   #7
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
and .csproj
Arcо is offline  
Old 06/02/2010, 04:14   #8
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
why not just say:
1. press F6
2. press F5
3. Eat a cookie

#EDITED
.Summer is offline  
Old 06/02/2010, 14:58   #9


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by .Summer View Post
why not just say:
1. press F6
2. press F7
3. Eat a cookie
So your suggesting to:

1. Build the source (good suggestion if the user opens the project file)

2. F7 is the shortcut for View->Code, useless suggestion.

3. Eat a cookie...

Why not just not post?
Korvacs is offline  
Thanks
3 Users
Old 06/02/2010, 15:17   #10
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
ops, i menat F5 and not F7 LMAO.
I will change, thansk for notice korvacs.
.Summer is offline  
Reply


Similar Threads Similar Threads
Visual C++ (C++), Visual Basic, oder AutoIT?
06/24/2010 - .NET Languages - 11 Replies
Hallo Zusammen Ich würde gerne mit dem Programmieren anfangen. Meine Vorstellungen: Es müsste möglich sein, eigene Programme zu schreiben wie z. B. MSN, Emule oder ähnliches. Natürlich nie in dieser Grösse nur als Beispiel. Als weiteres sollte mit der gleichen Programmiersprache auch die Möglichkeit bestehen einen WoW Bot zu schreiben. Habe gehört die meisten Bots sind in Auto IT geschrieben. Gibt es unterschiede wegen des Warden schutzes oder kommt es nicht darauf an?
saving
06/05/2010 - CO2 Private Server - 10 Replies
When im changing the status of a player ex. normal to PM. Then they only got it untill they logoff. But how can I save it? I tried alot things now, anyone got a clue for it? I tried put save in Character save etc. But didnt work. Is for Tanels source.
help saving
06/24/2009 - EO PServer Hosting - 4 Replies
for some reason when i set my compose rate high just to mess around everytime i logg off it drops alot of the stars i just got off ... any1 know what if its a save problem or what is it?



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


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.