mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 14:21:03 +00:00
@@ -61,6 +61,8 @@ class Session {
|
|||||||
var $villages = array();
|
var $villages = array();
|
||||||
|
|
||||||
function Session() {
|
function Session() {
|
||||||
|
global $database; //TienTN fix
|
||||||
|
|
||||||
$this->time = time();
|
$this->time = time();
|
||||||
if (!isset($_SESSION)) session_start();
|
if (!isset($_SESSION)) session_start();
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ My changes notes:
|
|||||||
the moving function will be crashed(freeze, you can't move any more).
|
the moving function will be crashed(freeze, you can't move any more).
|
||||||
I found out that unx.js handle a static map size(400x400).
|
I found out that unx.js handle a static map size(400x400).
|
||||||
So I fixed this with a m_c.world_max variable from mapview.tpl and changed the unx.js accordingly.
|
So I fixed this with a m_c.world_max variable from mapview.tpl and changed the unx.js accordingly.
|
||||||
|
7. Fix the constructor global variable missing in Session.php
|
||||||
|
|
||||||
Note for the original code:
|
Note for the original code:
|
||||||
The last commit 4372c40 from Shadowss/TravianZ is on Jul 6 2016, with note:
|
The last commit 4372c40 from Shadowss/TravianZ is on Jul 6 2016, with note:
|
||||||
|
|||||||
Reference in New Issue
Block a user