NonStopCoding Posted May 4, 2015 Posted May 4, 2015 Module Version: 1.00 Module Creator: NonStopCoding Players will be able to buy a shop and sell items crystals or donatordays from there shop. Download Links JumpShare: https://jumpshare.com/v/QQ261069ORHy3e6CiX7h?b=Aa4pgfZetx6fpv92yNnx DropBox: https://www.dropbox.com/home/Player%20Shops?preview=Player+Shops+v1.zip Mega: https://mega.co.nz/#!KQslRAxK!XVeZRQhkRZuVhR8CXpMU_6bWcyK73dbw7TpmqI9pdxM Pastebin - player_shops_install.php - http://pastebin.com/b4Jrjpyi Pastebin - myshop.php - http://pastebin.com/0kzBusU1 Pastebin - shoplist.php - http://pastebin.com/v5faU11A SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. player_shops_install.php (Skip step above if you'r going to use this file.) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. myshop.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. shoplist.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Upload the noimg.png to your images folder. [ATTACH=CONFIG]1896[/ATTACH] Player Shops v1.zip Quote
NonStopCoding Posted May 4, 2015 Author Posted May 4, 2015 (edited) the forum has screwed up the code a little (added spaces where it should not be) better to use the pastebins or download the zip edit: Was thinking of making a feature for it where a user can try steal one or something out of the shop and shop owner can buy security for it what do you guys/girls think? Edited May 4, 2015 by NonStopCoding Quote
Zettieee Posted May 4, 2015 Posted May 4, 2015 No, that's kinda nasty :( But it works! thanks man. Quote
Zettieee Posted May 4, 2015 Posted May 4, 2015 Any chance of you coding up some more free mods? Quote
NonStopCoding Posted May 4, 2015 Author Posted May 4, 2015 Any chance of you coding up some more free mods? i could try what you got in mind? i always get stuck on ideas for what to code :) Quote
Zettieee Posted May 4, 2015 Posted May 4, 2015 Gang controlled citys | better gang wars: - if no gang controlls the city the gang leader needs to pay x amount - gang leaders can set a tax for that town [1-15%] that will get paid into the gang vault every 24 hours - another gan can take control of the city by beating them in gang war - gang wars should only last 24 hours - gang leaders can set a price in cash or crystals (both gangs need to have the money in gang bank) winner takes all. I got the ideas just not the time. :D Quote
TheMasterGeneral Posted May 4, 2015 Posted May 4, 2015 I would, personally, like to see [MENTION=69001]Zettieee[/MENTION] 's idea. :o I would personally use it in my game. Quote
Zettieee Posted May 4, 2015 Posted May 4, 2015 I had it for GRPG many moons ago. Kept gangs fighting. Thus more donations to cover training costs. :P Quote
NonStopCoding Posted May 4, 2015 Author Posted May 4, 2015 Gang controlled citys | better gang wars: - if no gang controlls the city the gang leader needs to pay x amount - gang leaders can set a tax for that town [1-15%] that will get paid into the gang vault every 24 hours - another gan can take control of the city by beating them in gang war - gang wars should only last 24 hours - gang leaders can set a price in cash or crystals (both gangs need to have the money in gang bank) winner takes all. I got the ideas just not the time. :D i like the idea never worked with mccodes gangs before so should be interesting Quote
NonStopCoding Posted May 5, 2015 Author Posted May 5, 2015 Ok so been doing some work on this and managed to get some stuff done * Added new fields to cities table * Added a new staff file which is only available if you own 1 or more cities also only shows to gang presidents (money is paid by hand). with this new option you will be able to set a tax value of 1-15% which will be taken from users who are in your city so if they do a crime your tax amount is taken off and added into the gang vault (Thinking of adding a option to pay or not if not then your gang can take action against him.) That's pretty much what i have done and got planned Quote
Monkey644 Posted May 21, 2015 Posted May 21, 2015 Hey all, I get the following once I have installed the files... PHP Error Message Fatal error: Call to undefined function request_csrf_code() in /home/a4767764/public_html/myshop.php on line 70 Free Web Hosting Quote
TheMasterGeneral Posted May 22, 2015 Posted May 22, 2015 You're not running the latest MCCodes V2 build, are you? Quote
KyleMassacre Posted May 22, 2015 Posted May 22, 2015 You're not running the latest MCCodes V2 build, are you? No, he is not. @Monkey644, you can go and download the current version and open global_func.php and paste those functions in your current global_func.php ;) By the way, what free host do you use? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.