Page 11 of 72 FirstFirst ... 9101112132161 ... LastLast
Results 151 to 165 of 1077

Thread: Native Linux server (with management scripts)

  1. #151
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    Ohhhh shi... My fault, should be fixed in v.27 now
    Regarding hooks: Don't forget to use Bash, the scripts rely on some functions of that one. I.e. make the first line "#!/bin/bash".

  2. #152
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    Well I changed the script to use bin/bash
    #!/bin/bash
    . /usr/local/lib/7dtd/common.sh
    telnetCommand $1 "say Welcome $4!"
    It still didnt work though

    Also restarted my test-instance, but the log file still only gets created with one line (Instance created) and the players.xml file for logging is still empty after I joined the server :/
    Any suggestions?

  3. #153
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    Did you actually update the scripts to v.27 before restarting the instance?

  4. #154
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    One instance was running while updating the scripts. I did restart it after though.
    The test-instance however wasnt running while updating the scripts.

  5. #155
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    What about v.28?

  6. #156
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    Better
    Im now getting data in the /logs directory (2014-07-12_15-39-43_output.log and output_log.txt) so that seems to be solved.

    However the logging in players.xml still isnt adding an entry on my test instance and my hook still refuses to fire the welcoming message
    Btw, should I always be stopping the instances before updating scripts?

  7. #157
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    Updating the scripts while instances are running shouldn't hurt but if there are changes to the logging stuff those won't affect running instances but only after the next start of an instance.

    Regarding the player logging: Gotta test this again, thought it was working by now

  8. #158
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    Hmz, wonder what I did there ... Ok, for me it's fully working again now (v.29)

  9. #159
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    Still no luck, no data in players.xml and hook not being fired :/

  10. #160
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    Hm ... what about logs/<date>_players.log?

  11. #161
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    Non-existant
    I only have the old players.log in the instance-directory. In /logs I only have the <date>_output.log, stdout.log and output_log.txt.

    The only Error Message I see popping up in the log is the following btw:
    2014.07.13 11:35:12: Fallback handler could not load library /home/sdtd/engine/7DaysToDie_Data/Mono/x86/SteamworksNative

  12. #162
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    That one is ok

    What about <date>_chat.log? Not even that one?

  13. #163
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    Nope. And just to be clear, I am talking about /home/sdtd/instances/INSTANCE_NAME/logs/

  14. #164
    Fun Pimps Staff Alloc's Avatar
    Join Date
    Oct 2013
    Location
    Germany - Darmstadt
    Posts
    3,142
    Rep Power
    1
    Yeah, sure ^^

    Ok, just to sum it up to this point:
    You have updated to scripts version 29
    Restarted the instance after that
    Got nothing besides <date>_output.log, stdout.log and output_log.txt?
    <date>_output.log contains normal entries though? Also lines like "<datetime> RequestToSpawnPlayer ...."?

  15. #165
    Scavenger
    Join Date
    Jul 2014
    Posts
    57
    Rep Power
    0
    That is correct ^^.

Posting Permissions

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