Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[RELEASE] Tribalwars LAN OPENSOURCE 100%

Status
Not open for further replies.
Initiate Mage
Joined
Jun 30, 2014
Messages
1
Reaction score
0
please video tutorial or screenshots :/: .. upgrades don't work : ((
 
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
The upgrades doesn't work because you aren't running: /daemons/event.php
Try to go there in your browser, and check if it works then :) Will post an fix later if this helps.
 
Initiate Mage
Joined
Oct 19, 2009
Messages
3
Reaction score
0
uhm i fixed like this..;

Replace This Code:
Code:
$logged_in = false;
$username = "";
$hkey = "";
$sessionHandler = new SessionHandler();
$session = $sessionHandler->getSessionData($_COOKIE['session']);
if ($session['userid']) {
    $logged_in = true;
    $result = $db->query("SELECT `username` FROM `users` WHERE `id` = '" . $session['userid'] . "'");
    $row1 = $db->fetch($result);
    $username = $row1['username'];
    $hkey = $session['hkey'];
}


For This :

Code:
$logged_in = false;
$username = "";
$hkey = "";
$sid = parse($_COOKIE['session']);
$checksid = $db->query("SELECT userid, is_vacation, hkey FROM sessions WHERE sid = '" . $sid . "'");
$session = $result[0];
if ($session['userid']) {
    $logged_in = true;
    $result = $db->query("SELECT `username` FROM `users` WHERE `id` = '" . $session['userid'] . "'");
    $row1 = $db->fetch($result);
    $username = $row1['username'];
    $hkey = $session['hkey'];
}



but now..

Code:
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/vhosts/kargaaa/httpdocs/Denemelik/lib/class/Config.class.php on line 263

Fatal error: Call to undefined method SessionHandler::initSession() in /var/www/vhosts/kargaaa/httpdocs/Denemelik/lib/class/User.class.php on line 134
 
Newbie Spellweaver
Joined
Oct 30, 2013
Messages
50
Reaction score
1
I keep getting Session expired but I did everything from what you've said. Everything works apart from when I login to play the game.
 
Newbie Spellweaver
Joined
Feb 20, 2014
Messages
20
Reaction score
0
I can't login


Code:
Warning: Cannot modify header information - headers already sent by (output started at /customers/a/c/0/***.de/httpd.www/staemme/include.inc.php:1) in /customers/a/c/0/***.de/httpd.www/staemme/lib/class/SessionHandler.class.php on line 68 Warning: Cannot modify header information - headers already sent by (output started at /customers/a/c/0/***.de/httpd.www/staemme/include.inc.php:1) in /customers/a/c/0/***.de/httpd.www/staemme/index.php on line 103
 
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
I will upload a fixed source.

You guys can use it. and it should not have those bugs...
Check the first post for a download link ;-)
 
Joined
Jul 12, 2009
Messages
2
Reaction score
0
Hi,
howto fix:

Mugaru - [RELEASE] Tribalwars LAN OPENSOURCE 100% - RaGEZONE Forums


Thx :)
 
Newbie Spellweaver
Joined
Oct 30, 2013
Messages
50
Reaction score
1
Its not Tribal Wars but.. will do, thanks xD

EDIT-

This is even more bugged than the last Tribal Wars :(

 
Last edited:
Newbie Spellweaver
Joined
Feb 20, 2014
Messages
20
Reaction score
0
login failed

Failing SQL: SELECT COUNT(`id`) AS `exist`,`banned` FROM `zapping_worlds_m1`.`users` WHERE `id`='1'
Error: SELECT command denied to user '*********'@'localhost' for table 'users'
 
Junior Spellweaver
Joined
Feb 27, 2012
Messages
188
Reaction score
19
Since you didn't use the right CDN folder i think... and CHMOD the things... since it is working.



Its not Tribal Wars but.. will do, thanks xD

EDIT-

This is even more bugged than the last Tribal Wars :(

Since you didn't use the right CDN folder i think... and CHMOD the things... since it is working.


login failed

Yes, you didn't change the config file with good details ....
 
Newbie Spellweaver
Joined
Feb 20, 2014
Messages
20
Reaction score
0
i have change 2 config.php data.

1 with the server mysql
1 with the World mysql
 
Newbie Spellweaver
Joined
Dec 7, 2009
Messages
73
Reaction score
13
@Chester326: Grant all permissions to your MySQL user.
Execute this query while on 'root' MySQL account. youruser is your mysql username. Quotes required.
Code:
GRANT ALL PRIVILEGES ON *.* TO 'youruser'@'%' WITH GRANT OPTION;
 
Newbie Spellweaver
Joined
Jan 12, 2014
Messages
20
Reaction score
2
hey guys , i am getting this error when logging to world 1

Consulta SQL: UPDATE ``.`users` SET `last_activity`='1405640919' WHERE `id`='1'
Erro: Incorrect database name ''

there are 2x sql files ,

I made 2x databases

zapping_home and zapping _world_m1 and i cant get it working .
 
Status
Not open for further replies.
Back
Top