vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   RPG Integration Hack (https://vborg.vbsupport.ru/showthread.php?t=108790)

Revan 04-01-2006 02:04 PM

Just to make it PERFECTLY clear:
In NO way do I support the upgrade method described above. Should you choose to upgrade that way, you are on your own.

Ill see about adding a proxy user later, though this is not top priority.
The Final version is in last testing phases atm, will be out later today.
@ you two: If you want to upgrade successfully I suggest you fix the Version Number issue...

TosaInu 04-01-2006 03:39 PM

The versionnumber issue was already manually fixed by using PHPMyAdmin (enable debug mode http://www.vbulletin.com/forum/showt...le+debug+mode).

For giggles: I put it back to 3504 and now the original installer supplied with beta5 did run. I do not have a dump of the testdatabase, but I guess the previous beta already didn't install the version number -> causing the installer to quit.

After a lot of manual SQL fixes, I ran the installer how it should be run. Maybe the very first install of the previous beta did not add the version number for me.

Maybe an extra note for upgraders, when you upgrade from say beta2 to beta5, you get the success message and may think you're ready. You're not and need to make more runs. It works like updating vbulletin when skipping some upgrades, but it does not proceed automatically.

Good news about a final version Revan.

Revan 04-01-2006 10:06 PM

Update
The RPG has now been updated to version 3.5 Final which marks the end of the public Beta phase. There have been some important changes to this version, so be sure to read the following release notes carefully before asking questions.

Release Notes:
  • The Headquarters have been updated to only allow alteration of RPG Info once. Now, once you choose your character, you are stuck with this info until such a time as a Reset option is available. You will not lose your EXP now when you create your character.
  • The Elements have begun being moved out of the Stat control system. Therefore, you will have noticed a severe drop in HP/MP/PP/AP. This is perfectly normal. If the Admins will it, they will increase the HP/MP/PP modifiers to bring the levels back to somewhat normal. AP (Limit Break) cannot be restored through such means.
  • Genders are now limited by Race. By default, it duplicates the current Male/Female genders for all Races.
  • The Monster Arena now has an option to drop cash after each battle.
IMPORTANT INFO:
You must do a Hard Refresh (Crtl + F5) on the Create Character page for the JavaScript errors to disappear and the script to function normally!



My next point on the agenda is shortening the list of Known Issues. Most of them will be adressed in Update 1.

nadanada 04-02-2006 02:10 AM

had to apply a few database fixes for some fields that didn't populate on install, but they were an easy fix:

'hascharacter' in vb_rpg_user table
'cashdrop' and 'expdrop' in vb_rpg_monster_battles and vb_rpg_ibots tables

everything else so far appears to be working as intended except for the stats pop-up window. I get the following error:

Quote:

"Fatal error: RPG_core::init_user(): Attempted to initialise user(s), RPG not initialised with proper variables!

Tthe following variable is missing:

* Genders

To remedy this error, make sure the $specialtemplates and RPG_core::set_cachefields() variables are properly populated.
The error occurred in rpg.php."
I love the monster cash feature btw!

nadanada 04-02-2006 02:45 AM

it appears that:

Quote:

"Fatal error: RPG_core::init_user(): Attempted to initialise user(s), RPG not initialised with proper variables!

Tthe following variable is missing:

* Genders

To remedy this error, make sure the $specialtemplates and RPG_core::set_cachefields() variables are properly populated.
The error occurred in rpg.php."
I simply needed to add 'rpg_genders' to the end of:

Quote:

$specialtemplates = array(
'rpg_alignments',
'rpg_categories',
'rpg_clans',
'rpg_classes',
'rpg_elements',
'rpg_items',
'rpg_races',
'rpg_types',
'rpg_genders'
);
and

Quote:

RPG_core::set_cachefields(array(
'rpg_alignments',
'rpg_categories',
'rpg_clans',
'rpg_classes',
'rpg_elements',
'rpg_items',
'rpg_races',
'rpg_types',
'rpg_genders'
));

Kingzor 04-02-2006 03:26 AM

How do i uninstall the hack so i can reinstall it fresh from the start?
Edit:changed index.php to uninstall.php

also nadanada save your self some work....instead of "rpg_gender" make it "rpg_genders" no table renaming needed :P

Revan 04-02-2006 09:54 AM

Sorry about that rpg.php error, I will release Update 1 that will fix this along with WOL locations later today.
Hey at least I taught you guys how to debug new created pages that require $RPG->init_user(), aye? :p

Ziki 04-02-2006 10:12 AM

Revan how to uninstall it?

Revan 04-02-2006 10:22 AM

uninstall.php?

Ziki 04-02-2006 11:20 AM

Doesn't work
It takes me back to index.php

Can you please tell all database queries the installer does so I can uninstall it manualy?


All times are GMT. The time now is 02:17 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.01841 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete