Giter VIP home page Giter VIP logo

Comments (5)

TheGreyDiamond avatar TheGreyDiamond commented on August 14, 2024 1

So there is no way to save the progress when using docker?

from pwnadventure3.

timothyleung1 avatar timothyleung1 commented on August 14, 2024 1

Probably its because the docker design changed. When you type control+c after docker-compose up
It should technically send a SIGINT signal to the script in script/masterserver.sh and it will then store your current status using a dump, and then reload it later on when you run docker-compose up. I couldn't manage to fix the script, but you can technically run docker ps to find the masterserver id , then execute docker exec -it <id> /bin/sh and kill the process yourself to generate the .sql file which stores your game, you can run kill 1 to do that. You should then able to see a message in the other window, the window that you ran docker-compose up, saying a .sql is generated.

from pwnadventure3.

NerusSkyhigh avatar NerusSkyhigh commented on August 14, 2024 1

I know this is an old issue but it might help someone else:
For me, it was sufficient to comment drops in "./server/MasterServer/initdb.sql" and stop the container with "docker-compose down" from another shell. This sends the right signal to the "masterserver.sh" script and allows it to back up the data. Note: if you created the folder "postgres-data" by hand you need to give the docker user the right permissions.

from pwnadventure3.

JavaProgrammerLB avatar JavaProgrammerLB commented on August 14, 2024

hi, @codec-abc ,do you get the way to backup the server database, I have the same question

from pwnadventure3.

codec-abc avatar codec-abc commented on August 14, 2024

No, but it was not such a big deal in the end. Because once you got a speed/teleport hack you can go everywhere pretty quickly and since most quests can be done without stuff you don't lose that much time by starting from scratch.

from pwnadventure3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.