Server structure help
#1

Hello. My server is currently structured like this:
  • include/accountsystem.inc
  • include/commands.inc
  • include/dialogs.inc
  • include/mysqlsystem.inc
  • include/settings.inc
  • include/usefulfunctions.inc
  • include/variables.inc
The problem with this is that some files must be included before others, and it is very easy to mess things up, resulting in errors when compiling (like variables that are not declared, and so on).

I have read the topic about this, but there's nothing concrete in it. In which way should I organize my GM to avoid those easy mess-ups? I am hooking my functions with y_hooks, not ALS, if that helps. I just need an idea, something to build my GM on, or some way that I should think this structure.
Reply


Messages In This Thread
Server structure help - by Opptur - 05.06.2014, 19:53
Re: Server structure help - by Opptur - 06.06.2014, 11:02
Re: Server structure help - by RajatPawar - 06.06.2014, 11:22
Re: Server structure help - by CaveDweller - 07.06.2014, 17:04
Re: Server structure help - by Opptur - 08.06.2014, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)