PDA

View Full Version : Problem with PHP in RPG stats hack


Disco Bunny
03-15-2003, 11:19 AM
Sorry if this doesn't belong here but I was uncertain whether to post this in here or the "Help Me Finish" Section. However I will just post it here since it is finished but has a problem with the PHP.

OK so after downloading the "RPG classes" hack by Dark Vincent I was intrigued about making it work with some sort of level up system. After seeing the already made online battle systems I just decided to make my own to fit what I needed. However I have no real concept of PHP and am completely knew to it so I just used common sense and the basis of other hacks to make this. After finally finishing this, my first project, I tried it out, but sadly it seems it will not actually show up where I ask it to (the post bit), almost as if it doesn't call the object. However it will display DEF as 0, STR as 0, MP as 0 and HP as 0 happily, as long as the "level" of the person is at 0. So I presume somewhere in the coding I have made it faulty in calling multiple things.

The basic concept of this hack is to allow a HP, MP, STR, DEF battle system, users have to post the attack but gain the stats automatically and the stats vary on what class you choose. At the moment only EXP is gained in the Battle arena forum for posting as I used various points systems to make it so I used the "default" points system for EXP so I could disallow it to only go up in one forum.

So please, could you help me? I really don't want all this work to go to waste as it took a lot of effort and I can only think of resorting to here for help. Well the post includes the new coding I added to functions, but not Vincent's Hack. I am basically just asking for you to fix the problem of it not showing up.

All yes credit goes out to Dark Vincent and Justin Lorence.

Disco Bunny
03-16-2003, 10:09 PM
Sorry to double post, and I do realise it has only been a short period of time, but i really need this done by Tuesday. So please atleast have a go at solving it. =\ Any input would be much appreciated. Again I appologise if this premature bump will annoy people, but as fellow admins you should know what it is like when you have several loose ends and a deadline, plus members constantly nagging you to sort it out.

Disco Bunny
03-22-2003, 08:39 PM
Is there any guy I could ask to help me? People seem to just be ignoring this and my deadline has passed -_-. C'mon i really need help, atleast look at it! No one has even downloaded it yet. :(