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)

TJFweb 11-04-2004 11:57 AM

Quote:

Originally Posted by Revan
wth that has gotta be the biggest itemshop ever! ;)
Well. I do not suggest having too many weapon categories, because the defence buff is indeed cumulated into the final buff.
Possible suggestions:
* Raise the weapon buff, and lower the price of armor
* Make a new category with "+Atk +Def" items, with either dirt cheap items, or with huge buff values (or a healthy mix ;))
* Remove some categories like "Rings", "Tiaras", "Underwear" and "Codpieces" :p ;)


And @ the report:
First of all, my name is Revan
Second, Ive started working abit on v3 again, mainly tweaking queries and adding small features. No eta yet, but as I have feature locked it, it should be considerably less than if I had to do all the stuff I was planning to do.

PS: Dont ask for the features list. Why? Heres why: http://dictionary.reference.com/search?q=Surprise
;)

I awaiteth TEH SURPRIES, REVAN

Revan 11-04-2004 01:50 PM

Quote:

Originally Posted by bendigo-tech
I have been wanting to install this fantastic hack for a while now. I have finally got around to doing it but noticed in the req_limitations.txt file that I MUST have uCash and uShop installed. Does that mean that without uCash and uShop installed this hack wont work and generate heaps of errors as decribed in the file?

I don't quite understand sorry! :(

Quite right, it will spew off errors all over the place, and every single bit about this hack that involves money will be broken.
In v3 I plan to have it allow the change of points field. It will still have to be in the "user" table, but it wont be limited to uCS :)

rikku3978 11-05-2004 06:50 PM

I have a problem, the whole thing works great, however, whenever a post is made I am unable to gain any experience.

Yup, do have it set up in the admincp o.o;

Revan 11-05-2004 06:52 PM

If you are sure you both selected Yes for the gain exp AND input a number, then Im unable to reproduce this anywhere.... :(

rikku3978 11-05-2004 07:14 PM

okay ;--;

Will just try reinstalling everything, or something <<;

BECAUSE, since I installed the hack, all new people who register becomes guests as well o-o;

GamerJunk.net 11-06-2004 04:17 AM

items don't work in battle...how can i fix this?

Revan 11-06-2004 07:36 AM

Quote:

Originally Posted by rikku3978
okay ;--;

Will just try reinstalling everything, or something <<;


BECAUSE, since I installed the hack, all new people who register becomes guests as well o-o;

Hopefully you made a backup, so... :P
And about the guests thing, its not like this code hijacks the register code, it just borrows the userid variable after vB is done with it.... :p


Quote:

Originally Posted by RasMasta
items don't work in battle...how can i fix this?

AdminCP -> Edit Items -> Edit each category so they have a battle function

ogetbilo 11-06-2004 12:13 PM

Revan I have a question , i change my host and when I reinitalled my database I lost all my classes ?
Users rpg level remain the same , itemshop items are the same but classes are gone.

Is there any document where I can find all classes so I can add all the classes ?

Revan 11-06-2004 01:07 PM

Quote:

Originally Posted by ogetbilo
Revan I have a question , i change my host and when I reinitalled my database I lost all my classes ?
Users rpg level remain the same , itemshop items are the same but classes are gone.

Is there any document where I can find all classes so I can add all the classes ?

The installer.
I dont see why you should lose all classes just cos of a hosts change.... :ermm:

ogetbilo 11-06-2004 04:26 PM

I have no idea 2.
Thanks for the quick response.

ogetbilo 11-06-2004 04:32 PM

Quote:

Originally Posted by Revan
The installer.
I dont see why you should lose all classes just cos of a hosts change.... :ermm:

Do I have to re install ?
I checked the files but couldnt find ahy info about the classes,
I just want to add classes one by one from admin panel. The only thing I need the correct stats for each class so I can add them.

Revan 11-06-2004 04:51 PM

Well you can find their info in the installer, they are disguised in some queries in there :p
you can try to weed out the queries, then run them in a seperate file... or summit like that XD

GamerJunk.net 11-06-2004 06:31 PM

I keep getting this error when saving my classes...

Warning: Variable passed to each() is not an array or object in /home/nintenc/public_html/gamestar/f/admincp/rpgadmin.php on line 241

GamerJunk.net 11-06-2004 08:25 PM

Also, the items still don't work in battle.

Revan 11-07-2004 11:58 AM

Quote:

Originally Posted by RasMasta
I keep getting this error when saving my classes...

Warning: Variable passed to each() is not an array or object in /home/nintenc/public_html/gamestar/f/admincp/rpgadmin.php on line 241

Do the edits still save? If they do, then its no problem. (And this doesn't appear in v3 anyways :p)



Quote:

Originally Posted by RasMasta
Also, the items still don't work in battle.

If you do edit the categories, giving them a battle function, then they do work in battle.

Cassidy 11-08-2004 08:11 PM

I'm getting several problems >_< firstly:

PHP Code:

vBulletin Message 

Could not find phrase 
'rpgadmin_option_saved'

That one seems to apply to practically everything in the RPG =/ it's clans, battle everything.

Secoundly, all the RPG related pages are comming up blank. For example:
http://www.fuhai-mizu.net/spazzum/rpgcp.php

And i get this error in showthread:
PHP Code:

Parse errorparse errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in /home2/fuhai/public_html/spazzum/showthread.php on line 901 


Rahzel_hx 11-09-2004 02:34 AM

off topic but revan where did you get that skin
----> http://www.digitaltoxicity.net/forum...play.php?f=241 i must have it ^_^

Revan 11-09-2004 05:13 AM

Quote:

Originally Posted by Cassidy
I'm getting several problems >_< firstly:

PHP Code:

vBulletin Message 

Could not find phrase 
'rpgadmin_option_saved'

That one seems to apply to practically everything in the RPG =/ it's clans, battle everything.

Secoundly, all the RPG related pages are comming up blank. For example:
http://www.fuhai-mizu.net/spazzum/rpgcp.php

And i get this error in showthread:
PHP Code:

Parse errorparse errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in /home2/fuhai/public_html/spazzum/showthread.php on line 901 


1. The "could not find phrase": Import the rpg_phrases.xml as stated in instructions
2. The blank pages: Import the rpg_templates.xml as stated in instructions
3. The showthread error: Check that line for any obvious errors, if not, post it here along with about 5 lines in each direction. Remember to number them so I know whats what.
:)




Quote:

Originally Posted by Rahzel_hx
off topic but revan where did you get that skin
----> http://www.digitaltoxicity.net/forum...play.php?f=241 i must have it ^_^

Tis not my forum, so cant say nuthin about this mate ;)

Blam Forumz 11-09-2004 05:49 AM

Quote:

Originally Posted by Blam Forumz
Another idea for v3!

Towns (Controlled in Admincp) - Different towns have different monsters / shops in them :D
Ability to buy a town
Enchantable weapons (Say, you need to find an item (by either random chance or monster killings) - then use the item to enchant (add stats / abilitys) to the weapons
Special hunting areas (to find monsters in)
Different monsters controlled through admincp (e.g chance of monster appearing in certain area)
Drop files controlled by admincp (specify whether a monster drops a certain item and how often (e.g 1/5 of the kills))

:D

Havent had any feedback from you revan on this ><

trekwarfare 11-09-2004 06:25 AM

Do the hot fixes still need to be applied to a new install?? or has the main Zip been updated with these fixes?

Cassidy 11-09-2004 01:49 PM

1 Attachment(s)
Quote:

Originally Posted by Rahzel_hx
off topic but revan where did you get that skin
----> http://www.digitaltoxicity.net/forum...play.php?f=241 i must have it ^_^

http://www.wiredgamer.com/ had it on their forums, which where made my insidethepixel.com. Neither of which, is open right now. Tish not freeware stuff either ;)

Quote:

Originally Posted by Revan
1. The "could not find phrase": Import the rpg_phrases.xml as stated in instructions
2. The blank pages: Import the rpg_templates.xml as stated in instructions
3. The showthread error: Check that line for any obvious errors, if not, post it here along with about 5 lines in each direction. Remember to number them so I know whats what.

I knew those where for something *hasnt hacked a VB in a while so forgot what xml where for*

I couldnt see any obvious errors on line 901. So i did what you told me, here's the line with 5 if above and below:
PHP Code:

        " . iif(!$deljoin, "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid post.postid AND deletionlog.type 'post')") . "
        
LEFT JOIN " . TABLE_PREFIX . "editlog AS editlog ON(editlog.postid post.postid)
        
LEFT JOIN " . TABLE_PREFIX . "post_parsed AS post_parsed ON(post_parsed.postid post.postid)
        
WHERE $postids
        ORDER BY dateline $postorder
    
");
            " 
iif($forum['allowicons'], 'icon.title as icontitle, icon.iconpath,') . "
            " 
iif($vboptions['avatarenabled'], 'avatar.avatarpath, NOT ISNULL(customavatar.avatardata) AS hascustomavatar, customavatar.dateline AS avatardateline,') . "
            " 
iif($vboptions['reputationenable'], 'level,') . "
            " 
iif(!$deljoin'NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,') . "
            editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
            editlog.reason AS edit_reason, 

I think this might be causing another problem because the money in the RPG system is just comming up as: Gil in Pocket: 1e+23. But it comes up normal in the store.
(How do you change the name from Gil btw?)

Nothing clan related is working either =/ Doesnt show up on the navbar drop menu btw ;) But it is questionable.

I've also gotten a problem with the templates. They show up now! But completely white *has attached images*

Revan 11-09-2004 04:29 PM

Quote:

Originally Posted by trekwarfare
Do the hot fixes still need to be applied to a new install?? or has the main Zip been updated with these fixes?

I dont think the main zip is updated. I can honestly not remember :p

Quote:

Originally Posted by Blam Forumz
Another idea for v3!

Towns (Controlled in Admincp) - Different towns have different monsters / shops in them :D
Ability to buy a town
Enchantable weapons (Say, you need to find an item (by either random chance or monster killings) - then use the item to enchant (add stats / abilitys) to the weapons
Special hunting areas (to find monsters in)
Different monsters controlled through admincp (e.g chance of monster appearing in certain area)
Drop files controlled by admincp (specify whether a monster drops a certain item and how often (e.g 1/5 of the kills))

The only thing in there remotely doable in this would be the enchantable weapons, populary called Synthesise.
Neither of the others is planned in v3 or any immediate version after that either :P




Quote:

Originally Posted by Cassidy
http://www.wiredgamer.com/ had it on their forums, which where made my insidethepixel.com. Neither of which, is open right now. Tish not freeware stuff either ;)



I knew those where for something *hasnt hacked a VB in a while so forgot what xml where for*

I couldnt see any obvious errors on line 901. So i did what you told me, here's the line with 5 if above and below:
PHP Code:

        " . iif(!$deljoin, "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid post.postid AND deletionlog.type 'post')") . "
        
LEFT JOIN " . TABLE_PREFIX . "editlog AS editlog ON(editlog.postid post.postid)
        
LEFT JOIN " . TABLE_PREFIX . "post_parsed AS post_parsed ON(post_parsed.postid post.postid)
        
WHERE $postids
        ORDER BY dateline $postorder
    
");
            " 
iif($forum['allowicons'], 'icon.title as icontitle, icon.iconpath,') . "
            " 
iif($vboptions['avatarenabled'], 'avatar.avatarpath, NOT ISNULL(customavatar.avatardata) AS hascustomavatar, customavatar.dateline AS avatardateline,') . "
            " 
iif($vboptions['reputationenable'], 'level,') . "
            " 
iif(!$deljoin'NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,') . "
            editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
            editlog.reason AS edit_reason, 

I think this might be causing another problem because the money in the RPG system is just comming up as: Gil in Pocket: 1e+23. But it comes up normal in the store.
(How do you change the name from Gil btw?)

Nothing clan related is working either =/ Doesnt show up on the navbar drop menu btw ;) But it is questionable.

I've also gotten a problem with the templates. They show up now! But completely white *has attached images*

I cant notice any errors in there either. Changing the name from Gil would require template mods, I think.
Money is handled by uCS, not mine
Template bg is white because the skin's bg is white
The last line didnt make much sense... :P

Sorry I couldnt be more helpful, but neither of your problems are known to me from before... :(

Cassidy 11-09-2004 05:51 PM

Quote:

Originally Posted by Revan
I cant notice any errors in there either. Changing the name from Gil would require template mods, I think.
Money is handled by uCS, not mine
Template bg is white because the skin's bg is white
The last line didnt make much sense... :P

Sorry I couldnt be more helpful, but neither of your problems are known to me from before... :(

Ah i see.

Hmm it's really bugging me why it doesnt work =/ is it possible you could send me your showthread.php so i can try and find the error?

Revan 11-09-2004 07:20 PM

Not only is it illegal to ... hang on.... *checks your php* ...hey what the!?
dya mind explaining what the FLYING feck the
PHP Code:

"); 

is doing in the middle of your query? ;) And why it has SQL rows twice? I think you need to replace the ENTIRE query again, as you messed up originally :p
I think theres your error mate ;)

Cassidy 11-09-2004 08:00 PM

Quote:

Originally Posted by Revan
Not only is it illegal to ... hang on.... *checks your php* ...hey what the!?
dya mind explaining what the FLYING feck the
PHP Code:

"); 

is doing in the middle of your query? ;) And why it has SQL rows twice? I think you need to replace the ENTIRE query again, as you messed up originally :p
I think theres your error mate ;)

I forgot it was illegal >_<; sorry about that.

Ah your right! I'll redo the showthread file and see if it works ^^

Mr_Bob 11-11-2004 06:49 PM

This is the same as the PM I sent you. Sorry about not just posting I thought a PM would be quicker and I do to much work on my own forums to post:) Anyway, this is the same problem I sent to you last night (thankyou copy + paste)
_________________
First, I would like to say that you made a very nice program here. Good job . I am having two problems however that I would like to request guidance for. The first problem is not that huge, but for some reason my admincp/index.php file when loaded only loads the navigation frame and not the information on the right side of the page. My other problem is that although I followed and double checked all the source code and template insertion instructions for some reason the usercp does not include any of the RPG options. As of right now everything else seams to be running smoothly. I am sorry if these questions may have already been answered in your thread although I did my best to find any information on this. If I need to send you a picture of my admincp I can (of course the user options look...well...the same so what would the point of that be ) Any help would be appreciated.
Thanks.
_________

GamerJunk.net 11-11-2004 11:04 PM

Quote:

Originally Posted by Revan
Do the edits still save? If they do, then its no problem. (And this doesn't appear in v3 anyways :p)



If you do edit the categories, giving them a battle function, then they do work in battle.

I made the weapons two handed and saved them and they still don't work in battle.

Revan 11-12-2004 10:03 AM

Quote:

Originally Posted by Mr_Bob
This is the same as the PM I sent you. Sorry about not just posting I thought a PM would be quicker and I do to much work on my own forums to post:) Anyway, this is the same problem I sent to you last night (thankyou copy + paste)
_________________
First, I would like to say that you made a very nice program here. Good job . I am having two problems however that I would like to request guidance for. The first problem is not that huge, but for some reason my admincp/index.php file when loaded only loads the navigation frame and not the information on the right side of the page. My other problem is that although I followed and double checked all the source code and template insertion instructions for some reason the usercp does not include any of the RPG options. As of right now everything else seams to be running smoothly. I am sorry if these questions may have already been answered in your thread although I did my best to find any information on this. If I need to send you a picture of my admincp I can (of course the user options look...well...the same so what would the point of that be ) Any help would be appreciated.
Thanks.
_________

Hm... I cant say I have seen this happening before... I dont think the ACP loading stuff is related to this tho...
And try installing one of the navbar dropdown addons, this way you dont have to edit the usercp_shell :)


