NonStopCoding Posted July 15, 2014 Posted July 15, 2014 I have not released anything free for a while so coded up this super simple lucky dip i noticed grpg doesn't have it and cant see it been released for free yet so here it is. SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. open up classes.php and add this to the users class You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. lucky.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 3 Quote
Mad Caper Posted March 3, 2019 Posted March 3, 2019 Recoded for GRPG V2 First add SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Than add this to classes.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 1 Quote
NonStopCoding Posted March 4, 2019 Author Posted March 4, 2019 (edited) Some minor changes and a missed mysql_query fix You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited March 4, 2019 by Dave Include code in post Quote
Dave Posted March 4, 2019 Posted March 4, 2019 @NonStopCoding please refrain from posting links to code offsite, I've updated your post with the code in a code block. 2 Quote
NonStopCoding Posted March 4, 2019 Author Posted March 4, 2019 1 minute ago, Dave said: @NonStopCoding please refrain from posting links to code offsite, I've updated your post with the code in a code block. my bad thanks :) 1 Quote
Ishraq Posted July 25, 2023 Posted July 25, 2023 On 3/3/2019 at 12:40 AM, Mad Caper said: Recoded for GRPG V2 42 minutes ago, Dustin Rohel said: i can't get this to work. Are you trying to add it to mccodes? You'd need to follow the structure for mccodes, selecting and updating the user fields from a query as this engine has a different structure. Try comparing a module that works in your game and you could easily convert it for yourself. This will help you learn about your game itself. Trial and error. 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.