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)

MindTrix 05-16-2003 06:30 PM

Hmmm nm now guys, i ran the install again and it worked this time :)

roninuta 05-16-2003 07:07 PM

Quote:

The script is itemadmin.php located in the admin folder. Do the items default to Generic even after you set them to another value? Or are NEW items defaulting to Generic after you add them? What is the end result that you want the items to do, be Generic or something else?

If you look through itemadmin.php, you may be able to figure it out for yourself if you want to try that. [/B]
Thanks for the reply Bitsys!

When I setup an item (additem type and add item) I want to change the type defaults. Most items change over just fine to new types. Some of the items would remain generic and some should not be available to generic. When I set them to other types the new values do take and are inserted into the DB just fine - but the generic type stays even when de-selected. I will look through the script and see what I can find

MindTrix 05-16-2003 07:35 PM

These little figures etc, i got ones that are more Rap Suited, but they face forward. If i shrink em to the other ones sizes can i use em in this???

Jagang 05-16-2003 07:58 PM

Quote:

[i]04-17-03 at 07:01 PM Jagang said this in Post # 1495
In the Battle table, the field battlekey is blank even though I set a password. If it helps I am running MySQL 3.23.41

Quote:

04-21-03 at 03:07 AM Bitsys said this in Post #1504



in battlefight.php, find:
PHP Code:


If($battleopt[privacy] != && $battle[battlekey] != $battlekey) {

                eval(
"dooutput(\"".gettemplate('battle_badroom')."\");");
                exit;
                } 

and change it to:
PHP Code:

/*If($battleopt[privacy] != 0 && $battle[battlekey] != $battlekey) {

                eval("dooutput(\"".gettemplate('battle_badroom')."\");");
                exit;
                }*/ 

That will temporarily fix the problem by disabling the password check. This means that battles will be open to everyone.


This did not work and I am still getting the same error. Invalid battle or password It is not populating a password in the database and the PMs send a link to /battlefight.php?action=enterbattle&battlenumber=23 &battlekey=

Public or private battle settings make no difference. I can manually start the battles in the CP by entering a password there or by setting the battle state to 1 and the rest of the battle works fine but without the automation of starting battles the battle system is useless. Any other suggestions?

MindTrix 05-16-2003 09:29 PM

Dont spose people have images they have made for this they feel like sharing? Pleaseee lol

Jagang 05-16-2003 10:13 PM

Quote:

Yesterday at 11:29 PM MindTrix said this in Post #1623
Dont spose people have images they have made for this they feel like sharing? Pleaseee lol
Try http://www.rpgicons.com/ they have some good images to use for the classes and items.

MindTrix 05-16-2003 10:31 PM

Thanks for the link, mucho appreciatoo or somet :s

Errm that sites cool but its mainly well its all RPG stuff, which i guess makes sense, but i was kinda lookin for mini pics of weapons and otehr stuff. Basically i need to get some mini gun pictures, weed, al that kinda stuff

LangTuDaTinh 05-16-2003 10:53 PM

Quote:

Today at 01:58 PM Jagang said this in Post #1622
This did not work and I am still getting the same error. Invalid battle or password It is not populating a password in the database and the PMs send a link to /battlefight.php?action=enterbattle&battlenumber=23 &battlekey=

Public or private battle settings make no difference. I can manually start the battles in the CP by entering a password there or by setting the battle state to 1 and the rest of the battle works fine but without the automation of starting battles the battle system is useless. Any other suggestions?


in battle.php, change all $key to $key1

and in battle_newbattle (or something like it)...change key to key1..

this would fix it.

problem: somehow after the file battle.php include global.php, the key is lost. it will set back to blank.

i installed this hack by copy and paste (no vbhacker) and i have no problem...

engquist 05-17-2003 07:11 AM

Quote:

quote:
Yesterday at 09:50 PM engquist said this in Post #1608
I am having one issue. My boards run version 2.3.0 and I've tried installing this hack twice just to make sure. both times it installed successfully, but on each occasion, when I go to edit profile in the user CP, all the RPG info appears twice.....once under "required info." and again at the bottom under "additional info."

1) basically I am wondering why?

2) and which category is it supposed to be under?

3) and how can I fix it if it's not supposed to be this way?



See https://vborg.vbsupport.ru/show...0143#post390143 about half way down.
thanks! This mostly worked except that RPG name is the only field still duplicated...I notice that $customfields must be the variable storing the information for "Biography", "location", "interests", "occupation", and "RPG name"....could you possibly know where the information for this variable is stored so I can edit it to remove the second instance of RPG name which occurs under "Required Information" in the User CP->edit profile? Thank you very much for your time Bitsys!

engquist 05-17-2003 07:41 AM

with regard to the error in newreply.php, I downloaded your file attachment (up a few posts ago) for newreply.php and then uploaded it to my web server and when I try to make a post reply I get:

Parse error: parse error, unexpected $ in /home/gloriou/public_html/rom/forums2/newreply.php on line 656

this only happens with the correctly edited newreply.php file, not the regular one that comes with VB 2.3.0 because I have tried both and I get that error with only the edited one.

maybe if I knew all the changes made to newreply.php that were done by vbhacker, I could isolate the problem?

any ideas on how to fix it?

edit:: ignore all of this post, it was an error with my Lesane Store Hack, I didn't correctly edit newreply.php with that hack!!!

sorry for wasting anyone's time!


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