|
You last visited: Today at 15:30
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.
05/31/2010, 00:54
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 22
Received Thanks: 10
|
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?
|
|
|
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.
|
|
|
05/31/2010, 03:09
|
#3
|
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
|
Quote:
Originally Posted by pro4never
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.
|
|
|
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.
|
|
|
05/31/2010, 20:59
|
#5
|
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
|
|
|
06/01/2010, 09:54
|
#6
|
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
|
|
|
06/01/2010, 10:02
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
and .csproj
|
|
|
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
|
|
|
06/02/2010, 14:58
|
#9
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by .Summer
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?
|
|
|
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.
|
|
|
 |
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.
|
|