vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

Ian Emu-UK 03-21-2004 03:12 PM

After updating to VB3 gold I've noticed my latest arcade score isn't updating any longer.

I have emptied the contents of the gamesession table, and it works from that point on, but when I put all the old information back in, it appears to select a random score from the Alien Clones game.

All the new scores are being added to the table, just the latest score thing isn't getting the right information.

The session id is upto 2100 if that helps.

cybermomcafe 03-21-2004 03:18 PM

Just upgraded to vB gold and everything is running great!

Thanks again to John and those that have released some of the games!!!

SemperFidelis 03-21-2004 03:52 PM

Once again, simply awesome job
Totally flawless install routine too
Thankyou very much

djohn 03-21-2004 04:55 PM

I have a problem, I've installed Alien Attack twice, and now it shows up twice everywhere - in settings and in arcade home. How can I remove it safely without screwing anything up?

John 03-21-2004 04:58 PM

You need to go into the database and remove it manually. How did you manage to install it twice, by the way?

djohn 03-21-2004 05:05 PM

I was installing games, and thought that i forgot to click Install on one of them, so i went back, and Internet Explorer said the the page has expired, and that i need to resend the data, so i did, and now I have 2 Alien Attack games :)

Right, so i went to phpMyAdmin, table games, clicked browse, found the dupe entry, removed it. Everything seems fine now, just the game id's a bit outta order.

stonecold1203 03-21-2004 05:19 PM

Quote:

Originally Posted by John
You need to go into the database and remove it manually. How did you manage to install it twice, by the way?

I tried looking in the templates but it wasn't there. Where in the database should i look?

The first time i ran the install_arcade.php it did the templates, and then i got a 404. So i refreshed and tried to do it again. I couldn't get past the template additions.

djohn 03-21-2004 05:24 PM

stonecold1203, John posted that as reply to my message.

Now that's another strange thing i've found. Let's say i play some game and get a new high score. I can then add a comment. I enter one, and click add, but the weird thing is that whenever i click add, i get the "Thank you for updating your profile" redirect screen, after which I am returned back to arcare page with game scores, where I can see my comment added successfully. Is this right that I have the "Thank you for updating your profile" redirect screen?

tschitschi 03-21-2004 07:39 PM

First of all: Thanks for this great hack!

I've installed it and wanted to try it out, but it always displays a no permission error, when I'm clicking onto the link in the navbar. I can't explain why!

Would be great if anyone could help!

John 03-21-2004 07:42 PM

Use the "Search this Thread" function at the top of the page.

John 03-21-2004 07:43 PM

Quote:

Originally Posted by djohn
Now that's another strange thing i've found. Let's say i play some game and get a new high score. I can then add a comment. I enter one, and click add, but the weird thing is that whenever i click add, i get the "Thank you for updating your profile" redirect screen, after which I am returned back to arcare page with game scores, where I can see my comment added successfully. Is this right that I have the "Thank you for updating your profile" redirect screen?

Could be a little bug there, lol. I guess the reason why you were the first one to discover it was because you have redirect screens enabled?

Bernd Glasstett 03-21-2004 08:09 PM

We have another problem. Try to go here:

http://www.comicforum.de/comicforum/arcade.php

and choose a different style. You get white pages. Only with the standard style it works.

Apart of that: A great hack, whith which many of our users are already in love (with 1 day, since installation). :)

tschitschi 03-21-2004 08:11 PM

Thanx John, I found it. Sorry for not searching for it.

@Bernd: Have you created the templates for every style or just for the default one?

DjM2k2 03-21-2004 08:11 PM

Quote:

Originally Posted by Bernd Glasstett
We have another problem. Try to go here:

http://www.comicforum.de/comicforum/arcade.php

and choose a different style. You get white pages. Only with the standard style it works.

Apart of that: A great hack, whith which many of our users are already in love (with 1 day, since installation). :)

I think that's a prob with not having the template additions in each new style
copy all the arcade templates into each style and I think it should work

nitro 03-22-2004 01:16 AM

this has to be the best hack yet, great job iv clicked install ;)

1 thing that would put the cherry on the cream is to announce stuff to an irc chan thru an eggdrop like new high scores etc

nitro 03-22-2004 01:22 AM

if youve got multiple style sites

run the install script completely first

now edit the install script find:

$styleid=$vboptions['styleid'];

change to:

$styleid='6';

where 6 is the styleid. now just run the install script template step only.

you could probalby put

$styleid='1, 2, 3, 6, 7';

