Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Problem with PHP in RPG stats hack Details »»
Problem with PHP in RPG stats hack
Version: , by Disco Bunny Disco Bunny is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-15-2003 Last Update: Never Installs: 0
 
No support by the author.

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.

Download Now

File Type: (21.4 KB, 5 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-16-2003, 10:09 PM
Disco Bunny Disco Bunny is offline
 
Join Date: Sep 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-22-2003, 08:39 PM
Disco Bunny Disco Bunny is offline
 
Join Date: Sep 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03302 seconds
  • Memory Usage 2,222KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete