[Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

Results 1 to 13 of 13
  1. #1
    amPerl savetherobots is offline
    MemberRank
    Apr 2010 Join Date
    215Posts

    config [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Very very easy to set up if you have Docker installed. Works best on Linux, works fine on Windows.

    For those unfamiliar with Docker, it's basically software that makes it simple to create and manage VMs. This is a set of configurations that lets you set up your database and run your Drift City server in linux VMs using just two commands.

    REPACK FILES https://mega.nz/file/31EijTIK#Sruj2O...RsoD9ljg2844uk

    This repack includes:
    - A cleaned up ZoneServer (2008 TW)
    Useless files removed, set up so that you run Game, Auth, Lobby, Area from a single server.

    - A compatible client (0.02 TW + 0.03 to fix moonpalace.agt)
    An old Taiwanese client that is "close enough". Patched to work with the server.

    - Two docker-compose configurations:

    1) docker-compose.setup.yml
    Sets up your SQL Server db and registers an user

    2) docker-compose.yml
    Runs ZoneServer and SQL Server db. ZoneServer is running under wine on linux, and as such should also run just fine on any linux server that supports 32-bit wine.


    Prerequisites
    Docker Desktop https://www.docker.com/get-started
    If you're on linux, you may have to install docker-compose separately.

    For the following instructions, it is expected that you are using Powershell or Bash in the directory where you extracted the repack:

    Setting up
    Run the following command: docker-compose -f docker-compose.setup.yml up

    Wait for it to say something like: "(.. rows affected). Waiting for MS SQL (pid ..) to terminate."
    That's when you know it has finished setting up your database (or resetting it, if you're running it again)

    Running
    Run the following command: docker-compose up

    Wait for it to say something like: "Auth [On] Lobby [On] Game [On] Area [On] BArea [On] RealService [On]"
    That's when you know the game server is ready for you to log on. You can now use the client provided in the repack to play. There is an account created for you with the username admin and password admin.


    tl;dr
    install docker,
    run the setup compose file first,
    run the other compose file to start server,
    run client, login as admin:admin

    Alternative - setting up without Docker (with video):
    https://book.slide.town/guides/2008/server_setup.html

    Credits / Prior work
    RZ_Member, wesman2222 (old server files release for RZ)
    Nitro / WWWWWWWWWWWWWW (massive hoard of client files)
    Cosmos (packet handler patches for Enigma City)
    savetherobots / perl (cleaned server files, docker repack)
    Last edited by savetherobots; 2 Weeks Ago at 05:04 PM.


  2. #2
    Proficient Member BioRage is offline
    MemberRank
    Jan 2011 Join Date
    156Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Awesome, thank you everyone!

    Will give it a go later this week.

  3. #3
    Proficient Member BioRage is offline
    MemberRank
    Jan 2011 Join Date
    156Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Any ideas?

    This happens on the last part when I run " docker-compose up"

    https://imgur.com/dM2SCCx

  4. #4
    amPerl savetherobots is offline
    MemberRank
    Apr 2010 Join Date
    215Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Quote Originally Posted by BioRage View Post
    Any ideas?

    This happens on the last part when I run " docker-compose up"

    https://imgur.com/dM2SCCx
    Try changing the first line of your Dockerfile to
    Code:
    FROM i386/debian:buster-slim

  5. #5
    Proficient Member BioRage is offline
    MemberRank
    Jan 2011 Join Date
    156Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Quote Originally Posted by savetherobots View Post
    Try changing the first line of your Dockerfile to
    Code:
    FROM i386/debian:buster-slim
    Thank you, I opened the docker file, and replace FROM ubuntu:latest with FROM i386/debian:buster-slim

    Edit: Ok it loads, but it stops around here: https://pastebin.com/0x4rM5B3

    Any idea? I try to open the .exe but it crashes upon opening too. (Installing it on my server)
    Last edited by BioRage; 23-11-20 at 09:16 PM.

  6. #6
    c# Programmer martinx09 is offline
    MemberRank
    Aug 2008 Join Date
    391Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    How can you run this server on windows without using docker?
    I mean apart from installing SQL and running the scripts attached to the repack.
    Once that is done and all ports and stuff are open.

    What are the executables to open, is there a correct order?
    What files do I need to configure?

    I just feel like virtualizing with docker is a bit unnecesary,
    if I already use a vps I would be using part of the resources available for nothing.
    Not saying it is a bad approach, it's great for ease of use,
    but I would prefer to just run it directly.

  7. #7
    Account Upgraded | Title Enabled! klugor is offline
    MemberRank
    Sep 2008 Join Date
    252Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Good evening how can we do to translate the client?

    apparently it's the same client or almost

    https://www.driftcity.eu/

    PS:how do we access the DB?
    Last edited by klugor; 26-03-21 at 06:12 PM.

  8. #8
    amPerl savetherobots is offline
    MemberRank
    Apr 2010 Join Date
    215Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    Quote Originally Posted by martinx09 View Post
    How can you run this server on windows without using docker?
    I mean apart from installing SQL and running the scripts attached to the repack.
    Once that is done and all ports and stuff are open.

    What are the executables to open, is there a correct order?
    What files do I need to configure?

    I just feel like virtualizing with docker is a bit unnecesary,
    if I already use a vps I would be using part of the resources available for nothing.
    Not saying it is a bad approach, it's great for ease of use,
    but I would prefer to just run it directly.
    this is for local development, so "if I already use a vps" is not the target audience

    if you're already managing a server and know what you're doing.. just read the compose config and do the same

    as for whether or not it's unnecessary, it's not about maximizing resource usage, it's about deployment and operational comfort. these things hold value in any organization


    Quote Originally Posted by klugor View Post
    Good evening how can we do to translate the client?

    apparently it's the same client or almost

    https://www.driftcity.eu/

    PS:how do we access the DB?
    Translating the client is a lot of work, we did it for DCR and it involved a lot of dev-hours of ripping textures and localization from newer versions of the game and not only matching them up with this version of the client but adjusting the UI config as necessary.

    You can access the DB as usual with your MSSQL management software of choice, as the port is exposed in the docker-compose config.
    Last edited by savetherobots; 05-05-21 at 06:25 PM.

  9. #9
    Novice LuciferDxo is offline
    MemberRank
    Jul 2021 Join Date
    1Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    I install it and it worked but how to let others come in to the server
    is their a way to let them create account ?
    also can i access to the games backdoor to change the amount of money
    and the data of cars ?

  10. #10
    Novice zivgsxr is offline
    MemberRank
    Aug 2021 Join Date
    2Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    I use Win7 use SQLserver2008R2,open zone_server.exe its not running log file message

    [2021-08-05 01:50:53]Query(400:insert into SKID_STLOG_TB(LOGNAME,LOGKEY,SERVERID,CID,CNAME,CREATEDATE,N1ARG,N2ARG,N3ARG,TXTCONTENT) values(?,?,?,?,?,GetDate(),?,?,?,?)) Error:0 Param:serverStart 0 100 0 admin 168 66 26 server started Error:0:1:SQLAllocHandle:[08003][Microsoft][ODBC 驅動程式管理員] 連線未開啟[2021-08-05 01:50:53]Query(601:select Convert(varchar(19), GetDate(), 120 )) Error:0 Param:Error:0:1:SQLAllocHandle:[08003][Microsoft][ODBC 驅動程式管理員] 連線未開啟[2021-08-05 01:50:53]Query(290:SELECT CID, CNAME, REGNUM, BUYNUM,SELLNUM FROM SKID_AUCTIONMILEAGE_TB WHERE SERVERID=?) Error:0 Param:100 Error:0:1:SQLAllocHandle:[08003][Microsoft][ODBC 驅動程式管理員] 連線未開啟

    what can i do?

  11. #11
    amPerl savetherobots is offline
    MemberRank
    Apr 2010 Join Date
    215Posts

    Re: [Release] Drift City 2008 (TW) Client & Server (Docker/Linux Repack)

    are you using the config file from this repack? if you are not running it inside docker, you will need to change the computer name in the config. then it will apply the correct settings on startup

  12. #12
    Novice johnnyip is offline
    MemberRank
    Jan 2023 Join Date
    1Posts
    Thanks so much for the repacking with docker! This is amazing!

    Is it possible to update the game file? Do I need to update both client and server side?

  13. #13
    amPerl savetherobots is offline
    MemberRank
    Apr 2010 Join Date
    215Posts
    Here's my short guide (text/video) to setting up these files without the use of Docker: https://book.slide.town/guides/2008/server_setup.html



Advertisement