and run it once but i did not try this I just edited the # and ran the template install step a few times

Kyle0515 03-22-2004 03:43 AM

Nicely done, John.

I thank you..
and am sure that my users will be thanking you when they notice...;)

neocorteqz 03-22-2004 07:03 AM

Quote:

Originally Posted by stonecold1203
How do i do that?

the easiest way to do it is with phpmyadmin.

but if you don't have access to that..

run this query.

[sql]
DELETE FROM template WHERE title like LCASE('gamechallenges')
[/sql]

[sql]
DELETE FROM template WHERE title like LCASE('gamenews')
[/sql]

[sql]
DELETE FROM template WHERE title like LCASE('games')
[/sql]

[sql]
DELETE FROM template WHERE title like LCASE('gamesessions')
[/sql]

you can run mass queries in the admin CP. but I'm sure there is an easier way. :)

again, Backup before you do this or any DB modifications. :)

neocorteqz 03-22-2004 07:13 AM

Quote:

Originally Posted by nitro
if youve got multiple style sites

run the install script completely first

now edit the install script find:

$styleid=$vboptions['styleid'];

change to:

$styleid='6';

where 6 is the styleid. now just run the install script template step only.

you could probalby put

$styleid='1, 2, 3, 6, 7';

and run it once but i did not try this I just edited the # and ran the template install step a few times

alot of extra work, but that works too. thanks. :)

Bernd Glasstett 03-22-2004 07:43 AM

Quote:

Originally Posted by tschitschi
Thanx John, I found it. Sorry for not searching for it.

@Bernd: Have you created the templates for every style or just for the default one?

You are right, the new templates are only in the standard-style. I applied them now by hand. But: How could I apply the new templates for the root-style (which is not selectable), without doing it by hand?

One more question: Could you please make this wonderful hack phrase-compatible? We have a german board and not everyone knows enough english there...

D|ver 03-22-2004 11:07 AM

i am planning to upgrade to vb3 gold and manage my hacks by using the HTL, and so i have a small question:

will there be a HTL version in the future?

nitro 03-22-2004 11:30 AM

Quote:

Originally Posted by neocorteqz
alot of extra work, but that works too. thanks. :)

well first you would evaluate by looking at the hack in the working style, its no where near as much as copy paste method of several templates to many styles,
would be a pain tho if you had a lotta lotta styles but under 10 is no real hardship.

im sure a multiple style option will get built in as many here have reported the same problem.

nitro 03-22-2004 02:40 PM

Quote:

Originally Posted by Bernd Glasstett
You are right, the new templates are only in the standard-style. I applied them now by hand. But: How could I apply the new templates for the root-style (which is not selectable), without doing it by hand?

One more question: Could you please make this wonderful hack phrase-compatible? We have a german board and not everyone knows enough english there...


check my post above yours

https://vborg.vbsupport.ru/showpost....postcount=1656

John 03-22-2004 02:43 PM

It's not the standard style, the templates get added to whichever style you're using at the time of the installation. To install to another style, switch over to it and install the templates again.

Dart1337 03-22-2004 03:05 PM

Quote:

Originally Posted by John
It's not the standard style, the templates get added to whichever style you're using at the time of the installation. To install to another style, switch over to it and install the templates again.

I find it easier to make everything a child style and just install all of the templates to the single parent style.

xmorpher 03-22-2004 03:12 PM

Quote:

Originally Posted by John
It's not the standard style, the templates get added to whichever style you're using at the time of the installation. To install to another style, switch over to it and install the templates again.

I changed manually some of the templates...
If i Install the templates again (to add templates to new installed Styles) it will modify the already installed templates or just changes the styles without arcade's templates... ?
:ermm:

xmorpher 03-22-2004 03:19 PM

Small Suggestion: since there are more than 25 games available for V3 Arcade
(and growing) It would be nice to have "Game Categories" (sports, puzzle, classics, most popular, etc)

:)

DigitalEclipse 03-22-2004 03:40 PM

this may have been asked and answered, if so sorry, but 112 pages of posts, I'm not gonna go through all of them.

Is there a way to reset the champions? I have the arcade on my site now and I reset the scores, but it still shows the champion icons by people's names

John 03-22-2004 03:49 PM

DigitalEclipse, run the Arcade cron script to update the champions.

Also, you can use the "search this thread" function to find the answers you need. The reason this thread is 112 pages long is because people don't bother doing a little research.

Edit: ^ Re: the above, I'm not talking about you - I don't think I've ever answered that question before. Just pointing out, most of the 112 pages are duplicate answers. :(

