TheBigChief Posted March 4, 2009 Posted March 4, 2009 Is there a way to ditch the shops per city and have 1 shop or a set of shops that are global and can be viewed in all cities? Quote
blade727 Posted March 4, 2009 Posted March 4, 2009 Re: [v2] Shops.php yes.just remove the city limit thingy so it can be used in all cities. Quote
TheBigChief Posted March 6, 2009 Author Posted March 6, 2009 Re: [v2] Shops.php What? Where is that? Quote
EineyEntertainment Posted March 6, 2009 Posted March 6, 2009 Re: [v2] Shops.php Go into shops.php and find the code that say's $q=$db->query("SELECT * FROM shops WHERE shopLOCATION={$ir['location']}"); replace it with $q=$db->query("SELECT * FROM shops"); That's gonna set it so that regardless of what city they're in, you'll see the same shops! to break down the code for future knowledge, you are no longer telling the query to get the shops from where the location of the shop equals the location of the player. You're telling it to just post all the shops. Hope that helps! Quote
TheBigChief Posted March 7, 2009 Author Posted March 7, 2009 Re: [v2] Shops.php This worked a treat and when I go to shops I now see every shop but I want it so that when I create a shop I dont need to choose a city otherwise when I go to shops it tells me I am in the wrong city. Quote
EineyEntertainment Posted March 8, 2009 Posted March 8, 2009 Re: [v2] Shops.php Back up your files before doing this, because it might not work but... Quick fix (less clean) edit your ShopLocation SQL to be 0 Go to your shops.php and change if($shopdata['shopLOCATION'] == $ir['location']) to if($shopdata['shopLOCATION'] < $ir['location']) Quote
John99 Posted March 8, 2009 Posted March 8, 2009 Re: [v2] Shops.php Theres no point even having all them in one city people will get bored, to fast thats why people have citys to people have to do more stuff. Quote
Dave Posted March 8, 2009 Posted March 8, 2009 Re: [v2] Shops.php The only motavation the user gets on a game is unlocking new things as he plays the game, Doing this would in effect remove one of these which could possibly make the game more boring for the players. Quote
kamahl Posted March 8, 2009 Posted March 8, 2009 Re: [v2] Shops.php I'm interested in just having one shop each for Weapons, Armor, and Medical, but as they enter different cities, more items become available......but in the same shop. So they would still be opening up new items as they reach new places, but it basically takes away one step in the process of going to Explore --> Shops --> Specific Shop. And you don't have to come up with a different shop for every city. Doesn't sound like a huge deal, I know, but if anyone has an idea how to do this, I'd like to hear it... (hope this isn't hijacking the thread as it's very similar) Quote
EineyEntertainment Posted March 8, 2009 Posted March 8, 2009 Re: [v2] Shops.php I know i've been helpful in this thread...but I think I have to speak on this matter since Crazy and wicked have... You guys are just being Lazy. McCodes offers you the ability to create stores and add stuff without having to recode over and over. It seems like the first person wants to create one SUPERSTORE ala wallmart and have that store in every city... The next dude wants you to be able to have the same store, but it unlocks items over levels.... Yeah I hate to sound rude, but put some TIME into your game. Create different stores at different cities. Yeah it gets dull, but its a nice little touch that really makes players enjoy your game more. I have the same style set up in EVERY city. Armory/ Food Market / Temple (Get your hospital items) andmy players actually notice the different sayings I have for each... Players will not touch a crappy looking game... Quote
TMan Posted March 8, 2009 Posted March 8, 2009 Re: [v2] Shops.php What I did was mod the housing table in the sql and added like 4 more locations. Then I just modded staff panel to add the shop to your choice of 1 or 5 cities. I only did this because I want to have around 30 cities so players can hide from eachother. And having 5 cities exactly the same for the same levels wont bother players as they can unlock more shops and cities.... with higher levels. Quote
kamahl Posted March 9, 2009 Posted March 9, 2009 Re: [v2] Shops.php I know i've been helpful in this thread...but I think I have to speak on this matter since Crazy and wicked have... You guys are just being Lazy. McCodes offers you the ability to create stores and add stuff without having to recode over and over. It seems like the first person wants to create one SUPERSTORE ala wallmart and have that store in every city... The next dude wants you to be able to have the same store, but it unlocks items over levels.... Yeah I hate to sound rude, but put some TIME into your game. Create different stores at different cities. Yeah it gets dull, but its a nice little touch that really makes players enjoy your game more. I have the same style set up in EVERY city. Armory/ Food Market / Temple (Get your hospital items) andmy players actually notice the different sayings I have for each... Players will not touch a crappy looking game... Haha, you are jumping to conclusions here. I've put more work into my game (it hasn't been released yet) so far than any other game I've seen on the Web except a handful. It's not being lazy at all. Setting up ONE armor shop which unlocks more weapons as you level up isn't any "lazier" than setting up 5 armor shops and putting new weapons in each one. You have the same amount of weapons either way. My game is customized out the ass....I've been running Web sites for 4 years, have made a ton of money doing so, and know usability better than 99% of webmasters. Of course that sounds extremely arrogant, but just letting you know I'm NOT taking the lazy way out. Message me privately if you're interested in seeing my game, Einey...would rather not tell it around til it's released... 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.