Well, I was not me who made these scripts, I'm not sure if it works, but they seem very interesting for me and I think it would be nice in the game.
Nome: Advanced Auction House v1.0
designer: josejunior23
Comandos:
Info:
Informações:
- Items are stored in a file. Txt and not in a database.
- The items are stored like this:
01/01/11 3031 2000 10 2
data,item,price,amount,guid do player
1º - creates a file XML folder called mods ADVANCED-AUCTION-HOUSE, and puts it inside:
guarde e pronto.
2º - make a file .LUA on foler mods/scripts called AAH, and put it inside:
http://pastebin.com/17CGHTN3
3º - make a file .txt on the folde of your server(.exe), name it as houseItems, who had been -> houseItems.txt
only for the owner
4º -on folder htdocs of your site, make a file called auction-house.php and make it:
http://pastebin.com/tH7Z6KDT
5º On index.php under:
You Make
6º On htdocs/layouts/SEU TEMA/layout.php
You have to add an option of auction-house, exemple:
I'll post some more scripts in another post..
Nome: Advanced Auction House v1.0
designer: josejunior23
Comandos:
PHP:
!auction-sell itemname, ammount, price - to add an item on the list
!auction-buy OfferID - to buy an item by OfferID
!auction-find itemname - search for offers
!auction-del OfferID - to delete an offer
!auction-info OfferID - to show info about OfferID
!auction-list - show a ful
!auction-list PLAYER_NAME - mostra uma lista com os items de PLAYER_NAME
!auction-cmd - shows a list of all commands.
!auction-clean - delete all the offers of the same day who use (access 3+)
!auction-clean 01/01/11 - delete all offers with the date 01/01/11 that you can change(access 3+)
!auction-balance - see how much money you have in your Auction-house
!auction-withdraw - to get your money.
Informações:
- Items are stored in a file. Txt and not in a database.
- The items are stored like this:
01/01/11 3031 2000 10 2
data,item,price,amount,guid do player
1º - creates a file XML folder called mods ADVANCED-AUCTION-HOUSE, and puts it inside:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="ADVANCED AUCTION HOUSE" version="1.0" author="josejunior23" contact="x1zy@hotmail.com" enabled="yes">
<talkaction words="!auction-sell;!auction-buy;!auction-list;!auction-info;!auction-del;!auction-cmd;!auction;!auction-find;!auction-clean;!auction-withdraw;!auction-balance" case-sensitive="yes" event="script" value="AAH.lua"/>
<globalevent name="aution_check" time="00:01" event="script" value="AAH.lua"/>
</mod>
2º - make a file .LUA on foler mods/scripts called AAH, and put it inside:
http://pastebin.com/17CGHTN3
3º - make a file .txt on the folde of your server(.exe), name it as houseItems, who had been -> houseItems.txt
only for the owner
4º -on folder htdocs of your site, make a file called auction-house.php and make it:
http://pastebin.com/tH7Z6KDT
5º On index.php under:
PHP:
case "latestnews":
$topic = "Latest News";
$subtopic = "latestnews";
include("latestnews.php");
break;
PHP:
case "auctionhouse":
$topic = "Auction-House";
$subtopic = "auctionhouse";
include("auction-house.php");
break;
6º On htdocs/layouts/SEU TEMA/layout.php
You have to add an option of auction-house, exemple:
PHP:
<li class="level1 item7"><a href="?subtopic=highscores" class="level1 item7"><span>Highscores</span></a></li>
<li class="level1 item7"><a href="?subtopic=guilds" class="level1 item7"><span>Guilds</span></a></li>
<li class="level1 item7"><a href="?subtopic=auctionhouse" class="level1 item7"><span>Auction-House</span></a></li>
I'll post some more scripts in another post..