Jump to content
MakeWebGames

Recommended Posts

Posted

Hey all.

 

Well I got bored and fancied coding something or atleast updating something for free =)

 

About this mod:

A few month's ago ''Ishmell'' made this, However he did alot of things wrong and well the mod was good but it did suck, So I decided I'd recode it to what I want it and change a few things and add a few things. Make things more interesting ;). It's not the best but it's free, And if you ask me It's pretty good :D & It don't use die(); so you're footer will show :D

All the code should run pretty fast, However I'm not speed optimizer so I could off used some slow functions.

What I've done;

  1. Its now one big file
  2. Each picture is totally random outcome
  3. Now users can go to jail & hospital
  4. It now will say the actual city name (You got arrested for being at New York)
  5. Updated alot of the code
  6. Changed a few queries :D

Thanks Too;

  • Magictallguy - Helped me figure out I'd defined $hb instead off $db - LOL
  • Ishmell - For Creating the modification :D

[align=center]This is a tested modification and it's working without any issue's

[align=left]Run this query;

[/align][align=left][mysql]ALTER TABLE `users` ADD `turns` INT( 11 ) NOT NULL DEFAULT '25';

[/mysql]

Add in cron_day.php;

[mysql]$db->query("UPDATE users SET turns=25");

[/mysql]

 

[/align][align=left]

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

[/align][/align]

Posted
small problem about this mod...

most of the Sqaures dont have a link on them. only about 30% of them do...

could you fix it for us please?

I never looked at that >,< I'll take a look once I get a chance, Could be a number of things. I'll see what I can do though bud :)

Posted
most probably the cordindates on the image are wrong so the links dont appear in the right place, btw this was a quick reply...
All I can say if have a play with the code, And once I can get time I'll find my way to fixing it :)
Posted

Just to note your grid image is 6 x 7 = 42 blocks yet on your Co-ords you only have enough for 25 blocks which means 17 blocks are not clickable...

Also some co-ords are wrong on the ones you have posted...

Correct Co-Ords with Missing Blocks

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Best way of solving Co=ords is via Windows Paint as it gives you grid refs at bottom of screen for each block

Example below

examp.png

Posted

Or Illusions you can download the image open it in Adobe Dream weaver and draw the the rectangles on it view the source code and copy the area code it gives you. ;) Some people say thats cheating though.

Edit: Typo. :(

Posted

small problem with this mod when i add illusions map coords...

all of the sqaures have the same

/act=search&search=?

on them... shouldnt it be like mixed all over?

so players cant find out which search gives best rewards and then type the "act=search&search=NUMBER" part in the address bar and get the same reward over and over?

Posted

Yep that will always be the downfall of this mod the $type and the co=ords i gave just call for a random session of $type even if the co-ords where scattererd arounf the image it wouldnt make much of a difference. f a user knows where to click to find the best outcomes

Posted

is there any way to make it so say you get "act=search&search=2"

it will select a different $_GET['search'] slot on the mod. so it doesnt give out the same item or whatever if you get that act function?

if you know what i mean... lol.

Posted
Yep that will always be the downfall of this mod the $type and the co=ords i gave just call for a random session of $type even if the co-ords where scattererd arounf the image it wouldnt make much of a difference. f a user knows where to click to find the best outcomes

Ahh, What a valid point -_- . I might have too see what I can do to prevent that from happening. Thanks for helping though. :)

  • 1 year later...

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