You last visited: Today at 17:14
Advertisement
[(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code
Discussion on [(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
05/28/2009, 02:17
#346
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
Quote:
Originally Posted by
scottdavey
It was because i was using a low grade mysql version, its fixed.
PS. Message for andy, has this ever froze for you with several players?
No.
Had ~100 people on, would be greatly more than that, but like I said, a few days is nothing.
05/28/2009, 02:20
#347
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Quote:
Originally Posted by
andyd123
No.
Had ~100 people on, would be greatly more than that, but like I said, a few days is nothing.
I got all works ... but i can't open ports on SpeedTouch router ..
05/28/2009, 02:42
#348
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
I noticed it doesn't save cps, here's cps saving for noobs or people that want to save time.
Code:
public static void SaveCharacter(Character Client)
{
MySqlCommand Cmd = new MySqlCommand("UPDATE `characters` SET `Level` = " + Client.Level + ", `WHMoney` = " + Client.WHMoney + ", `PkPoints` = " + Client.PkPoints + ", `xCord` = " + Client.X + ", `yCord` = " + Client.Y + ", `Map` = " + (int)Client.Map + ", `HairStyle` = " + Client.Hair + ", `Class` = " + (int)Client.Class + ", `Exp` = " + Client.Exp + ", `Money` = " + Client.Money + ", `CPoints` = " + Client.CPs + ", `Str` = " + Client.Strength + ",`Vit` = " + Client.Vitality + ", `Spi` = " + Client.Spirit + ", `Dex` = " + Client.Dexterity + ", `StatPoints` = " + Client.StatPoints + ", `FirstLog` = " + 1 + ", `Reborn` = " + Client.Reborn + ", `HP` = " + Client.CurrentHP + ", `MP` = " + Client.CurrentMP + " WHERE `CharID` = " + Client.ID, DatabaseConnection.NewConnection());
Cmd.ExecuteNonQuery();
Cmd.Connection.Close();
Cmd.Connection.Dispose();
Cmd.Dispose();
}
Great source btw.
[ code] is making indentation look terrible lol.
05/28/2009, 05:11
#349
elite*gold: 0
Join Date: May 2008
Posts: 65
Received Thanks: 5
How to fix the freeze problem?
05/28/2009, 05:41
#350
elite*gold: 0
Join Date: Dec 2008
Posts: 76
Received Thanks: 3
Quote:
Originally Posted by
scottdavey
I noticed it doesn't save cps, here's cps saving for noobs or people that want to save time.
Code:
public static void SaveCharacter(Character Client)
{
MySqlCommand Cmd = new MySqlCommand("UPDATE `characters` SET `Level` = " + Client.Level + ", `WHMoney` = " + Client.WHMoney + ", `PkPoints` = " + Client.PkPoints + ", `xCord` = " + Client.X + ", `yCord` = " + Client.Y + ", `Map` = " + (int)Client.Map + ", `HairStyle` = " + Client.Hair + ", `Class` = " + (int)Client.Class + ", `Exp` = " + Client.Exp + ", `Money` = " + Client.Money + ", `CPoints` = " + Client.CPs + ", `Str` = " + Client.Strength + ",`Vit` = " + Client.Vitality + ", `Spi` = " + Client.Spirit + ", `Dex` = " + Client.Dexterity + ", `StatPoints` = " + Client.StatPoints + ", `FirstLog` = " + 1 + ", `Reborn` = " + Client.Reborn + ", `HP` = " + Client.CurrentHP + ", `MP` = " + Client.CurrentMP + " WHERE `CharID` = " + Client.ID, DatabaseConnection.NewConnection());
Cmd.ExecuteNonQuery();
Cmd.Connection.Close();
Cmd.Connection.Dispose();
Cmd.Dispose();
}
Great source btw.
[ code] is making indentation look terrible lol.
sorry,dude
i gonna flame you cause i still learning coding, where i should be put this?!!
05/28/2009, 06:06
#351
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
thx all
but how make register page?help pls
05/28/2009, 06:15
#352
elite*gold: 0
Join Date: Jan 2009
Posts: 425
Received Thanks: 424
Quote:
Originally Posted by
HooliGan73
sorry,dude
i gonna flame you cause i still learning coding, where i should be put this?!!
Database
Database.cs
05/28/2009, 06:18
#353
elite*gold: 0
Join Date: Aug 2006
Posts: 82
Received Thanks: 7
anyone can help me somehow.? how can i put hamachi ip to server.dat? thanks in advance
05/28/2009, 06:43
#354
elite*gold: 0
Join Date: Jan 2009
Posts: 425
Received Thanks: 424
For Who Ask About Hair Style
Example: /hair 440
05/28/2009, 15:24
#355
elite*gold: 0
Join Date: Jun 2008
Posts: 13
Received Thanks: 0
in game server i got this error
line 34
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'; Min Pool Size = 300; Max Pool Size = 900");
C.Open();
}
catch(Exception e)
},<---- this is the line 34
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
at login server i got this error
MySql.Data.MySqlClient.MySqlException:acess denied for user 'coemuorg'@'localhost
line 30
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
C.Open(); <---- line 30
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
05/28/2009, 15:30
#356
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by
scottdavey
I noticed it doesn't save cps, here's cps saving for noobs or people that want to save time.
Code:
public static void SaveCharacter(Character Client)
{
MySqlCommand Cmd = new MySqlCommand("UPDATE `characters` SET `Level` = " + Client.Level + ", `WHMoney` = " + Client.WHMoney + ", `PkPoints` = " + Client.PkPoints + ", `xCord` = " + Client.X + ", `yCord` = " + Client.Y + ", `Map` = " + (int)Client.Map + ", `HairStyle` = " + Client.Hair + ", `Class` = " + (int)Client.Class + ", `Exp` = " + Client.Exp + ", `Money` = " + Client.Money + ", `CPoints` = " + Client.CPs + ", `Str` = " + Client.Strength + ",`Vit` = " + Client.Vitality + ", `Spi` = " + Client.Spirit + ", `Dex` = " + Client.Dexterity + ", `StatPoints` = " + Client.StatPoints + ", `FirstLog` = " + 1 + ", `Reborn` = " + Client.Reborn + ", `HP` = " + Client.CurrentHP + ", `MP` = " + Client.CurrentMP + " WHERE `CharID` = " + Client.ID, DatabaseConnection.NewConnection());
Cmd.ExecuteNonQuery();
Cmd.Connection.Close();
Cmd.Connection.Dispose();
Cmd.Dispose();
}
Great source btw.
[ code] is making indentation look terrible lol.
Already posted some pages back.
05/28/2009, 17:11
#357
elite*gold: 0
Join Date: Nov 2006
Posts: 81
Received Thanks: 25
I guess I could be kind enough to add my crappy register page to this thread.
(Yes I know its horrible, but I guess if your retarded, you could use it)
Only registers an accountname, nothing fancy.
Obviously set up create.php
and edit the servername in 5095.html
Attached Files
CoEmu Reg.rar
(785 Bytes, 92 views)
05/28/2009, 18:07
#358
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Quote:
Originally Posted by
Zimbolt
I guess I could be kind enough to add my crappy register page to this thread.
(Yes I know its horrible, but I guess if your retarded, you could use it)
Only registers an accountname, nothing fancy.
Obviously set up create.php
and edit the servername in 5095.html
nice .. but i will make one better when i connect to the game ...
05/28/2009, 18:39
#359
elite*gold: 0
Join Date: Mar 2008
Posts: 419
Received Thanks: 49
Hey everyone ,
How i can delete GuardRevivers in twinCity,CoEmuGuard To normal guard name,How to work ToxicFog Skill , i want Per kill for 25 Cps in your inventory.
How i can make my wish project.
05/28/2009, 19:00
#360
elite*gold: 0
Join Date: Nov 2008
Posts: 25
Received Thanks: 1
well i got probs here.. can contact me at
to ask you ma'am?
Similar Threads
CoEmuv2.Nano(5095) Problem help pls
06/07/2017 - CO2 Private Server - 14 Replies
I Have a Problem Can help my pls
http://www.imgbox.de/users/public/images/w31636w1 19.jpg
All times are GMT +1. The time now is 17:16 .