vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - v3 Arcade Tournament (https://vborg.vbsupport.ru/showthread.php?t=166314)

skhms 12-27-2007 10:00 PM

v3 Arcade Tournament
 
SK v3 Arcade Tournament v1.0.5

A tournament add-on for v3 Arcade v1.0.7 (by John Warwick)
Created for vBulletin v3.6. Now also tested on v3.7 and v3.8.

This add-on is not needed and doesn't work on the new v3Arcade 2.0.0. It has its own tournamnet system (based on this one).
Since this is now starting to be obsolete I've removed the Supported status. I will of course still try and help those who use it as much as I can though.

By S?ren Klasson - http://www.sk-software.com

Updated 2008-06-13 to v1.0.5 see version history below for more details.

Note that it is a new template change in template FORUMHOME for v1.0.4.
So don't forget to add that one if upgrading. See install.txt file in zip package.

Features
  • 2, 4, 8 or 16 players tournaments.
  • Usergroup settings for view, join, create and administrate tournaments.
  • Signed up players can withdraw from tournament if it hasn't started.
  • Creator of tournament or administrators can send reminders, withdraw and disqualify members.
  • Notifications via email or PM. Optional by user. (Integrated with v3 Arcades options)
  • Scores hidden until both players done. No disadvantage for playing first. Optional.
  • Active tournaments and tournaments awaiting players on forumhome. Optional.
  • Tournament events posted to the arcade news. Optional.
  • Fully phrased for translations (or improved english)
  • Optional. Creator of tournament can setup costs for joining. Use if forum is using any points system.
  • Includes hooks for integration with a points/store system like vbBux/vbPlaza or something similar.
  • Add-on for vbBux/vbPlaza 3.57 is included. Tested on v3.57 and v3.58 of vbBux/vbPlaza
  • Add-on for vbCredits 1.4 is included. Only tested on that version.
  • Add-on for vbCasino 0.92 cash is included. Only tested on that version.

Version history
  • v1.0.5 - 2008-06-13
    Bugfixes.
    - 'Tournament started' message to the arcade news is now actually sent when tournament starts. Not when someone is joining a tournament.
    - New hook 'arcadetourmnt_start' moved to correct place in code.
  • v1.0.4 - 2008-06-10
    Description field added when creating new tournaments.
    Optional to hide other players scores or not.
    Active tournaments and tournaments awaiting players on forumhome. Optional.
    Tournament events posted to the arcade news. Optional.
    Page navigation for finished tournament lists. Optional how many per page.
    Tournament main menu changed. Now only tournaments with unplayed games are listed.
    Your active tournament list shows number of tries done.
    CSRF protection added.
    Tournament options moved to its own setting group (Arcade Tournament Settings)
    Some more hooks added.
    Disqualify all database error bug fixed.
    Some template changes and other fixes.
    Added an add-on for vbCasino 0.92
  • v1.0.3a - 2008-05-11
    Added an add-on f?r vbCredits 1.4
  • v1.0.3 - 2008-03-22
    Added option for 2 player tournaments.
    Added settings for custom color on tournament tree borders and lines.
    Added 'alt' tags to edit, delete and disqualify icons.
    Players can now withdraw from tournaments if it hasn't started.
    Tournamentlists are now showing newest first.
    More status info in tournamentlists, no more empty cells.
    Creator of tournament can now reset "playing" flags.
    Some minor bugfixes.
  • v1.0.2 - 2008-02-24
    Added missed checks for permission to view tournament pages.
    Bugfix. In some specific cases the name of the winner wasn't included in PM or Email.
    Tournamenttree looks better when using right to left language.
    Name of the game is now saved in the tournament table. So games that gets deleted will not show a empty name.
    Players can no longer join tournaments with deleted games.
    Add-on for vbBux/vbPlaza is updated to v1.0.1
    - Bugfix. Points was taken from the creator even if he/she wasn't joining the tournament.
  • v1.0.1 - 2008-01-14
    Now games installed with the 'iB "Pro" Arcade - Mass Game Import' option is included.
    When two players gets the same score they will get another try until someone wins.
    Added option to join yourself or not when creating new tournament.
    No 'sign up' link on tree page for users not active in tournament after it has started.
  • v1.0.0 - 2007.12.26
    First release.

See file install.txt in zip package for installations details.

/SK

bing11 12-28-2007 02:59 PM

cool,very nice

yahoooh 12-28-2007 06:16 PM

thank u very very much

mrmike 12-28-2007 06:53 PM

Great work skhms!

mrmike click install! ;)

River_rush 12-29-2007 12:42 AM

with this hack installed i can only see the list of four games that you have included with it, I have 100`s of games installed and they don't show up :confused: any ideas please? :o

skhms 12-29-2007 06:39 AM

Quote:

Originally Posted by River_rush (Post 1411139)
with this hack installed i can only see the list of four games that you have included with it, I have 100`s of games installed and they don't show up :confused: any ideas please? :o

I am guessing that the games you see is converted for v3Arcade and those that don't show is ibPro games.

If you make a challenge, do all games show or is it only the same four?
I am using the same query to get valid games as v3Arcade uses on challenges. So it should be the same games showing.

There is a sql query you can do to make all games look like they are v3Arcade games. If that is the problem.

/SK

River_rush 12-29-2007 02:44 PM

Quote:

Originally Posted by skhms (Post 1411247)
I am guessing that the games you see is converted for v3Arcade and those that don't show is ibPro games.

If you make a challenge, do all games show or is it only the same four?
I am using the same query to get valid games as v3Arcade uses on challenges. So it should be the same games showing.

There is a sql query you can do to make all games look like they are v3Arcade games. If that is the problem.

/SK

its always the same four. Thanks a lot

Snake 12-29-2007 10:31 PM

Thanks for the release! Gonna have to re-install the arcade system once again on my newly forums. :D

River_rush 12-30-2007 09:31 AM

still waiting for a fix please.

skhms 12-30-2007 11:27 AM

Quote:

Originally Posted by River_rush (Post 1411828)
still waiting for a fix please.

For a quick fix you can enter this at the Maintenance > Execute SQL Query Page:

Code:

UPDATE table_prefixarcade_games SET system=0
This changes the system flag to 0 and all games will show in both tournament and challenges. (It is set to 10 for ibPro games)
It will only fix the games you currently have installed. If you install new ibPro games you will have to run the query again.

I will change this in an update and include both, had forgot about it.
There is no reason why ibPro games can't be used in a tournament (or challenges).

/SK

River_rush 12-30-2007 12:53 PM

Thanks but i got the error
Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table '********_***.table_prefixarcade_games' doesn't exist
oops my bad I was supposed to put my own table prefix in there ?

skhms 12-30-2007 01:26 PM

Quote:

Originally Posted by River_rush (Post 1411901)
Thanks but i got the error
error number: 1146
error desc: Table '********_***.table_prefixarcade_games' doesn't exist

You got to replace the 'table_prefix' that I put in bold with whatever you selected as table prefix when you installed vBulletin. Or remove it if you don't use any.
Sorry, should have made that clear in the first post.

Edit: I saw that you got it yourself.

/SK

River_rush 12-30-2007 01:27 PM

ok that did it thanks :o

Hornstar 12-31-2007 06:45 AM

Thanks for this release, hopefully John is already working on the 3.7 big arcade update, if not, hopefully the current version will work good in 3.7

skhms 01-15-2008 09:01 AM

Uploaded an update to v1.0.1.

Just a few changes and additions
  • Now games installed with the 'iB "Pro" Arcade - Mass Game Import' option is included.
  • When two players gets the same score they will get another try until someone wins.
    It was random before...
  • Added option to join yourself or not when creating new tournament.
    So you can have an admin account to create tournaments but not playing.
  • No 'sign up' link on tree page for users not active in tournament after it has started.
    Just a small thing. Since you couldn't join, why show a 'sign up' link.
/SK

Oblivion Knight 01-17-2008 11:49 AM

This looks like a great addon, I'm going to check it out for sure!

Does it run completely seperate to the default "Challenge System" - would it cause any problems removing that? Ideally I'd like one or the other turned on, not both.

skhms 01-17-2008 03:32 PM

Quote:

Originally Posted by Oblivion Knight (Post 1423083)
Does it run completely seperate to the default "Challenge System" - would it cause any problems removing that? Ideally I'd like one or the other turned on, not both.

There is no connection to the default Challenge System.

/SK

Traxdata 01-21-2008 11:51 AM

Looks very good, does it work on 3.7. beta or should we wait?

