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 08-31-2004 11:50 AM

EDIT: It seems like these issues has already been resolved, apart from the admincp instructions being unclear ...

Could you tell me where you saw the lottery lacking stripslashes?
I can find it where it supposed to be in the file thats upped to here.... :ermm:

Zelda-King 08-31-2004 01:51 PM

1 Attachment(s)
I created a lottery. Called it "King-X's Lottery". Put some description for it which included words with apostrophies, then when I went to the lottery page the title and description had / added.

Incidentally, I got this error in init.php when adding midis. I don't know if it's a hack clash as my ini.php is modified already but I have to attach the error because the screen only shows for a moment.

The attached image refers to init.php line 343 which for me reads;
PHP Code:

define ('REFERRER_PASSTHRU'$url); 


Zelda-King 08-31-2004 02:05 PM

As for matters being resolved: nothing I've mentioned has been resolved in the instructions. There is still an instruction to edit two URLs in battle.php (an URL which doesn't exist). It still doesn't say what to do with the images, and the first steps still says "run install/installers.php" when the directory should read "installer/installer.php.

I'll tell you what would be good though: some sort of links solution. There're many sections and it's hard to find links to them, save maybe through the RPG manual.

--

Some user reported the following bug in RPG CP;


Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/includes/db_mysql.php on line 210
.

I don't get that error but this user is in a custom usergroup. Another user reported the same problem. They aren't in a custom usergroup but they said they suspect it happened because they're part of a clan that doesn't exist (they made and deleted a clan).

(By the way I run vB 3.0.3 and yes I do have the uShop hack.)

Revan 08-31-2004 03:03 PM

Ok first of all that constant only evaulate to scalar stuff isnt something I can fix, because I seriously have no bloody clue wtf it means :p

EDIT: I see that edit stuff now. I was looking in the wrong place before ;)
zip updated.

As for the timeout stuff, that isnt this codings fault. Its PHP been compiled wrong on your server, as 90 % can run this without that stuff. :)

And "member of a clan that doesnt exist" is impossible, if someone deletes a clan thru the clancp, all records of it is removed and they should read "Not in a clan" ;)

Zelda-King 08-31-2004 03:22 PM

Hmm, ok so apparantly it has nothing to do with them deleting a clan. All I know is two people reported that error, but like I said: I don't get that error so I'm still in the process of locating the source of the problem.

Oh, and congratulations on your fixes today...

Now I need to ponder how to link to all these RPG pages. My Quick Links is getting rather long. :/

Update: I 'think' this was ok when I installed it but since unleashing this hack on my users, race doesn't show in the RPG CP and though the races do show in the admin cp they can't be edited and remain at the default 'current'. (They refuse to update.) I did a test with another account and it does show in the RPG CP if you haven't selected yet, though the only option for it now is 'Current', so I guess options users made affected something. Running the reset has fixed something though, so I will see if I can pinpoint what's going on.

Uncached template;

rpgcp.php: itembit2.

Revan 08-31-2004 04:41 PM

You can link to the rpg files by installing either one of the 2 navbar addons in the addons post, linked to from the first page.

Weird race stuff your getting. I edited races for my own forums (using the same file as you, from the zip) only yesterday :p
I wonder what good the reset would do :p ah well.

That uncached template is already listed in the rpgcp.php file, I guess it is uncached because the # of items an user got is relative.

Zelda-King 08-31-2004 05:03 PM

Oh well I figured out the 'blank race' thing. It's just the way it works. If no race is set to 'good' then if you choose to be good you'll just see a blank dropdown.

Thanks for the tip regarding the add-ons. I'd missed that. Unusual but I've been a workaholic with forum stuff lately.

With rpgcp.php I'm still getting a user get either;

Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/includes/db_mysql.php on line 223

or

Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/profile.php on line 852

They seem ok when I reset things, UNTIL they update their settings. Most of the others are fine. I've also been informed this happens at another board I used to work at. As for PHP timing out, I've not had this issue with the other 200 odd hacks I ever installed. I'm not saying your explanation isn't necessarily right but I find myself having to weigh things up.

And are admins supposed to not be able to battle? I can't battle even if I follow the prompt to 'update stats'. It seems the others can battle though.

Rahzel_hx 08-31-2004 07:22 PM

weapons where selected as non-combat >_< yea so i think it is fixed

Revan 08-31-2004 09:01 PM

Quote:

Originally Posted by Zelda-King
Oh well I figured out the 'blank race' thing. It's just the way it works. If no race is set to 'good' then if you choose to be good you'll just see a blank dropdown.

Thanks for the tip regarding the add-ons. I'd missed that. Unusual but I've been a workaholic with forum stuff lately.

With rpgcp.php I'm still getting a user get either;

Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/includes/db_mysql.php on line 223

or

Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamercr/public_html/bb/profile.php on line 852

They seem ok when I reset things, UNTIL they update their settings. Most of the others are fine. I've also been informed this happens at another board I used to work at. As for PHP timing out, I've not had this issue with the other 200 odd hacks I ever installed. I'm not saying your explanation isn't necessarily right but I find myself having to weigh things up.

And are admins supposed to not be able to battle? I can't battle even if I follow the prompt to 'update stats'. It seems the others can battle though.

To check your own battle eligibility (spelling), enter rpgcp.php ;)

And the timeouts..... I really cant do anything... Seeing as I cant reproduce it, and its like 4 people in total with this problem... Really sorry mate :(


Its good to hear you got your problem sorted out Raz :) (at least some problems are fixeable :p )

Troak 08-31-2004 09:08 PM

I discovered a problem with the PMing.
I initiated a battle and it sent me a private message.
This was the message.

Your battle has been prepared. It is battle number 2 and is called TEST. There is $0 at stake in this battle. Your battle password is 'RPGTEST'. To go to your battle click /battlefight.php?action=enterbattle&battlenumber=2& battlekey=RPGTEST]here

When I clicked the link it brought me to this invalid URL:

http://$vboptions[bburl/

I'm guessing there was just a slight mix-up in the PM code.


All times are GMT. The time now is 08:02 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.02077 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)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