nitro 03-22-2004 04:00 PM

Quote:

Originally Posted by John
It's not the standard style, the templates get added to whichever style you're using at the time of the installation. To install to another style, switch over to it and install the templates again.

while that would appear to be true as it installed first time round to the selected style trying to install templates to different selected styles wasnt doing it hence my force method in the install script

wierd but still I got what i wanted its in all my active styles with relevant ease :)
No detrament to you or your hack its great, just keep the template install as the first step till you add style options, if you ever do ;) personally I think, tho theres a nice selection allready, more quality games is more important.

oh and how about the irc announce new champions idea, im sure it would be easy to implement, you could probly take the irc notify with eggdrop for vb2.x and hack that too work or get the base code method from it, I just dont have enough knowledge on php to make it. Got np installing well documented hacks like this one or even making minor changes to hacks to suit my purpose.

And to anyone having troubles installing this hack, the problem is more than likely install error with php editing than a bad installer script, except the style problem,
The instructions are clear and precise and works flawlessly here on vb3 gold

DigitalEclipse 03-22-2004 04:02 PM

Quote:

Originally Posted by John
DigitalEclipse, run the Arcade cron script to update the champions.

Also, you can use the "search this thread" function to find the answers you need. The reason this thread is 112 pages long is because people don't bother doing a little research.

Edit: ^ Re: the above, I'm not talking about you - I don't think I've ever answered that question before. Just pointing out, most of the 112 pages are duplicate answers. :(

I dont know if I messed up in installing, but I got this error when I tried that

Warning: main(./global.php): failed to open stream: No such file or directory in /nfs/home/alclub2/public_html/forums/includes/cron/arcadeupdate.php on line 14

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /nfs/home/alclub2/public_html/forums/includes/cron/arcadeupdate.php on line 14

John 03-22-2004 04:05 PM

I presume you uploaded the cron script?

DigitalEclipse 03-22-2004 04:31 PM

yes its there.

I should also mention that i upgraded from RC4 to gold. I dont know if that would make any difference.

Ogmuk 03-22-2004 04:53 PM

I've tested this locally and it worked then when changing my live forums I think I uploaded each file that needed to be edited but after playing a game it won't submit the score so right now it says "score 0" at each game. Any idea what I did wrong? Sorry if this has been answered. A search didn't come with anything useful.

Uploaded 47 files and only manually made another edit to functions.php to make vbadvanced work (only difference between the test and live forum), made the changes to templates, etc.

John 03-22-2004 05:08 PM

Quote:

Originally Posted by DigitalEclipse
yes its there.

I should also mention that i upgraded from RC4 to gold. I dont know if that would make any difference.

According to that error message, it isn't.

ptbyjason 03-22-2004 05:13 PM

I feel like an idiot. I should have known better but after upgrading to Gold, I updated all of my php files and templates, and then I ran the install_arcade.php file again. It gave me an error and now when a game is completed it just takes me back to the arcade.php screen. Did this put an extra table in my database or something? Any help that someone can give me on correcting this would be much appreciated.

Ogmuk 03-22-2004 06:08 PM

Search showed that some others have or had the same problem I do related to the score submit not working but I couldn't find a solution. Is this a database problem or is one of the files missing a required change?

edit:
A bug maybe related to this: I have 4 styles, 3 childs and 1 parent. The arcade templates were added to a child style which was selected during the installation/default layout.

Kyle0515 03-22-2004 06:22 PM

Quote:

Originally Posted by Dart1337
I find it easier to make everything a child style and just install all of the templates to the single parent style.

That's exactly what I did and it was a breeze! Of course if your styles aren't already set up like this you may as well do what John suggests. :)

ptbyjason 03-22-2004 07:03 PM

This is really odd. I got it going again, everything is ok database wise now, from what I can tell. However it only works on one style. I see the suggestion above so I will go back and correct that by hand. However on the one that does work, the scores are not saved at all. I play the game and it takes me right back to the list of games. I guess that the same problem that Ogmuck is having. I wonder what the deal is.

Ogmuk 03-22-2004 07:13 PM

When I play snake for example it just keeps saying that it is submitting the score. What I did to get it to work with all the styles is copy and pasting every arcade template. So making new custom templates in the parent style and then revert them in the child style. But this doesn't fix the score issue. The database looks fine too upon glancing at it through phpmyadmin


All times are GMT. The time now is 07:46 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.03267 seconds
  • Memory Usage 1,842KB
  • 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
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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