Quote:
Originally Posted by krystalgamer
Hey sorry for bothering :/
But when i setup this on my computer the game works 100% fine.
When i setup in my Ubuntu 14.04 VPS i get this:
What might be wrong?
|
i had this problem too. i fixed it with delete all files and copy the files from Underworld. you sure you edit all files true?
Step 1: copy the files from Underworld in your FTP.
Step 2: Open dtoverride
Step 2.1:
mysql_connect("localhost", "USER", "PW") or die(mysql_error());
mysql_select_db("DATABASE") or die(mysql_error());
Step 2.2: Close dtoverride and upload it.
Step 3.0: Open and Edit req.php
Step 3.1:
$db = new PDO ( 'mysql:host=localhost;dbname=DATABASE;charset=utf8 ', 'USER', 'PW');
Step 3.2: Save and Upload req.php
Step 4.0: Open and Edit index.php
Step 4.1:
var movie = 'http://yourdomain.com/res/sfgame534_custom1';
var bgimage = 'http://yourdomain.com/background_new.jpg';
Step 4.2: Save and Upload index.php
Step 5.0: Open and Edit client_cfg
Step 5.1:
1 de
2

3

7 domain.com
8

9 0
10
11

12

13

14

17 3
18 domain
21 3
23 1
25

29

30

31

32 1
34 2
35

36

42 1
43 1337
48

46 de/ar/cs/da/en/es/fr/el/hu/it/ja/nl/pl/pt/pt-br/ru/sv/tr
47 german/arabic/czech/danish/english/spanish/french/greek/hungarian/italian/japanese/dutch/polish/portuguese/brazilian portuguese/russian/swedish/turkish
26 166;;http://domain.com/cid/cid.php?cid=%cid%&action=166&playerid=%playerid%&m ushbought=%mushbought%&bid=<bid>&token=<token>&ser verid=3&gameid=1
26 1;;http://domain.com/cid/cid.php?cid=%cid%&action=1&playerid=%playerid%&mus hbought=%mushbought%&bid=<bid>&token=<token>&serve rid=3&gameid=1
//26 188;;http://domain.com/cid/cid.php?cid=%cid%&action=188&playerid=%playerid%&m ushbought=%mushbought%&bid=<bid>&token=<token>&ser verid=3&gameid=1
Step 5.2: Save and Upload
Step 6.0: go in the folder Adminui -> Backend and open secrets.php
Step 6.1:
<?php
$mysql_host = "localhost";
$mysql_user = "USER";
$mysql_pass = "PW";
$mysql_db = "DATABASE";
?>
Finish. make sure you edit all true!
btw a old firefox version doesnt work with sfgame. i testet it.