Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
RPG Integration Hack Details »»
RPG Integration Hack
Version: 3.5.1, by Revan Revan is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-23-2006 Last Update: 08-12-2006 Installs: 213
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

[high]
RPG Integration Hack v3.5.1 Patch Level 2
[/high]
RPG Integration Hack (RPG hack for short) v3.5.1 is the first step into the next generation of the classic hack compiled by Bitsys. For those that are unfamiliar with any of what I mentioned above, heres a quick rundown of what this hack is and does.
The RPG hack adds a whole new level of fun to a forum, by allowing uses to duke it out in a fierce battle. Use items to turn the tide of the battle, or use powerful spells to bring down an opponent. Or you can just rely on the good old sword to cut your enemy down to size!
Create or join a clan to amass an army and conquer the boards.
Patch yourself up after a hard battle.
Feeling lucky? Go bet on the lottery!

No RPG forum should be without. Administrator controls every single aspect of how the hack works, right down to every item and an user's level/stat gains.


[high]Important Notices:[/high]
  1. You need an external Cash mod installed for this mod to function properly.
    • uCash/uShop or vBPlaza, either will do
    • The Cash mod need to use the `user` table
    • You need to configure a setting in the RPG Integration Hack - Cash Options after install/upgrade
[high]Known Issues:[/high]
  1. Regular postbit doesn't contain RPG info
  2. RPG Manual is still outdated
These are all issues that will be addressed in upcoming versions.



[high]Upgrading Users:[/high]
What's new in v3.5?
  • OOP coding for query efficiency
  • Revamped templates
  • New Battle formulas (Thanks to Decado)
  • Works with AJAX Quick Reply/Quick Edit
  • Reoccurring Lotteries
  • Improved Healing Center
  • Inventory feature for the ability to carry multiple items from same item category
  • RPG Info no longer changeable on the fly
  • And last, but not least: [high]NO FILE EDITS![/high]
For support, please visit the RPG Integration Hack Support Forums
All support queries in this thread will be ignored by me.


If you use this mod,

Click it!


If you wish to support me in the development of the hack,


Your donations are most appreciated

Show Your Support

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

Comments
  #222  
Old 04-04-2006, 06:39 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kingzor
Code:
Parse error: syntax error, unexpected T_STRING, expecting '(' in /xxx/xxx/public_html/vbull/admincp/rpg_maintenance.php on line 394
went to goto do "Maintenance" and got this error.


Code:
			else if (in_array($cachename, array('items')))
works


but still getting

Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

					UPDATE `rpg_user`
					SET `items` = '',
						`inventory` = '';

MySQL Error  : Unknown column 'items' in 'field list'
Error Number : 1054
Date         : Monday, April 3rd 2006 @ 09:53:03 PM
Script       : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
Referrer     : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
IP Address   : xxxxxx
Username     : King
Classname    : vb_database
when i tried resetting items.


Run the SQL query in mysql-scheme.php to remake the items
Reply With Quote
  #223  
Old 04-04-2006, 08:02 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nah its just a code error in that batch.
PHP Code:
            else if (in_array($cachename, array('items')))
            {
                
// items aren't in user table
                
$db->query_write("
                    UPDATE `" 
TABLE_PREFIX "user`
                    SET `items` = '',
                        `inventory` = ''
                "
);
            } 
That's what happens when you code when in a rush...
I dont think I cba to fix this until I done some other features, all these non-content updates are becoming tiring
Reply With Quote
  #224  
Old 04-04-2006, 10:31 AM
cayote cayote is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just the error:

Parse error: parse error, unexpected T_STRING, expecting '(' in /homepages/26/d1xxxxx824/htdocs/forum/admincp/rpg_maintenance.php on line 394

Otherwise everything seems to work fine...oh..inventory...is that not operational? Clicking on it just gets a page not found error.

Thanks
Reply With Quote
  #225  
Old 04-04-2006, 10:34 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edited the code, small mistake.
And no, the Inventory isn't done yet.
Reply With Quote
  #226  
Old 04-04-2006, 10:38 AM
cayote cayote is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok..thx for quick reply...so I just paste that code you posted above over what's already in there? (Sorry, kinda newbish at this)

NEVERMIND....I did it and now it works...Thanks again, great game!
Reply With Quote
  #227  
Old 04-05-2006, 11:19 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Revan how to unpopulate the tables?I deleted the tables it create but I don't know how to unpopulate
Reply With Quote
  #228  
Old 04-05-2006, 11:57 AM
Solitary Seraph Solitary Seraph is offline
 
Join Date: Jul 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you run the uninstall.php that comes in the installer folder?
Reply With Quote
  #229  
Old 04-05-2006, 01:28 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have the RPG installed anymore so there is no use.I just wanna know how to unpopulate tables....
Reply With Quote
  #230  
Old 04-05-2006, 07:17 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not support methods of removal other than the uninstall.php.

Update 3 released
This takes care of a small problem with the Maintenance functions, file gave a parse error.
And since I hate to increment version numbers without actually adding something, I took care of what used to be #4 in the Known Issues list. User are now able to Reset their RPG Info by clicking the Reset radio button in their Headquarters, then confirm this action before it's finally reset.

What it does:
* Reset everything users chose in the Create Character.
* Reset Battle Statistics.
* Gives the admin the option of resetting Money and/or Items (Equipped as well as Inventory).

What it does not:
* Delete the Clan the user was in. Reason for this is because for larger boards with larger clans, just disbanding the clan might not be a good option. I will make something out of this later.
Reply With Quote
  #231  
Old 04-05-2006, 07:33 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoops... A bit too pre-emptive with the AdminCP Maintenance fix, seems like the file wasn't properly added to the zip.
Fixed now, hopefully not too many downloaded.
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 04:55 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.05353 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
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_code
  • (1)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
  • (3)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
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete