Jordan Palmer Posted February 13, 2010 Posted February 13, 2010 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; Its now one big file Each picture is totally random outcome Now users can go to jail & hospital It now will say the actual city name (You got arrested for being at New York) Updated alot of the code 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] Quote
danger boy Posted February 13, 2010 Posted February 13, 2010 Looking good mate. I think you should post some screenshots Well done Quote
Magictallguy Posted February 13, 2010 Posted February 13, 2010 My edits: Bytes: 9,775 to 8,673 Lines: 221 to 152 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Jordan Palmer Posted February 13, 2010 Author Posted February 13, 2010 Thanks, I'll post Screenies when I can be bothered @Magictallguy; Thanks, I suppose I could off done that, But hell I don't see an major issue with the size but thanks anyway Quote
Nicholas Posted February 13, 2010 Posted February 13, 2010 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? Quote
Jordan Palmer Posted February 13, 2010 Author Posted February 13, 2010 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 :) Quote
Nicholas Posted February 13, 2010 Posted February 13, 2010 most probably the cordindates on the image are wrong so the links dont appear in the right place, btw this was a quick reply... Quote
Jordan Palmer Posted February 13, 2010 Author Posted February 13, 2010 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 :) Quote
Snake Posted February 13, 2010 Posted February 13, 2010 Streets How would i go about adding a Back link to go back to the streets image?? Quote
Jordan Palmer Posted February 13, 2010 Author Posted February 13, 2010 echo "<a href='streets.php>Back</a>"; Under wherever ya want it Quote
Uridium Posted February 17, 2010 Posted February 17, 2010 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 Quote
CrazyT Posted February 17, 2010 Posted February 17, 2010 @Illusions, thanks for telling me Windows Paint does the cords didn't know that. lol :D Quote
CJ - Twitch Posted February 17, 2010 Posted February 17, 2010 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. :( Quote
Jordan Palmer Posted February 17, 2010 Author Posted February 17, 2010 I didn't change the Cords, I simply updated the code and brought it into one big file instead off two However Thanks Illusions :) Quote
Uridium Posted February 17, 2010 Posted February 17, 2010 Jordan np matey i just found it easier with mS Paint rather than downloading a whole crap of programs ;) Quote
Nicholas Posted February 17, 2010 Posted February 17, 2010 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? Quote
Uridium Posted February 17, 2010 Posted February 17, 2010 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 Quote
Nicholas Posted February 17, 2010 Posted February 17, 2010 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. Quote
Jordan Palmer Posted February 18, 2010 Author Posted February 18, 2010 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. :) Quote
Apocalyptical Posted August 3, 2011 Posted August 3, 2011 Is there an updated version of this mod? 1 Quote
Danny696 Posted August 3, 2011 Posted August 3, 2011 Pfft, the last post for this was over a year ago, dont do it again. And no there isnt, why not do one yourself. Quote
Apocalyptical Posted August 3, 2011 Posted August 3, 2011 Not sure where being rude became necessary. Why would I go out of my way to make something if it's already been done? It's only logical to check first. Thanks for the non-help. 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.