بدون توضیح

OwN-3m-All 9d2d2e54f5 Added Battlefield 1942 Config (#655) 8 ماه پیش
Crypt 1901f57dfc Migrated from sf.net version 3390 9 سال پیش
css 7aabb95656 CSS Fixes - Better Than Before (#652) 8 ماه پیش
images 3aefaf0e94 Added Minecraft Bedrock xml for Ubuntu (Linux) 2 سال پیش
includes ad32981a8a Medal of Honor Changes - Predictable Query Port (#650) 8 ماه پیش
js b74b599bde Styling Fixes (#648) 9 ماه پیش
lang e01f3593d1 Minor Fixes / Better Fixes (#639) 1 سال پیش
modules 9d2d2e54f5 Added Battlefield 1942 Config (#655) 8 ماه پیش
protocol 39edf12df7 Update GameQ 2 سال پیش
themes d62d2094ed CSS Changes to Revolution Theme (#654) 8 ماه پیش
COPYING 1901f57dfc Migrated from sf.net version 3390 9 سال پیش
README.md 351dfd6ea6 styling code 8 سال پیش
home.php ca97cf507d php 8.2+ fixes (#611) 2 سال پیش
index.php 52f865a4fb Fixes Reported by Project Black (#644) 1 سال پیش
install.php 5d48962d91 Feature/php xmlrpc replacement (#596) 3 سال پیش
ogp_api.php 81938120f8 Minor Windows Fix (#646) 10 ماه پیش
robots.txt a303aba416 Added robots.txt to try to help AI bots better behave themselves (#645) 1 سال پیش
test_api.php ca97cf507d php 8.2+ fixes (#611) 2 سال پیش

README.md

Open Game Panel

Backup Database

Backup of the existing database can be done with following command:

$ mysqldump --user [username] -p [database] > backup.sql

Replace the [username] with username located in includes/config.inc.php and [database] with database located in same file. After executing the command the password is asked (same as in config.inc.php).

Restore Database Backup

Backup can be restored with the following command:

$ mysql --user [username] -p [database] < backup.sql

Lost Admin Password

In case you lose the admin password you can reset the password with, for example, the following command:

$ mysql --user [username] -p [database]

Then type in the following command but change the OGP_USERNAME and NEW_PASSWORD to the proper ones:

UPDATE ogp_users SET users_passwd=MD5('NEW_PASSWORD') 
WHERE ogp_users.users_login='OGP_USERNAME';

After this type quit to exit the MySQL prompt.