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)

legendarysk8er 10-19-2003 05:52 PM

I've already asked him about that a few months ago, and he said he would sell it to me once he got it in install format. Unfortunately, he never did that, and I never got the hack..

Zachery 10-19-2003 06:14 PM

as far as i understood hes kinda stoped working on this, however i cannot say for support issues, i do know that zajako did make a rpg system, that does alot of things that this didnt :)

www.gamasoftware.org :) ill poke him to check the thread if see him on

Darkwaltz4 10-19-2003 09:17 PM

Quote:

Originally Posted by Me!
Darkwaltz: Is that summon add-on exclusively for your forum or is it something you'd offer for a price/free?

actually yeah, since its something which actually permanantly alters your version of the hack, ive been reluctant to give it out for fear of more problems and also cause its also sorta an ffgon exlusive thing too :-p although yeah i did agree to hand out the instructions for it and a bunch of other things for under 10$, i wasnt going to until i had an automated install file, which i havent gotten around to ..yet >.< (ive been finsihing up triple triad)

legendarysk8er 10-21-2003 01:19 AM

Lol, I've been waiting forever. I'm excited about the Monster Arena though, you need to work on that.

Zachery 10-21-2003 01:21 AM

i hope bitsys doesnt mind, but RCS 2.0 will have AI random battles :) ;)

dstruct2k 10-21-2003 12:21 PM

Damn.... If I try to bet anything other than zero on a battle, I get a database error:
Code:

Invalid SQL: SELECT items_user.bankval, userfield. FROM items_user, userfield WHERE items_user.userid='15' AND userfield.userid='15'
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM items_user, userfield WHERE items_user.userid='15' AND use


Darkwaltz4 10-21-2003 05:59 PM

try removing the quotes from the userid='#' part (so make it userid=#)

im not sure if thatll do anything, as with mysql, it doesnt care if you use quotes on a column designated as a number

but if you have a different version of mysql (as that error message seems slightly different from the normal one, you might) then it might care :-p

dstruct2k 10-22-2003 09:15 PM

What version of mySQL are you using?

MySQL 4.0.14 running on FocalPoint Systems

I'll drop the quotes and see what happens...

[edit]Oh, that looked different because it's the error a non-admin would see in HTML comment tags. As an admin, you never get that error, you just get the "Invalid User" message.[/edit]

dstruct2k 10-22-2003 09:41 PM

Quotes were not the problem at all. It seems that there was some very sloppy code in there that wasn't properly checking if I had chosen to use Lesane's points or not, so I fixed it up (instead of "if (!$itemopt[1])" i put "if (1+1==3)" :)) so now my bets work properly. Oh, and he can't keep his variable names consistant. What starts off as $oppomoney becomes $oppmoney about 3 lines down, but no link is made between the two. :) Since $oppomoney is only used once, I assumed that was the bad line, and I replaced it with $oppmoney. Code works!


I should consider doing this for money. :) (debugging php)

dstruct2k 10-22-2003 09:49 PM

Alright, 2 code fixes to battle.php:

Find:
Code:

$oppomoney
Replace with:
Code:

$oppmoney

Find:
Code:

if (!$itemopt[1])
Replace with:
Code:

if (!$itemoptions[1])


Note: You might not even notice that you need these fixes if you're not using Lesane's store, these errors only affect store integration.


All times are GMT. The time now is 05:36 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.03599 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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