Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 18:01

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

Advertisement



Server Login Time&Date

Discussion on Server Login Time&Date within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 2
Received Thanks: 0
Server Login Time&Date

is there a way to make a console tell me the time and date some1 logged in when they login ?if so could u give me the code and tell me where to put it or change thnx
sk8tergurl is offline  
Old 03/16/2011, 12:50   #2
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
Quote:
Originally Posted by sk8tergurl View Post
is there a way to make a console tell me the time and date some1 logged in when they login ?if so could u give me the code and tell me where to put it or change thnx
Initialize a timedate variable to the current time. Display it along with Console.Writeline with their character name when they log in.

That's if your source is using C#.
Lateralus is offline  
Old 03/16/2011, 14:35   #3
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by Lateralus View Post
Initialize a timedate variable to the current time. Display it along with Console.Writeline with their character name when they log in.

That's if your source is using C#.
Based on thread starter's post count, i do not believe that he is asking for algorithm. Given the level of simplicity of the problem, my perception of this request is that "I downloaded a server source and got it set up like the way code publisher has described. Now I would like to make it easier to manage, that is I need a program to record who has logged in at a given time so that me being the GM can feel a bit more useful. Either you gimme progLam or show me EXACTLY where in my source code i need to insert YOUR codes to make MY server work the way I wanted"
shitboi is offline  
Old 03/16/2011, 20:15   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
That's... not an algorithm...

Console.WriteLine(DateTime.Now());

that's all you need to do when they logged in.


Or more likely...

Console.WriteLine(GC.MyChar.Name +" Logging in at: " + DateTime.Now.ToString());

Something more along those lines would be what I'd use but w/e

(tbh I forget if tostring is needed in this case but better safe then sorry on my part)

Note: you'd be wanting this in with your character login packet handling (1052 iirc? if not 1055, I always mix up those ids aaahah) or just search like ANSWER_OK
pro4never is offline  
Old 03/17/2011, 01:09   #5
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Well, the way i took lateralus' reply was that

1. get current time
2. print current time together with user/char info.

I saw them as pseudo codes more than actual code. Well, in any case, i was into the idea that the thread starter wants an implementation of a solution than just a solution itself.
shitboi is offline  
Reply


Similar Threads Similar Threads
multiclient for 5180 with date and time anyone ?
11/09/2009 - Conquer Online 2 - 2 Replies
can someone tell me if there is one available ? i downloaded few all are bad no time no date.
[Question] How do you edit the server date and time in 5065 Binaries?
09/26/2009 - CO2 Private Server - 6 Replies
How do you edit the server time/date in binaries?
How To Add Date & Time in server Patch 5065
08/09/2009 - CO2 Private Server - 2 Replies
Guys i wanna little help i made my P-Server and i just started it from 3 days and fixed lot of bugs but till now i can't make the time and date appear inside the server i hope anyone have a solution
Multiclient with Time and date?
04/01/2009 - Conquer Online 2 - 0 Replies
Anyone know to create a multiclient with time and date? I use Hex Editor Neo, XVi32 for editing my conquer.exe Thanks~



All times are GMT +2. The time now is 18:01.


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