Register for your free account! | Forgot your password?

Go Back   elitepvpers > Aion > Aion Main - Discussions / Questions
You last visited: Today at 04:17

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

 

Simple Aion log parser problem/question

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2007
Posts: 6
Received Thanks: 2
Simple Aion log parser problem/question

Hi. I'm working on a simple log parser which works pretty well but I have a big problem. If I try to access the Chat.log while Aion is running the client crashes.
I'm using C# and a Streamreader to parse the file. Any ideas?



qwe2 is offline  
Old   #2
 
elite*gold: 0
Join Date: Oct 2010
Posts: 380
Received Thanks: 290
the problem is file access.
It is not possible that 2 programs access the same file at the same time.
If you had looked at the error message you'd have found out on your own.

To prevent that you can try to copy the log file, read it and then delete the copy.

Also I suggest you take a look at error handling, this is pretty important when dealing with IO in c# (and any other programming language).

Best regards,
Rajin


Nirasicho is offline  
Old   #3
 
elite*gold: 450
Join Date: Nov 2010
Posts: 219
Received Thanks: 250
Look at FileWatcher and Shared Access, this allows notification of new content and reading up to the new content. Pretty basic, just google it, or steal it from open source loggers (assuming they do this the same way).
Blastradius is offline  
Old   #4
 
elite*gold: 0
Join Date: Apr 2011
Posts: 358
Received Thanks: 9
eik i paieska ir rasyk as esu nubas.
Fiken is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Simple Question? As You can duplicate an item in aion?
I would like to know how to duplicate items as a server game where not all but many items seen lately eh eh even more 15 people walking in September...
2 Replies - Aion Main - Discussions / Questions
Just a simple question
Hello,i have a simple question. I just make a server with dyndns,but i dont know what IP i must put in navicat/fillezila/portmap. Here are my...
2 Replies - Metin2 PServer - Discussions / Questions
Simple Question Needs Simple Answer[If CR gone what bot we can use]
If CR is not free what BOT can we use in PH... Many players in Ph asking that question.... TY...
2 Replies - Cabal Main - Discussions / Questions



All times are GMT +2. The time now is 04:17.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.