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)

korny 09-25-2004 05:17 PM

Quote:

Originally Posted by Revan
The 3.0 will be fully upgradeable, it will be tested across multiple installations and with both default and customised settings.
There are 2 things (for now) I know that will have to be redone:
* File Edits. Theres too radical changes to be able to say "find this and change to this", so in the upgrade txt file there will be "find this prev file edit and replace with this", if you get what I mean :)
* Itemshop and Battle settings. Dont worry too much about this until the upgrade tho. There will be a reminder to backup your settings.

And to install the mod, use the RPG SYSTEM INSTALL.txt file and follow it to the letter :)

Thanks Revan,

So if I were to install the 2.5, it would be no prob to put in the 3.0 later. :)

RMS 09-25-2004 05:19 PM

Hmmm I assume I messed something up while installing but I seem to be having problems getting this to work.

I'm pretty sure I followed all the instructions but after I upload the altered files I started getting errors.

I get
Quote:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/hchen/public_html/includes/functions.php on line 1908
on my index and
Quote:

Fatal error: Call to undefined function: getlevel() in /home/hchen/public_html/includes/functions_showthread.php on line 560
shows up when I try to view threads.

I also get various other errors when I try to visit itemshop.php, rpg.php and rpgcp.php
I have no idea what's wrong.

I got an error the first time I ran the installer but I deleted everything and ran it without any problems. Afterwards I restored all the files that were edited back to the way they were right before I tried to install this hack.

Do you know what I can do to fix this?

***
Edit: Oh haha woops. Apprently I missed reading a file and I don't have the Ucash and Ushop hack installed. Would that be the likely reason why I have these problems?

Revan 09-25-2004 05:53 PM

All errors that is about "uttpoints" is due to lack of uCS installed, yes.
The parse error in functions I dont know anything about, check the file with a syntax highlighting program and see if theres anything that strikes you as odd on that line.
The getlevel() is a function that should be declared in functions.php as per the instructions.
:)

Warlord 09-26-2004 04:31 AM

Anybody else having the problem with the midi's? Or is that just me?

Revan 09-26-2004 08:17 AM

Quote:

Originally Posted by Warlord
Anybody else having the problem with the midi's? Or is that just me?

You can try this, this works for me in IE but not in FF because I cant seem to be able to download the bleeding quicktime plugin XD
Find:
PHP Code:

$backmidi "<bgsound src='$bm[url]' loop='-1'>"

Replace with:
PHP Code:

//$backmidi = "<bgsound src='$bm[url]' loop='-1'>";
$backmidi "<embed src='$bm[url]' autostart='true' hidden='true' name='battlemidi' loop='true'></embed>"

This change will be default in v3 of course :p

korny 09-26-2004 09:07 AM

Sorry Revan, I know this might be a stupid/easy question to fix. I tried but got stuck.

When clicking on the update rpg in my profile..I got this :

Parse error: parse error, unexpected T_STRING in /home/xxxxxx/public_html/forums/profile.php on line 1114

Would you need to see my file to see the problem, or should I just start all over from scratch on the profile.php hacking?

korny 09-26-2004 09:09 AM

Quote:

Originally Posted by korny
Sorry Revan, I know this might be a stupid/easy question to fix. I tried but got stuck.

When clicking on the update rpg in my profile..I got this :

Parse error: parse error, unexpected T_STRING in /home/xxxxxx/public_html/forums/profile.php on line 1114

Would you need to see my file to see the problem, or should I just start all over from scratch on the profile.php hacking?

And where am I able to have the link to the RPG on the main page, or is that such a thing in this hack tha show links to the battles...

Sorry again for the stupid newbie questions.. :)

korny 09-26-2004 09:14 AM

Nevermind....got it to work.. ;)

Warlord 09-26-2004 03:49 PM

Quote:

Originally Posted by Revan
You can try this, this works for me in IE but not in FF because I cant seem to be able to download the bleeding quicktime plugin XD
Find:
PHP Code:

$backmidi "<bgsound src='$bm[url]' loop='-1'>"

Replace with:
PHP Code:

//$backmidi = "<bgsound src='$bm[url]' loop='-1'>";
$backmidi "<embed src='$bm[url]' autostart='true' hidden='true' name='battlemidi' loop='true'></embed>"

This change will be default in v3 of course :p


I applied that change in battlefight.php and tested it in IE, but it didn't work. :(

Also, I added battle scenes and the scenes shoiw up, but I get this error at the top of my screen:

Invalid Scene 'darkicechamber.jpg'. (whatever the picture is called)

How can I get rid of that? And is there anything else I can try to fix the midi's?

Revan 09-26-2004 06:18 PM

Quote:

Originally Posted by Warlord
I applied that change in battlefight.php and tested it in IE, but it didn't work. :(

Also, I added battle scenes and the scenes shoiw up, but I get this error at the top of my screen:

Invalid Scene 'darkicechamber.jpg'. (whatever the picture is called)

How can I get rid of that? And is there anything else I can try to fix the midi's?

To pwn that error, simply open the battlefight.php and remove whats in between the coding
PHP Code:

if (!$size)
{


And about the midis, I got them to work just fine in IE.
I went to check out your forums but couldnt seem to find a battle with a midi in it, so meh :p


All times are GMT. The time now is 09:21 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.02537 seconds
  • Memory Usage 1,755KB
  • 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
  • (5)bbcode_php_printable
  • (7)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