Jump to content
MakeWebGames

Recommended Posts

Posted

I'm making changes to streets mod

will this work?

 

<?
include "globals.php";
if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); }
if($ir['location'] != 9)
{ die("This page cannot be accessed while in another city."); }
else
 echo
"<center>[b]****Unders Overlook Mountains**** As you start to climb upwards 
Posted

You may (or may not) wish to change

if($ir['location'] != 9)
{ die("This page cannot be accessed while in another city."); }

To

if($ir['location'] != 9)
{ echo 'This page cannot be accessed while in another city.'; $h->endpage(); exit; }

It will include the footer from your theme and it's generally better practice.

Posted

ny one relise this ????

if($ir['location'] != 9)
{ die("This page cannot be accessed while in another city."); }
else
 echo

change it to

if($ir['location'] != 9)
{ die("This page cannot be accessed while in another city."); }
else { 
 echo
Posted

It works great. I thought I needed the center tag as part of the code / map

I ended up scrapping those coordinates anyway and went to http://www.image-maps.com/

ended up with 220 hot spots in the map...

then instead of having 1 through 220 like in maps I'd have 40 different events... repeated to fill up the 220 hot spots

I took the numbers for the events 1 through 220 and made up 220 annoying event codes

<area shape='rect' <area shape='rect' coords='216,123,262,170' href='climbmountunder.php?event=1liiiiijjijlil'>

<area shape='rect' coords='184,123,226,170' href='climbmountunder.php?event=1lii1iijjjjlil'>

<area shape='rect' coords='152,123,194,170' href='climbmountunder.php?event=1liiiiijjjj1il'>

to make it a little more cryptic so people are not triggering the same results, even though results have the random.

A really good item in one event / in one box will have em click that box over and over until it pays off the same reward event.

So I set lines on the pic which have no relationship to the actual hotspots which are much smaller boxes and inside the PICTURES boxes... even over lapping the pictures box lines... like I said each box to choose from on the picture has multiple hotspots each with the annoying cryptic code...

I didnt realize I didnt have to put in the jail and hosp code. It is redundant I should have seen that if not in city... that's it...

PS Thank You again for the help and guidance.

What I like about this is you can take streets.php found in archives... change the pic and upload it... pay attention to your pic and say its a map, you can make water not have a hotspot... or say theres a building or cave.. that can have a certain event related to that exact location... even with random outcome the outcome can be related to that specific location... hell you could place a map on the explore page with events leading to locations right... a nice chance for some more art in the game. --

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...