jaymo Posted June 3, 2011 Share 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 Link to comment Share on other sites More sharing options...
Rory_M Posted June 3, 2011 Share 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 Link to comment Share on other sites More sharing options...
Dominion Posted June 3, 2011 Share 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 Link to comment Share on other sites More sharing options...
Rory_M Posted June 3, 2011 Share Posted June 3, 2011 Sorry i didn't realise that lol :) Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted June 3, 2011 Share 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 Link to comment Share on other sites More sharing options...
jaymo Posted June 4, 2011 Author Share Posted June 4, 2011 thanks, much better. Quote Link to comment Share on other sites More sharing options...
ShadyCoco Posted July 20, 2011 Share Posted July 20, 2011 I think a little abs intval needs to be used here :) EG: $newpoints = abs(intval($newpointsr)); Quote Link to comment Share on other sites More sharing options...
Lithium Posted July 21, 2011 Share 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 Link to comment Share on other sites More sharing options...
ShadyCoco Posted July 23, 2011 Share 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 Link to comment Share on other sites More sharing options...
Lithium Posted July 23, 2011 Share Posted July 23, 2011 filter input on server side generated vars? as i said... useless :) Quote Link to comment Share on other sites More sharing options...
grant Posted March 25, 2012 Share 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 Link to comment Share on other sites More sharing options...
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.