jaymo Posted June 3, 2011 Posted June 3, 2011 (edited) Description: This is a mod that allows your users to purchase point packs rather than going into the points market. 1. Make a file called 'pointdealer.php' 2. Add into 'pointdealer.php' You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 3. Don't forget to add a link to your file via the city. Thats it. Hope you enjoyed my first mod. Edited June 3, 2011 by Dominion added code tags Quote
Rory_M Posted June 3, 2011 Posted June 3, 2011 Once again jaymo you need to post post this in the right Place, or at least specify the Game Engine. Quote
Dominion Posted June 3, 2011 Posted June 3, 2011 Once again jaymo you need to post post this in the right Place, or at least specify the Game Engine. Home -> Forum -> Game engines ->Generic RPG -> Free Plugins -> Points Dealer [Mod] (First Mod) How is this the wrong place? Quote
Kieran-R Posted June 3, 2011 Posted June 3, 2011 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Give that a try. Does same thing in less lines of code. Quote
ShadyCoco Posted July 20, 2011 Posted July 20, 2011 I think a little abs intval needs to be used here :) EG: $newpoints = abs(intval($newpointsr)); Quote
Lithium Posted July 21, 2011 Posted July 21, 2011 I think a little abs intval needs to be used here :) EG: $newpoints = abs(intval($newpointsr)); Quite useless... as there is no need to filter user input! Quote
ShadyCoco Posted July 23, 2011 Posted July 23, 2011 (edited) Filter input mate :) Even if it's a GET.... and with GRPG and it's "security" :) Edited July 23, 2011 by ShadyCoco Quote
Lithium Posted July 23, 2011 Posted July 23, 2011 filter input on server side generated vars? as i said... useless :) Quote
grant Posted March 25, 2012 Posted March 25, 2012 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. simple and clean 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.