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
  #322  
Old 04-15-2006, 03:20 PM
Kingzor's Avatar
Kingzor Kingzor is offline
 
Join Date: Aug 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New sql error from a forum member.
Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

               INSERT INTO rpg_ibot_templates
                       (`userid`,
                       `ibotid`,
                       `hp`,
                       `maxhp`,
                       `mp`,
                       `maxmp`,
                       `pp`,
                       `maxpp`,
                       `ap`)
               VALUES
                       ('443',
                       '2',
                       '200',
                       '200',
                       '25',
                       '25',
                       '30',
                       '30',
                       '0');

MySQL Error  : Duplicate entry '443' for key 1
Error Number : 1062
Date         : Saturday, April 15th 2006 @ 08:14:30 AM
Script       : http://www.hiberniagaming.net/vbull/monsterarena.php
Referrer     : http://www.hiberniagaming.net/vbull/monsterarena.php?do=newbattle&ibotid=2
IP Address   : x.x.x.x
Username     : Fosilex
Classname    : vb_database
Reply With Quote
  #323  
Old 04-15-2006, 07:54 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The user must have had an ibot battle half-made or something, because that should not happen.
run DELETE FROM rpg_ibot_templates WHERE userid = 443 and DELETE FROM rpg_monster_battle WHERE userid = 443 and have him remake the battle.
Reply With Quote
  #324  
Old 04-15-2006, 09:39 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh yes i did forget to tell you that i cannot creat I bots....

one more thing....how would i create a dropdown menu on the first navbar? i am getting rid of clutter in my navbar....added two dropdown menus all ready and would like to tidy up the 2nd navbar and move the links to the first navbar? not sure how i would get rid of the 2nd navbar though....
Reply With Quote
  #325  
Old 04-15-2006, 10:28 PM
Travis641's Avatar
Travis641 Travis641 is offline
 
Join Date: Nov 2001
Location: USA
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you were getting the error I was, then you need to edit:
Code:
	$db->query_write("
		INSERT INTO `" . TABLE_PREFIX . "rpg_ibots` 
			(`botname`,
			`levelrequired`,
			`cost`,
			`expdrop`,
			`cashdrop`
			`limitname`,
			`hp`,
			`maxhp`,
			`mp`,
			`maxmp`,
			`pp`,
			`maxpp`,
			`ap`,
			`xp`,
			`genderid`)
`cashdrop` needs a comma after it in /admincp/rpg_monsters.php which allowed me to make ibots.
Reply With Quote
  #326  
Old 04-15-2006, 11:31 PM
nadanada nadanada is offline
 
Join Date: Feb 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

should clan invites be working?
Reply With Quote
  #327  
Old 04-16-2006, 02:38 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Travis641
If you were getting the error I was, then you need to edit:
Code:
	$db->query_write("
		INSERT INTO `" . TABLE_PREFIX . "rpg_ibots` 
			(`botname`,
			`levelrequired`,
			`cost`,
			`expdrop`,
			`cashdrop`
			`limitname`,
			`hp`,
			`maxhp`,
			`mp`,
			`maxmp`,
			`pp`,
			`maxpp`,
			`ap`,
			`xp`,
			`genderid`)
`cashdrop` needs a comma after it in /admincp/rpg_monsters.php which allowed me to make ibots.
tyvm that worked
Reply With Quote
  #328  
Old 04-16-2006, 09:22 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nadanada
should clan invites be working?
They don't? I tested them thoroughly... :surprised:


As for that SQL error, thanks for spotting it.

I hope to release 3.5.2 soon, with some new features as well as a new Stats system that will be the first step towards returning the stats to their "former glory" so to speak.
I don't know exactly when this will be ready, but as soon as possible.
Reply With Quote
  #329  
Old 04-16-2006, 12:32 PM
Rated Rated is offline
 
Join Date: Apr 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE `rpg_clans`
(
`clanid` int(10) UNSIGNED NOT NULL auto_increment,
`title` varchar(50) NOT NULL DEFAULT '',
`leader` int(10) UNSIGNED NOT NULL DEFAULT '0',
`clanpoints` mediumint(5) UNSIGNED NOT NULL DEFAULT '0',
`logo` varchar(100) NOT NULL DEFAULT '',
`signature` VARCHAR( 255 ) NOT NULL DEFAULT '',
`ally` MEDIUMTEXT NOT NULL,
`enemy` MEDIUMTEXT NOT NULL,
`members` INT( 10 ) UNSIGNED NOT NULL DEFAULT '1',
`maxmem` tinyint(3) UNSIGNED NOT NULL DEFAULT '5',
`invite` MEDIUMTEXT NOT NULL DEFAULT 'a:0:{}',
`col1` int(10) UNSIGNED NOT NULL DEFAULT '0',
`col2` int(10) UNSIGNED NOT NULL DEFAULT '0',
`col3` int(10) UNSIGNED NOT NULL DEFAULT '0',
`col4` int(10) UNSIGNED NOT NULL DEFAULT '0',
`cm_col_access` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
`ci_col_access` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
`rm_col_access` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
`midiurl` varchar(100) NOT NULL DEFAULT '',
`rank` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`clanid`)
) TYPE=InnoDB;

MySQL Error : BLOB column 'invite' can't have a default value
Error Number : 1101

Reply With Quote
  #330  
Old 04-16-2006, 05:47 PM
Decado Decado is offline
 
Join Date: Feb 2005
Location: Scotland
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess I'll get to work on those stats properly then, seeing as how everyone is waiting on the formulae for them.
Reply With Quote
  #331  
Old 04-16-2006, 06:33 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When my member wants to end a battle he can't.I tried to cancel his battle and it said

Warning: Invalid argument supplied for foreach() in /includes/class_rpg_battle.php on line 717

Any ideas?
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 07:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08096 seconds
  • Memory Usage 2,323KB
  • Queries Executed 27 (?)
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
  • (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
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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