-
December 15th, 2024, 00:21 #1
- Join Date
- Nov 2019
- Posts
- 5
Error loading extension XML file.
Howdy all,
I am trying to help out with some of RMFRP extension issues I have seen from the more resent changes via CoreRPG and RMC rulesets.
I got the Ardem's code via Dakadin to work on it.
I am running into an error that nothing I try is changing this issue.
[12/14/2024 4:53:09 PM] [ERROR] Error loading extension XML file. [RM Fantasy RolePlaying Version_test] [campaign/record_char_skills.xml]: Name cannot begin with the ' ' character, hexadecimal value 0x20. Line 396, position 22
I have tried to remove the space and other things in the code to fix it but it just moves around.
What do I need to do clear this error? what more do you need from me to figure out this issue?
Thanks,
Nightmare93
-
December 15th, 2024, 01:29 #2
- Join Date
- Jul 2007
- Posts
- 185
Greetings, I don't have the solution you seek but I just wanted to extend my gratitude for working on the RMFRP extension.
Thank you very much.
SamzagasLast edited by Samzagas; December 15th, 2024 at 02:20.
-
December 15th, 2024, 03:04 #3
-
December 15th, 2024, 04:49 #4
- Join Date
- Nov 2019
- Posts
- 5
The lines in question
Here are the lines in question:
function calc_pp_bd(prgn_one,prgn_two,prgn_three,prgn_four, rank)
local total = 0;
if rank < 11 then --line that is throwing the Error
prgn_one = prgn_one * rank;
else
prgn_one = prgn_one * 10;
end
if rank > 10 and rank < 21 then
prgn_two = prgn_two * (rank - 10 );
elseif ranks < 11 then
Thanks for replying Damned ( I really liked your Ruleset Wizard videos.)
Nightmare93
-
December 15th, 2024, 13:29 #5
At what point do you get the error?
Is it when you load the ruleset and extension or when you open a charsheet or similar record?
Looking at that code I suspect that the error is when you open a record and there is a record with a name that has a leading space...
-
December 15th, 2024, 19:32 #6
- Join Date
- Nov 2019
- Posts
- 5
More of the log added to show where the issue is.
This coming up when it loading for the first time. Here is the log from that loading of the campaign:
[12/14/2024 4:52:46 PM] FGU: v4.6.1 ULTIMATE (2024-12-10)
[12/14/2024 4:52:46 PM] OS: Windows 11 (10.0.22631) 64bit
[12/14/2024 4:52:46 PM] GRAPHICS: NVIDIA GeForce RTX 4070 : 12012
[12/14/2024 4:52:46 PM] UI SCALE: 1
[12/14/2024 4:52:46 PM] USER: Nightmare93
[12/14/2024 4:52:46 PM] Launcher scene starting.
[12/14/2024 4:52:57 PM] Daily session backup created.
[12/14/2024 4:52:57 PM] Starting cloud server mode. [Nightmare93]
[12/14/2024 4:52:59 PM] Game server started. [64.227.88.38:62657]
[12/14/2024 4:52:59 PM] Launcher scene exiting.
[12/14/2024 4:52:59 PM] Tabletop scene starting.
[12/14/2024 4:52:59 PM] CAMPAIGN: RmTest(1)
[12/14/2024 4:52:59 PM] RULESET: RolemasterClassic
[12/14/2024 4:52:59 PM] NETWORK STATUS: [Server] [Connected]
[Server Type - CLOUD - PUBLIC]
[12/14/2024 4:52:59 PM] Match successfully created on lobby.
[12/14/2024 4:53:09 PM] MEASURE: RULESETS LOAD - 9.7605354 - RolemasterClassic
[12/14/2024 4:53:09 PM] [ERROR] Error loading extension XML file. [RM Fantasy RolePlaying Version_test] [campaign/record_char_skills.xml]: Name cannot begin with the ' ' character, hexadecimal value 0x20. Line 396, position 22.
[12/14/2024 4:53:09 PM] MEASURE: EXTENSIONS LOAD - 0.6741797 - 2
[12/14/2024 4:53:11 PM] MEASURE: MODULE LIST BUILD - 1.0838833 - 42
[12/14/2024 4:53:11 PM] MEASURE: REFRESH IMAGE ASSETS - 0.0270337
[12/14/2024 4:53:11 PM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0259587
[12/14/2024 4:53:11 PM] MEASURE: REFRESH TOKEN ASSETS - 0.0377361
[12/14/2024 4:53:11 PM] MEASURE: ASSET LIST BUILD - 0.0917266
[12/14/2024 4:53:12 PM] MEASURE: LOAD - PART 1 - 12.5944015
[12/14/2024 4:53:13 PM] MEASURE: MODULE LOAD - 0.394392 - Rolemaster FRP Rules
[12/14/2024 4:53:14 PM] Fantasy Grounds - v4.6.1 ULTIMATE (2024-12-10)
[12/14/2024 4:53:14 PM] RULESET: Rolemaster Classic ruleset v2.3.22 (2024-12-10) for Fantasy Grounds
-
December 15th, 2024, 20:25 #7
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,685
That means at line 396 in the campaign/record_char_skills.xml file of the "RM Fantasy RolePlaying Version_test" ruleset/extension; there is an XML tag that has a leading space in it which is invalid XML. (i.e. "< ")
Regards,
JPG
-
December 15th, 2024, 22:20 #8
If you're using less than symbols within code in an XML file you need to use the XML escape code. See the "Entity References" section in this web page: https://www.w3schools.com/XML/xml_syntax.asp
Last edited by Trenloe; December 15th, 2024 at 22:22.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
December 15th, 2024, 23:52 #9
Ahhh yes it looks that is the issue Trenloe
Thread Information
Users Browsing this Thread
There are currently 6 users browsing this thread. (0 members and 6 guests)
Bookmarks