A World of Ice and Fire Forums

Recent posts

#81
Help & Support / Re: Cheat menu, Find an item
Last post by stufoos - April 17, 2024, 01:21:44 PM
Does it work for 9.3? :o
#82
Help & Support / Sugerencia
Last post by Caminantes Blancos - April 16, 2024, 04:36:37 AM
Saludos comunidad. Quería contarles... Fui al norte de la muralla y luche contra los espectros. He matado al caminante blanco, pero los espectros no murieron con su jefe, siguieron luchando hasta el final. Pensé que iba a pasar como en la serie de tv, que al matar al caminante blanco iban a caer los espectros que el había reclutado, pero no fue así. Hubo que luchar con todos. Eran casi 800 contra 300. Nos vencieron al final. Sería bueno que al menos al matar a su comandante, le haga una reducción o un daño a la salud de los espectros. Y que haya más grupos de caminantes blancos, que exista un Rey de caminantes blancos y ese sea el duro de matar para darle un poco más de dificultad en la sugerencia que hago. Yo solamente he visto a un grupo que va creciendo a medida que pasa el tiempo y esta comandado por un caminante. La primera vez que lo vi eran 50, luego eran 300. Un tiempo después, cuando luché con ellos ya eran casi 800.
#83
V9.0 / Follow-up: Bunch of warnings a...
Last post by tos1 - April 15, 2024, 07:02:09 PM
Related topic (v8.* but inherited to v9.3):
"Re: Unmotivated practice melee fighters in arenas" by me

Warning-lines displayed at the beginning of melee fight at arenas. They block the normal message for 20 - 30 seconds.
----
SCRIPT WARNING ON OPCODE 505: Invalid Agent ID: 0; LINE NO 6:
At Mission Template mst_arena_melee_fight trigger no: 33 consequences.
At Mission Template mst_arena_melee_fight trigger no: 33 consequences.
At Mission Template mst_arena_melee_fight trigger no: 33 consequences.
:
----

As I wrote in the self-reply to the thread above on 2023-12-12, it is too early to set all 40 agent slots before they spawn.

I experimentally removed the try-block and moved the "agent_set_slot" operation just before the "try_end" of the next trigger 34's exit, and there seems to be no problem. This prevents the warning from appearing and allows normal messages to be displayed without delay.

(Please note that this does not correct the "unmotivated fighters" I pointed out in the topic above.)

My hand-disassembly:
AWoIaF 9.3  mission_templates.txt  mst_arena_melee_fight

#---- trigger 33 (count from 0)
0.000000, 0.000000, ti_once,
[],
[
eq "$g_mt_mode" 1       # 31 2 144115188075856304 1
assign "$g_arena_training_max_opponents" 40     # 2133 2 144115188075856710 40
assign "$g_arena_training_num_agents_spawned" 0 # 2133 2 144115188075856708 0
assign "$g_arena_training_kills" 0      # 2133 2 144115188075856709 0
assign "$g_arena_training_won" 0        # 2133 2 144115188075856711 0
###################### Remove 3 lines below to fix the warning.
try_for_range ":L0" 0 "$g_arena_training_max_opponents" # 6 3 1224979098644774912 0 144115188075856710
  agent_set_slot ":L0" 7 0      # 505 3 1224979098644774912 7 0
try_end # 3 0
######################
call_script "script_music_set_situation_with_culture" 131072    # 1 2 936748722493063661 131072
],

#---- trigger 34 (count from 0)
ti_on_agent_spawn, 0.000000, 0.000000,
[
eq "$g_mt_mode" 1   # 31 2 144115188075856304 1
],
[
store_trigger_param_1 ":L0"   # 2071 1 1224979098644774912
agent_get_troop_id ":L1" ":L0"   # 1718 2 1224979098644774913 1224979098644774912
try_begin   # 4 0
  eq ":L1" "trp_player"[Player]   # 31 2 1224979098644774913 360287970189639680
  agent_set_team ":L0" 6   # 1771 2 1224979098644774912 6
else_try   # 5 0

:

  agent_set_team ":L0" ":L3"   # 1771 2 1224979098644774912 1224979098644774915
  val_add "$g_arena_training_num_agents_spawned" 1   # 2105 2 144115188075856708 1
  ###################### Add a line below. Probably here is the right place to initialize the slot.
  agent_set_slot ":L0" 7 0      # 505 3 1224979098644774912 7 0
  ######################
try_end   # 3 0
],
#84
V9.0 / Re: Melee (crowd) fight at are...
Last post by tos1 - April 15, 2024, 05:45:30 PM
Follow-up.
After doing hand-disassembly of v9.3, I've just found the cause.
In the mst_arena_melee_fight, "$g_arena_training_num_agents_spawned" is increased twice in total at trigger 34 and 37 (counted from 0) per spawning.

I don't know if it's okay to simply delete one or the other, but after I experimentally deleted the latter, the number of remaining fighters returned to normal (finishing at about 40).

(Among the other issues above, I have also made progress on the WARNING, so I will write a follow-up on another topic.)

