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
  #182  
Old 03-30-2006, 10:07 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
Its impossible to get an error on step 4 and it not having run up until that step.
I did not say I got an error at step 4. I get the error right when I select and proceed installation of RPG beta5. So, the installer doesn't work at all.

As it's a testboard and this is beta software, I experimented with just importing the XML. That works. Ergo, 'step 4', that what is supposed to be done during step 4, works.

By manually doing the so called step 4, not by running the installer, I omit step 1, step 2 and step 3. Not because I don't want it, but because it won't run.

Why does this installer not work, while the one supplied with beta4 did?
Reply With Quote
  #183  
Old 03-30-2006, 12:11 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 TosaInu
Downloaded 3.5 beta5 yesterday, upgrading from working 3.5beta4 today:

Step 4 run the upgrade script:

'Error in upgrade'.
Ahem. Anyways.
Did you look into the installer/hacks/rpg_integr_hack/class.php and see that those variables are like I posted in the post?
Also, what I don't understand is, how can several other people have upgraded successfully, yet you cannot?
Reply With Quote
  #184  
Old 03-30-2006, 12:36 PM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, lol. That's step 4 in the installation guide (README_FIRST.html). Sorry about the confusion.

Yes, I checked that file class.php, all is there.

I don't understand either. I don't have to uninstall the old beta first, do I?
Reply With Quote
  #185  
Old 03-30-2006, 03:35 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No you shouldn't have. Others have upgraded successfully.
What you should do is open the upgrade3505.php and manually do the queries that lies within.
Then do the version number increase like described in a previous post.
That will get you up to date.
Reply With Quote
  #186  
Old 03-30-2006, 04:13 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Revan I am getting that error
Reply With Quote
  #187  
Old 04-01-2006, 09:44 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In installer/class_installer.php

// Figure out which version this belongs to
$nextstep = $versions["$currentversion"];

if (!is_array($steps["$nextstep"]))
{
die('Error in upgrade.');
}

I // commented out the die bit. Then (of course?) another problem pops-up



Advanced Hack Installer could not find the file 'upgrade' within the requested directory.

Please contact the hack author.


One may assume that this refers to upgrade350x.php files. So it had to select upgrade3505.php in my case, but it can't get that info. So, just make a copy of upgrade3505.php, call it upgrade.php and upload that. Run the installer again and it will go to

This script will update your RPG Integration Hack to version .

Press the 'Next Step' button to proceed.


Click proceed



* Altered Table: 0nvb3_rpg_ibots
* Altered Table: 0nvb3_rpg_monster_battles
* Altered Table: 0nvb3_rpg_user


Click proceed, the product.XML is imported. Click proceed.

Updated Setting: Version Number successfully.

Click proceed

You have now successfully upgraded the RPG Integration Hack to version ..

We hope you will enjoy using all the new features in the RPG Integration Hack as much as we have enjoyed writing them.
The RPG Integration Hack offers a level of forum and user integration both you and your members will enjoy for countless hours into the future, and new things are always in development.

What are you waiting for, go to your AdminCP and start configuring the hack!


And the things that weren't there are now installed -> seems to work fine.


So, our problem seems to be that the installer can't figure out our current version. Comment out the PHP die in installer/class_installer.php and modify the filename of your required upgrade350x.php file to upgrade.php and upload that to installer/hacks/rpg_integr_hack

Code:
//		if (!is_array($steps["$nextstep"]))
//		{
//			die('Error in upgrade.');
//		}
Then just run the installation.
Reply With Quote
  #188  
Old 04-01-2006, 10:12 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Examined our database a bit, xxx_table setting record rpg_versionnumber. You'ld expect it to store the number of the version (3505 in this case), but it stores 0.

Edit: not all new SQL fields are added:

_rpg_ibot_templates ibotid
_rpg_monster_battles turnid
_rpg_monster_battle_posts still uses battleid instead of monsterbattleid

Playing moster in arena works so far. Will post when I find more.

More:
-rpg_ibots loses is not updated to the new losses
Reply With Quote
  #189  
Old 04-01-2006, 11:25 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So it causes the database error just because it can't detect the RPG version?
Reply With Quote
  #190  
Old 04-01-2006, 11:52 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The upgrade doesn't run because it can't determine the version number, that's correct.

The upgrade seems to miss some steps, even when it runs (some SQL fields are not added).
Reply With Quote
  #191  
Old 04-01-2006, 01:18 PM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm playing this RPG on the testforum now and it looks good.

What we like to do is setup one forum where people are RPG characters, while not knowing each others real identity. That's mostly possible already, but the PM's to challenge each other gives the usernames/forumnames away. There should be an anonimous sender in the PM or PM's are proxied by some admin.
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 05:04 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.05368 seconds
  • Memory Usage 2,322KB
  • 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
  • (1)bbcode_code
  • (2)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