skhms 01-21-2008 02:57 PM

Quote:

Originally Posted by Traxdata (Post 1425802)
Looks very good, does it work on 3.7. beta or should we wait?

Sorry, I don't know if it's work on 3.7 beta.
Haven't installed 3.7 yet and seen what's new and different.
If v3 Arcade works I would guess that this add-on should work also.

/SK

Lovemonk 02-14-2008 08:19 PM

Haven't tested this yet, but just installed. Nice one, this add on is exactly what I've been wanting.

EDIT - I have now tested this and it worked perfectly. Thank you VERY much.

skhms 02-24-2008 07:34 AM

Another update made to v1.0.2

Some fixes and additions.
  • Added missed checks for permission to view tournament pages.
  • Bugfix. In some specific cases the name of the winner wasn't included in PM or Email.
  • Tournamenttree looks better when using right to left language.
  • Name of the game is now saved in the tournament table. So games that gets deleted will not show a empty name.
  • Players can no longer join tournaments with deleted games.
  • Add-on for vbBux/vbPlaza is updated to v1.0.1
    Bugfix. Points was taken from the creator even if he/she wasn't joining the tournament.
/SK

skhms 03-24-2008 09:27 AM

Yet another update is uploaded. v1.0.3
  • Added option for 2 player tournaments.
  • Added settings for custom color on tournament tree borders and lines.
  • Added 'alt' tags to edit, delete and disqualify icons.
  • Players can now withdraw from tournaments if it hasn't started.
  • Tournamentlists are now showing newest first.
  • More status info in tournamentlists, no more empty cells.
  • Creator of tournament can now reset "playing" flags.
  • Some minor bugfixes.

/SK

Polo 03-26-2008 11:29 PM

This is a great addon, is working just fine on vbulletin Version 3.7.0 Beta 3, the only thing that doesnt seem to be workin is the reminders.. the players are marked in red in the last activity section, but when I click send reminder it says "0 reminders sent" any idea on how to fix this?

skhms 03-27-2008 05:53 AM

Quote:

Originally Posted by Polo (Post 1475454)
This is a great addon, is working just fine on vbulletin Version 3.7.0 Beta 3, the only thing that doesnt seem to be workin is the reminders.. the players are marked in red in the last activity section, but when I click send reminder it says "0 reminders sent" any idea on how to fix this?

Have never tested the mod on v3.7.

Does any other event PM being sent?
PM is sent when a tournament starts, new round is started and when its finished.
Users must also have checked the 'Tournaments events' box in Usercp -> Arcade Options -> Notifications events

If no PM is received at all I guess there is something that must be fixed for v3.7 and I shall look into it.

/SK

John3971 04-09-2008 01:01 PM

This is a great addon for v3arcade and i have a suggestion for next version and that is when a tournament is created it should show it in the News & Events column on v3arcades sidebar.
it would also be good if you can see your competitions currently score and when you are playing the game you see what he´s score is so you know what to beat.

John3971 04-14-2008 05:14 PM

I want on forumhome under statistic how many tournaments that is active and how many that is waiting for players. and something that would be nice is if you could add a little description when you starting a tournament where you can write if its a contest with prices etc

msimplay 04-14-2008 05:19 PM

Thank you working very nice :)

skhms 04-14-2008 06:22 PM

Thanks for the suggestions John, I'll probably add them.
Will see when I will get around to do a new release, don't expect it very soon...

Not sure about the score thing, I consider it to be a great disadvantage to play first if the other player can see your score.

About the stats on forumhome.
If you are up to it, take a look at the first couples of lines in the plugin "Arcade Tournament menu". That will get number of active tournaments and how many that are waiting for players.
Also take a look at the template "arcadetourmnt_mainmenu" to see how they can be used.

If you are not up to it, I might be able do a simple plugin. :)

/SK

John3971 04-14-2008 06:33 PM

Quote:

Originally Posted by skhms (Post 1490580)
Thanks for the suggestions John, I'll probably add them.
Will see when I will get around to do a new release, don't expect it very soon...

Not sure about the score thing, I consider it to be a great disadvantage to play first if the other player can see your score.

About the stats on forumhome.
If you are up to it, take a look at the first couples of lines in the plugin "Arcade Tournament menu". That will get number of active tournaments and how many that are waiting for players.
Also take a look at the template "arcadetourmnt_mainmenu" to see how they can be used.

If you are not up to it, I might be able do a simple plugin. :)

/SK

well im not so good but i will try, but would be good with a plugin (a little lazy to :p)

and about the score thing you can maybe make an option that allows you to turn it on or off in the acp

paulvev 05-04-2008 06:43 PM

Im using 3.6.7 and this mod is working ok, except for:

Im using VB credits as a cost to enter the tournament. The tournament works fine and determines the winner, but the credits arent awarded to the winner automatically. I have to do it manually. Do you know whats wrong? Hope somebody can help. Thanks.

skhms 05-04-2008 08:59 PM

Quote:

Originally Posted by paulvev (Post 1508399)
Im using 3.6.7 and this mod is working ok, except for:

Im using VB credits as a cost to enter the tournament. The tournament works fine and determines the winner, but the credits arent awarded to the winner automatically. I have to do it manually. Do you know whats wrong? Hope somebody can help. Thanks.

You need a modification for vbCredits that take care of payment.
The one included in the package is for vbBux/vbPlaza.

I have never used vbCredits and don't know how it works. So I am not sure if I will be able to do such a mod at the moment.

/SK

skhms 05-11-2008 04:34 PM

An add-on for vbCredits v1.4 has been added to the zip package in the first post.
It has only been tested briefly for v1.4. And I am pretty certain it wont work on older versions.

You can download the complete package again or download the attachment to this post for the vbCredits add-on only.

Sorry, no other news this time...

/SK

flapjack 05-24-2008 02:23 AM

Is there any way to disable "two person tournaments", as people in my arcade are continually running .2 person tournaments instead of challenges to become the "tournament champion".. stupid, I know, but ..

Also, thank you for this mod. It's awesome.

msimplay 05-24-2008 06:10 AM

Quote:

Originally Posted by flapjack (Post 1529607)
Is there any way to disable "two person tournaments", as people in my arcade are continually running .2 person tournaments instead of challenges to become the "tournament champion".. stupid, I know, but ..

Also, thank you for this mod. It's awesome.


easiest way would probably be if u want to do it right now just to remove it from the template

skhms 05-24-2008 06:47 AM

Quote:

Originally Posted by flapjack (Post 1529607)
Is there any way to disable "two person tournaments", as people in my arcade are continually running .2 person tournaments instead of challenges to become the "tournament champion".. stupid, I know, but ..

Also, thank you for this mod. It's awesome.

As msimplay says, in the template Arcade Tournament Templates -> arcadetourmnt_newtournament
Remove the line
HTML Code:

<input name="numplayers" class="forminput" type="radio" value="2" />2 $vbphrase[skat_createnewtournament_players]<br />
I guess people could still cheat their way to create a 2 person tournament this way, but I don't think that is a problem in reality :)

/SK

flapjack 05-24-2008 11:10 AM

Thank you very much. I should have thought of that honestly, but thank you nonetheless :)

Awesome response time too. Again, awesome modification skhms. My forumers are going nuts ;)

GuaRRand 05-28-2008 01:07 PM

this is GREAT m8.

One thing though, could you set this to work with reputation??
Like.. if you win you get + reputation and when you lose - reputation?

skhms 05-29-2008 09:40 PM

Quote:

Originally Posted by GuaRRand (Post 1534033)
this is GREAT m8.

One thing though, could you set this to work with reputation??
Like.. if you win you get + reputation and when you lose - reputation?

I will not implement that in the main product.
But I guess you could do that with an add-on like the ones for vbPlaza and vbCredits that are included.

Don't think it is something I will be able to do immediately though...

/SK

GuaRRand 05-30-2008 11:27 AM

Ok np. its working fine and people like it :D

Is there an addon you know of (or maybe implemented in a next version) that will put a kind of "announcements" or "scoreboard" on the mina page?

Like "4 people player Tournaments now, 2 active tournaments, 4 tournaments awaiting players"
?

GuaRRand 05-30-2008 11:57 AM

AND .. or ... could you intergrate it with VBCasino also??

https://vborg.vbsupport.ru/showthread.php?t=159151 <--


All times are GMT. The time now is 07:13 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.01490 seconds
  • Memory Usage 1,846KB
  • 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
  • (1)bbcode_html_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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