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

Shop System Full! [Modern AAC]

this shop offer is good, but not compared with paxton and stian shop offer but thanks for sharing! repped
 
Cant edit my post sorry for double post:
I get an error while testing: when i go to myurl/p/v/gifts told me
PHP:
Shop System Succesfully Installed!

Your shop system has been installed succesfully!! click HERE to see your shop
when i click here to see my shop still appearing this page, fix this.
 
FORGOT A QUERY

Please open htdocs/gifts/config/Shop.sql and replace all content with:

Code:
--
-- Table structure for table `shop_history`
--

CREATE TABLE IF NOT EXISTS `shop_history` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `product` int(11) NOT NULL,
  `session` varchar(256) NOT NULL,
  `player` varchar(256) NOT NULL,
  `date` int(10) NOT NULL,
  `processed` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=31 ;

-- --------------------------------------------------------

--
-- Table structure for table `shop_offer`
--

CREATE TABLE IF NOT EXISTS `shop_offer` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `points` int(11) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '1',
  `type` int(11) NOT NULL DEFAULT '1',
  `item` int(11) NOT NULL DEFAULT '0',
  `count` int(11) NOT NULL DEFAULT '0',
  `description` text NOT NULL,
  `name` varchar(256) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;

CREATE TABLE IF NOT EXISTS `shop_donation_history` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `method` varchar(256) NOT NULL,
  `receiver` varchar(256) NOT NULL,
  `buyer` varchar(256) NOT NULL,
  `account` varchar(256) NOT NULL,
  `points` int(11) NOT NULL,
  `date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

or, if you have the shop installed, execute the following query:

Code:
CREATE TABLE IF NOT EXISTS `shop_donation_history` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `method` varchar(256) NOT NULL,
  `receiver` varchar(256) NOT NULL,
  `buyer` varchar(256) NOT NULL,
  `account` varchar(256) NOT NULL,
  `points` int(11) NOT NULL,
  `date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
 
Sorry, but...
How I can enter in administrator account?
I have to create one ?
Have tutorials for it?

thanks >_>"
 
Oh, I make this, but the new rev of the modern aac is buged.
nobody can create a new account/character or login the accounts. D:
 
Sorry for this but i can't edit my post...

How I can set to items go in the ammunition slot ?
But I can have a backpack in the backpack's slot, and in the ammunition's slot too '-'

Thanks
 
Could you make that someone can acces the shop without being online? i think this is useless.. or at least a error message "you are not logged in" thanks :)
 
Hepy: the store was made to take account you need to buy.

[is a bit silly to buy if you do not char .. bots and others just could fuck with this.]

Up: Thanks
 
@Elexonic: thanks :) but is there a way to warn players that they must log in before acces the store? because some of them could think its buggy or something like this.. thanks again and really nice script!
 
[22:7:26.224] data/globalevents/scripts/shop.lua:22: in function <data/globalevents/scripts/shop.lua:1>
[22:7:26.224] [Error - GlobalEvents::think] Couldn't execute event: shop
obtain infinity
 
Back
Top