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)

Xyphen 01-10-2003 10:48 AM

Bitsys, the problem is now fixed, thank you!

PSI|Dr-X 01-10-2003 11:50 AM

I think the full version is comming very soon :D everything is perfect

only the members are SPAMMING to get the coins :P

Mijae 01-10-2003 01:41 PM

Bitsys, any chance of adding more then one potion to inventory? Same with spells? You could probably make this selectable in admin cp if its not hard :P

Graphics 01-10-2003 02:33 PM

This hack looks truely brillant Bitsy. And to be honest I think you should make Firefly change your title to 'Ultimate Hacker'. ;) Anyways, I have a suggestion for it.

I think a stand-alone hack like this has already been made but I was wondering if you could integrate it... It's a hack that allows you to give your members a rank. i.e. General, Leuitenant for exmaple. And then an image or text signifying the members rank would appear in the postbit.

You could also make it so certain members become 'bosses' when they reach a certain level or if they are a Staff member.

I'd appreciate it if you could add these features. :p

over 01-10-2003 02:41 PM

had same problem as "assassingod" with the 30 secs problem on both 2.2.8 AND 2.2.9 however have sorted out a solution, tryin to work out what done to correct so can post to hassassingod him out :)


Quote:

Originally posted by Bitsys
VeoMorphine:
Nope, 2 or 3 tables had new fields added to them.

assassingod:
An easy fix is to comment out the code. Put "/*" before the loop code and "*/" after the loop code. If this doesn't fix the problem, then there is something seriously wrong.

BTW, the loop code begins with
Code:

// Part of the following code comes from a post made by
and ends with
Code:

// End joint fix.
So, you should make it look like
Code:

/*
// Part of the following code comes from a post made by

And
Code:

*/  // End joint fix.


Bitsys 01-10-2003 04:06 PM

v0id:
As much as I would like that feature, I believe it would take too long to develop and implement.

Graphics:
That sounds a lot like a clan add-on, right? Each member has a certain rank, with the clan leaders being the bosses?

over:
Does the battle correctly detect weapons in your inventory? Also, does the itemshop work properly?

Mijae 01-10-2003 05:17 PM

Aww, it would be so nice to have that, someone go do eet :P

Mijae 01-10-2003 05:38 PM

Eh, I remembered a suggestion I had:

Make a script that will revive all who are dead each XX hours, to XX HP. Make it all selectable in the admin cp. For example revive all dead users every 172800 seconds to 25% of their total HP.

It would be useful, but then I guess it would run a lot of queries right?

Bitsys 01-10-2003 06:19 PM

Quote:

Originally posted by v0id
Eh, I remembered a suggestion I had:

Make a script that will revive all who are dead each XX hours, to XX HP. Make it all selectable in the admin cp. For example revive all dead users every 172800 seconds to 25% of their total HP.

It would be useful, but then I guess it would run a lot of queries right?

Well, I think the query would be:

PHP Code:

UPDATE user SET hp=maxhp*0.25 WHERE hp=

However, if the users figured out the reset times, then they would participate in a battle, die, and not worry about the consequences since they would get auto-revived, whereas people who dies just after the last reset would have to suffer a lot longer.

Xyphen 01-10-2003 06:28 PM

For who all got a error when visiting online.php a parse error..

This is how to fix it.

FIND THIS IN ONLINE.PHP
PHP Code:

case 'itemshop':
      
$userinfo[where] = "Viewing <a href='itemshop.php?s=$session[sessionhash]'>Itemshop<a>";
      break;
case 
'battlefight':
      
$userinfo[where] = 'Viewing a Battle';
      break;
case 
'battle':
      
$userinfo[where] = 'Viewing <a href='battle.php?s=$session[sessionhash]'>Battle Main</a>';
      break;
case 
'battleupdate':
      
$userinfo[where] = 'Updating a Battle';
      break;
case 
'heal':
      
$userinfo[where] = 'Healing Center';
      break; 

Replace With
PHP Code:

case 'itemshop':
      
$userinfo[where] = "Viewing <a href='itemshop.php?s=$session[sessionhash]'>Itemshop<a>";
      break;
case 
'battlefight':
      
$userinfo[where] = "Viewing a Battle";
      break;
case 
'battle':
      
$userinfo[where] = "Viewing <a href='battle.php?s=$session[sessionhash]'>Battle Main</a>";
      break;
case 
'battleupdate':
      
$userinfo[where] = "Updating a Battle";
      break;
case 
'heal':
      
$userinfo[where] = "Healing Center";
      break; 



All times are GMT. The time now is 07:48 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.02847 seconds
  • Memory Usage 1,759KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (2)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