[HELP]Coding In C#

02/03/2009 00:12 Rofa300#1
Ok guys , when i try to Edit My .cs Files it just Dont take any Effect On the game or the Console
PS : am Using DementedCo based On Black&WhiteCo Source
.... look what i mean ;
that is the Code in general.cs
Code:
public unsafe General()
        {
            try
            {
                Console.Title = "DarknessCo";
                Ini Config = new Ini(System.Windows.Forms.Application.StartupPath + @"\Config.ini");
                ServerIP = Config.ReadValue("Server", "ServerIP");
                string DBUserName = Config
                    .ReadValue("Server", "DBUserName");
Notice that it is Written DarknessCo.
Now C this Pic
[Only registered and activated users can see links. Click Here To Register...]

it Still says DementedCo

So any Advices ? , Specially u Hybrid
02/03/2009 00:26 Beta Limit#2
open up the file with the extension .csproj then click on build then try again.

Should do it. Saving isnt enought u must build new codes into the .exe

EDIT: And the error your getting is to do with guild - go to database and delete all guilds
02/03/2009 01:17 PeTe Ninja#3
if your editing with notepad... then wrong choice

download C# 2008 Express Edition at microsoft for free

then open the .csproj ( coserverproject.csproj ) ( just like beta said )

change what you want to change,

press F6 to build

F5 To run

and also like beta said delete the guilds, that error comes up most times when someone ( a GM ) donating too much money that its saying its got - donations
02/03/2009 02:19 Rofa300#4
Thx Guys For the Tip , it Worked :handsdown:
02/03/2009 02:30 PeTe Ninja#5
np goodluck with your server
02/05/2009 19:39 Rofa300#6
Quote:
Originally Posted by Beta Limit View Post

EDIT: And the error your getting is to do with guild - go to database and delete all guilds
can u Clarify more what to Delete ?
02/05/2009 20:01 PeTe Ninja#7
Well if your using localhost/phpmyadmin

go to coproj

and follow what the mouse does lol


1st step , deleting the guilds....( make sure no one has a guild )


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


2. click ok lol

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





PRESS THANKS IFTHIS HELPED!
02/06/2009 05:05 Rofa300#8
@PeTe Ninja : u r a very helpful guy , Chears
soo , if i had any more problems shall i ask u ? it is ok if u do mind
02/06/2009 12:33 PeTe Ninja#9
yep just ask me :D
02/06/2009 15:12 _Emme_#10
Even though Pete isnt a star at coding ( no offence ) hes the most helpful by far when he can help. Thank you pete, and keep your good attitude.
02/06/2009 21:31 PeTe Ninja#11
Yipee!!! tHX :D