Bug - Edit Character not working
A character generator for 4th edition Earthdawn
Status: Alpha
Brought to you by:
tolker
Running version 0.13. The new startup screen looks great. I like being able to see multiple characters, compare stats, etc. The option to edit these characters however, is not working on my machine. When I right-click on a character and choose 'Edit Character', nothing happens. No error, no message, just no action that is noticeable. The same lack of action when double-clicking on a character (row).
As a workaround, I have been choosing new character, filling out the initial screen, then choosing File-Open from the secondary (old) tool window and opening the character from there.
Thats interesting. I uploaded a new version. When you open the main window can you click on the window then click Control-Alt-l twice? The first time you should see a debug menu created and the second time you should see a window popup.
When you click a character, then right click, then select 'edit character' can you see what prints out to the debug window?
Thanks!
I downloaded the current version and it does not appear to be functional. When I open it the character list is empty (though I copied the files in like on the other version). Ctrl-Alt-I has no noticeable effect. Also if I click Manage Data it says "Invalid talent option 'Acrobatic Defense'..." and then continues to say that for as many talents as I have clicked through, maybe ten. Also, if you try to create a new character it opens the secondary window, but doesn't bring up the starting dialog where you set options.
Kelly,
Sounds like some of the custom data is corrupted. I added a version 0.15 that has some extra debug statements.
If the Ctrl-Alt-l option add the debug menu & the second time clicking it doesn't open the debug window, then you can you go to c:/users/{your login}/AppData/Roaming/TheAdept/logs/debug.txt to find the log file. This file is restarted every time the tool is started.
Can you try removing or renaming the files in c:/users/{your login}/AppData/Roaming/TheAdept/user/ This will remove custom changes that override the official data that comes with the tool.
Thanks!
Tim
Okay, so first the debug.txt from the last time I run with the first debug version starts with
9464(1) 2015/08/13 23:46:42 : Init Browser GUI
9464(1) 2015/08/13 23:46:42 : Browser GUI Started
9464(1) 2015/08/13 23:46:42 : Load Configuration Files
9464(1) 2015/08/13 23:46:42 : load help - H:/Personal/RPG/DEBUGT~1/Adept/user/eng_help.txt
9464(1) 2015/08/13 23:46:42 : load prefs - C:\Users\kelly.logan\AppData\Roaming\TheAdept\prefs.txt
9464(1) 2015/08/13 23:46:42 err: Error - Source:MainWindow=HASH(0x4b015c4)
9464(1) 2015/08/13 23:46:42 err: Reason:Can't use string ("0") as a HASH ref while "strict refs" in use at H:/Personal/RPG/DEBUGT~1/Adept/lib/std/cavaexecscript/adept.pl line 2191.
9464(1) 2015/08/13 23:46:42 err: Trace : 1) Tk::After::once at <Packaged Modules="">/Tk::After line 90
9464(1) 2015/08/13 23:46:42 err: 2) [once,[{},after#30,100,once,[\&main::gui_active_browser]]]
9464(1) 2015/08/13 23:46:42 err: 3) ("after" script)
9464(1) 2015/08/13 23:46:42 err:
9464(1) 2015/08/13 23:46:45 : <main> Manage Input
After this it starts the popup errors for Invalid talent options.
I moved the custom data fileds into a separate directory, downloaded the latest version and put that in a new directory to test with. Ran the extraction, ran the tool with none of the data files in the program directory. Started up, no errors. Tried choosing New Character, got the same response as the last version, it opened the single character window but didn't open the Options dialog to choose race and discipline. Here's what debug.txt said at this point
11596(1) 2015/08/16 18:59:15 : Init Browser GUI
11596(1) 2015/08/16 18:59:15 : Browser GUI Started
11596(1) 2015/08/16 18:59:15 : Load Configuration Files
11596(1) 2015/08/16 18:59:15 : load help - H:/Personal/RPG/DEBUGT~1/Adept/user/eng_help.txt
11596(1) 2015/08/16 18:59:15 : load prefs - C:\Users\kelly.logan\AppData\Roaming\TheAdept\prefs.txt
11596(1) 2015/08/16 18:59:15 err: Error - Source:MainWindow=HASH(0x4b7a13c)
11596(1) 2015/08/16 18:59:15 err: Reason:Can't use string ("0") as a HASH ref while "strict refs" in use at H:/Personal/RPG/DEBUGT~1/Adept/lib/std/cavaexecscript/adept.pl line 2266.
11596(1) 2015/08/16 18:59:15 err: Trace : 1) Tk::After::once at <Packaged Modules="">/Tk::After line 90
11596(1) 2015/08/16 18:59:15 err: 2) [once,[{},after#30,100,once,[\&main::gui_active_browser]]]
11596(1) 2015/08/16 18:59:15 err: 3) ("after" script)
11596(1) 2015/08/16 18:59:15 err:
3104(0) 2015/08/16 18:59:24 : Init Editor GUI
3104(0) 2015/08/16 18:59:24 : Editor GUI Started
3104(0) 2015/08/16 18:59:24 : Load Configuration Files
3104(0) 2015/08/16 18:59:24 : load help - H:/Personal/RPG/DEBUGT~1/Adept/user/eng_help.txt
3104(0) 2015/08/16 18:59:24 : load prefs - C:\Users\kelly.logan\AppData\Roaming\TheAdept\prefs.txt
3104(0) 2015/08/16 18:59:24 err: Error - Source:MainWindow=HASH(0x4bd8e64)
3104(0) 2015/08/16 18:59:24 err: Reason:Can't use string ("0") as a HASH ref while "strict refs" in use at H:/Personal/RPG/DEBUGT~1/Adept/lib/std/cavaexecscript/adept.pl line 2266.
3104(0) 2015/08/16 18:59:24 err: Trace : 1) Tk::After::once at <Packaged Modules="">/Tk::After line 90
3104(0) 2015/08/16 18:59:24 err: 2) [once,[{},after#221,100,once,[\&main::gui_active_editor]]]
3104(0) 2015/08/16 18:59:24 err: 3) ("after" script)
3104(0) 2015/08/16 18:59:24 err:
3104(0) 2015/08/16 19:00:13 : Closing windows
3104(0) 2015/08/16 19:00:13 : Exit Program
3104(0) 2015/08/16 19:00:13 : Closing debug log
Closed down, did a third run to try out Ctrl-Alt-I, no response as before. Also no entry in the debug.txt at this point. Looks like the above occurs only after I choose New Character.
Fourth run, first deleted all program directories, including the user directories. Got help prompts again. Tried New Character, the New Character window came up and was able to create a character normally. Maybe creating Windling versions of equipment caused corruption. Certainly it was throwing off the money values.
Note that when I exited from the character window, the main window did not display the new character. Tried 'Refresh' action, still blank window. Closed, re-opened, got Info window stating "This character contains a version of the Thread Weaving talent that is different from your current version...." I did not change any talents. I tried the 'Temporary' option, but the same window came up again. Tried the 'Import' option and the window closed.
Tried to open one of the characters, no reaction, debug.txt attached.
Looks like the preference file is not good (C:\Users\kelly.logan\AppData\Roaming\TheAdept\prefs.txt). Specifically it does not like the Help section. Try renaming the prefs.txt prefs.old and see if starting without a prefs file lets things work better. Recently I expanded the help entry to cover not just the 'Character Editor', but also the 'Character Browser' (Main Window) and the 'Discipline Editor. So removing the prefs.txt and causing it to regenerate may fix things. I also uploaded a new version that hopefully doesn't die out when an invalid help text sub hash is found.
The 'This Character contains a version of the Thread Weaving talent...' is due using a character created with a previous version of the tool. Currently the saved character has a copy of all the discipline, talent, skills, etc data so if a character is shared that data can be imported. So I think it is complaining about the me changing the specialization required flag for thread weaving to 'yes' in a recent verison. You can safely click ignore and things should work fine. Or you can go into the character file and change the thread weaving specialization field to match your official data. I may need to rethink that functionality.
Thanks,
Tim
Deleted the Adept directory in AppData, and the app directory. Downloaded new version, installed and ran. No errors or other messages to start with. Created a new character using custom starting points (39) and auto-generate items, edited some inventory items to make Windling versions, saved. Exited, re-ran program, saw new character in list, right-clicked, chose Edit Character, still no response. Hit New Character, cancelled and loaded character. Edited some more items, saved. The log file is attached.
Btw, noticed that if you increase your artisan skill it tracks this as -artisan skill points and doesn't reduce regular skill points. On the plus side, removing auto generated items like Grimoire and replacing with a Windling version didn't create the copper explosion that it did previously, so that might be fixed now.
Looks like their is some formatting errors related to the windling equipment. Could you please attach your character file? Hopefully I'll have some time this weekend to spend some time looking at this.
Thanks!
Sorry, thought I already sent this. Let me know what you find.
Looks like the original issue was fixed. I think the problem was related to the money calculation. I noticed that when I add/remove items the copper doesn't go nuts anymore. I can create equipment and save and re-open the character using the Character Edit option.
I think what kept me from seeing this before was that if the file name has more than one period in it (like "Oren.starting.ed4") the browser can't read it properly. When I change the filename, I see the listing details and can open it as normal.
One minor issue - the browser doesn't clean up the list, so if I change the filename it creates a new line for the new filename while leaving the old one there. Might be nice to have a 'Delete' option from the browser.
As a workaround, I was able to delete the phantom entries from "browser.dat" in Appdata...\db\ and it seems to be fine.
I would call this solved.
Thanks for letting me know. I'm closing the ticket.
For the browser not cross checking information in the browser.dat with information in existing ed4 files I'll open a new ticket.