I used this long time ago, but didn't succeed... I might try again to see if I can do something with that
I used this long time ago, but didn't succeed... I might try again to see if I can do something with that
I used it a while after it was released, and everything worked fine. Now it seems like author updated files with non-working version.
was same files... nothing changed..
Last edited by popescu400; 06-12-15 at 04:21 PM.
Last edited by popescu400; 06-12-15 at 04:31 PM.
i will check this script.
Let us know how it goes.
Last edited by popescu400; 01-01-16 at 01:06 PM.
Did you fixed it, or it was caused by PHP version ?
Found a temporary fix..but there are others ugly errors ex in messages... also no items in database.....
Can you share that fix with us ? I also have some functions implemented in this script from time it was released.
for the item equip bug replace the lines
PHP Code:foreach($user_items as $item)
{
if($user_itemRow->id == $item->item_id)
{
if($item->equipped)
{
$this->app->flash('tab', 3);
$this->app->response->redirect('/user/overview');
}
else
{
$item->equipped = 1;
$item->save();
$this->app->flash('tab', 3);
$this->app->response->redirect('/user/overview');
}
}
$itemRow = Item::where('id', $item->item_id)->find_one();
if($itemRow->model == $user_itemRow->model)
{
$item->equipped = 0;
$item->save();
}
$user_item->equipped = 1;
$user_item->save();
}
And the correct session->init. You guys are probably trying to save your sessions to a folder my host has lol
PHP Code:public function init()
{
session_cache_limiter(false);
session_start();
if(isset($_SESSION['__token']))
{
$this->__token = $_SESSION['__token'];
}
else
{
$this->__token = self::random();
}
}
Last edited by popescu400; 10-12-15 at 10:11 PM.
I dont have this files anymore. Maybe @popescu400 can help?