HELP - No Subwoofer Output in Game

Well I upgraded several things at once recently, including my home theatre, which left me with a reciever and 5 Athena speakers + a Sub. So I decided that these would work wonderfully with my new X-Fi Platinum card.
I'm assuming that I have everything setup correctly by going from the /8" jacks on my X-Fi back to the RCA 5. inputs on my reciever (Denon AVR-205). When it comes to playing movies and music, it's nothing short of amazing. However, when I play games (particullary Battlefield 2 with the Ultra-High X-Fi setting turned on) I am getting absoloutly no output to my subwoofer? This is also the case in HL2 when I select '5. Speakers' from the in-game menu. Is this correct? I'm pretty sure that everything is physically setup correct b/c I get sub output in movies via Windows Media Player. I've also gone into the THX setup control panel that Soundblaster gives you and I can click the Subwoofer Icon or press the 'Test Channels' and I get sub output. And yes, I've gone through the THX speaker assignement option and properly designated the sub.
Any ideas? Any suggestions? Or is this the way it was designed?
I do have the option to run my FL/FR speakers through my sub and set a crossover freq on the actual sub...but this seemed uneccessary b/c I was assuming that my X-Fi would output a sub signal in games.... Did I just get a bad card?
Thanks in advance.

To get bass, go to the Speaker Configuration of your X-Fi (sorry, using an Audigy and don't know the exact locations of the controls for the X-Fi) and search to find the BASS REDIRECTION option. Enable this and you should be able to get bass from your subwoofer. The crossover slider will enable you to fine tune this according to your speakers' specs. Experiment with it and select the best frequency.
I don't know if this will work, because it appears your speakers do have a crossover, but I am not sure... Did you enable it or not? The X-Fi and all soundcards do not separate the bass signal if not specified so, as most modern 5. systems do that by themselves.
Message Edited by alexs3d2 on 09-6-2005 05:59 AM

Similar Messages

  • Bad sound and low subwoofer output on Audigy 2 zs with 5.1 5

    Hi,
    I am getting very very low subwoofer output on my Audigy2 ZS with 5. 5200.
    To test furthter, i did the follownig
    play mp3,
    2 output is from front speakers
    3 very very low subwoofer output
    4 to confirm, removed green (front) black (read) cabled from sound card and can confirm a very very low subwoofer output
    earlier with Li've! 5. every thing was working great.
    what could be wrong?
    i think Audigy 2 zs is a bad card and is a marketting hype.
    is it that we need a different kind of cable to connect Audigy2 zs with 5. 5200? ( i am using the cable which came with my 5200 ofcourse)Message Edited by kotecha on 2-3-2004 07:23 PM

    Hi Jeremy,
    Thanks for the response.
    I have tried all the thx console setup and bass levels.
    Its not affecting the subwoofer output very much.
    <Infact the subwoofer output is so low that i have to go and put my ears on the subwoofer to see if its producing sound.
    <FONT color=#333399>Remember that with Li've! 5. (SB0220) which also i have with me is giving all the great results. so the problem is not with speakers but with the sound card and i want my costly card (zs) to work.
    (i still believe the 5. 5200 3 pole cables (green, black, yellow) which we attached to the sound card and speakers are not compatible with Audigy2 zs as zs needs 4 pole cables - but i have not verified this still as it will be a long time consuming exercise - purchasing 4 pole pins and soldering here and there on cables and poles and testing testing)
    Also, why the bass boost controls (level and cutoff frequency) in bass boost are disabled? how to bring them to enabled state?
    Also, in thx console setup (calibration page) , its not SAVING the changes which i make to Distance, Level and Angle. Why is that so?
    To help you further in understand my problem please note that i HAVE updated all the software to its latest versions by doing the software AutoUpdate from creative support site.
    So i am having atleast 3 issues now
    <. VERY VERY low subwoofer output while playing mp3 on audigy2zs with 5. 5200(this is my major concern)
    <2. Bass boost controls are disabled (how to enable these controls?)
    <3. its not saving the changes i make to thx setup console calibration page for Distance, Level and Angle.
    <
    <FONT color=#cc0066>As regards many ppl complaing of low subwoofer output on Audigy (2 zs and related), read the COMPLETE thread below (one of the largest threads on just low subwoofer output - around 360 replies to that post so far - but still no solution. just loyal customers feeling down of creative).
    <FONT color=#cc0066>
    <FONT color=#cc0066>http://de.europe.creative.com/support/forums/thread.asp?thre=396&foru=5&page=
    <FONT color=#cc0066>
    <FONT color=#cc0066>
    <FONT color=#cc0066>though the issue in that link is with audigy (2zs) and 5. digital, if you go through that whole thread, you will realise what we go through. THE SUBWOOFER OUTPUT IS A BAD PROBLEM WE ALL ARE FACING WITH AUDIGY AND RELATED.
    <EM>I think i am hopeful of a solution as i was always an admirer of creative sound cards (the reason i purchased this costly audigy2 zs). but looking at the issues i am facing, it makes me feel it was a bad bad decision to purchase this costly card.</EM>
    <EM></EM>
    <EM>Please help with my issues.</EM>
    Message Edited by kotecha on <SPAN class=date_text>2-4-2004 <SPAN class=time_text>06:35 AM
    Message Edited by kotecha on 2-4-2004 06:38 AM

  • Subwoofer output from ZS Notebook to Recie

    Hi. I needed to boost my subwoofer's output from my soundcard to my reciever. The cable that I use to connect from my SB Audigy2 ZS Notebook to my Sony STR-DE898 is a Creative Labs Home Theater Cable with 8 RCA plugs. The subwoofer I use is from an Inspire T7700 and I'm using it as an acti've subwoofer, which connects from the Sony STR-DE898's subwoofer output to the RCA plug of a T7700 subwoofer marked Subwoofer in the back. Setting the volume to the max isn't a problem because I can adjust the bass level in the T7700's remote. I don't have the bass level at max (I set it to about 40% from hte minimum position) but when I go into Multi In mode in my reciever, I have to have the bass level at max but creates a hum. I can barely hear the subwoofer. Even turning on the Bass Redirection in my Speaker Settings doesn't help! Boosting the bass in Surround Mixer and increasing the 25Hz frequency in the EQ affects all the speakers so that's not an option. Any ideals? Any low-cost RCA-in->RCA-out amplifiers?out there which will boost my subwoofer output? The ZS Notebook will go through the amp to my Subwoofer In of my STR-DE898 reciever. Thanks.

    You just saved me from starting a new post... exact same problem I'm having. Were you able to solve it?
    Only difference for me is:
    * Pioneer 7.1 receiver with 7.1 speakers, and it receives a PCM 2.0 channel signal from my mac mini late 2012. Can only hear sound out of L+R speakers
    * I also only get 2 channels for video through XBMC, as well as iTunes music playback
    If I change my midi setup to 2 channel instead of 8, I can change my audio settings on the receiver to acheive "multichannel", but still nothing coming out of the subwoofer. So I'm getting 7.0 not 7.1. But don't see why I need to resort to this if Mac OS and Mac mini claim they support multichannel audio through HDMI. And I too rely heavily on the subwoofer, so this work-around is useless to me.
    Was just told to first try to reset the Mini (unplug for 30 secs) and PRAM reset (Command+Option+P+R). Will try that when I get home later today.

  • HELP about analog output video

    Hello, I´m need help about analog output video in Premiere CS5 using Matrox RTX2. I need to crop a video with resolution in 1440x1080 to 4:3 in output analog. But what happens is wrong (I think). My video is in format anamorphic and the other option is 16:9 letterbox. Is there any way to crop the video without using effects. Thanks a Lot and sorry my bad english (my native language is Portuguese).

    There are no 4:3 HD specifications.  You'll have to put the video into a normal SD sequence, and scale it down till the top and bottom of the video meet the frame.  That way the sides will be cut off.

  • I need help identifying an old Macintosh game: it was a painting game where you rode a roller coaster to an art museum and you got to pick what kind of art work you were going to make. This was the early 90's and I've been trying to hunt it down

    I need help identifying an old Macintosh game: it was a painting game where you rode a roller coaster to an art museum and you got to pick what kind of art work you were going to make. It was animated, 2D i believe. This was the early 90's and I've been trying to hunt it down. I think there was some kind of animal in it, a giraffe maybe?

    Could you be thinking of Microsoft Home's "Fine Artist" for Macintosh, as shown in this Amazon.com listing?  This program was bundled with the Performa series of Macs during the mid-90s.

  • HT5622 I am trying to buy some help on the "candy crush" game but I keep getting this pop-up" unable to purchase. This item is for an app that was purchased by a different Apple ID. to buy this item with this Apple ID you must first purchase the app. My d

    I am trying to buy help on my candy crush game but I keep getting this pop-up? Unable to Purchase. This item for an app that was purchased by a different Apple ID. To buy this item with this Apple ID, you must first purchase the app. My daughter set up this game on my Iphone. I am on level 65 and don't wont to start over if I don't have to.
    Any suggestions?

    If it was indeed purchased with a different apple ID then there is no work around for what you want! You can try signing in with your daughter's apple ID and password and update the app and purchase whatever you want then log back in with your apple ID. This may work!

  • Help Needed to Write Nim Game

    I need help in writing the Nim game. I have the program written already for the user to select if they want to go first or the computer and how many stones the user wants to start with. The problem I am having is writing a loop that recognizes which player is to go first and executes the play of taking stones. Any help would be appreciated.

    Perhaps there could be a boolean firstPlayerMove. Then, when the loop starts, if that is true then the first player enters the stones, otherwise second player. At the end of every time the loop is executed firstPlayerMove should equal "!firstPlayerMove."

  • Help with DIgital Output Array with 6062E DAQ CARD...

    Good morning, folks... I need some help with digital output of the 6062E PCMCIA card... I can output 1 line without problems... I need to control a 4066 with my digital outputs... I am doing this without greater problems... but there's something... I need that when one of my outputs is high, the others become low, unchangeably... so I tried to use an array to control my output and I couldn't do that... some errors showed up... can you help me please? Maybe there's any errors at my software, then I thank you if you help me... the vi is anexed...
    Best Regards...
    Attachments:
    Untitled 3.vi ‏20 KB

    See below for one of many methods. Change the "lines" string for your setup.
    Also, please explore the Examples that ship with LabVIEW, and read your card's manual.
    Richard

  • No sound output in games with "advanced effects"...Audigy 2 ZS...HEL

    <SPAN>Hi there.... I have a soundblaster audigy 2 ZS installed with the drivers and EAX console. I have noticed that if I enable "advanced EQ" in the "enable audio effects" menu, i get no sound output from games or other software, although windows noises and sound files play fine!!If i use other features from the "enable audio effects" menu such as "environment" then the sound works fine....Surely this is not meant to happen?Anyone else check this for me?

    *bump*

  • Help Making a SIMPLE JAVA GAME *TINY GLITCH*

    got a tinnnny glitch and ive tried everything to get it to work, but so far no luck.
    Heres what my program does:
    1. Aliens spawn at top left (top 4 rows) and move to the right and dissapear (DONE)
    2. Shooting rectangle at bottom middle (moves left and right) and shoots bullets (DONE)
    3. When bullets make contact with alien the alien dissapears (DONE)
    4. When you shoot 20 bullets game over (DONE)
    5. When all the aliens fly by the screen game over (DONE)
    GLITCH
    1. When an alien is killed any bullet that goes over the exact same spot of collision the bullet dissapears! +so does an alien going over same collision spot
    MISSING
    1. Score, every alien kill + 10 CANNOT get a working score funtion to +10 fo every alien successfully hit :(
    My SRC jus copy and paste and compile, any help appreciated
    http://www.geocities.com/porche_masi/Assignment3.txt
    //ignore spelling mistakes in comments and outputs lol
    ive spent way to many hours over these 2 stupid problems, hope new eyes can spot the problem

    I'm not going to look at your code, but it sounds like when you're killing things you're not removing them from your future calculations. So if an alien is killed, it should either be removed from the list of aliens, or a "dead" flag should be set on it which causes it to be ignored in future calculations.
    edit I did look at your code actually, and that is a really, really bad use of multithreading. You shouldn't just create a new thread every time a bullet is fired. You should maintain a list of bullets, have the main thread drive the UI, and have a secondary thread to update the game logic (recalculate collisions, etc).
    Edited by: endasil on Nov 21, 2007 3:16 PM

  • Help with query output

    Hello, I have the following query that I'm running in Oracle SQL Developer 1.2.1
    WITH group_by_4_column_results AS
    (SELECT m_atschunk.employee AS employee,
    SUM(CASE
    WHEN
    M_ATSCHUNK.rolloffDaysCount = '108545043' AND m_atschunk.infractiondate BETWEEN SYSDATE - 365 AND SYSDATE THEN 1 ELSE 0 END) as rolloffs,
    M_ATSCHUNK.INFRACTIONDATE + 365 as infractionDate
    FROM M_ATSCHUNK
    group by employee, infractionDate, rolloffDaysCount
    SELECT g4.*,
    SUM (rolloffs) OVER (PARTITION BY employee) AS total_rolloffs
    FROM group_by_4_column_results g4
    It will output the key elements of what I need. But where it sums up the 'total_rolloffs', I need to add that number back into the infractiondate column. Any help would be greatly appreciated.
    CREATE TABLE M_ATSCHUNK
    (EMPLOYEE varchar(50),
    ROLLOFFDAYSCOUNT varchar(3),
    INFRACTIONDATE date)
    INSERT INTO M_ATSCHUNK (EMPLOYEE, ROLLINGOFFDAYSCOUNT, INFRACTIONDATE)
    VALUES ('PHIL','YES', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('PHIL','YES', (to_date('2010/01/02 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('PHIL','YES', (to_date('2010/01/03 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('PHIL','YES', (to_date('2010/01/04 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('PHIL','YES', (to_date('2010/01/05 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('PHIL','NO', (to_date('2010/02/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('PHIL','NO', (to_date('2010/03/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','YES', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','YES', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','YES', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','NO', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','NO', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','NO', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss'))),
    VALUES ('NIKI','NO', (to_date('2010/01/01 08:00:00', 'yyyy/mm/dd hh24:mi:ss')))

    Phil3061 wrote:
    I need to add that number back into the infractiondate column.Well, in general you need to use UPDATE or better MERGE. Howebver, your data sample does not show any rollofs:
    SQL> SELECT * FROM M_ATSCHUNK;
    EMPLOYEE                                           ROL INFRACTIO
    PHIL                                               YES 01-JAN-10
    PHIL                                               YES 02-JAN-10
    PHIL                                               YES 03-JAN-10
    PHIL                                               YES 04-JAN-10
    PHIL                                               YES 05-JAN-10
    PHIL                                               NO  01-FEB-10
    PHIL                                               NO  01-MAR-10
    NIKI                                               YES 01-JAN-10
    NIKI                                               YES 01-JAN-10
    NIKI                                               YES 01-JAN-10
    NIKI                                               NO  01-JAN-10
    EMPLOYEE                                           ROL INFRACTIO
    NIKI                                               NO  01-JAN-10
    NIKI                                               NO  01-JAN-10
    NIKI                                               NO  01-JAN-10
    14 rows selected.
    SQL> WITH group_by_4_column_results AS
      2  (SELECT m_atschunk.employee AS employee,
      3  SUM(CASE
      4  WHEN
      5  M_ATSCHUNK.rolloffDaysCount = '108545043' AND m_atschunk.infractiondate BETWEEN SYSDATE - 365 AND SYSDATE THEN 1 ELSE 0 END) as
    rolloffs,
      6  M_ATSCHUNK.INFRACTIONDATE + 365 as infractionDate
      7  FROM M_ATSCHUNK
      8  group by employee, infractionDate, rolloffDaysCount
      9  )
    10  SELECT g4.*,
    11  SUM (rolloffs) OVER (PARTITION BY employee) AS total_rolloffs
    12  FROM group_by_4_column_results g4
    13  /
    EMPLOYEE                                             ROLLOFFS INFRACTIO TOTAL_ROLLOFFS
    NIKI                                                        0 01-JAN-11              0
    NIKI                                                        0 01-JAN-11              0
    PHIL                                                        0 01-JAN-11              0
    PHIL                                                        0 02-JAN-11              0
    PHIL                                                        0 03-JAN-11              0
    PHIL                                                        0 04-JAN-11              0
    PHIL                                                        0 05-JAN-11              0
    PHIL                                                        0 01-FEB-11              0
    PHIL                                                        0 01-MAR-11              0
    9 rows selected.
    SQL> So adjust data sample and based on it tell us what are the expected results.
    SY.

  • Urgent Help Required for Connect Four Game

    Hi all,
    I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the game. I need to implement the hasWon() method for Horizontal win, Vertical win and Diagonal win. I also found some code examples on the net but I was unable to make it working. I have 5 classes and one interface which I m implementing. The main problem is how to implement the hasWon() method in the PlayGame class below with Horizontal, vertical and diagonal moves.
    Sorry there is so much code.
    This the interface I must implement, but now I am only implementing the int move() of this interface. I will implement the rest later after solving the winner problem with your help.
    Interface code..............
    interface Player {
    void init (Boolean color);
    String name ();
    int move ();
    void inform (int i);
    Player1 class......................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player1 implements Player
    public Player1()
    public int move()
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player1;
    System.out.println ("What is your Number, player 1?");
    player1 = scan.nextInt();
    System.out.println ("Hey number"+player1+" are you prepared to CONNECT FOUR");
    System.out.println();
    return player1;
    //Player.move();
    //return player1;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "Koonda";
    }//end player1 class
    Player2 class...........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player2 implements Player
    public int move()
    //int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    // cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
    //int num1, num2;
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player2;
    System.out.println ("What is your Number, player 2?");
    player2 = scan.nextInt();
    System.out.println ("Hey "+player2+" are you prepared to CONNECT FOUR");
    System.out.println();
    //return player1;
    return player2;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "malook";
    }//end player1 class
    PlayGame class which contains all the functionality.........................................................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class PlayGame
    //Player player1;
    //Player player2;
    int [][]ConnectFourArray;
    boolean status;
    int winner;
         int player1;
         int player2;
         public PlayGame()
              //this.player1 = player1;
              //this.player2 = player2;
         public void StartGame()
         try{
         // int X = 0, Y = 0;
         //int value;
         int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
         int[][] ConnectFourArray = new int[6][7];
         int num1, num2;
         for(int limit=21;limit!=0;limit--)
    BufferedReader selecter = new BufferedReader (new InputStreamReader(System.in));
    String column1;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=1;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=1;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=1;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=1;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=1;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=1;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=1;
    cup6=cup6-1;
    System.out.println();
    BufferedReader selecter2 = new BufferedReader (new InputStreamReader(System.in));
    String column2;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=2;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=2;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=2;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=2;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=2;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=2;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=2;
    cup6=cup6-1;
    System.out.println();
    System.out.println();
    catch (Exception E){
    System.out.println("Error with input");
    System.out.println("Would you like to play again");
    try{
    String value;
    BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
    // Scanner scan = new Scanner(System.in);
    System.out.println("Enter yes to play or no to quit");
    // value = scan.nextLine();
    // String value2;
    value = reader.readLine();
    //value2 = reader.readLine();
    if (value.equals("yes"))
    System.out.println("Start again");
    StartGame(); // calling the StartGame method to play a game once more
    else if (value.equals("no"))
    System.out.println("No more games to play");
    // System.exit(0);
    else
    System.exit(0);
    System.out.println();
    catch (Exception e){
    System.out.println("Error with input");
    finally
    System.out.println(" playing done");
    //StartGame();
    //check for horizontal win
    public int hasWon()
    int status = 0;
    for (int row=0; row<6; row++)
    for (int col=0; col<4; col++)
    if (ConnectFourArray[col][row] != 0 &&
    ConnectFourArray[col][row] == ConnectFourArray[col+1][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+2][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+3][row])
    //status = true;//int winner;
    if(status == player1)
    System.out.println("Player 1 is the winner");
    else if(status == player2)
    System.out.println("Player 2 is the winner" );
    }//end inner for loop
    }// end outer for loop
    } // end method Winner
    return status;
    }//end class
    ClassConnectFour which designs the board........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class ClassConnectFour
         //Player player1;
         //Player player2;
         public ClassConnectFour()
              //this.player1 = player1;
    public void DrawBoard()
    int[][] ConnectFourArray = new int[6][7] ;
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    }//end class
    TestConnetFour class which uses most of the above class..................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class TestConnectFour
    public static void main(String[] args)
    ClassConnectFour cf = new ClassConnectFour();
    cf.DrawBoard();
    Player1 player1 = new Player1();
    Player2 player2 = new Player2();
    player1.move();
    player2.move();
    System.out.println("Number 1 belongs to player " + player1.name());
    System.out.println("Number 2 belongs to player " + player2.name());
    PlayGame pg = new PlayGame();
    pg.StartGame();
    pg.hasWon();
    //pg.Play();
    //System.out.println(player.name());
    //System.out.println(player2.name());
    }// end main
    }//end class
    I am sorry for all this junk code but I only understand it this way. Your urgent help is required. Looking forward to your reply.
    Thanks in advance.
    Koonda
    //

    Hi,
    Thanks for your help but I really don't understand the table lookup algorithm. Could you please send me some code to implement that.
    I will send you the formatted code as well
    Thanks for your help.
    looking forward to your reply.
    Koonda
    Hi all,
    I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the game. I need to implement the hasWon() method for Horizontal win, Vertical win and Diagonal win. I also found some code examples on the net but I was unable to make it working. I have 5 classes and one interface which I m implementing. The main problem is how to implement the hasWon() method in the PlayGame class below with Horizontal, vertical and diagonal moves.
    Sorry there is so much code.
    This the interface I must implement, but now I am only implementing the int move() of this interface. I will implement the rest later after solving the winner problem with your help.
    Interface code..............
    interface Player {
    void init (Boolean color);
    String name ();
    int move ();
    void inform (int i);
    Player1 class......................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player1 implements Player
    public Player1()
    public int move()
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player1;
    System.out.println ("What is your Number, player 1?");
    player1 = scan.nextInt();
    System.out.println ("Hey number"+player1+" are you prepared to CONNECT FOUR");
    System.out.println();
    return player1;
    //Player.move();
    //return player1;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "Koonda";
    }//end player1 class
    Player2 class...........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player2 implements Player
    public int move()
    //int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    // cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
    //int num1, num2;
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player2;
    System.out.println ("What is your Number, player 2?");
    player2 = scan.nextInt();
    System.out.println ("Hey "+player2+" are you prepared to CONNECT FOUR");
    System.out.println();
    //return player1;
    return player2;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "malook";
    }//end player1 class
    PlayGame class which contains all the functionality.........................................................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class PlayGame
    //Player player1;
    //Player player2;
    int [][]ConnectFourArray;
    boolean status;
    int winner;
    int player1;
    int player2;
    public PlayGame()
    //this.player1 = player1;
    //this.player2 = player2;
    public void StartGame()
    try{
    // int X = 0, Y = 0;
    //int value;
    int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
    int[][] ConnectFourArray = new int[6][7];
    int num1, num2;
    for(int limit=21;limit!=0;limit--)
    BufferedReader selecter = new BufferedReader (new InputStreamReader(System.in));
    String column1;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=1;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=1;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=1;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=1;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=1;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=1;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=1;
    cup6=cup6-1;
    System.out.println();
    BufferedReader selecter2 = new BufferedReader (new InputStreamReader(System.in));
    String column2;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=2;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=2;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=2;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=2;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=2;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=2;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=2;
    cup6=cup6-1;
    System.out.println();
    System.out.println();
    catch (Exception E){
    System.out.println("Error with input");
    System.out.println("Would you like to play again");
    try{
    String value;
    BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
    // Scanner scan = new Scanner(System.in);
    System.out.println("Enter yes to play or no to quit");
    // value = scan.nextLine();
    // String value2;
    value = reader.readLine();
    //value2 = reader.readLine();
    if (value.equals("yes"))
    System.out.println("Start again");
    StartGame(); // calling the StartGame method to play a game once more
    else if (value.equals("no"))
    System.out.println("No more games to play");
    // System.exit(0);
    else
    System.exit(0);
    System.out.println();
    catch (Exception e){
    System.out.println("Error with input");
    finally
    System.out.println(" playing done");
    //StartGame();
    //check for horizontal win
    public int hasWon()
    int status = 0;
    for (int row=0; row<6; row++)
    for (int col=0; col<4; col++)
    if (ConnectFourArray[col][row] != 0 &&
    ConnectFourArray[col][row] == ConnectFourArray[col+1][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+2][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+3][row])
    //status = true;//int winner;
    if(status == player1)
    System.out.println("Player 1 is the winner");
    else if(status == player2)
    System.out.println("Player 2 is the winner" );
    }//end inner for loop
    }// end outer for loop
    } // end method Winner
    return status;
    }//end class
    ClassConnectFour which designs the board........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class ClassConnectFour
    //Player player1;
    //Player player2;
    public ClassConnectFour()
    //this.player1 = player1;
    public void DrawBoard()
    int[][] ConnectFourArray = new int[6][7] ;
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    }//end class
    TestConnetFour class which uses most of the above class..................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class TestConnectFour
    public static void main(String[] args)
    ClassConnectFour cf = new ClassConnectFour();
    cf.DrawBoard();
    Player1 player1 = new Player1();
    Player2 player2 = new Player2();
    player1.move();
    player2.move();
    System.out.println("Number 1 belongs to player " + player1.name());
    System.out.println("Number 2 belongs to player " + player2.name());
    PlayGame pg = new PlayGame();
    pg.StartGame();
    pg.hasWon();
    //pg.Play();
    //System.out.println(player.name());
    //System.out.println(player2.name());
    }// end main
    }//end classI am sorry for all this junk code but I only understand it this way. Your urgent help is required. Looking forward to your reply.
    Thanks in advance.
    Koonda

  • Help! No output sound

    Hi,
    I'm in an emergent situation where my Macbook have no output sound. It's a Macbook, but the new lines all call them Pros. Here is what happens:
    1. There is a Red Light inside the MIDI port, only in the one where the microphone sign is (the output one). I have never seen this red light before, but after a restart, it went out.
    2. I checked System Preference and it says no output control device even though the laptop itself DOES have built in microphone. And the funny thing is, when I restart it, it gives me the 'boo' sound, but when the OS loads and the GUI shows, no sound.
    3. I plug in an external microphone, the sound is there. But once, the external microphone is plugged out, the red light shows up again.
    Please help,
    Regards,
    Angela
    Message was edited by: Angela Zou

    I did a quick AHT, but funnily, it reports no problem. However, the system shows a 'built in input microphone', but no 'built in output microphone'; it only shows 'built in output'. It's quite terrifying, it works just yesterday, and now, I can't even find it in the system.
    I did check Audio MIDI setup application, but the IAC driver is labeled red. I mean, what is wrong with this?
    Regards,
    Angela

  • Help with sound output via HDMI

    My sound output via HDMI suddenly stopped worked to my TV set. I've reset the PRAM and the SMC. When I go to sound control panel for sound output, the setting is on Headphones. When I try to change it to SV420XVT1A (the tv) it immediately jumps back to headphone. I also tried a different HDMI cable to a different HDMI port on the tv. This just started after the Mac Mini had been turned off for a week. I'm using Lion and it's an 8GB Intel Core 2 Duo. Any suggestions?

    I actually discovered this answer about 5 minutes after I posted the question. Thanks a lot for your help!! Funny thing is that it had worked all along with something plugged in the headphone jack but suddenly stopped working. Again, thanks!

  • Help please with output settings in Save For Web Photoshop CS4

    I am new to CS4 Photoshop so have been watching tutorials on Lynda.com. According to that tutorial I should have the ability to save a photo as an image in the Output Settings dialog box. The only options my panel gives me are:
    HTML
    Slices
    Background
    Saving Files
    I don't have the option for Images Only or for HTML & Images. Are these two hidden somewhere?
    I have been experimenting with Save For Web, but when I click on Save I get a panel that lists all the images saved in a folder named "Photos" but I cannot find in that folder any of the images that I optimized and saved for the web. Where are they to be found? Images that show up in Bridge are not my optimized images either.I would be grateful for some assistance with this.

    Those settings, HTML, Slices, etc, are the Output Settings you don't normally need to change aonything in there.
    Leave it at default and you will just save a version of the image stripped of unnecessary data and reduced to the degree you specified next to the file format choice.
    When you press Save in the SfW interface it calls up a Windows OS Save dialog box showing the last used location.
    The destination can be changed in the normal way. The Images you already saved will be in the the location that was in that dialog when you saved them.
    There is a lot more information in the help pages on this topic!  (Hint.)

Maybe you are looking for

  • Error messages while creating a webservice within soamanager

    dear forum, i created a webservice and now i want to test in the transaction soamanager. i make my way through the transaction till i am on the screen webservice administration. i select the webservice and the state of the object is: Services: 0/ End

  • Is there a way to view all frame thumbnails in a video layer?

    I'm aware of the "frame animation" option, but video layers are much more convenient. Ever since this addition Photoshop is nearly on par with TVPaint for drawn animation, but my only problem is that even when fully zoomed in I can't see my video lay

  • Are plugins able to create graphical controls children to the Acrobat/Reader application?

    Hello, in the documentation I read   Acrobat Viewer layer  The Acrobat Viewer (AV) layer enables plug-ins to control Acrobat and modify its user interface. Using AV methods, you can, for example, add menus and menu commands, add buttons to toolbars,

  • Unable to Connect to WebLogic Server 7.0 Win 2000

    Hi, I have successfully installed weblogic 7.0 evaluation version on win 2000 and Iam just tryung to start weblogic server 7.0 by Programs->BEA Weblogic Platform 7.0 --> Weblogic Server 7.0 --> Weblogic Builder and when i try to connect to server thr

  • RAISE_EXCEPTION in Precalculated HTML pages scheduling

    Hai All,    We are trying to schedule Precalculated HTML pages as daily process in the reporting agent of AWB. While scheduling we are facing RAISE_EXCPETION ABAP Dump error. How to avoid these ABAP dumps and go across scheduling. Thx in Advance Raje