Page 2 of 2 FirstFirst 12
Results 21 to 28 of 28

Thread: The new version seems to work just fine until this happens?

  1. #21
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: The new version seems to work just fine until this happens?

    It's the radar map blocker - usually a sign that something in the campaign script isn't working properly.

    Background: this blocker is enabled by default and therefore every campaign script needs to have an entry that disables it - it's a simple line like this:

    restrict_strat_radar false


    Check if that entry exists in the script - if it does then something is wrong with the script and you need to check the log. Else use Squid's campaign script checker.










  2. #22
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,350

    Default Re: The new version seems to work just fine until this happens?

    Quote Originally Posted by Gigantus View Post
    It's the radar map blocker - usually a sign that something in the campaign script isn't working properly.

    Background: this blocker is enabled by default and therefore every campaign script needs to have an entry that disables it - it's a simple line like this:

    restrict_strat_radar false


    Check if that entry exists in the script - if it does then something is wrong with the script and you need to check the log. Else use Squid's campaign script checker.
    The line was in the file - but it may not have been in the correct position. Going to test it again now.

    Edit: I managed to get it to work by pointing the program to the data-folder. But then nothing happened - no text nor anything. But it is written that there were no errors.

    But the radar-map is still broken.
    Last edited by Mr_Nygren; January 02, 2017 at 03:33 PM.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  3. #23
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: The new version seems to work just fine until this happens?

    Please upload the campaign_script file and I will have a look










  4. #24
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,350

    Default Re: The new version seems to work just fine until this happens?

    Quote Originally Posted by Gigantus View Post
    Please upload the campaign_script file and I will have a look
    This is the only thing in the script-file:

    Code:
    ;
    ; Campaign script by gigantus
    ;
    script
    
    
        restrict_strat_radar false
    ;    console_command toggle_fow
    
    
    end_script
    There is an older script-file with all the scripts by Ulfhednin for the old WotN - but i don't think it works anymore.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  5. #25
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: The new version seems to work just fine until this happens?

    It's missing the wait_monitors line before the 'end_script' line:

    Code:
        ; === DO NOT ADD ANYTHING BELOW THIS LINE! ===
    
        wait_monitors
    end_script

    Please also check if the descr_strat file has these two lines at the very bottom:

    script
    campaign_script.txt










  6. #26
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,350

    Default Re: The new version seems to work just fine until this happens?

    Quote Originally Posted by Gigantus View Post
    It's missing the wait_monitors line before the 'end_script' line:

    Code:
        ; === DO NOT ADD ANYTHING BELOW THIS LINE! ===
    
        wait_monitors
    end_script

    Please also check if the descr_strat file has these two lines at the very bottom:

    script
    campaign_script.txt
    Okay thanks man, i'll add those lines in - also, the scripts by Ulfhednin will be re-added but currently it is only for the old factions and therefore have been removed. I'd guess i'd need to re-add all of the scripts and then add the new factions in manually. But i'll test this for now.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  7. #27
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,350

    Default Re: The new version seems to work just fine until this happens?

    Quote Originally Posted by Gigantus View Post
    It's missing the wait_monitors line before the 'end_script' line:

    Code:
        ; === DO NOT ADD ANYTHING BELOW THIS LINE! ===
    
        wait_monitors
    end_script

    Please also check if the descr_strat file has these two lines at the very bottom:

    script
    campaign_script.txt
    It wasn't the missing monitors and "end_script"-lines in the campaign_scripts-file, as those were removed in previous versions in order to make hotseat work.

    But it was solved when i re-added the missing "scripts" and "campaign_script.txt"-lines in the descr_strat at the bottom.

    The descr_strat seems to have been the culprit.

    Thanks for your help though. Now it looks like this :
    Attached Thumbnails Attached Thumbnails kingdoms 2017-01-03 05-17-51-634.jpg  
    Last edited by Mr_Nygren; January 02, 2017 at 10:26 PM.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  8. #28
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: The new version seems to work just fine until this happens?

    Great it got solved!

    The wait_monitors line will need to be added once the script gets developed - best to add the line already. Otherwise the monitors will only work once (one turn).










Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •