Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBTripleTriad Details »»
vBTripleTriad
Version: 2.7, by Darkwaltz4 Darkwaltz4 is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 07-28-2005 Last Update: 08-17-2005 Installs: 52
DB Changes Template Edits
Code Changes Additional Files  
No support by the author.

What vBTripleTriad is:
-vBTripleTriad is a multiplayer modification for playing the addictive Triple Triad from Final Fantasy VIII. For now, If you want to learn how to play, Google it to see one of the many online tutorials. Check Out http://en.wikipedia.org/wiki/Triple_Triad for more details.

Requirements:
-Any pre-existing points system in place. If you would like a crude points system for sole use in this hack, please CLICK HERE

Features:

Triple Triad the Game
    • Faithfully Recreated From Final Fantasy VIII
      • Contains All Original Card Images
      • Uses Original Game MIDI Files
      • All Original Game Rules Fully Functional
      • All Original Prize Rules Fully Functional
    • New Gameplay Features
      • Five New Game Rules Fully Functional
      • One New Prize Rule Fully Functional
      • AI More Intelligent Than FF8
        • Utilizes All Active Rules for Best Move
      • Every Rule Combination Won't Conflict
      • Manually or Randomly Set Rules
      • Unlimited Concurrent Matches
    • User Matches
      • Limit Levels of Cards
      • Set Wagers
    • AI Matches
      • Set Level of Difficulty
      • Points Admissions and Prizes
      • Limit Uses Through ACP
  • Card Aquisition
    • Simple Purchase Process With Alert
    • Easy Inventory Management
    • Dynamic Card Catalog
    • Extras Can Be Resold
  • User Interaction
    • Helpful Links
      • View Inventory
      • Statistics
      • Challenges
    • Trades
      • Donations
      • Your Own Cards
      • Point Offers
  • Stadium
    • Browse Matches
      • Comprehensive Search
    • Statistics
      • Match Leaderboard
      • Hack Usage
    • Links to Everything
    • Existing Match Jump
  • Admin Control Panel
    • Configure Game Settings
      • Integrate With Any Points System
      • Set Limits for Everything
      • Disable Certain PM Alerts
    • Card and Match Manager
      • Edit and Delete Existing Cards
      • Upload New Cards
        • Create Special Unique Usercards
        • Award Users New Cards
      • Restart and Delete Individual Matches
    • Match and Trade Processor
      • Consistency
      • Prune for Inactivity
      • Calculate Statistics
  • Hack in General
    • Exhuastively Bugtested
    • Quick and Easy Installation
    • Integrates With Most Points Systems
    • Complete Control Over Every Aspect
    • Special Formulas for PHP-Illiterate Admins
    • Templates Meld Into vB Style
    • vB Standards PHP and MySQL
    • Concise Descriptions of All Actions
-MANY more which I cannot remember!

Installation:
-Upload a few files, run a couple of them, a small handful of minor file edits, and one template edit. Clean installation should take less than 10 minutes for the average admin. Complete instructions are inside the zip.

Because of attachment limitations, the second set of images is in the second post; CLICK HERE to download this as well.

Upgrade hack version 2.6 to 2.7:
-For upgrade information Please see this post

Upgrade hack version 3.2.5 to 2.6:
-For upgrade information Please see this post

Supplemental Images:
-Additional Screenshots can be found in the second post, CLICK HERE.
-If you are interested in creating new/replacement card images and decks, CLICK HERE. Feel free to submit to me new versions of the base set if you would like them to become the new main set.
-The cardback that is included in vBTripleTriad was selected by my forum in a large contest. If you do not like it, you can CLICK HERE to download the original. Edit it to 105x130 pixels, rename to 'backcard.gif', and upload it to images/triad.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 09-02-2005, 09:47 PM
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Location: Russia
Posts: 523
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kurisu
There has to be. Just use PHPmyAdmin and use the UPDATE query.
I was hoping not to use phpmyadmin so I don't mess it all up :P I guess I'll just have to try.
Reply With Quote
  #83  
Old 09-02-2005, 09:52 PM
Kurisu Kurisu is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, you can run the query from the ACP if you want to^^
But in the end you will have to do it via query.

Hmm I just looked into it and this would have to be a damn long query^^"
Reply With Quote
  #84  
Old 09-02-2005, 10:58 PM
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Location: Russia
Posts: 523
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it without queries

Just selected the triad_user and deleted all the cards I had. Then deleted the battles via admincp Its all good now :P
Reply With Quote
  #85  
Old 09-02-2005, 11:31 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the stats are all created live, so to delete them would be to delete all of the matches. a simple chore of running 'delete from triad_match' using your prefix if you are. there is really no need to delete matches from what i believe :-p as for deleting ALL owned cards....


it would need a script, but if you have only a couple users it would be better to just fix them by hand with phpmyadmin. if you need specialized help, pm me and i might be able to fix it using your phpmyadmin

edit: okay, great, makes it easier on me
i found your site btw, and its a great implementation of tt from what i can see. i hope your large userbase uses it a lot
Reply With Quote
  #86  
Old 09-13-2005, 07:20 PM
AllenSam AllenSam is offline
 
Join Date: Jul 2005
Location: Illinois
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a question about the points system...

Well, you know how when you move a post from a forum that counts posts towards user post counts to a forum that doesn't, it deducts the post from their postcount? How could I get it to deduct the points they got for the post as well?

I'm pretty sure it would go somewhere in postings.php here:

PHP Code:
// Update Post Count if we move from a counting forum to a non counting or vice-versa..
    
if (($method == 'move' OR $method == 'movered') AND (($foruminfo['countposts'] AND !$destforuminfo['countposts']) OR (!$foruminfo['countposts'] AND $destforuminfo['countposts'])))
    {
        
$posts $DB_site->query("
            SELECT userid
            FROM " 
TABLE_PREFIX "post
            WHERE threadid = 
$threadinfo[threadid] AND
                userid <> 0
        "
);
        
$userbyuserid = array();
        while (
$post $DB_site->fetch_array($posts))
        {
            if (!isset(
$userbyuserid["$post[userid]"]))
            {
                
$userbyuserid["$post[userid]"] = 1;
            }
            else
            {
                
$userbyuserid["$post[userid]"]++;
            }
        }

        if (!empty(
$userbyuserid))
        {
            
$userbypostcount = array();
            foreach (
$userbyuserid AS $postuserid => $postcount)
            {
                
$alluserids .= ",$postuserid";
                
$userbypostcount["$postcount"] .= ",$postuserid";
            }
            foreach(
$userbypostcount AS $postcount => $userids)
            {
                
$casesql .= " WHEN userid IN (0$userids) THEN $postcount";
            }

            
$operator iif($destforuminfo['countposts'], '+''-');

            
$DB_site->query("
                UPDATE " 
TABLE_PREFIX "user
                SET posts = posts 
$operator
                CASE
                    
$casesql
                    ELSE 0
                END
                WHERE userid IN (0
$alluserids)
            "
);
        }
    } 
But, I don't know much PHP so I'm not sure what to change or add...

If anyone can help out with this, I would be grateful...thanks.
Reply With Quote
  #87  
Old 09-13-2005, 08:35 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as i said when i first posted the points hack, its very very crude and meant to provide only the minimum needed to get the job done.

this is one thing i dont think my points hack needs to do im afraid, i suggest you use a conventional points system, such as ucash. (if you want to disable any extras from such a hack, like the shop part, then remove all links to it, and remove any extrenal files. keep in mind this might remove functionality such as donating. i really dont know for sure)
Reply With Quote
  #88  
Old 09-15-2005, 03:05 AM
AllenSam AllenSam is offline
 
Join Date: Jul 2005
Location: Illinois
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I got the uCash installed and I asked the same question in the uCast/uShop forum.

Another question:
Sorry if this has already been covered, but the matches keep coming up as Invalid Match ID. Any idea why?
Reply With Quote
  #89  
Old 09-15-2005, 04:17 AM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are the matches listed in the browse screen?

If you arent running the newest version, you should upgrade, because there was a bug concerning displaying unactivated matches (which would not load with triad_match [intended behavior]) fixed in the latest version. if things like AI matches are turning up invalid, then I'll take a look.


Edit: yes, you are running v2.6, and current version is v2.7, please follow the link in the first post for upgrade files.

Also, if you created the member Triad BOT, it is unnecessary, as the bot is an independant entity, not a hijacked user
Reply With Quote
  #90  
Old 09-15-2005, 01:23 PM
AllenSam AllenSam is offline
 
Join Date: Jul 2005
Location: Illinois
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks. The bot matches are working, but the PvP matches are giving invalid ID when you go to browse matches and click on the match number. I'll upgrade, hopefully it fixes it...

So, for the PM Alert Sender UserID in the admin options, do I put a non existant userID? At first I had it set to 1, which is my ID, but I thought it would send PM's under my name so I made the Triad BOT user...
Reply With Quote
  #91  
Old 09-15-2005, 01:28 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OOOOh i understand what you mean yes doing that would be a bit interesting. (although my original intent was to set it as the main admin, such as people could just hit reply when they had questions/concerns over the alert itself -- the message even directs them to do so)

Again, please upgrade and tell me if that fixes the problem. Keep in mind that un-accepted matches will NOT be available for viewing, and shouldnt be listed in the browse screen (you can tell the status of EVERY match by going to the acp and the match manager, and looking at the list of matches in the dropdown under 'pending'. These cant be displayed, only canceled by you.)

Edit: clicking install allows you access to the upgrade messages i send out, so you probably would have noticed it sooner
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:55 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.05041 seconds
  • Memory Usage 2,348KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete