Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
RPG Integration Hack - Old Support Thread Details »»
RPG Integration Hack - Old Support Thread
Version: , by MindTrix MindTrix is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-17-2004 Last Update: Never Installs: 0
 
No support by the author.

Nice conversion there mate, lot of work has gone into it so well done and thanks for sharing it

Show Your Support

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

Comments
  #82  
Old 08-19-2004, 06:47 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heh, i'm getting the password problem again, when accepting new battles
This is with the uploaded/updated battle php files
  #83  
Old 08-19-2004, 06:59 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deimos
Next question...

When someone dies, it says they have to goto the healing centre
Well, i'm in there on a dead character and there's nothing in here to do?
IT says my hit points are full (0/0), so is my MA (0/0)

The Heal me button doesn't do anything, just refreshes the screen......

------

Also, when trying to cancel a battle when it's waiting for a response from the challenged party, it comes up with a sql error saying the battle table doesn't exist.
Your first error must be due to the RPG stats not being updated, as that is the only reason who both your HP and MA would be 0 (as its rare to have your MA being exactly 0)

Your second error must be due to even more ".TABLE_PREFIX." missing, I will find the line and tell you how to patch it.
Ah, here it is:
Goto line 59 and replace it (
PHP Code:
        $DB_site->query("DELETE FROM battle WHERE battlenumber='$battlenumber'"); 
) with
PHP Code:
        $DB_site->query("DELETE FROM ".TABLE_PREFIX."battle WHERE battlenumber='$battlenumber'"); 
this applies to everybody with a prefix on their forums.


SB2000, the fix for your error is:
Goto line 552 and remove the comma of this code:
PHP Code:
            rm_col_access='$rm'
Afterwards, go to line 544 and remove it
(It is about the Clan Shoutbox, which I was forced to remove due to excessive amount of template and coding errors)


Ok try this file for the invalid stuff errors:
Attached Files
File Type: (21.3 KB, 15 views)
  #84  
Old 08-19-2004, 07:06 PM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet, thanks for the prompt reply.

This hack has turned my board from a group of none rpg fans into belivers, lol.
  #85  
Old 08-19-2004, 07:07 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np mate
Im really sorry for this being so buggy, I swear I tested it...
Ah well with the help of you all I hope one day this can be error free
  #86  
Old 08-19-2004, 07:10 PM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heh, i wouldnt worry too much.I installed the old rpg hack from the start on my old forums and I can recall so many days of db errors that it was just as much fun playing the db error lottery as it was playing the game lol
  #87  
Old 08-19-2004, 07:16 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to save my RPG Profile (user cp/update info) comes up with.

Invalid SQL: UPDATE user SET element='3', rpgrace='2', alignment='2', rpggender='2', rpgclass='14', rpgtype='0' rpgstats='0' WHERE userid='1686'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'rpgstats='0' WHERE userid='1686'' at line 1

fun :P
hehe
  #88  
Old 08-19-2004, 07:20 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You forgot the comma before rpgstats
EDIT: no sorry that was my fault. Readme error


What I really need is updates on the clancp and battle password bugs...?


EDIT2: I just fixed a small graphical bug when an user in battle's HP is less than 25% of max.
Nothing much but it will be included in the next build when all errors are DEAD and BURIED!
  #89  
Old 08-19-2004, 07:48 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, ok
Only issue I see now, is it won't save my RPG name in the usercp?
If I put a name in, it refreshes and doesn't save, heh
I know, i'm a pain
  #90  
Old 08-19-2004, 08:19 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really weird, never happened to me before...
Ill look into it tomorrow, now its sleep
  #91  
Old 08-19-2004, 09:00 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sleep? Pfft, sleep is for the weak! :P

Hehe, sleep well man, good job again
Closed Thread


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 08:39 AM.


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.05920 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete