Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

Surprise?

Discussion in 'Release 58 QA Feedback' started by Feeyo, Sep 25, 2018.

Thread Status:
Not open for further replies.
  1. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    Preloaded 'zf_cef.so' -> worked.

    You guys finally added the map for Linux!!! And it works!
    Thanks guys :D
     
    Jaesun, Arcanoxer and Barugon like this.
  2. Barugon

    Barugon Avatar

    Messages:
    15,675
    Likes Received:
    24,288
    Trophy Points:
    153
    Gender:
    Male
    Wow! It works! One less thing for me to complain about.
     
    Jaesun, Arcanoxer and Feeyo like this.
  3. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    Yep, and it works so much better then on Windows. No frozen map state at all.
     
  4. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    That is what this post was all about =O

    Unfortunately it can still hard lock your game client if ZFGameBrowser does not have executable permissions. Still working on making that happen when the game launches to prevent future issues.
     
  5. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    haha I missed that one :)

    chmod +x ?

    Well, I dont think you should worry about the permissions, on my system they seem to have 0777 on all files... (Those windows people!!)
     
  6. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Yes. But I'm not sure how this works via steam. The patcher typically sets permissions of all files correctly but just to be safe I want the client to kick off a chmod +x on startup for the browser executable.
     
  7. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    It sets the same permissions it seems, I checked the permissions on my local sota steam and other games. Windows permissions for all.
     
  8. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    Wait let me double check it for you with a full clean install on steam. Will get back at you as soon as its done. Better safe then sorry.
     
  9. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    @Undone
    Just did a full clean install though steam for you:
    Code:
    Tue Sep 25 06:11 PM 4.4 7
    feeyo@DevRig ~/.local/share/Steam/steamapps/common/SotA {0} > $ ls -la Shroud\ of\ the\ Avatar_Data/Plugins/
    total 551228
    drwxr-xr-x  5 feeyo feeyo      4096 Sep 25 18:09 .
    drwxr-xr-x 12 feeyo feeyo      4096 Sep 25 18:09 ..
    -rwxr-xr-x  1 feeyo feeyo    640069 Sep 25 18:08 cef_100_percent.pak
    -rwxr-xr-x  1 feeyo feeyo    745400 Sep 25 18:08 cef_200_percent.pak
    -rwxr-xr-x  1 feeyo feeyo   2013781 Sep 25 18:09 cef_extensions.pak
    -rwxr-xr-x  1 feeyo feeyo   3779900 Sep 25 18:09 cef.pak
    -rwxr-xr-x  1 feeyo feeyo   5405515 Sep 25 18:09 devtools_resources.pak
    -rwxr-xr-x  1 feeyo feeyo  10171360 Sep 25 18:09 icudtl.dat
    -rwxr-xr-x  1 feeyo feeyo   1066272 Sep 25 18:08 libEGL.so
    -rwxr-xr-x  1 feeyo feeyo  16853312 Sep 25 18:09 libGLESv2.so
    -rwxr-xr-x  1 feeyo feeyo   1381648 Sep 25 18:06 libwidevinecdmadapter.so
    -rwxr-xr-x  1 feeyo feeyo    314008 Sep 25 18:07 libZFProxyWeb.so
    drwxr-xr-x  2 feeyo feeyo      4096 Sep 25 18:09 locales
    -rwxr-xr-x  1 feeyo feeyo    218121 Sep 25 18:08 natives_blob.bin
    -rwxr-xr-x  1 feeyo feeyo   1358356 Sep 25 18:09 snapshot_blob.bin
    -rwxr-xr-x  1 feeyo feeyo    841033 Sep 25 18:09 ThirdPartyNotices.txt
    -rwxr-xr-x  1 feeyo feeyo   1768136 Sep 25 18:09 v8_context_snapshot.bin
    drwxr-xr-x  2 feeyo feeyo      4096 Sep 25 17:57 x86
    drwxr-xr-x  2 feeyo feeyo      4096 Sep 25 17:57 x86_64
    -rwxr-xr-x  1 feeyo feeyo 507307328 Sep 25 18:09 zf_cef.so
    -rwxr-xr-x  1 feeyo feeyo  10525744 Sep 25 18:09 ZFGameBrowser
    
    Seem good to go :)
     
  10. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Excellent thank you! To be completely safe I'll leave the code in. If for some reason the executable permission gets stripped and someone tries to open the map and their client locks they may not know why.
     
  11. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    Yep I understand, so in the steam directory there is also the: ShroudOfTheAvatar.sh bash script file, where you put the fix in for XMODIFIERS. Maybe add the permission chmod in there?
     
  12. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    The issue here is that if someone launches the game directly (not via launcher or steam) then this shell script will not get executed. I'm working on just baking it into the startup of the client.
     
  13. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    You could add the variable to a user his ~/.bashrc file. Of course first check if its already there before flooding it with the same variables. The only concern here is the XMODIFIERS setting, could have other effects on some other applications.
    I think the best option indeed would be like you said, to add it into the binary if possible.
     
  14. Arcanoxer

    Arcanoxer Avatar

    Messages:
    408
    Likes Received:
    761
    Trophy Points:
    55
    Gender:
    Male
    Location:
    rl
    omg, finally! can't wait to check it out on the live server. :D
     
    Feeyo likes this.
  15. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    haha no way I'm touching someone's .bashrc/.profile. I hate when things modify my dot files; I can only imagine how much it would piss off someone else =)
     
    Alley Oop likes this.
  16. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    hehe - yeah I am in the same boat. But if you put it there gently with enough comments, and we love you devs. We know why you did it :)
     
  17. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Either way it's not a huge deal. If you're gaming on linux you should know how to use chmod!
     
  18. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    Exactly :)

    Just put it somewhere on the player handbook maybe?.
     
  19. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    @Undone
    Or maybe force the SotA process to execute an shell script:

    function Start()
    {
    System.Diagnostics.Process.Start("/bin/sh ./Shroud of the Avatar_Data/Plugins/env.sh");
    }

    It is not the most beautiful solution but that should be at least something to be sure it gets executed.

    Will this say in the same session or will it be lost?
     
Thread Status:
Not open for further replies.