Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
RPG Integration Hack - Old Support Thread Details »»
RPG Integration Hack - Old Support Thread
Version: , by MindTrix MindTrix is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-17-2004 Last Update: Never Installs: 0
 
No support by the author.

Nice conversion there mate, lot of work has gone into it so well done and thanks for sharing it

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #652  
Old 10-15-2004, 04:41 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #653  
Old 10-15-2004, 09:22 PM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Call me stupid, but how do I create a battle type :\
  #654  
Old 10-15-2004, 11:11 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Battle Type is really Class Type, this clears some I hope...
  #655  
Old 10-16-2004, 01:44 AM
Mr Peabody Mr Peabody is offline
 
Join Date: May 2004
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #656  
Old 10-16-2004, 02:41 AM
RMS's Avatar
RMS RMS is offline
 
Join Date: Mar 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #657  
Old 10-16-2004, 11:55 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 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:
  #658  
Old 10-16-2004, 02:28 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #659  
Old 10-16-2004, 03:31 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
  #660  
Old 10-16-2004, 03:33 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm I notice now there are TWO instances of that string, did ye replace both?
  #661  
Old 10-16-2004, 03:48 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Closed Thread

Thread Tools

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 03:47 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.05930 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (5)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
  • (3)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_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