it is safe right? anti-hack..? anti-ddos.. etc?
Of course you cannot block DDoS, but you can reduce number of attackers.yeye, anti ddos
hahahahahahhaahahhhh
So maybe its time to write one?but it's not possible to change guild in real time (there is no function to do it by LUA in TFS 0.3). You can join, leave, change rank on website for players that are online, but they must relog to reload guild informations.
class ShopOffer
{
const LOADTYPE_ID = 'id';
const LOADTYPE_NAME = 'name';
public static $table = 'zotsme_shop_offer';
private $SQL;
const ACTIVE_NO = 0;
const ACTIVE_YES = 1;
const SHOPOFFER_NONE = 0;
const SHOPOFFER_ITEM = 1;
const SHOPOFFER_CONTAINER = 2;
const SHOPOFFER_UNBAN = 3;
const SHOPOFFER_CHANGENAME = 4;
const SHOPOFFER_NAMELOCK = 4;
const SHOPTARGET_NONE = 0;
const SHOPTARGET_ACCOUNT = 1;
const SHOPTARGET_PLAYER = 2;
public static $targetTypes = array(
SHOPOFFER_ITEM => SHOPTARGET_PLAYER,
SHOPOFFER_CONTAINER => SHOPTARGET_PLAYER,
SHOPOFFER_UNBAN => SHOPTARGET_ACCOUNT,
SHOPOFFER_CHANGENAME => SHOPTARGET_PLAYER,
SHOPOFFER_NAMELOCK => SHOPTARGET_PLAYER
);
public $type = self::SHOPOFFER_NONE;
...
You should do shop categories in tabs
First (basic) version of acc. maker will work without any javascript.It looks ugly Gensior, do it maybe in jQuery Tabs?
really nice idea gesiorCategories and offers number limit added:
5 armors XXX for 80 points [offers with count 0 are not visible on list, so when players buy them all, offer will disappear]
unlimited number of armors XXX for 100 points
first 5 players get them cheaper