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-17-2004 06:45 PM

TheRayden, I'll check this out and edit this post with results. Ill also touch up the installer ;)

Virulent1, the lottery is a standalone hack, it does not affect uShop in any way.
You cant gain anything from the uShop either, its just gambling with money.
(Provided I understood your question correctly) ;)


EDIT: Main post updated with a new zip.
Errors fixed and readme cleaned up. Sorry for the hassle.
:)

???`S?LV?R???` 08-17-2004 07:00 PM

looks interesting... not sure if i'll use it though

TheRayden 08-17-2004 07:06 PM

Thanks for the quick respond Revan.
Do I just upload the new files or do I have to make some edits again as well?

Revan 08-17-2004 07:07 PM

You can actually just replace the battleinstall.php in the install folder ;)

TheRayden 08-17-2004 07:26 PM

Ok, the install part worked now. :)

But, when I go to my profile and want to edit the rpg info I get this:
Code:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT rpgclass, rpggender, rpgrace, alignment, element, inbattle, limitlevel FROM fom_user WHERE userid='1'
mysql error: Unknown column 'limitlevel' in 'field list'

mysql error number: 1054


Revan 08-17-2004 07:29 PM

1 Attachment(s)
crap crap and utter crap :(
Thats for an addon I made for my own forums, I was sure I didnt include it in the readme :(

Sorry again for the hassle...
Just redo the profile.php edits in this new readme (main zip updated):

M1th 08-17-2004 07:35 PM

Is this live on any forums so I can see how it looks/works? thanks :)

TheRayden 08-17-2004 07:36 PM

Ok, another step further. :)

I'm now able to change the options, but when I hit the submit button, I'm getting a blank page.
When I check back, the options didn't save.

Revan 08-17-2004 07:44 PM

Weird. This didnt happen to me, I can do it fine on the localhost right now....
Ill try some more then.

EDIT: Im sorry I cant reproduce this.
Its working fine on my 3.0.0 on localhost, and I copied the installer code directly, overwriting the code I had there.
You can try to edit the actiontemplate array in the beginning, change
PHP Code:

    'modifyrpg' => array(
        
'modifyrpg'
    
), 

to
PHP Code:

    'updaterpg' => array(
        
'modifyrpg'
    
), 


Thats really all I can find remotely cause of this error.

Dark Dragon 08-17-2004 08:12 PM

cool hack, couple of error though..

- images are missing (unless I'm not thinking right)
- battle logging = gone ?


All times are GMT. The time now is 06: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.01493 seconds
  • Memory Usage 1,733KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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