Jump to content
MakeWebGames

Lucky Dip


NonStopCoding

Recommended Posts

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.

 
  • Like 3
Link to comment
Share on other sites

  • 4 years later...

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.

  • Like 1
Link to comment
Share on other sites

  • 4 years later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...