Register for your free account! | Forgot your password?

You last visited: Today at 00:09

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

Advertisement



Who Own this Source?

Discussion on Who Own this Source? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 05/13/2014, 17:07   #16
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
Quote:
Originally Posted by fairytaleco View Post
Will i dont know where to start looking at that log in problem coz dont know so much about source.

that why i ask where to look for the log in problem coz i dont know much in source i do only know how to edit.
Start looking into your methods where login is initially handled. Then you'll see how the server is retrieving character data based on authentication data.
InsomniacPro is offline  
Old 05/13/2014, 17:18   #17
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
This Is what i Found? who do i code it right?

using System;
using System.IO;
using System.Text;

namespace Conquer_Online_Server.Network.AuthPackets
{
public class Authentication : Interfaces.IPacket
{
public string Username;
public string Password;
public string Server;
public void Deserialize(byte[] buffer)
{
if (buffer.Length == 240)
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);

ushort length = BR.ReadUInt16();
if (length == 240)
{
ushort type = BR.ReadUInt16();
if (type == 1124)
{
Username = Encoding.ASCII.GetString(BR.ReadBytes(16));
Username = Username.Replace("\0", "");
BR.ReadBytes(112);
Password = Encoding.ASCII.GetString(BR.ReadBytes(16));
BR.ReadBytes(112);
Server = Encoding.ASCII.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
}
}
BR.Close();
MS.Close();
}
}

public byte[] ToArray()
{
throw new NotImplementedException();
}
public void Send(Client.GameState client)
{
throw new NotImplementedException();
}
}
}
fairytaleco is offline  
Old 05/13/2014, 19:44   #18
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
Quote:
Originally Posted by fairytaleco View Post
This Is what i Found? who do i code it right?

using System;
using System.IO;
using System.Text;

namespace Conquer_Online_Server.Network.AuthPackets
{
public class Authentication : Interfaces.IPacket
{
public string Username;
public string Password;
public string Server;
public void Deserialize(byte[] buffer)
{
if (buffer.Length == 240)
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);

ushort length = BR.ReadUInt16();
if (length == 240)
{
ushort type = BR.ReadUInt16();
if (type == 1124)
{
Username = Encoding.ASCII.GetString(BR.ReadBytes(16));
Username = Username.Replace("\0", "");
BR.ReadBytes(112);
Password = Encoding.ASCII.GetString(BR.ReadBytes(16));
BR.ReadBytes(112);
Server = Encoding.ASCII.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
}
}
BR.Close();
MS.Close();
}
}

public byte[] ToArray()
{
throw new NotImplementedException();
}
public void Send(Client.GameState client)
{
throw new NotImplementedException();
}
}
}
After
Server = Server.Replace("\0", "");
Put
Environment.Exit(0);
InsomniacPro is offline  
Thanks
3 Users
Old 05/13/2014, 20:23   #19
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
That is a packet structure. I already gave you all the information you need to fix your problem.
Spirited is offline  
Old 05/14/2014, 08:43   #20
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
Lols nvm guys already fixe it with my own work and research you give me wrong idea its in the GameState.cs wrong code.

Anyway Guys One Last Question Where to Look for items drop coz i cant find it where to fixe the item drop i cant see it.
fairytaleco is offline  
Old 05/14/2014, 21:04   #21


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by fairytaleco View Post
Lols nvm guys already fixe it with my own work and research you give me wrong idea its in the GameState.cs wrong code.

Anyway Guys One Last Question Where to Look for items drop coz i cant find it where to fixe the item drop i cant see it.
With that attitude? Let me give you a hint : search for "item".
KraHen is offline  
Old 05/15/2014, 07:31   #22
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
Sorry For My attitude. I know it in the packethandle.cs but the problem is i dont know what public should i look at it so many code.

Any way Thank for the help and clue you give me, by the way i get the problem the item when the monster drop Dragonball or any items when i pick it up still the item where the place drop it still in there.
fairytaleco is offline  
Reply


Similar Threads Similar Threads
Sell Source Binary v3.5, The Strongest Source in the world of private server
03/20/2011 - Conquer Online 2 Trading - 3 Replies
http://i797.photobucket.com/albums/yy253/aymanelkb er/vmwvhk.gif Wolves Private Server http://www.monsterup.com/upload/1258602276638.jpg Some Info About Source 2- Full Transalite 100% 3- Reborn ( 1 , 2 , 3 , 4) With Ninja Full work 100% 4- Plus ( +1 To +20 )
[WTS] Steam ACC - Counter Strike Source, Day of Defeat: Source und Half-Life 2: Death
12/12/2010 - Counter-Strike Trading - 1 Replies
Delete.
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat! 127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...



All times are GMT +1. The time now is 00:09.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.