vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

Jagang 04-25-2003 05:08 AM

Quote:

Today at 01:22 AM Nintel said this in Post #1520
I need some help. I get this error:

Fatal error: Call to undefined function: getlevel() in /hsphere/local/home/side5411/forums.nintel.com/forums/admin/functions.php on line 383

and the coding around line 183 is:

// ###################### Start getforuminfo #######################
function getforuminfo (&$forumid) {
global $DB_site;
global $forumcache;

$forumid = intval($forumid);
if (!isset($forumcache[$forumid])) {
$forumcache[$forumid]=$DB_site->query_first("SELECT * FROM forum WHERE forumid='$forumid'");
}

return $forumcache[$forumid];
}

What's wrong?


Well if the error is in functions.php on line 383 then why are you showing us the coding around line 183 ? I think we could help you better if we saw line 383. That part should say it is part of this hack. and will probally look something like this:
PHP Code:

$level getlevel($post[xp], $post[exprate], 1); 

or at least it should. ;)

Jagang 04-25-2003 01:07 PM

BTW for those of you interested here is a cosmetic change that works well with this hack.

https://vborg.vbsupport.ru/showthrea...threadid=51982

This is for having different postbits for different usergroups. If some of you have a board like mine, you may have members who do not play in the rpg and therefore have no need of stats in the postbit. This change allows you to make a group of just "RPG Members" and the stats only show in their postbits, everyone else can just have the regular postbit.

SavgeDusk 04-25-2003 07:37 PM

Quote:

Posted By: Bitsys
Everyone was new at one time :) Try this:
In phpmyadmin, click on your database name. From there, click on the table called `battle`. At the next screen, click "Browse". If the Browse link is not active, then create a battle and try again. Once browsing, look for the column called 'lastactive'. Tell me the values in that column for each row in the table.

Hopefully this is what you mean. There's 12 rows. And here are the numbers in the `lastactive` column.

1051039715
1051222856
1051175646
1051170024
1050968041
1051154874
1051221181
1051229874
1051171682
1050696433
1051101281
1050888018

SM Tengu 04-25-2003 08:30 PM

Quote:

Yesterday at 09:34 PM soccerclue said this in Post #1519
Hi,

I don't know why that everytime people go to battle, they can only use fists even if they have weapons and the HP always decreases 5 points everytime. I am using vb 2.3. Please check my forum at http://www.asianguild.com

Have you modified the weapon's Buff, in the Edit Items-section of your Admin Panel?




Excellent work on this hack. You've done a great job.

soccerclue 04-25-2003 10:01 PM

Thanks SM Tengu...I got it now.

Koutaru 04-26-2003 12:22 PM

Quote:

04-20-03 at 09:07 PM Bitsys said this in Post #1504
I believe you want users to have an inventory, correct? If so, then this is not possible. The original itemshop was designed so that users could only have one item per category.
That's a downer. It would be great to have an inventory and then have users "equip" themselves with items when they go into battle. Then, they can equip themselves of whatever they want like all attack items or all healing items. With a max # of items equippable of course :)

Maybe I'll attempt to redo itemshop in order for this to be done. I'm pretty new to php so I'm not expecting to get done fast but I'm definately going to try because I really want this :) Thanks Bitsys

Zalastri 04-26-2003 08:44 PM

w00t. if anyone wants to see this hack working with spells/armor/swords/shields and such go to www.zalastri.com :) IT works like a charm after some tweaking.

PixelFx 04-27-2003 03:31 PM

looks good :) I don't have spells added yet, or buffs, but if anyone wants a gander at my battle system :) http://www.xtremegames.ca/ I can't wait to test the next release of the RPG Integration Hack /w Battle.

Quote:


quote:
Yesterday at 03:44 PM PixelFx said this in Post #1486

[ PixelFX ] question
I'm still testing but got the battle system install cleanly, so far with no problems, I also made a custom post bit to try and keep them a bit smaller. Then linked up everything to my vbhome page and profile with addons, everything seemed to install great so far.

if anyone wants to have a look, click the www link in my profile The site is script heavy.

Thanks to everyone that is working on this my self and few others are going to convert the hack over to AD&D 2nd & 3rD Editions.

--------------
[ Bitsys ] reply
Hmm, interesting system you have there. Is that a released hack on vbulletin.org, or a custom job?

Bitsys, spam system?

as for news system, it's part of vbhome, from vbulletin.org, I've done a lot of custom hacks, and changes custom postbit changes to the site, to link up to your rpg hack. As well as some custom profile tweaks.

Xyphen 04-27-2003 07:20 PM

Bitsys bro thnx man.. i updated works perfect on vb2.3.0, no probs here!

dotagious 04-28-2003 05:38 AM

I installed this on a fresh version of vBulletin 2.3.0 without incident. However, I have (so far) found two after the fact problems. I don’t believe the problem has anything to do with my end of things, such as installation, other hacks, etc.

The first problem exists in usercp > edit profile. Here, most of the fields are duplicated, and the form itself displays inaccuracies and contradictions such as it indicating the form as being part of registration. I have attached my modifyprofile template, where the problem likely exists.

The second problem is in reference to the postbit template. I copied/pasted the contents of samplepostbit.txt as instructed. Unfortunately, the entire postbit area when viewed in the forums fails to display correctly. I will attach my postbit template in the post.

Again, this hack was installed on s a fresh version of vBulletin 2.3.0 and has not a single hack or other modification made to it. I had no error messages displayed and did not come upon any problems during installation. I would greatly appreciate text files with the corrections made. Thanks for a great hack… I hope the momentum continues.


All times are GMT. The time now is 08:34 PM.

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.08636 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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