vghetto port project
Moderator: Forum Moderators
Re: vghetto port project
Thank you, I updated the list.
I'm still not sure how the hidden kingdom ended up in my to-port folder, might have copied it by mistake.
I'm still not sure how the hidden kingdom ended up in my to-port folder, might have copied it by mistake.
Re: vghetto port project
Played Northern Forces and really enjoyed it, esp. with the high quality german translation, but in one of the scenarios this occured:
https://ibb.co/gjb40nn
https://ibb.co/279k9T1
Skipped this scenario and the rest worked well.
https://ibb.co/gjb40nn
https://ibb.co/279k9T1
Skipped this scenario and the rest worked well.
Creator of "In Defense of Kharos" viewtopic.php?t=56628
Re: vghetto port project
Please send me the save file for both if you have them. The ones without a turn number in them.Tarcil wrote: ↑January 11th, 2022, 1:22 pm Played Northern Forces and really enjoyed it, esp. with the high quality german translation, but in one of the scenarios this occured:
https://ibb.co/gjb40nn
https://ibb.co/279k9T1
Skipped this scenario and the rest worked well.
I'm not sure about the first image, maybe the translation has something to do with it. It looks weird.
The second image, I thought I already fixed that, but apparently I missed something else. I need to see which unit still had the relic micro_ai variable from prior scenarios and clear them.
Re: vghetto port project
Roar of the Woses uploaded to 1.14 and 1.16.
I got lazy, I didn't change the engine=fai to engine=lua. It worked fine as is on 1.14. Please, let me know if it doesn't work on 1.16.
I did have to change the map generation for one of the scenarios from
I got lazy, I didn't change the engine=fai to engine=lua. It worked fine as is on 1.14. Please, let me know if it doesn't work on 1.16.
I did have to change the map generation for one of the scenarios from
scenario_generation=cave
to map_generation=lua
. Hopefully I did that part right.Re: vghetto port project
Was at scenario 14, don´t know how its named in english. Directly at the first turn, when team blue is at the move. How do I upload a save correctly?vghetto wrote: ↑January 11th, 2022, 2:11 pm
Please send me the save file for both if you have them. The ones without a turn number in them.
I'm not sure about the first image, maybe the translation has something to do with it. It looks weird.
The second image, I thought I already fixed that, but apparently I missed something else. I need to see which unit still had the relic micro_ai variable from prior scenarios and clear them.
Creator of "In Defense of Kharos" viewtopic.php?t=56628
Re: vghetto port project
Yes, it is scenario 14. The save file for me says
NF-The Coalition.gz
To upload it, click on Attachments when you do the post.
- Argesilao2
- Posts: 113
- Joined: February 18th, 2020, 9:28 pm
- Location: Piciule Patrie
Re: vghetto port project
Fate of a Princess has been updated and ported to BfW 1.16
The campaign has been tested from start to finish, is playable from start to finish, and is 99% operational.
Ehi! Wait a moment! Why not at 100%?
Well, because there are three scenarios where is used this tag
And when this tag is used it generates a lua error message;
20220112 15:25:16 error scripting/lua: ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua:12: Expected a table or wml object but got unit
stack traceback:
C: in function '.error'
lua/core/wml.lua:11: in upvalue 'ensure_config'
lua/core/wml.lua:23: in function 'wml.get_child'
ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua:12: in upvalue 'messenger_next_waypoint'
~add-ons/Fate_of_a_Princess/ai/ca_messenger_attack.lua:144: in function <~add-ons/Fate_of_a_Princess/ai/ca_messenger_attack.lua:136>
(...tail calls...)
The error does not appear to affect the playability of the scenarios and the campaign, but it fills the screen.
Since my knowledge of the lua language is comparable to my knowledge of ancient Aramaic, I have solved the problem by adding a slew of # to the lines of the aforementioned code, and everything works.
If anyone has a viable alternative to the slew of #s let me know and I'll fix it.
In the meantime, I'm going to study ancient Aramaic.
The campaign has been tested from start to finish, is playable from start to finish, and is 99% operational.
Ehi! Wait a moment! Why not at 100%?
Well, because there are three scenarios where is used this tag
Code: Select all
[micro_ai_FoaP]
side=2
ai_type=messenger_escort
action=add
id=Melinde
[filter_second]
id=Protector_1,Protector_2,Protector_3[i] #this line changes in the three scenarios[/i]
[/filter_second]
waypoint_x=23,23 [i]#this line changes in the three scenarios[/i]
waypoint_y=25,25 [i] #this line changes in the three scenarios[/i]
[/micro_ai_FoaP]
20220112 15:25:16 error scripting/lua: ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua:12: Expected a table or wml object but got unit
stack traceback:
C: in function '.error'
lua/core/wml.lua:11: in upvalue 'ensure_config'
lua/core/wml.lua:23: in function 'wml.get_child'
ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua:12: in upvalue 'messenger_next_waypoint'
~add-ons/Fate_of_a_Princess/ai/ca_messenger_attack.lua:144: in function <~add-ons/Fate_of_a_Princess/ai/ca_messenger_attack.lua:136>
(...tail calls...)
The error does not appear to affect the playability of the scenarios and the campaign, but it fills the screen.
Since my knowledge of the lua language is comparable to my knowledge of ancient Aramaic, I have solved the problem by adding a slew of # to the lines of the aforementioned code, and everything works.
If anyone has a viable alternative to the slew of #s let me know and I'll fix it.
In the meantime, I'm going to study ancient Aramaic.
Re: vghetto port project
Don't use micro_ai micro_ai_FoaP. Disable it completely. Call mainline messenger_escort instead.Argesilao2 wrote: ↑January 12th, 2022, 2:51 pm Fate of a Princess has been updated and ported to BfW 1.16
The campaign has been tested from start to finish, is playable from start to finish, and is 99% operational.
Ehi! Wait a moment! Why not at 100%?
Well, because there are three scenarios where is used this tagAnd when this tag is used it generates a lua error message;Code: Select all
[micro_ai_FoaP] side=2 ai_type=messenger_escort action=add id=Melinde [filter_second] id=Protector_1,Protector_2,Protector_3[i] #this line changes in the three scenarios[/i] [/filter_second] waypoint_x=23,23 [i]#this line changes in the three scenarios[/i] waypoint_y=25,25 [i] #this line changes in the three scenarios[/i] [/micro_ai_FoaP]
20220112 15:25:16 error scripting/lua: ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua:12: Expected a table or wml object but got unit
stack traceback:
C: in function '.error'
lua/core/wml.lua:11: in upvalue 'ensure_config'
lua/core/wml.lua:23: in function 'wml.get_child'
ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua:12: in upvalue 'messenger_next_waypoint'
~add-ons/Fate_of_a_Princess/ai/ca_messenger_attack.lua:144: in function <~add-ons/Fate_of_a_Princess/ai/ca_messenger_attack.lua:136>
(...tail calls...)
The error does not appear to affect the playability of the scenarios and the campaign, but it fills the screen.
Since my knowledge of the lua language is comparable to my knowledge of ancient Aramaic, I have solved the problem by adding a slew of # to the lines of the aforementioned code, and everything works.
If anyone has a viable alternative to the slew of #s let me know and I'll fix it.
In the meantime, I'm going to study ancient Aramaic.
I think that custom micro_ai was added just for the [filter_second] tag which apparently 1.12 did not support at the time. In 1.14/1.16 [filter_second] is supported in mainline.
Also make sure to clear the units variables.micro_ai value or call [micro_ai] action=delete after the unit reaches its destination. That should get rid of the lua error.
- Argesilao2
- Posts: 113
- Joined: February 18th, 2020, 9:28 pm
- Location: Piciule Patrie
Re: vghetto port project
Fixed; now the campaign it's fully operational or at least I hope so ...vghetto wrote: ↑January 12th, 2022, 3:04 pm Don't use micro_ai micro_ai_FoaP. Disable it completely. Call mainline messenger_escort instead.
I think that custom micro_ai was added just for the [filter_second] tag which apparently 1.12 did not support at the time. In 1.14/1.16 [filter_second] is supported in mainline.
Also make sure to clear the units variables.micro_ai value or call [micro_ai] action=delete after the unit reaches its destination. That should get rid of the lua error.
I can go back to focusing on ancient Aramaic.
Re: vghetto port project
Creator of "In Defense of Kharos" viewtopic.php?t=56628
Re: vghetto port project
Thank you for the upload. If you could attach the save file without the -Autospeichern part, that would be super helpful. I'm guessing the file is called
NW-Bund der Nordmänner.gz
.Edit:
I think I got what the problem is. I cleared
{CLEAR_VARIABLE rhygumyr_stored.variables.micro_ai}
instead of {CLEAR_VARIABLE rhygumyr_stored.variables.micro_ai_mai_messenger}
- Lord-Knightmare
- Discord Moderator
- Posts: 2361
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: vghetto port project
Ported the "Forgotten Kingdom" to 1.16.x server under the project.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: vghetto port project
Thanks! I updated the list. Feel free to pick something else if you like.Lord-Knightmare wrote: ↑January 13th, 2022, 7:27 pm Ported the "Forgotten Kingdom" to 1.16.x server under the project.
- Lord-Knightmare
- Discord Moderator
- Posts: 2361
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: vghetto port project
vghetto wrote: ↑January 14th, 2022, 5:54 amThanks! I updated the list. Feel free to pick something else if you like.Lord-Knightmare wrote: ↑January 13th, 2022, 7:27 pm Ported the "Forgotten Kingdom" to 1.16.x server under the project.
I see that the author of this is still active. Maybe this should be dropped as the author might be secretly working on it and would probably release it on the latest? Or, contacted to know if it's actually abandoned or not?Red_Winter (Sire)
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium