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)

Mrpolish 01-26-2003 08:08 PM

Is there any way to not give gold per post in a selected forum (like spam) ?

Mrpolish 01-26-2003 09:52 PM

I found a bug:
When you go to start battle and you wager all your money and you hit cancel the money goes to the bank and you can do that many times and make yourself rich.

Bitsys 01-26-2003 10:31 PM

Riddel:
I wil be looking in to that.

freeshares1:
In battle.php find:
PHP Code:

If($key == "" || !isset($key)) {
                        
$message "Please enter a valid password.";
                        eval(
"dooutput(\"".gettemplate('battle_userinbattle')."\");");
                        exit;
                } 

and replace it with:

PHP Code:

/*
                If($key == "" || !isset($key)) {
                        $message = "Please enter a valid password.";
                        eval("dooutput(\"".gettemplate('battle_userinbattle')."\");");
                        exit;
                }
                */ 

That will fix it.

Mrpolish:
I think I can make it so that if you don't count posts in the forum, then it won't add gold in that forum as well. Is that what you want?

(second post):
That bug has been reported and will be fixed in the next version. Thanks.

Mrpolish 01-27-2003 03:11 AM

When i select that the posts dont count in a forum it only affects the stats but not the gold, users still get gold per post.

Bitsys 01-27-2003 03:37 AM

Quote:

Originally posted by Mrpolish
When i select that the posts dont count in a forum it only affects the stats but not the gold, users still get gold per post.
In the next version, I will make it not add gold in forums where posts don't count.

chrisz 01-27-2003 05:18 AM

I cant run the queries some error in query.php
Help?

freeshares1 01-27-2003 05:18 AM

Bitsys

YOU ARE THE MAN!!!

Thanks...

chrisz 01-27-2003 06:54 AM

Some more info on the error I get:
There seems to have been a slight problem with the FF Saiyans Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: CREATE TABLE `battle` (
`battlenumber` int(10) NOT NULL auto_increment,
`battlename` varchar(100) NOT NULL default '',
`owner` varchar(50) NOT NULL default '',
`ownerid` int(10) NOT NULL default '0',
`opponent` varchar(50) NOT NULL default '',
`opponentid` int(10) NOT NULL default '0',
`battlekey` varchar(35) default '0',
`battlestate` int(10) NOT NULL default '0',
`turnid` int(10) NOT NULL default '0',
`lastactive` int(10) NOT NULL default '0',
`wager` int(10) NOT NULL default '0',
`winnerid` int(10) NOT NULL default '0',
`winstatus` int(10) NOT NULL default '0',
`sceneid` int(10) NOT NULL default '0',
PRIMARY KEY (`battlenumber`)
) TYPE=MyISAM
mysql error: Table 'battle' already exists

mysql error number: 1050

Date: Monday 27th of January 2003 03:57:37 AM
Script: http://ffsaiyans.xeko.net/forum/forum/admin/query.php
Referer: http://ffsaiyans.xeko.net/forum/admin/query.php

chrisz 01-27-2003 07:34 AM

**EDIT**
I reinstalled the forum with the original files and it works fine!
Thnx for the beaut hack dude.
I will show everyone my l33t forum when its done ;)

Mrpolish 01-27-2003 03:32 PM

Thanks Bitsys, any ideas when the next version comes out or when the full version will be released ?


All times are GMT. The time now is 06:26 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.02928 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)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