Jump to content
MakeWebGames

Recommended Posts

Posted

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

noimg.png.8b2d191e4513f77c8e76e63c0a8cdf1f.png

Posted (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 by NonStopCoding
Posted

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

Posted
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

Posted

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

  • 3 weeks later...
Posted

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

Posted
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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...