Jump to content
MakeWebGames

Developer Guide


Zeggy

Recommended Posts

Here are some things that you might want to know if you're developing for ezRPG!

Developer mode:

ezRPG by default turns off error reporting. As a mod developer, you will probably need to see errors.

In config.php at the bottom you can see two constants defined:

SHOW_ERRORS - set this to 1 to see PHP errors

DEBUG_MODE - set this to 1 to see all your queries (you probably won't need to turn this on except in extreme cases)

Documentation:

If you're not sure what a class or function does, you can look it up in the documentation website. It's included in the Docs folder of ezRPG, or you could just view it on the internet here:

http://ezrpg.googlecode.com/hg/Docs/index.html

You should also notice that there are several predefined functions in ezRPG that you can use such as requireAdmin() to require admin level to access your module, or isUsername() to make sure something the user enters is a username.

 

I will add more to this post when I think of more stuff. If you have any suggestions, post them in a reply!

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...