
Joshua
Members-
Posts
1,271 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Joshua
-
"wasnt mine" Per say Hence ^ I used his originall awhile back, but the steal.php and mug.php were something I added to it, in that order, in that precise location :P
-
Looking to purchase a more advanced drug mod
Joshua replied to Lotan Kane's topic in Requests & In Production
A price hasnt been set yet, but do to high demand i'm looking around 40-50.00. This is an estimate and is subject to change :-) -
Am sudo curious where you got my old view user ;-) Removed a few calls from the db-> query but the links are all the same, laid out the same, i.e mug/steal etc. "wasnt mine" Per say....but the way it's laid out is the same way I had it laid out on my game. Must have more than 1 back up floating around >,<
-
Looking to purchase a more advanced drug mod
Joshua replied to Lotan Kane's topic in Requests & In Production
I'm actually working on just one of these.. here's what mine will entail. Players will purchase land to farm drugs on. Drugs will start off as seeds, found in various cities for differant prices. Players will then be able to Plant these seeds (Will have 2 versions, one will work with my turf mod the other will not, the one with turf mod will vary on turf owned etc) Seeds will Need to grow and be fertilized/maintained. Drugs will grow in various qualities depending on Upkeep. Once fully grown, the Drugs will have a set amount that was cropped succesffuly. From this crop you can then Harvest these drugs which will insert a set amount of that drug as an "item" into your inventory. So you may harvest and have say...22 grade B joints etc etc. users will be able to use these drugs for perks, if working with the other 2 mods i am merging this with 'police/drug smuggling' users will be able to risk smuggling drugs to other cities for differant sale values to the stores. Will also be a drug market where users can market their drugs. It's a work in progress, will be for sale sometime next month I hope. -
Still trying to work Arrays just right, Think my way would work tho i'd have to compare to what I did on my sites >,< I'm going to devote just some time to arrays and modules here shortly
-
A few things, Did you add the SQL for the sig in users column? Also, your viewuser isnt secure from the displaypic hack ^_- Try this. if(!@getimagesize($r['display_pic) { echo "<center>[img=images/nodisplay.jpg]"; } elseif(@getimagesize($r['display_pic) { echo "<center>[img={$r[] </center>"; } As for sig bit i'm still not entirely sure how to make a "secure one" from xss in the bbcode. echo ''.bbc($r['sig']).''; } else { echo 'This User Has No Profile Signature'; } maybe the above will work.
-
^ For the Price, and the Talent however, I will say I think Tax takes the cake ;-) Could be wrong, but i've looked at a lot of design talents on mwg. Several skilled people here, Taxxed just does a few unique things no others do :) "on mwg" ^_-
-
Flash Chat is "sudo nice" I just dont like how much of a hassle it is to "sync" databases with user integration >,<
-
bleh for flash, i never could get it to sync with my users Pro chat when a user signs into the chat it is basing their User name from the game, which is what i was after >,<
-
By corn you must mean cron :P confused the heck out of me at first >,< You have to set your Crons to run on your host in cron jobs :P
-
use FF :P
-
Pro chat rooms was a lot easier to integrate my users with the existing db >,<
-
Preg_Match Help :-) Security Fix for Viewuser hack.
Joshua replied to Joshua's topic in General Discussion
oops good eye -
Preg_Match Help :-) Security Fix for Viewuser hack.
Joshua replied to Joshua's topic in General Discussion
Yer possibly. But when he originally posted that I didnt understand it, do it myself a bit and I learn it and understand it, so eh..learning process. -
Preg_Match Help :-) Security Fix for Viewuser hack.
Joshua replied to Joshua's topic in General Discussion
After trying several differant approaches this is the one that has succeeded over all if(!@getimagesize($ir['display_pic'])) { $pic ="images/default.png' width='43' height='43' border='0'"; } elseif(@getimagesize($ir['display_pic'])) { $pic = $ir['display_pic']; } -
Preg_Match Help :-) Security Fix for Viewuser hack.
Joshua replied to Joshua's topic in General Discussion
yea we've just discussed that in chat, meh. i was already using getimagesize >,< So I beleive this should do it, thanks if(preg_match("/^.*\.(jpg|jpeg|png|gif)$/i", $r['display_pic'])) { if(@getimagesize($r['display_pic'])) { $pic = "[img={$r[]"; } } else { $pic = "This user has no display pic!"; } -
Preg_Match Help :-) Security Fix for Viewuser hack.
Joshua replied to Joshua's topic in General Discussion
I dno how preg match works yet so :P Would that ignore the http://www.site.com/picture bit and just check the .png/.jpg/.gif etc? -
Ok, so I've got a few ways that "works" to stop the viewuser/preferance hack. I had a thought on "another" way to do this and I am garbage with preg So any help would be beneficial to anyone :P Ok, so instead of using getimagesize on the displaypicture bit, which occasionally bugs certain images. What if in the following link, you do something like... if ($r['display_pic'] preg match .php/.exe etc) { echo fail } else yadda yadda. Would that be do-able? If so...how? :P if($r['display_pic']) { $pic = ""; } else { $pic = "This user has no display pic!"; }
-
Common Sense Zero :P A. $db->query is in a seperate file that you must call to when using. B. mysql_query goes straight to the source milliseconds faster but shrugz, it's faster and i'm trying to stop using typical mccodes stuff as I branch out ^_-
-
would any1 like this in there game?
Joshua replied to corruptcity || skalman's topic in General Discussion
Well it's about time >,< -
would any1 like this in there game?
Joshua replied to corruptcity || skalman's topic in General Discussion
If you get stuck bro...... well hell you will ask me :P