VaultNetwork.net Vault Network Boards
Author Topic: QuestTimer Run-time error '70' - Permission denied [Locked]
ValidusMT
Posts: 2
Registered:
Just wanted to post my findings on this error, which I run into frequently, and offer my help testing the fix in the released plugin.


While running dual client + QuestTimer, I often run into this error when picking up colo tokens on multiple accounts. Once you see this error, QuestTimer stops working in the session & you must completely reload the client. (If you just relog, the plugin is no longer available in the Decal bar.)


After a bit of digging, I found that this is happening because there is contention for the errors.txt file between QuestTimer plugin instances. Most often, QuestTimer is simply trying to write a line into its error log saying that the quests file was modified outside this session because of dual logging. If one instance cannot write this because the other instance is writing it, then the error will hit.


The solution to this needs to be done in code, I think, unless anyone has found a different reasonable workaround... Just add an error handler to the error logging function. I tried that and it worked OK for me.
yaroz_vn  4 stars
Posts: 1,225
Registered: 2002-6-30 20:08:11
you are correct.

 

-----signature-----
Proud member of The Knights of Fortune
Mr Adventure - Lil' Pew - Da Noob - Qar
Yaroz - Yanno
http://www.fortunesway.com
Digero  3 stars
Posts: 580
Registered: 2002-10-21 23:55:01
Does this happen if you wait >10 seconds between completing the quest on each character? Quest Timer checks every 10 seconds to see if another client has modified the file and reloads it if so. The error message (that it's failing to log) is telling you that the changes to the quests file made in the other client will be lost because it wasn't reloaded in the current client before modifying it. So even if you fix the crash, you'll still be losing quest info for the character that completed it first. If you're making changes to the code, you could increase the timer tm10's frequency to be every second instead of 10 seconds.

 

-----signature-----
[LotRO] Digero (Guardian), Digrim (Burglar), Dignite (LM), Azrea (Hunter) - Landroval
[AC] Digero, Lyera, Draxxe - Leafcull (Retired)
[CoH] Devil's Zealot, Scinta, Izzard - Guardian (Retired)
Digero's AC Decal Plugins: http://decal.acasylum.com

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.