• 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!

Ver. 0.1.0 - Gesior ITEM/PACC Shop (PHP+LUA) for TFS

I get some of it working but not all, I only get the buying thing to work, you can buy points by daopay but you can't add them into your account and I can't see any donation items, anyone that can help?
 
how do i add so it like

add this to z_shop_offer ..
`itemid3` int(11) NOT NULL default '0',
`count3` int(11) NOT NULL default '0',
`itemid4` int(11) NOT NULL default '0',
`count4` int(11) NOT NULL default '0',
 
@up

You havent added the tables required to see the shopsystem:

Queries:

CREATE TABLE `z_ots_comunication` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`type` varchar(255) NOT NULL,
`action` varchar(255) NOT NULL,
`param1` varchar(255) NOT NULL,
`param2` varchar(255) NOT NULL,
`param3` varchar(255) NOT NULL,
`param4` varchar(255) NOT NULL,
`param5` varchar(255) NOT NULL,
`param6` varchar(255) NOT NULL,
`param7` varchar(255) NOT NULL,
`delete_it` int(2) NOT NULL default '1',
PRIMARY KEY (`id`)
);
CREATE TABLE `z_shop_offer` (
`id` int(11) NOT NULL auto_increment,
`points` int(11) NOT NULL default '0',
`itemid1` int(11) NOT NULL default '0',
`count1` int(11) NOT NULL default '0',
`itemid2` int(11) NOT NULL default '0',
`count2` int(11) NOT NULL default '0',
`offer_type` varchar(255) default NULL,
`offer_description` text NOT NULL,
`offer_name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `z_shop_history_item` (
`id` int(11) NOT NULL auto_increment,
`to_name` varchar(255) NOT NULL default '0',
`to_account` int(11) NOT NULL default '0',
`from_nick` varchar(255) NOT NULL,
`from_account` int(11) NOT NULL default '0',
`price` int(11) NOT NULL default '0',
`offer_id` int(11) NOT NULL default '0',
`trans_state` varchar(255) NOT NULL,
`trans_start` int(11) NOT NULL default '0',
`trans_real` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
);
CREATE TABLE `z_shop_history_pacc` (
`id` int(11) NOT NULL auto_increment,
`to_name` varchar(255) NOT NULL default '0',
`to_account` int(11) NOT NULL default '0',
`from_nick` varchar(255) NOT NULL,
`from_account` int(11) NOT NULL default '0',
`price` int(11) NOT NULL default '0',
`pacc_days` int(11) NOT NULL default '0',
`trans_state` varchar(255) NOT NULL,
`trans_start` int(11) NOT NULL default '0',
`trans_real` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
);

Link:

http://wklej.org/id/37481/txt
 
Hey, Gesior Can you post again the "STATICS BY AN GRAPHICS"? :p

I saw it in same time with other Forum, and I saw it again with zytarios.com and I liked this work can you post it here please! ?:p
 
Hi,i have tfs 0.3.2 console, the script doesnt work for me
It says
"Event onThink not found <data/globalevents/scripts/shop.lua>"

I put the shop.lua in globalevents and scripts but it doenst work ..

Can someone help me?
 
I use too 0.3.2ver where i need to put this first CODE in 0.3.2 no globals.lua or if this work with this ver HELP guys
 
you dont need to put the code in global.lua in 0.3.2, lol, it started working after 5hours, cut my upper post out.
 
Hello, why when players buy some item don't revice it? i'm using TFS 0.3.3

Have too same

Code:
Test	Your account	0	19 April 2009, 18:04:15	Not realized yet.
Test	Your account	0	19 April 2009, 19:28:43	Not realized yet.
 
I installed it as i should with no problems but my charcter don't get the items when i relog?? please help me.

Stoofer Your account 8 26 April 2009, 01:41:05 Not realized yet.
 
Works perfectly!

I'm using Mystic Spirit [0.2] Patch Level 23
 
Back
Top