|
You last visited: Today at 00:31
Advertisement
Guide/Release: Conquer Server (CoFuture) Using MySql!
Discussion on Guide/Release: Conquer Server (CoFuture) Using MySql! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
12/15/2007, 04:11
|
#196
|
elite*gold: 0
Join Date: Apr 2006
Posts: 55
Received Thanks: 12
|
For all the noobs out there, I created a new NPC Dialog function for adding a level. Next I will be making a remove item command. What im talking about is for instance through the txt file that you write npcs. Like CheckMoney=0=100 i implemented level=1 so basically you could use this for what ever. For instance you can make a npc take 5 dbs and add 1 level etc this is just a simple add to the code i will update as i make it more sophist acted, right now it basically reads to see if your over 130 if you are it does nothing, I will update this in a bit so that it says through the system were sorry you are 130. if you arent over 130, it will add what ever you set level= in your npc txt file to your current level.
if (CurrentLine.StartsWith("level") == true)
{
string[] ItemCmd = Command[1].Split(' ');
if (Client.Char.Level == 130)
{
break;
}
else
{
Client.Char.Level = Client.Char.Level + Convert.ToInt32(ItemCmd[0]);
Client.SendData(CPacket.Status(Client.Char, 1, Client.Char.Level, StatusTypes.Level));
Client.SendData(CPacket.GeneralData(Client.Char.Ch arID, 0, 0, 0, DataType.Leveled));
Spawn.UpdateLocal(Client, CPacket.GeneralData(Client.Char.CharID, 0, 0, 0, DataType.Leveled));
}
}
Add that into the are where all the other ones are in the Npcs.cs. If you cant figure it out don't even try to make a server.
|
|
|
12/15/2007, 23:16
|
#197
|
elite*gold: 0
Join Date: Jan 2006
Posts: 125
Received Thanks: 2
|
Hi I don't have the internet to download Microsoft Visual Studio 5.0 C# just to compile my database so my server will run.. Could someone please compile for me? Here is my info:
Username: root
Pass : silverstate
database name : conquer_server
|
|
|
12/16/2007, 13:18
|
#198
|
elite*gold: 0
Join Date: Dec 2007
Posts: 8
Received Thanks: 0
|
I have everything done and ready to log on, but when I go to log on it gives me two messeges. If I dont put a password in it says wrong password. If I do put one in it says my server.dat file failed to open or is corrupt. How can I fix this? And where in the db is the encrypted password?
|
|
|
12/16/2007, 14:17
|
#199
|
elite*gold: 0
Join Date: Oct 2005
Posts: 46
Received Thanks: 0
|
it is cuase you are using a newer client than what your server is using the sever.dat is currupt down load qconquer and install the first patch when it goes to try to update again hit alt-f4 and it will stop it for you then go back in edit the sever.dat to the ip you need and your in
|
|
|
12/16/2007, 14:57
|
#200
|
elite*gold: 0
Join Date: Dec 2007
Posts: 9
Received Thanks: 0
|
Where i can find 4348 cuz if i download from ConquerOnline is 4357 :|?
|
|
|
12/16/2007, 17:38
|
#201
|
elite*gold: 0
Join Date: Jun 2006
Posts: 14
Received Thanks: 0
|
here you can download co2 version 4343
just roll down and find which Co2 version you need and what patch you need to download!
|
|
|
12/16/2007, 20:33
|
#202
|
elite*gold: 0
Join Date: Jun 2006
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by babyloveG
I have everything done and ready to log on, but when I go to log on it gives me two messeges. If I dont put a password in it says wrong password. If I do put one in it says my server.dat file failed to open or is corrupt. How can I fix this? And where in the db is the encrypted password?
|
for wrong password error!
put server.dat info exactly like dadabase info
that mean
Server1=Qonquer = exactly like Database servername Qonquer
Ip1=69.41.179.99 = exactly like Database IP 69.41.179.99
Port1=9958 = exactly like Database Port 9958
ServerName1=Qonquer = exactly like Database servername Qonquer
all entries in database and server.dat need to be exactly the same!!!
|
|
|
12/16/2007, 20:48
|
#203
|
elite*gold: 0
Join Date: Dec 2007
Posts: 8
Received Thanks: 0
|
Ok now i am getting a error on line 317 of start.cs file and this is what the error says...
"Auth Packet:Auth Request
System.NullReferenceException: Object reference not set to an instance of an object.
at COServer.Start.Game_FirstDataArrived<Object sender, DataArgs e> in C:\Program Files\Conquer2.0\CoFuture_Release\Server\Start.cs: line 317"
And this is what line 317 in start.cs says...
COClient Cli = ((AuthRequest.AuthBinder)GameClients[e.Conn]).Client;
string User = Cli.Account + ":" + Cli.Char.Name;
ClientList.Items.Add(User);
is this what it is suppose to look like?
but when i get this error i can still log in but my character is invisible and i cant move so i dont know whats going on i probly sound stupid but i would appreciate some help thx
|
|
|
12/17/2007, 07:45
|
#204
|
elite*gold: 0
Join Date: Jun 2006
Posts: 14
Received Thanks: 0
|
babyloveG try this one tuturial!
(quote by master15)
I know how to fix it
extrat and include in the project my attachment
goto AuthPacketsIncomming folder and Open AuthRequest
goto line 121 and replace this Line
Quote:
|
Start.Auth.SyncSendData(CPacket.KeyResponse(Server IP, Key1, Key2, Port), ClientData.Conn);
|
for this
Quote:
|
Start.Auth.SyncSendData(NPacket.AuthResponse(Serve rIP, Key1, Key2), ClientData.Conn);
|
and goto Start.cs and right click and select "View Code
goto line 30
replace
Quote:
|
private const int AUTHPORT = 9960;
|
for
Quote:
|
private const int AUTHPORT = 9958;
|
and goto line 42
replace
Quote:
|
public const int GAMEPORT = 9958;
|
for
Quote:
|
public const int GAMEPORT = 5816;
|
download this file and copy that file in server files!
wait! include in project that npacket file you download, by presing on .project file and right sidebar found that file and then right mouse click and choose Include file in project and after then click rebuild project!
|
|
|
12/17/2007, 16:18
|
#205
|
elite*gold: 0
Join Date: Dec 2007
Posts: 8
Received Thanks: 0
|
What am I missing? The errors are gone but i still cant move or see my character.
|
|
|
12/17/2007, 16:47
|
#206
|
elite*gold: 0
Join Date: Dec 2007
Posts: 7
Received Thanks: 0
|
when i try to put the cofuture file in visual c# i get this error:
and if i just click open file already inside visual c# i dont have the 'build' choice
..
can someone please help me out cuz i dont have a clue about how to fix this
maybe downloading visual c# 2005 but that takes time to download so i first ask it here
thanks for helping me if you did
|
|
|
12/18/2007, 00:09
|
#207
|
elite*gold: 0
Join Date: Dec 2007
Posts: 9
Received Thanks: 0
|
plzzz help me i getting mad!
I have do all what is write in this guide...i have try all things that can be done and i can't...Look at this plz:

btw Database.cs is configured...
 
Edit: I have read every page (lol) and i have see that peopels that get this thing complie works...can anybody compile for me?
Username: root
Password: spikedhumor25
|
|
|
12/18/2007, 03:02
|
#208
|
elite*gold: 0
Join Date: Dec 2007
Posts: 8
Received Thanks: 0
|
ok so i have everything working and the npc's are fine so now i need to know how to do weapon prof and skills and add monsters can anyone help me out or show me a link to a website that explains it thank you
|
|
|
12/18/2007, 09:42
|
#209
|
elite*gold: 0
Join Date: Jun 2006
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by xteutzu
I have do all what is write in this guide...i have try all things that can be done and i can't...Look at this plz:

btw Database.cs is configured...
 
Edit: I have read every page (lol) and i have see that peopels that get this thing complie works...can anybody compile for me?
Username: root
Password: spikedhumor25
|
in database - String UserName need to be --> root
if only you are change it!  but default username is root
|
|
|
12/18/2007, 10:09
|
#210
|
elite*gold: 0
Join Date: Jun 2006
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by babyloveG
ok so i have everything working and the npc's are fine so now i need to know how to do weapon prof and skills and add monsters can anyone help me out or show me a link to a website that explains it thank you
|
what Co client version you use?
|
|
|
 |
|
Similar Threads
|
[Guide]cofuture source
06/11/2011 - CO2 PServer Guides & Releases - 91 Replies
hi guys am new here and i hope stay here for long time
------------
i make this guide Couz i found alot pll cant work with cofuture source
---------------
Coder source:future <<<Thanks to hime 1st
helping me:haydeZ<<<<Thanks to hime 2nd
---------------------------------------
What we are need?
1:cofuture source>>>Download Here
2:AppServ(MySQL, Apache, and PhpMyAdmin all in one)>>>>AppServNetwork
|
[Request]Conquer Server (CoFuture) Using MySql
06/25/2008 - Conquer Online 2 - 2 Replies
hey I want to get the Conquer Server (CoFuture) Using MySql Source but all links down Can someone add it on rapidshare? or other Site?
thank you if you up it in a site
ps:sorry for my bad english :)
|
Need help Guide/Release: Conquer Server (CoFuture) Using MySql!
05/28/2008 - Conquer Online 2 - 1 Replies
Hello i tryed that Guide/Release: Conquer Server (CoFuture) Using MySql!
But it don't work i can't do that phpmyadmin think anyone can help me the language is german but i wanted to change it to english but idk how.
If anyone got Teamviewer or somethink like that would be nice
greetz
|
All times are GMT +1. The time now is 00:32.
|
|