[SP] 300 Spartans Resurrected

This is where fulfilled requests go. You can make a new thread here if you edit a map and want to share it, such as if you cheat a new map without anybody actually requesting it.

Moderator: Cheaters

Post Reply
User avatar
3nemy_
Cheater
Posts: 133
Joined: November 21st, 2016, 6:50 pm

[SP] 300 Spartans Resurrected

Post by 3nemy_ »

Problem: Map won't let you save game, "Gamestatus offline" message appears if you start the map in singleplayer, but the map is playable otherwise.

I tried editing some triggers, deleting test game trigger, gamestatus trigger, editing save/load trigger but it all breaks the map.

If it's possible I'd like you to post things you changed or deleted or PM me so I know in the future what to do in such cases.

Edit: Found out it's using Codeless Save System if it's of any help.
You do not have the required permissions to view the files attached to this post.
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod

Re: [SP] 300 Spartans Resurrected

Post by nuzamacuxe »

Code: Select all

    if ( Trig_GameStatus_Func011C() ) then
        if ( ReloadGameCachesFromDisk() ) then
        set udg_GameStatus=udg_GAME_STATUS_OFFLINE
        else
        set udg_GameStatus=udg_GAME_STATUS_REPLAY
        endif
    else
        set udg_GameStatus=udg_GAME_STATUS_ONLINE
    endif


Just change the if condition to false like so:

Code: Select all

function Trig_GameStatus_Func011C takes nothing returns boolean
    if ( not ( IsUnitSelected(GetLastCreatedUnit(), udg_GameStatus_TempPlayer) == true ) ) then
        return false
    endif
    return false
endfunction


Change the udg_Repry variable to 2:

Code: Select all

        if ( Trig_Set_Variables_Func001Func001C() ) then
            set udg_Repry = 2
        else
        endif
You do not have the required permissions to view the files attached to this post.
Post Reply