Author Topic: QuestTimer Run-time error '70' - Permission denied
ValidusMT 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: QuestTimer Run-time error '70' - Permission denied
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.

 

-----signature-----
Link to this post
yaroz_vn 
Posts: 12,255
Registered: Jun 30, '02
Extended Info (if available)
Real Post Cnt: 12,168
User ID: 693,371
Subject: QuestTimer Run-time error '70' - Permission denied
you are correct.

 

-----signature-----
Proud member of The Knights of Fortune
Mr Adventure - Lil' Pew - Da Noob - Qar
Yaroz - Yanno
http://www.fortunesway.com
Link to this post
Digero 
Posts: 7,435
Registered: Oct 21, '02
Extended Info (if available)
Real Post Cnt: 7,359
User ID: 729,875
Subject: QuestTimer Run-time error '70' - Permission denied
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
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP