Skip to content

howto install #1

@frostworx

Description

@frostworx

thank you for this cool project!
I'l like to install the game on my local server, but unfortunately I can't get it into a usable state.
this is what I've done so far:

  • created a mysql db,a user and pass and adjusted his privileges on the db.
  • filled the db with the provided german sql schema
  • edited api/local/mysql-data.inc.php local/mysql-data.inc.php toolbox/mysql-data.inc.php
    with those credentials (no idea if those are all required), which works
  • launched the YDKJ.exe (works with wine, I'm on linux) and extracted/converted all files from my german cd into a "res" directory which I put into the html subdirectory.
  • enabled required php modules in apache

when I launch the main page on my local server I get the main french title screen (unfortunately I don't speak french - me idiot had latin at school long ago and I was bad ;)). no problem I can't read it,
but I'm stuck now here:

  • login prompt with random user/pass leads to PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ydkj.accounts' doesn't exist
  • selecting quick 1 player game: PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ydkj.errors' doesn't exist
  • join session: PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ydkj.players'

looks like the sql schema file isn't complete, right? would be great if you could update it
as I'd love to play the good old classic ydkj in german together with my wife again :)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions