vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   RPG Integration Hack - Old Support Thread (https://vborg.vbsupport.ru/showthread.php?t=73868)

Revan 10-15-2004 04:41 PM

You can only limit Battle Types' access to certain items. To do this, create a Battle Type and move chosen classes into this Type. Then, edit Item Type and check the boxes for the items that you wish certain Battle Types to have.
:)

Blam Forumz 10-15-2004 09:22 PM

Call me stupid, but how do I create a battle type :\

Revan 10-15-2004 11:11 PM

Battle Type is really Class Type, this clears some I hope... ;)

Mr Peabody 10-16-2004 01:44 AM

The host i run my board on just updated to PHP ver 5 now im having problems with 2 of my hacks, this one and Statistik.
Both seem to be related becuase i get the same error.

Quote:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/bogans/public_html/includes/init.php on line 519




Unable to add cookies, header already sent.
File: /home/bogans/public_html/includes/init.php
Line: 519

:disappointed:
I get it in everything except healing Centre

RMS 10-16-2004 02:41 AM

Hmmm apparently my "wrong stats" problem persists. The one where after "updating stats" the MA turns incorrect, even upon entering battle. For some reason it somehow adjusts back after some time.

A new thing I've come across though is that in editing the item categories' order, all of the items within that category will have its attack/heal and/or MA cost reset. I don't know if this is the exact cause of it but I believe it has something to do with it at least.

Revan 10-16-2004 11:55 AM

Quote:

Originally Posted by Mr Peabody
The host i run my board on just updated to PHP ver 5 now im having problems with 2 of my hacks, this one and Statistik.
Both seem to be related becuase i get the same error.

:disappointed:
I get it in everything except healing Centre

My hack does not modify init.php, nor does it use the array_merge().
I have php5.0.2 on my localhost and can run everything fine.
Try this, though:
Go to your line 519, and check what the arguement #2 is for the array_merge() (for instance,
PHP Code:

$specialtemplates array_merge(array(
                
'options',
                
'cron',
                
'forumcache',
                
'usergroupcache',
                
// ## <ucs>
                
'stylecache',
                
'arcadesettings',
                
'utt_store_act'
                
// ## </ucs>
            
), $specialtemplates);
// where $specialtemplates is the 2nd arguement 

and just ABOVE the array_merge(), input this:
PHP Code:

$[arg] = array();
//where [arg] is the arguement you found above 


Quote:

Originally Posted by RMS
Hmmm apparently my "wrong stats" problem persists. The one where after "updating stats" the MA turns incorrect, even upon entering battle. For some reason it somehow adjusts back after some time.

A new thing I've come across though is that in editing the item categories' order, all of the items within that category will have its attack/heal and/or MA cost reset. I don't know if this is the exact cause of it but I believe it has something to do with it at least.

If your modifiers are set correctly, then I cant really say antyhing more. Your the only one I know of with this problem :lick:

Neal-UK 10-16-2004 02:28 PM

I've added this hack to my forum here: www.burnleyweb.com

It all appears to be working correctly excpet for 1 problem, when I try to add a new lottery, and enter all the fields, it comes back "You need to enter all fields corretly" and goes back to add new lottery. Can't find any othr probs as yet.

I've made a change to the adminlottery.php as Revan said via IM but it still doesan't fix the problem.

Neal-UK 10-16-2004 03:31 PM

Quote:

Originally Posted by nealparry
I've added this hack to my forum here: www.burnleyweb.com

It all appears to be working correctly excpet for 1 problem, when I try to add a new lottery, and enter all the fields, it comes back "You need to enter all fields corretly" and goes back to add new lottery. Can't find any othr probs as yet.

I've made a change to the adminlottery.php as Revan said via IM but it still doesan't fix the problem.

right it's working now, but how do people get to all the options for the lottery, etc. Do I need to add the link in my navbar?

Revan 10-16-2004 03:33 PM

Hm I notice now there are TWO instances of that string, did ye replace both?

Neal-UK 10-16-2004 03:48 PM

Quote:

Originally Posted by Revan
Hm I notice now there are TWO instances of that string, did ye replace both?

yeah, done both of them. It was something to do with the date, but it works now. Just how do users get to the lottery page?


All times are GMT. The time now is 01:23 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.01822 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)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
  • (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