Quote:

Originally Posted by RasMasta
I made the weapons two handed and saved them and they still don't work in battle.

Hm. Well you can just use onehanded for the time being, as twohanded weapons have no added functionality in battle at this point :)

NightWalk8r 11-13-2004 12:22 AM

Any new updates yet??

GamerJunk.net 11-13-2004 11:41 PM

Ok so any items that have been already bought...when I change them to one handed...will they update?

Revan 11-14-2004 12:12 AM

I think so... cant remember, and my localhost has been completely wiped. Literally. :P

GamerJunk.net 11-14-2004 01:56 PM

Now I have a problem....

http://gamestar.ninten.com/f/itemshop.php

There is a link to "Generic" and all the items say "You have to be a generic to buy this item"

House_of_Crazed 11-15-2004 07:30 AM

Heya -

Is there a reason why the system won't require a password for battle?

I've gone through everything I could think of that could've caused this.

I even did the install process from scratch again to make sure I didn't miss a step.

So, wondering if you know something I don't? :)

HoC

Mr_Bob 11-16-2004 12:37 AM

Quote:

Originally Posted by Revan
Hm... I cant say I have seen this happening before... I dont think the ACP loading stuff is related to this tho...
And try installing one of the navbar dropdown addons, this way you dont have to edit the usercp_shell :)

Thanks that fixed the problem. The admincp problem I fixed by nixing the ushop nav in the sidebar (I don't think it and vbchat agree with each other :tired: ). Everything is working very well right now, however is there a way to have the rpg stats in the postbit as a colapsable menu. This way each post is not very long with lots of white watsed space.

Revan 11-16-2004 12:04 PM

Quote:

Originally Posted by RasMasta
Now I have a problem....

http://gamestar.ninten.com/f/itemshop.php

There is a link to "Generic" and all the items say "You have to be a generic to buy this item"

If you added some other Battle Type, causing your character to change Battle Type, this would be the problem. Else, I don't know :(


Quote:

Originally Posted by House_of_Crazed
Heya -
Is there a reason why the system won't require a password for battle?
I've gone through everything I could think of that could've caused this.
I even did the install process from scratch again to make sure I didn't miss a step.
So, wondering if you know something I don't? :)

HoC

Nah, sorry don't know what's causing this. But as long as noone can wander in and battle your battles, its no worries? ;)


Quote:

Originally Posted by Mr_Bob
Thanks that fixed the problem. The admincp problem I fixed by nixing the ushop nav in the sidebar (I don't think it and vbchat agree with each other :tired: ). Everything is working very well right now, however is there a way to have the rpg stats in the postbit as a colapsable menu. This way each post is not very long with lots of white watsed space.

Install the User Select RPG Postbit addon :)

GamerJunk.net 11-16-2004 04:23 PM

When I save my classes or update them I get this error message...

Warning: Variable passed to each() is not an array or object in /home/nintenc/public_html/gamestar/f/admincp/rpgadmin.php on line 241

Revan 11-17-2004 05:28 AM

Quote:

Originally Posted by RasMasta
When I save my classes or update them I get this error message...

Warning: Variable passed to each() is not an array or object in /home/nintenc/public_html/gamestar/f/admincp/rpgadmin.php on line 241

Quote:

Originally Posted by Revan
Do the edits still save? If they do, then its no problem. (And this doesn't appear in v3 anyways :p)

Did you not see this message?

SmasherMaster 11-17-2004 03:12 PM

I haven't installed it yet but i'vep layed this hack on other boards and it will be fantastic. Is there a 'default item list' already there when i install it or do i have to manually add every single item? :/

GamerJunk.net 11-18-2004 04:03 AM

Quote:

Originally Posted by Revan
Did you not see this message?

The edits say they save but they do not.

GamerJunk.net 11-19-2004 10:16 PM

Anyway to uninstall this so I can re-install it and fix it?


All times are GMT. The time now is 06: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.02202 seconds
  • Memory Usage 1,901KB
  • 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
  • (8)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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