Jump to content

False out of date announcement


Tykvesh
  • Closed

When an all_clients_require_mod gets updated, but remains compatible with the version running on the server, Networking_ModOutOfDateAnnouncement still gets triggered, despite other users being able to join.

If Peter reads this: this is the actual issue I was confused about earlier.


Steps to Reproduce
  1. Upload a mod with the following modmain.lua and modinfo.lua: 
    print("Hello world!")
    all_clients_require_mod = true
    dst_compatible = true
    
    version = "1"
    version_compatible = "1"
    api_version = 10
    
    name = "DEBUG"
    author = ""
    description = ""
  2. Start a dedicated server with the mod enabled.
  3. Join the server (remain in the world).
  4. Change the following fields in modinfo.lua: 
    version = "2"
    version_compatible = "1"
  5. Update the mod.
  6. Wait until an out of date announcement appears in the in-game chat.
  7. Disconnect from the server.
  8. Rejoin the server.
  9. Wait until an out of date announcement appears in the in-game chat.
  • Like 2



User Feedback




Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...