- Game version (and steam or downloaded):
AWoIaF v9.3 - v9.0. Warband v1.174 downloaded
(v8.2 doesn't have the problem)
#85
Help & Support / WSE2 version 9 update installa...
Last post by jwlbigdog - April 09, 2024, 04:56:15 AM
I'm reposting this from the moddb forum. In summary, when the 9.0 update was released, I was not able to update WSE2. Eventually, I reinstalled after the 9.3 release. Now, although WSE2 correctly displays the version as 9.3, every tool tip says "STR NOT FOUND: ui_etc-etc". I'm not sure what is installed incorrectly at this point. I'm unable to attach a screenshot, as for some reason, the file size is too large.

Appreciate any assistance!
#86
V9.0 / [Fixed at v9.4] Follow-up: A p...
Last post by tos1 - April 03, 2024, 02:55:20 PM
Related topic:
A pet dog blocks to retreat from battle field

It is about an issue where we cannot use the Tab key to leave the battle field when the pet dog is nearby. I disassembled the code and have just found out the cause and the solution.

Current code (v9.3)
---- cf_check_enemies_nearby in script.txt
get_player_agent_no ":L0"    # 1700 1 1224979098644774912
agent_is_alive ":L0"    # 1702 1 1224979098644774912
agent_get_position 1 ":L0"    # 1710 2 1 1224979098644774912
assign ":L1" 0    # 2133 2 1224979098644774913 0
set_fixed_point_multiplier 100    # 2124 1 100
try_for_agents ":L2"    # 12 1 1224979098644774914
  neq ":L2" ":L0"    # 2147483679 2 1224979098644774914 1224979098644774912
  agent_is_alive ":L2"    # 1702 1 1224979098644774914
  agent_is_human ":L2"    # 1704 1 1224979098644774914
  agent_is_ally|neg ":L2"    # 2147485354 1 1224979098644774914
  this_or_next|neq "$wolf_companion" 1    # 3221225503 2 144115188075855957 1
  this_or_next|neq "$dog_companion" 1    # 3221225503 2 144115188075855959 1
  this_or_next|neq ":L2" "$player_wolf_agent_no"    # 3221225503 2 1224979098644774914 144115188075856612
  neq ":L2" "$player_dog_agent_no"    # 2147483679 2 1224979098644774914 144115188075856614
  agent_get_position 2 ":L2"    # 1710 2 2 1224979098644774914
  get_distance_between_positions ":L3" 1 2    # 710 3 1224979098644774915 1 2
  lt ":L3" 1000    # 2147483678 2 1224979098644774915 1000
  assign ":L1" 1    # 2133 2 1224979098644774913 1
try_end    # 3 0
eq ":L1" 0    # 31 2 1224979098644774913 0
----

Currently, the code block for dog/wolf is OR of 4 conditions, so when loop variable L2 is the pet dog agent and there is no wolf in the party, it badly proceed to the distance check.

A correct logic should be:
"if (A and B) or (C and D) then skip to next agent"
As you know, if we write this as code as is, we will need to add variables and registers for flags, so let's convert it to "not( AND of not(OR)s )" using De Morgan's law:
"if not ( (not A or not B) and (not C or not D) ) then skip to next agent"
In other words,
"if (not A or not B) and (not C or not D) then check distance"

I don't know if we can have the dog and wolf in the party at the same time, but that case also should cause no problem at the last logic above. That's because the loop variable ":L2" cannot represent two agents at the same time and "if (not TRUE or not TRUE) and (not TRUE or not TRUE)" never happen even if both animal is in the party.

In conclusion, it is necessary to add a try-block as shown below, and the judgement of "$player_wolf_agent_no" must be "neq" immediately after "$wolf_companion", and the 4 judgements and the distance checking must be in the newly added try-block.

A correct code.
---- cf_check_enemies_nearby in script.txt
get_player_agent_no ":L0"    # 1700 1 1224979098644774912
agent_is_alive ":L0"    # 1702 1 1224979098644774912
agent_get_position 1 ":L0"    # 1710 2 1 1224979098644774912
assign ":L1" 0    # 2133 2 1224979098644774913 0
set_fixed_point_multiplier 100    # 2124 1 100
try_for_agents ":L2"    # 12 1 1224979098644774914
  neq ":L2" ":L0"    # 2147483679 2 1224979098644774914 1224979098644774912
  agent_is_alive ":L2"    # 1702 1 1224979098644774914
  agent_is_human ":L2"    # 1704 1 1224979098644774914
  agent_is_ally|neg ":L2"    # 2147485354 1 1224979098644774914
  try_begin    # 4 0
    this_or_next|neq "$wolf_companion" 1    # 3221225503 2 144115188075855957 1
    neq ":L2" "$player_wolf_agent_no"    # 2147483679 2 1224979098644774914 144115188075856612
    this_or_next|neq "$dog_companion" 1    # 3221225503 2 144115188075855959 1
    neq ":L2" "$player_dog_agent_no"    # 2147483679 2 1224979098644774914 144115188075856614
    agent_get_position 2 ":L2"    # 1710 2 2 1224979098644774914
    get_distance_between_positions ":L3" 1 2    # 710 3 1224979098644774915 1 2
    lt ":L3" 1000    # 2147483678 2 1224979098644774915 1000
    assign ":L1" 1    # 2133 2 1224979098644774913 1
  try_end    # 3 0
try_end    # 3 0
eq ":L1" 0    # 31 2 1224979098644774913 0
----

After experimentally editing the relevant part of the txt file as shown above, I tried Tab key in cases below and found no problem:
"Only the dog is nearby", "Dog and ally soldier are nearby", "Only enemy soldiers are nearby", "Dog and enemy soldiers are nearby", "Only ally soldiers are nearby", "No one is nearby".

I haven't tried the case where both the dog and wolf are in the party at the same time.

- How to reproduce it/when/why it happens:
Play until you get the pet dog or pet wolf, start a battle, hit Tab key when the dog is near the player. Try that also for all conceivable cases.

- Game version (and steam or downloaded):
AWoIaF v9.3, Warband v1.174 downloaded
(Note: v8.* and v7.11 has the same logic in the script.)
#87
V9.0 / Fatal hole in Lorathi arena
Last post by tos1 - March 30, 2024, 08:14:49 PM
I don't know if it was intentional, but the small triangular hole along the wall opposite to the big door in the Lorathi arena is so deep that the player character can't get out if falls into it.



- How to reproduce it/when/why it happens:
Visit "Lorath", "Visit the training grounds", start melee (crowd) fight. Walk to the point farthest from the big door, search for the hole nearby (one of 2 holes), and dive into it.

- Game version (and steam or downloaded):
AWoIaF v9.3, v8.2. Warband v1.174 downloaded
#88
V9.0 / Sticky wooden deck in Storms E...
Last post by tos1 - March 30, 2024, 08:11:04 PM
When the player character (and also other agents?) comes into contact with the covered wooden deck (where the tournament master is standing) at the end near the castle, she/he gets stuck and cannot escape from it.

(We may have a chance to escape by taking a screenshot using Ctrl Insert.)



- How to reproduce it/when/why it happens:
Visit "Storms End", "Visit the training grounds", start melee (crowd) fight (or "Join the competitions" if a tournament is being held). Walk and contact with the wooden stage.

- Game version (and steam or downloaded):
AWoIaF v9.3, v8.2. Warband v1.174 downloaded
#89
V9.0 / Beric Dondarion's "book" neede...
Last post by tos1 - March 27, 2024, 09:27:44 AM
(Spoiler)

In the quest "A Lannister always pays his debts" from Beric Dondarion at Hollow Hill:
1. It's hard that the player remembers the need for a book from the Beric's words "You lying ..." and the quest text "Beric Dondarrion has asked ...". (Especially when there was a real-week playing gap between accepting the quest and the battle.) Both texts should include words for the book.
2. The speaker of "You lying ..." and "The only one ..." must be Beric.



Related lines:

Quest
---- ### The book should be mentioned here.
qst_relic_text|Beric Dondarrion has asked you to despatch a Lannister raiding party that has been reported pillaging the villages around Hollow Hill. Once completed, you must return to Beric.
----

Dialog
----
dlga_start:relic_find_question
Have you dispatched the Lannister raiding party yet?
----
dlga_relic_find_question:relic_znaleziona
Yes! They all lie slaughtered. They won't be causing any more problems around here.
----
dlga_relic_find_question:close_window
No, not yet.
----
dlga_relic_find_question:relic_cannot_complete
I am afraid I have failed. They managed to escape.
----

----
dlga_relic_znaleziona:close_window
Excellent! I've something a little different as your reward, {playername}. This book you recovered, It's extremely valuable and now it's yours. Feel free to sell it if you don't want to keep it for yourself.
----

---- ### The book should be mentioned here, and ### the speaker must be Beric.
dlga_relic_znaleziona:close_window.1
You lying bastard! You remember me saying, 'We've been watching you'?!
----

---- ### The speaker must be Beric.
dlga_relic_cannot_complete:close_window
The only one that has failed is me, thinking someone like you would have been able to succeed in the first place.
----

- How to reproduce it/when/why it happens:
Visit Beric Dondarrion, accept the quest, find the enemy, and fight. Test all combinations (a) x (b); (a) Return with the book / without the book (*1), (b) Select "Yes! They all lie ... " / "I am afraid I ...". Check the dialog text and the quest text. Check the speaker of "You lying ..." and "The only one ...".

*1  To make the situation "without the book", fill up the inventory before the fight or abandon/sell the book after the fight.

- Game version (and steam or downloaded):
AWoIaF v9.3, Warband v1.174 downloaded
#90
Help & Support / Sea Smoke
Last post by Dovabearsk - March 26, 2024, 01:42:14 PM
So did anyone manage to locate the Sea Smoke sword chest? Ive been looking all over Driftmark, but found nothing.