• Announcements

    • JoeW

      [UPDATED] Physical Megapack Disc Issues   04/16/2018

      UPDATE: Earlier this week, we discovered that the wrong content was printed on the PS4 retail version of Don’t Starve Mega Pack (the Xbox One version is not affected). It’s a really unfortunate situation and we’ve been working hard with 505 to resolve this as soon as possible. Below is the latest information: New copies are currently in print and will be on shelves ASAP, hopefully within a few weeks. When the new discs arrive in stores, players who already purchased misprinted discs will be able to exchange the disc for a new one in store. Details will follow as we figure out the exact timing, the procedures with specific retailers and what the exchange will entail.  Players who already purchased the faulty disc will also be able to contact Klei support for a voucher code that includes Don't Starve, Shipwrecked and the Reign of Giants DLC until the new disc is ready. Please specify your country as certain vouchers only work in certain regions.  We will have more details when they become available including details on contacting us and what information we might need.  Once again, thanks to everybody for their patience while we work this out. For questions or concerns, the forum discussion can be found below:   
    • JanH

      Rhymes with Play - Creature Design Finalization LIVE!   04/26/2018

      Join the Oxygen Not Included team as we finalize new creature designs for the upcoming Ranching Upgrade Mark II. Catch us live on the Klei Twitch channel (April 26th) and watch our design process first-hand as we go from temp art to the final creature art that you'll see in the game. Don't forget to click the follow button on the Klei Twitch channel to get alerted whenever we go live. As always, the Rhymes with Play Dev Streams are live Thursdays at 3:30 PM PST (10:30 PM UTC) Where is it?
      https://www.twitch.tv/kleientertainment Use our handy widget below to see when the stream goes live in your area: Check out the stream announce thread for discussions!


  • Content count

  • Joined

  • Last visited

Community Reputation

882 Excellent

About alainmcd

  • Rank
    Senior Member


Chester Kickstarter
  • Supported Chester
Don't Starve Together
  • Contributor
Oxygen Not Included
  • Alpha Contributor
  1. Bee hive, pig house crash

    I reported this bug a few months back (link), but it hasn't been addressed yet. Luckily, you'll only lose up to a day's progress, the issue is resolved when reloading your game and you'll be able to continue normally.
  2. If anyone's interested: here (and here for single player).
  3. The prefab that spawns the Goose is called moose_nesting_ground. Use the following code to remove the closest prefab: c_find"moose_nesting_ground":Remove()
  4. Try AddComponentPostInit("dynamicmusic", function(self) function self:OnStartBoating() end function self:OnStartSurfing() end end)
  5. Accessing world clock

    Use GLOBAL.GetClock() if calling it from your modmain.lua.
  6. Accessing world clock

    GetClock() function TimeUntilDaytime() local phase = GetClock():GetPhase() if phase == "day" then return 0 end return GetClock():GetTimeLeftInEra() + (phase == "dusk" and GetClock():GetNightTime() or 0) end Though it probably won't work properly in worlds with no daytime.
  7. Welcome! Add the following code to your modmain.lua: AddComponentPostInit("dynamicmusic", function(self) function self:StartPlayingBoating() end function self:StartPlayingSurfing() end end)
  8. I'm assuming the world you host that shows the ping properly isn't the same world. Go to (My) Documents\Klei\DoNotStarveTogether\Cluster_5\Master and open server.ini in any file editor, open the server.ini file for the other world you're hosting and compare the server_port from each file. Change the server_port from Cluster_5 so they match - should be OK as long as you don't try and host both worlds simultaneously.
  9. @FreyaMaluk, sorry, I have no idea. Is your ping shown when you host a server with caves? I believe it's the server_port under [NETWORK] in the server.ini file of your master server the one that should be forwarded, so make sure it is. Other than that I can't help you.
  10. Yes, c_shutdown() saves your world unless you explicitly tell it not to with c_shutdown(false).
  11. how to create about regen mod

    @orlyx, I think so.
  12. Hi @Xiellify, welcome to the forums! (And sorry for the late reply!) It does look like the port that your caves server is trying to use is already being used. Do you happen to have another server running? If not, you can manually change the port by going to (My) Documents\Klei\DoNotStarveTogether\Cluster_5\Caves and opening server.ini with a file editor, then changing server_port = 10999 under [NETWORK] to something else, for example, server_port = 11009.
  13. @lilmist, yes, you have to shut down your server first. Start the game client, go to the Host screen, open the Mods tab and deselect the mods you want to remove. You might have to briefly enter the game to confirm the changes. Exit and relaunch your server via your script.
  14. Hi @lilmist, welcome to the forums! Check the section "Help! E_INVALID_TOKEN or E_EXPIRED_TOKEN" in the OP.