Majesty Gold HD

Majesty Gold HD

Customize Majesty!
Create and upload new Quests and Mods for Majesty HD!
Dracoceros 11 25 Aug, 2019 @ 10:54pm
Having errors compiling the code
Simply that. No dump to be found stating what happened. Code goes by too fast to see what it says.

Can't properly use cmd prompt to execute the code, even through "Run as Administrator"

This is all I get when using command prompt directly, which is much shorter than double clicking on the batch and getting those errors.

C:\WINDOWS\system32>"E:\Program Files\Steam\steamapps\workshop\content\73230\1652736319\MakeGPL.bat"
Using GPL compiler at "E:\Program Files\Steam\steamapps\common\Majesty HD\SDK\gplbcc.exe"
The system cannot find the path specified.
Building Path.gplproj, output as bytecode.bcd

Unable to open:Path.gplproj;
ERROR: Compile failed.
The system cannot find the path specified.
Building Path_Data.gplproj, output as MX_Data.bcd

Unable to open:Path_Data.gplproj;
ERROR: Compile failed.
The system cannot find the path specified.
Building Path_Build.gplproj, output as MX_Build.bcd

Unable to open:Path_Build.gplproj;
ERROR: Compile failed.
The system cannot find the path specified.
Building Path_Task.gplproj, output as MX_Task.bcd

Unable to open:Path_Task.gplproj;
ERROR: Compile failed.
The system cannot find the path specified.
Building Path_Decision.gplproj, output as MX_Decision.bcd

Unable to open:Path_Decision.gplproj;
ERROR: Compile failed.
The system cannot find the path specified.
Building Path_MajMisc.gplproj, output as MX_Compatibility.bcd

Unable to open:Path_MajMisc.gplproj;
ERROR: Compile failed.
ERROR: One or more modules failed to compile.
< >
Showing 1-4 of 4 comments
Dracoceros 11 25 Aug, 2019 @ 11:19pm 
Using GPL compiler at "E:\Program Files\Steam\steamapps\workshop\content\73230\1652736319\gplbcc.exe"
Building Path.gplproj, output as bytecode.bcd
......line 119: syntax error at "integer" missing SEMICOLON

prototype.gpl;
........line 257: syntax error at "'" missing END
line 264: syntax error at "End" missing Eof

rules\quest_actives.gpl;
..invalid token near line 536 (text was '#')
line 536: syntax error at ")" missing Postfix_expression

Monster_Births.gpl;
line 731: syntax error at "Begin" missing DECLARE
line 732: syntax error at "$SpawnUnit" missing BEGIN
line 732: syntax error at "$SpawnUnit" missing Eof

Building_Births.gpl;
...........................................................................................
Error: identifier AIRootAgent not declared
TaskModules\Buildings\Lair.gpl, Line: 124
.
TaskModules\Buildings\Sewer_Graveyard.gpl;
...............................line 2300: syntax error at "Create" missing Eof

TaskModules\SubTasks\Spells.gpl;
..ERROR: Compile failed.
Building Path_Data.gplproj, output as MX_Data.bcd
..Tried to add multiple copies of Dirgo
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
ERROR: Compile failed.
Building Path_Build.gplproj, output as MX_Build.bcd
...line 253: syntax error at "'" missing END
line 260: syntax error at "End" missing Eof

rules\mx_quest_actives.gpl;
..............line 209: syntax error at "else" missing END
line 252: syntax error at "end" missing Eof

TaskModules\Buildings\mx_Lair.gpl;
....................ERROR: Compile failed.
Building Path_Task.gplproj, output as MX_Task.bcd
line 943: syntax error at "If" missing SEMICOLON
line 948: syntax error at "Else" missing END
line 953: syntax error at "Else" missing END
line 953: syntax error at "Else" missing Eof

mx_Building_Births.gpl;
..........................................line 328: syntax error at "Function" missing END

TaskModules\Subtasks\mx_Inventory.gpl;
...................ERROR: Compile failed.
Building Path_Decision.gplproj, output as MX_Decision.bcd
................................................
Serializing bytecode..
Dracoceros 11 25 Aug, 2019 @ 11:29pm 
Seems like there's an error with the batcher itself. For example, it says that a line 732 has "spawn unit", but there is no spawnunit at line 732. Declare is in every line after the function on the Mx_Monster_Births.gpl, and there is no line 732 in Monster_births.gpl. :/
Last edited by Dracoceros; 25 Aug, 2019 @ 11:29pm
Dracoceros 11 1 Sep, 2019 @ 11:08am 
Nevermind, I looked at the wrong lines
Dracoceros 11 6 Sep, 2019 @ 5:43pm 
New Update. Not sure what this means.

"Tried to add multiple copies of Dirgo"

F:\Program Files\Steam\steamapps\common\Majesty HD\SDK\Example\Great Mission>MakeGPL.bat
Using GPL compiler at "F:\Program Files\Steam\steamapps\common\Majesty HD\SDK\gplbcc.exe"
Building GreatMission_Path.gplproj, output as GreatMission.bcd
..Tried to add multiple copies of Dirgo
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
ERROR: Compile failed.
< >
Showing 1-4 of 4 comments
Per page: 1530 50