Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 06:53

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

Advertisement



please need help in this code error "source 5156 NewestCOServer"

Discussion on please need help in this code error "source 5156 NewestCOServer" within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2006
Posts: 83
Received Thanks: 3
Exclamation please need help in this code error "source 5156 NewestCOServer"

hello guys i'm looking for help about this error in an 5156 source "NewestCOServer"
this the error i got ...
any hint please, thanks
Code:
System.IO.IOException: The process cannot access the file 'C:\Era_Conquer_database\Users\Characters\desil.chr' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
   at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
   at NewestCOServer.Database.SaveCharacter(Character C, String Acc) in c:\Era_Conquer\Era_Conquer_source\Database.cs:line 4120
traplx is offline  
Old 06/05/2018, 17:06   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
As the error says... it can't access a file because it's opened by another program...
How much more of a "hint" do you really need?
Spirited is offline  
Old 06/05/2018, 17:21   #3
 
elite*gold: 0
Join Date: Dec 2006
Posts: 83
Received Thanks: 3
Quote:
Originally Posted by Spirited View Post
As the error says... it can't access a file because it's opened by another program...
How much more of a "hint" do you really need?
i know that bro but the source not used by another thing what that mean !
traplx is offline  
Old 06/05/2018, 18:10   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by traplx View Post
i know that bro but the source not used by another thing what that mean !
Likely you terminated the program incorrectly or it's still running. Restart your computer? I see you're using an out of community source, so I guess it could always be a thread safety issue. In which case, adding a lock would fix it... But it's not optimal.
Spirited is offline  
Old 06/06/2018, 10:52   #5
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by Spirited View Post
Likely you terminated the program incorrectly or it's still running. Restart your computer? I see you're using an out of community source, so I guess it could always be a thread safety issue. In which case, adding a lock would fix it... But it's not optimal.
Or it's because the file handling does not dispose properly in the source, because it doesn't use using statements and/or exceptions happen and you don't have finally blocks where you manually dispose.

Overall the source it's trash and this is the least of the issues in the source.

@OP have fun trying to solve the concurrency / synchronization issues afterwards
Super Aids is offline  
Thanks
1 User
Old 06/06/2018, 17:17   #6
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by Super Aids View Post
Or it's because the file handling does not dispose properly in the source, because it doesn't use using statements and/or exceptions happen and you don't have finally blocks where you manually dispose.

Overall the source it's trash and this is the least of the issues in the source.

@OP have fun trying to solve the concurrency / synchronization issues afterwards
^ Much more likely.
Spirited is offline  
Old 06/06/2018, 17:20   #7
 
elite*gold: 0
Join Date: May 2018
Posts: 19
Received Thanks: 7
PM on private!
sNk|Tools is offline  
Old 06/06/2018, 21:24   #8
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by sNk|Tools View Post
PM on private!
For a reason. Not interested.
Keep the conversation public so others can pitch in.
Spirited is offline  
Reply


Similar Threads Similar Threads
WEAPONSCRIPT!!!!!!!!!!!!!!!!!!!!!!!!!HOT"""""""""" """""""""""""""""""""
08/06/2011 - WarRock Hacks, Bots, Cheats & Exploits - 7 Replies
detetected
PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE
06/21/2011 - Metin2 Private Server - 5 Replies
HELP WITH THIS PLEASE ON MY DEDICATED SERVER :-( http://www.youtube.com/watch?v=UyKOTLb960Q log_file_delete_old: stat: No such file or directory connect: Connection refused Timed out Connection refused



All times are GMT +1. The time now is 06:58.


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