vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Arcade Pass Hack v3! (https://vborg.vbsupport.ru/showthread.php?t=62059)

dstruct2k 04-14-2004 12:07 AM

My jackpots are turning into HUGE decimal numbers... (Probably from people coming in third and dividing by 3) Squall, any ideas for a fix?

(My idea: X by 100, floor, ? by 100) :)

dstruct2k 04-14-2004 03:05 AM

[sql]ALTER TABLE `games` CHANGE `arcadepass_jackpot` `arcadepass_jackpot` DECIMAL( 20, 2 ) DEFAULT '0.00' NOT NULL[/sql]
This query fixed the super-long decimals, and made it so that the jackpots ALWAYS have 2 decimal points, like a real dollar amount.

Change the underlined number 2 to how many decimals you want and run the query to fix long decimal values. :)

Leah 04-14-2004 11:49 AM

There seem to be a problem here.
Does anyone have any idea what I need to do to fix this?

James Collins 04-14-2004 04:21 PM

Does anyone get the Jackpot to work after it has been played a few times. Like I said I reset the Jackpot to 50, but it always goes back to 500 again after someone has "won" the jackpot.

500 is far 2 much imho to start off with...

NameWolf 04-16-2004 12:40 AM

Hello,

I am trying to do a manual install on vb3.0 after installing links' store hack. Unfortunately I ran setting.sql before settingphrase.sql and now I get ;

Error

SQL-query :

INSERT INTO `vb3_phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` )
VALUES ( 6472, 0, 'settinggroup_arcadepass', 'Arcade Pass Hack v3 Settings', 5000 )

MySQL said:

#1062 - Duplicate entry '6472' for key 1

----

How can I fix this situation ?

Thanks in advance .

NW

Leah 04-17-2004 09:28 PM

Ok, now I got the templatething working. But the arcade pass doesn't stop people from playing if they have the URL to the game or find it on the highscore.

Or have I missed something here?

Cyricx 04-18-2004 01:40 AM

If they don't have the pass they pay the "cost fee" I believe, if they do have the pass, they don't have to pay the "cost fee". At least, thats how I'm understanding it =/

msimplay 04-18-2004 08:08 AM

Quote:

Originally Posted by James Collins
I dont get that, but what I do get is that when someone wins the "Jackpot" the "Jackpot" defaults back to 500 for me - then it goes to 255, then 500 again :o

Which part defines the score, maybe I left something out? This was after setting them all to 20 in the CP first off.

Either way, nice first addition for the shop - even if this did come before your shop :)

i have a similar problem where i set the jackpot to 100 and set the jackpot increase to 0 yet it still increases

lasto 04-18-2004 08:29 AM

so does this hack not work proper with the Ustore then ?

Seany 04-18-2004 05:55 PM

Quote:

Originally Posted by NameWolf
Hello,

I am trying to do a manual install on vb3.0 after installing links' store hack. Unfortunately I ran setting.sql before settingphrase.sql and now I get ;

Error

SQL-query :

INSERT INTO `vb3_phrase` ( `phraseid` , `languageid` , `varname` , `text` , `phrasetypeid` )
VALUES ( 6472, 0, 'settinggroup_arcadepass', 'Arcade Pass Hack v3 Settings', 5000 )

MySQL said:


#1062 - Duplicate entry '6472' for key 1

----

How can I fix this situation ?

Thanks in advance .

NW

I get the same problem. Link, any help here? Can we continue the install if we get that error?


All times are GMT. The time now is 11:06 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.01308 seconds
  • Memory Usage 1,736KB
  • 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_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
  • (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