• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

GESIOR 2012 - Version 1.0.1 for 0.2.x, 0.3.6 and all 0.4

Great, between contenidopago has make their system 3.0. Which system does gesior use?
I think that it's version 2.0, but report script I rewrote to make it 100% safe. Other change in 1.0.2 is that contenidopago 'report payment' script is disabled by default and you must activate it in custom_scripts/contenidopago/config.php

Edit:
All versions on GitHub ( https://github.com/gesior/Gesior2012/tree/TFS-0.3.6_and_0.4_to_rev_3703 ) updated.
Fixed ZayPay automatic points script.
 
Last edited:
Your add lastenew from your gesior?
that alone could add to my web 1.0.1?
or would have to update all the Gesior?
 
Did u add on Gesior
Top Frags,Top guilds or maybe Guild wars?

- - - Updated - - -

Where is Shop?
 
Did u add on Gesior
Top Frags,Top guilds or maybe Guild wars?

- - - Updated - - -

Where is Shop?
Guild wars, yes, but you must add link in layout if you want use it, link to it is "?subtopic=wars"
To make shop visible you must enable it in config/config.php
 
aha ty
=)
Gesior AAC Sweet!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

- - - Updated - - -

Ohy
Why Guilds Don't have Picture?Original One?

- - - Updated - - -

Can someone Change this in Layout
https://i.imgur.com/6rViDSz.png
and Upload layout?
 
how we could add removeredskull unban and changename in this shop system?
 
Hey guys im working on it to support OTServ DB/config.lua it will be relaesd shortly :)
 
I have a script using this code:

Code:

and get this error:


Can help me? ;> thx!
In old acc. maker:
PHP:
$players_from_logged_acc->orderBy('name');
In 2012 it must be:
PHP:
$players_from_logged_acc->addOrder(new SQL_Order('name', SQL_Order::ASC));
or (ASCending order is default, so you don't have to pass second parameter, but you can also use DESCending order):
PHP:
$players_from_logged_acc->addOrder(new SQL_Order('name'));

EDIT:
In new acc. maker you can add more then one order. Example (show top 5 players [level]):
PHP:
$topPlayers = new DatabaseList('Player');
$topPlayers->addOrder(new SQL_Order('level', SQL_Order::DESC));
$topPlayers->addOrder(new SQL_Order('experience', SQL_Order::DESC));
$topPlayers->setLimit(5);
foreach($topPlayers as $player)
{
   echo $player->getName() . ' - ' . $player->getLevel() . ' lvl<br />';
}
It shows top 5 players in level. It first sort by 'level' [it's first in PHP, it's more impotant] and then by 'experience'. If few players have same level, player with higher amount of exp will be higher on list. It's DESCending order, so it shows 5 players with highest levels, ASCending order would show 5 players with lowest levels.
 
Last edited:
In old acc. maker:
PHP:
$players_from_logged_acc->orderBy('name');
In 2012 it must be:
PHP:
$players_from_logged_acc->addOrder(new SQL_Order('name', SQL_Order::ASC));
or (ASCending order is default, so you don't have to pass second parameter, but you can also use DESCending order):
PHP:
$players_from_logged_acc->addOrder(new SQL_Order('name'));

EDIT:
In new acc. maker you can add more then one order. Example (show top 5 players [level]):
PHP:
$topPlayers = new DatabaseList('Player');
$topPlayers->addOrder(new SQL_Order('level', SQL_Order::DESC));
$topPlayers->addOrder(new SQL_Order('experience', SQL_Order::DESC));
$topPlayers->setLimit(5);
foreach($topPlayers as $player)
{
   echo $player->getName() . ' - ' . $player->getLevel() . ' lvl<br />';
}
It shows top 5 players in level. It first sort by 'level' [it's first in PHP, it's more impotant] and then by 'experience'. If few players have same level, player with higher amount of exp will be higher on list. It's DESCending order, so it shows 5 players with highest levels, ASCending order would show 5 players with lowest levels.

Tnx man, i send more bugs per email, answer me please :>!
 
Tnx man, i send more bugs per email, answer me please :>!
Answer for your bug reports from e-mail can be useful for other users.

Replace (it's veery old method to create object player):
$ots->createObject('Player')
with:
new Player()

Replace (it's old method to create object player):
new OTS_Player()
with:
new Player()

All classes (objects are instances of classes) OTS_Something are in Gesior 2012 just Something.
They work same as in old gesior, so there shouldn't be any problems with functions that you use (ex. $player->find('GM Pabox') ).
Code is new, but I made them return same values as in old gesior to make it work with old scripts.
 
Back
Top