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)

Link14716 08-18-2004 09:41 PM

Out of curiosity, how is this integrated with uCash?

str8ballin 08-18-2004 10:00 PM

does ushop have to be installed to use the rpg shop and lottery? or does it run as a standalone all in one rpg hack?

Deimos 08-18-2004 10:08 PM

(Is a newb) but doesn't it reference the uttpoints field to calculate how many gold coins (gil) a person should have?
The most you post etc, the more gil/gold you get

deathemperor 08-19-2004 04:02 AM

Quote:

Originally Posted by SB2002
And yes, I actually am an IT technician, we NEVER read the manual, lol

don't let this thing makes you weak IT teck.

@Link: This RPG system uses the UCS point system, I cannot run as a standalone hack, hence users must install UCS first.


@Revan: I mean all the templates that you want it to be re-made. The RPG.php template messes, the table is nice but you didn't make it perfectly (what is that table sitting on the top for ? why not middle or more thing bigger ?)

I suggest you should change rpg.php to this:
find:
PHP Code:

if (empty($userid))
{
    eval(
standard_error('You did not select an user to view RPG stats for!'));


replace it with:
PHP Code:

if (empty($userid))
{
    
$_GET['userid']=$bbuserinfo['userid'];


why this ?
Because when you come to rpg.php by entering to the url --> no userid --> it should show yourself. other ways the users come to this must be linked from a profile or something like so. one more thing with this:
find
PHP Code:

} else {
    echo 
"You must be logged in.";


replace it with:

PHP Code:

} else {
    
print_no_permission();



well I'll test the battle late today. everyone, just wait.

Revan 08-19-2004 12:58 PM

For the users with the "Invalid battle or password" errors, the fix is here. :)
I tried this file and there SHOULD not be any errors in that.

And about the AFTER `limitlevel`, just scrap that.
Its for my own Level Based Limit Break mod I done for my own forums. Run the query without the AFTER part. (or redownload the TXT file if you dont know what I mean ;) )
And about that SQL error where it says unkown field, I believe I already fixed that.
Download the new zip and redo the profile.php edits. :)


Quote:

Originally Posted by Deimos
(Is a newb) but doesn't it reference the uttpoints field to calculate how many gold coins (gil) a person should have?
The most you post etc, the more gil/gold you get

Yeah thats right :)
Whatever happens to your uCS money also affects your balance in the RPG, and vice versa :)


And death, I implemented your changes and I will send this out as a new build if everyone reports the battles confirming fine :)
EDIT: If you installed the "User select RPG Postbit" mod, you will see a link where it says "View Extended RPG Stats", with a link to rpg.php?userid=$
Thats why I put that error, I forgot that some might not have that installed ;)
Thanks :)

Deimos 08-19-2004 01:07 PM

battles seem to work aok, but....how does one equip an item?
I've got a sword, gloves and a potion, yet the system says I don't have a sword or potion during battle so I have to use my fists?

Revan 08-19-2004 01:11 PM

This could be due to several reasons:
a) You did not update the Item Type in the ACP (I think default is Non-battle Items, hence no usage in battle)
b) It is on the right type but you have to update it anyways :p
c) an error.

Please attempt a) and b), then post back if it still does not work, its then a bug. :)

Deimos 08-19-2004 01:21 PM

Will do Revan, awesome hack btw.

Quick question, you know the optional rpg display in the post bit? i ran through the instructions again and I still get the mysql levellimit error when I try to save changes
Or am I missing something? hehe

Revan 08-19-2004 01:24 PM

Damn sorry I overlooked it. :(
There took it out. Now it better goddam well be free of errors. :p

Sorry for the hassle


BTW I forgot to say in the prev post that items auto-equip ;)

Deimos 08-19-2004 01:26 PM

I removed the limitlevel from profile.php and it works ok now
Sorry about that.


All times are GMT. The time now is 07:17 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.01620 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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