I need help: hunt the wumpus game

i'm trying to write the hunt the wumpus game with simple conditions: (check-marked the ones i already accomplished)
[x]the pits will be placed randomly
[x] the wumpus is placed in the maze randomly (not sure if i did that one correctly)
[x] the player starts on the lower left of the maze row 3 col 0
-the player will only have 1 chance to shoot the Wumpus
[x]if the player is close to the Wumpus then there would be a prompt saying there is stench around
[x]if the player is close to a pit then she/he will be prompted that there is a breeze.
-if the player falls in a pit or gets eaten by the wumpus the game will be over and the map of the maze will be shown. I used 0 for empty cells and p for pits and w for wumpus in the array.
There is some problem with the program i've written so far but i don't know how to fix it. also, i don't know how to check if the wumpus will be in the direction the player wants to shoot. i'd appreciate any suggestions
import java.util.*;
public class playWumpus
    //initMaze METHOD
    //put the pits and wumpus into the world
    public static void initMaze(char [][] maze)
        Random r = new Random();
        for (int row = 0; row <4; row ++)
            maze[row][col] = '0';    <<<<<<there is a problem here: col cannot be resolved
        int pitRow, pitCol;
        for (int pitNum = 0; pitNum <4; pitNum++)
            pitRow = r.nextInt(4); //randomly choose row
            pitCol = r.nextInt(6); //randomly choose column
            if (pitRow == 3 && pitCol == 0)//start location
                pitCol=5;
        maze [pitRow][pitCol] = 'p'; //places the pits in the maze randomly
        maze [r.nextInt(4)][r.nextInt(6)] = 'w'; //places the wumpus randomly in the maze
    }// end of Maze method
    //CHECKMOVE method
    //possible outcomes: run into the wall , fall into the pit, eaten by wumpus,
    //feel breeze, smell stench, nothing.
    public static int checkMove(char [] [] maze, int newRow, int newCol)
        //checks if they run into a wall
        if (newRow<0 || newRow>3 || newCol<0 || newCol>5)
            System.out.println("You hit a wall");
            return 0;
            // it will return to the main method and places 0 in the state variable
        else if (maze[newRow][newCol] == 'p') 
        //this checks the maze if there is a P in that location
            System.out.println("You fall into a pit");
            return 2;
            // it will return to the main method and places 2 in the state variable
        else if (maze[newRow][newCol] == 'w')//checks for the wumpus
            System.out.println("You've eaten by the Wumpus!!");
        //checks for the breeze (right,left,down,up)   //<<is the following if-statement correct?>>>
        if (
            (newCol>0 && maze[newRow][newCol-1] == 'p') ||
            (newCol<5 && maze[newRow][newCol+1] =='p') ||
            (newRow>0 && maze[newCol][newRow-1] == 'p') ||
            (newRow<3 && maze[newCol][newRow+1] =='p')
            System.out.println("You feel a breeze");
        return 1;
    }//end of the maze method
    public static void main(String [ ] args)
        char [ ] [ ] maze = new char [4][6]; //the actual map of the game
        int playerRow=3, playerCol=0;  // player location aka lat/long
        Scanner in= new Scanner(System.in);   //<<there is something wrong with my scanner:The method nextInt(int) in the type Scanner is not applicable for the arguments (InputStream)>>>
        int move, state;
        // state of the game
        // state   0= illegal move, 1= legal move, 3= end game
        initMaze (maze); // calling the initMaze method
        do
            System.out.println("What would you like to do? 1=up, 2=down, 3=right 4=left, 5=shoot");
            move = in.nextInt(System.in);   //<<eclipse is telling me that the type is incorrect>>
            if (move ==1) // move up in the world
                state = checkMove(maze, playerRow-1,playerCol); //these are coordinates
                if ( state >0 ) // legal move
                    playerRow = playerRow-1;
            if (move ==2) // move down in the world
                state = checkMove(maze, playerRow+1,playerCol);
                if ( state >0 ) // legal move
                    playerRow = playerRow+1;
            if (move ==3) // move right in the world
                state = checkMove(maze, playerRow,playerCol+1);
                if ( state >0 ) // legal move
                    playerCol = playerCol+1;
            if (move ==4) // move left in the world
                state = checkMove(maze, playerRow,playerCol-1);
                if ( state >0 ) // legal move
                    playerRow = playerCol-1;
            if (move == 5) // shoot the wumpus in the world
                System.out.println("Which direction would you like to shoot? 1=up, 2=down, 3=right, 4=left");
                int shootDir = in.nextInt(System.in);
                // check if the wumpus gets killed
                if (  shootDir == 1 )  //<<not sure on how to check if the dir they are shooting has the wumpus in there>>
                    System.out.println("You shot the Wumpus!");
        }while (state!=2);
    }//end of main
}//end of class

First you need to fix some basic errors:
1)
move = in.nextInt(System.in);   Should be:
move = in.nextInt();   2) You have to initialize some of your vairables like pitRow, pitCol, and col...maybe more...
3) As for your 'col' variable you need to implement not only the rows but columns as well. Maybe you could do something like this:
for (int row = 0; row <4; row ++)
             for(int col = 0; col < 4; col ++)
            maze[row][col] = '0';   // <<<<<<there is a problem here: col cannot be resolved
        }Hope this helps.

Similar Messages

  • Help with a hunt the wumpus game

    I accidently posted this question on the wrong section so i'm posting it again here.
    i'm trying to write the hunt the wumpus game with simple conditions: (check-marked the ones i already accomplished)
    [x]the pits will be placed randomly
    [x] the wumpus is placed in the maze randomly (not sure if i did that one correctly)
    [x] the player starts on the lower left of the maze row 3 col 0
    -the player will only have 1 chance to shoot the Wumpus
    [x]if the player is close to the Wumpus then there would be a prompt saying there is stench around
    [x]if the player is close to a pit then she/he will be prompted that there is a breeze.
    -if the player falls in a pit or gets eaten by the wumpus the game will be over and the map of the maze will be shown. I used 0 for empty cells and p for pits and w for wumpus in the array.
    There is some problem with the program i've written so far but i don't know how to fix it. also, i don't know how to check if the wumpus will be in the direction the player wants to shoot. i'd appreciate any suggestions
    import java.util.*;
    public class playWumpus
        //initMaze METHOD
        //put the pits and wumpus into the world
        public static void initMaze(char [][] maze)
            Random r = new Random();
            for (int row = 0; row <4; row ++)
                maze[row][col] = '0';    <<<<<<there is a problem here: col cannot be resolved
            int pitRow, pitCol;
            for (int pitNum = 0; pitNum <4; pitNum++)
                pitRow = r.nextInt(4); //randomly choose row
                pitCol = r.nextInt(6); //randomly choose column
                if (pitRow == 3 && pitCol == 0)//start location
                    pitCol=5;
            maze [pitRow][pitCol] = 'p'; //places the pits in the maze randomly
            maze [r.nextInt(4)][r.nextInt(6)] = 'w'; //places the wumpus randomly in the maze
        }// end of Maze method
        //CHECKMOVE method
        //possible outcomes: run into the wall , fall into the pit, eaten by wumpus,
        //feel breeze, smell stench, nothing.
        public static int checkMove(char [] [] maze, int newRow, int newCol)
            //checks if they run into a wall
            if (newRow<0 || newRow>3 || newCol<0 || newCol>5)
                System.out.println("You hit a wall");
                return 0;
                // it will return to the main method and places 0 in the state variable
            else if (maze[newRow][newCol] == 'p') 
            //this checks the maze if there is a P in that location
                System.out.println("You fall into a pit");
                return 2;
                // it will return to the main method and places 2 in the state variable
            else if (maze[newRow][newCol] == 'w')//checks for the wumpus
                System.out.println("You've eaten by the Wumpus!!");
            //checks for the breeze (right,left,down,up)   //<<is the following if-statement correct?>>>
            if (
                (newCol>0 && maze[newRow][newCol-1] == 'p') ||
                (newCol<5 && maze[newRow][newCol+1] =='p') ||
                (newRow>0 && maze[newCol][newRow-1] == 'p') ||
                (newRow<3 && maze[newCol][newRow+1] =='p')
                System.out.println("You feel a breeze");
            return 1;
        }//end of the maze method
        public static void main(String [ ] args)
            char [ ] [ ] maze = new char [4][6]; //the actual map of the game
            int playerRow=3, playerCol=0;  // player location aka lat/long
            Scanner in= new Scanner(System.in);   //<<there is something wrong with my scanner:The method nextInt(int) in the type Scanner is not applicable for the arguments (InputStream)>>>
            int move, state;
            // state of the game
            // state   0= illegal move, 1= legal move, 3= end game
            initMaze (maze); // calling the initMaze method
            do
                System.out.println("What would you like to do? 1=up, 2=down, 3=right 4=left, 5=shoot");
                move = in.nextInt(System.in);   //<<eclipse is telling me that the type is incorrect>>
                if (move ==1) // move up in the world
                    state = checkMove(maze, playerRow-1,playerCol); //these are coordinates
                    if ( state >0 ) // legal move
                        playerRow = playerRow-1;
                if (move ==2) // move down in the world
                    state = checkMove(maze, playerRow+1,playerCol);
                    if ( state >0 ) // legal move
                        playerRow = playerRow+1;
                if (move ==3) // move right in the world
                    state = checkMove(maze, playerRow,playerCol+1);
                    if ( state >0 ) // legal move
                        playerCol = playerCol+1;
                if (move ==4) // move left in the world
                    state = checkMove(maze, playerRow,playerCol-1);
                    if ( state >0 ) // legal move
                        playerRow = playerCol-1;
                if (move == 5) // shoot the wumpus in the world
                    System.out.println("Which direction would you like to shoot? 1=up, 2=down, 3=right, 4=left");
                    int shootDir = in.nextInt(System.in);
                    // check if the wumpus gets killed
                    if (  shootDir == 1 )  //<<not sure on how to check if the dir they are shooting has the wumpus in there>>
                        System.out.println("You shot the Wumpus!");
            }while (state!=2);
        }//end of main
    }//end of class

    here is the whole code just in case you guys want to see it...yes i know it looks primitive to you experts but hey i can follow and understand what i've written and that's what matters ^.~))V
    import java.util.*;
    public class playWumpus
         //initMaze METHOD
         //put the pits and wumpus into the world
         public static void initMaze(char [][] maze)
              Random r = new Random();
              for (int row = 0; row <4; row ++)
                for (int col = 0; col<6; col ++)
                    maze[row][col] = '0';             
              int pitRow, pitCol;
              for (int pitNum = 0; pitNum <4; pitNum++)
                   pitRow = r.nextInt(4); //randomly choose row
                   pitCol = r.nextInt(6); //randomly choose column
                   if (pitRow == 3 && pitCol == 0)//start location
                        pitCol=5;
                   maze [pitRow][pitCol] = 'p'; //places the pits in the maze randomly
              int wumpusRow = r.nextInt(4);
              int wumpusCol = r.nextInt(6);
              maze [wumpusRow][wumpusCol] = 'w'; //places the wumpus randomly in the maze
         }// end of Maze method
         //CHECKMOVE method
         //possible outcomes: run into the wall , fall into the pit, eaten by wumpus,
         //feel breeze, smell stench, nothing.
         public static int checkMove(char [] [] maze, int newRow, int newCol)
              //checks if they run into a wall
              if (newRow<0 || newRow>3 || newCol<0 || newCol>5)
                   System.out.println("You hit a wall");
                   return 0;
                   // it will return to the main method and places 0 in the state variable
              //this checks the maze if there is a pit in that location
              else if (maze[newRow][newCol] == 'p') 
                   System.out.println("You fall into a pit. You lose!");
                   return 2;
              //checks for the wumpus
              else if (maze[newRow][newCol] == 'w')
                   System.out.println("You've been eaten by the Wumpus. You lose!!");
                   return 2;
              //checks for the breeze (right,left,down,up)
              if (
                   (newCol>0 && maze[newRow][newCol-1] == 'p') ||
                   (newCol<5 && maze[newRow][newCol+1] =='p') ||
                   (newRow>0 && maze[newCol][newRow-1] == 'p') ||
                   (newRow<3 && maze[newCol][newRow+1] =='p')
                   System.out.println("You feel a breeze");
              //checks for the wumpus' stench
              else if (
                        (newCol>0 && maze[newRow][newCol-1] == 'w') ||
                        (newCol<5 && maze[newRow][newCol+1] =='w') ||
                        (newRow>0 && maze[newCol][newRow-1] == 'w') ||
                        (newRow<3 && maze[newCol][newRow+1] =='w')
                        System.out.println("Something smells!!");
                        return 1;
              else
                   System.out.println("Nothing happens.");
                   return 1;
              return 1;
         }//end of the maze method
         public static void main(String [ ] args)
              char [][] maze = new char [4][6]; //the actual map of the game
              int playerRow=3, playerCol=0;  // player location
              Scanner in= new Scanner(System.in);
              int move;
              int state = 1;
              // state of the game
              // state   0= illegal move, 1= legal move, 3= end game
              initMaze (maze); // calling the initMaze method
              do
                   System.out.println("What would you like to do? 1=up, 2=down, 3=right 4=left, 5=shoot");
                   move = in.nextInt();
                   if (move ==1) // move up in the world
                        state = checkMove(maze, playerRow-1,playerCol); //these are coordinates
                        if ( state > 0 ) // legal move
                             playerRow = playerRow-1;
                   if (move ==2) // move down in the world
                        state = checkMove(maze, playerRow+1,playerCol);
                        if ( state >0 ) // legal move
                             playerRow = playerRow+1;
                   if (move ==3) // move right in the world
                        state = checkMove(maze, playerRow,playerCol+1);
                        if ( state > 0 ) // legal move
                             playerCol = playerCol+1;
                   if (move ==4) // move left in the world
                        state = checkMove(maze, playerRow,playerCol-1);
                        if ( state >0 ) // legal move
                             playerCol = playerCol-1;
                   if (move == 5) // shoot the wumpus in the world
                        System.out.println("Which direction would you like to shoot? 1=up 2=down 3=right 4=left");
                        int shootDir = in.nextInt();
                        if (shootDir==1 && playerRow>0)
                             if (maze[playerRow-1][playerCol] == 'w')
                                  System.out.println("You shot the Wumpus!");break;
                             else
                                  System.out.println("You missed! You lose!");break;
                        else if(shootDir==2 && playerRow<3)
                             if (maze[playerRow+1][playerCol] == 'w')
                                  System.out.println("You shot the Wumpus!");break;
                             else
                                  System.out.println("You missed! You lose!");break;
                        else if (shootDir==3 && playerCol<5)
                             if (maze[playerRow][playerCol+1] == 'w')
                                  System.out.println("You shot the Wumpus!");break;
                             else
                                  System.out.println("You missed! You lose!");break;
                        else if (shootDir==4 && playerCol>0)
                             if (maze[playerRow][playerCol-1] == 'w')
                                  System.out.println("You shot the Wumpus!");break;
                             else
                                  System.out.println("You missed! You lose!");break;
              }while (state!=2);
              //shows the user the map of the maze if he/she gets eaten or falls in a pit
                   for(int row=0;row<4;row++,System.out.println())
                        for(int col=0;col<6;col++)
                             String loc = ""+maze[row][col];
                             loc += ((row == playerRow) && (col == playerCol)) ? "*" : "";
                             System.out.print(loc+"\t");
         }//end of main
    }//end of class

  • HT203200 I need help on purchasing a game I forgot my security question answers. and it's been awhile since I downloaded anything.. how do I find out the answers or change them without knowing the old answers??

    I need help on purchasing a game I forgot my security question answers. and it's been awhile since I downloaded anything.. how do I find out the answers or change them without knowing the old answers??

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • Hunt the Wumpus

    Hey, I'm pretty new to Java (since September actually) and have been give this assignment in school to create the game, Hunt the Wumpus. Honestly I have no idea of where to start with this. Can anyone lead me in the right direction. Thanks. Below are the instructions that were given to do this.
    Backstory
    The first programming assignment for the course CPS 109 Computer Science I is to implement a real dinosaur and the original grandfather of our modern computer games, Hunt the Wumpus. Despite being rather lame by today's gaming standards, this game is hopefully an educational topic to serve as your first programming project.
    Wumpus is a game played on a maze which for our purposes is a rectangular grid of rooms. From each room it is possible to move to any of the adjacent rooms in north, west, south and east, unless you are at the edge of the grid to that direction. The maze is dark, so in each room you can see only that room, but you can't see through the doors what the adjacent rooms might contain.
    You are a brave explorer armed with a bow and a quiver of arrow to search the maze for the pile of gold that is rumored to be hidden in one of the rooms. You enter the maze at the entrance room at the coordinates (1,1), and win the game if you successfully find the gold and manage to return to the same entrance alive. If you enter the room where the pile of gold is located, you automatically pick it up.
    Beware, though, since the maze is also a home for the mythical monster known as the Wumpus! Wumpus is rather stupid and bestial and pretty much just moves randomly around the maze. If you and Wumpus happen to meet at the same room, game is over for you, since you are no match for the Wumpus in close quarters combat. Your only chance of survival is to either avoid the Wumpus or to kill him with a well-aimed shot from your trusty bow.
    To shoot, pick any of the four directions and hope for the best. When you shoot, your arrow will fly through three rooms to that direction and then hit the stone floor, shattering to useless shards. If the Wumpus happens to be in any of those three rooms on the path of the arrow, he is hit and he dies.
    Classes and methods to write
    In this project, you need to write two classes called WumpusGrid and WumpusGame. The first class simulates the Wumpus world, while the second class implements the interface. The class WumpusGrid should have whatever private fields and methods you need, and the following public methods:
    void startNewGame(int width, int height, int arrows)
    Starts a new game and initializes the grid to the given width and height so that the player is in the room (1,1) and carries arrows arrows. Wumpus and the pile of gold are placed in random rooms in the grid, but not in the room (1,1).
    boolean isGameOn()
    Returns true if the player has not yet died or successfully completed his task, otherwise returns false.
    int getArrowCount()
    Returns the number of arrows that the player is currently carrying in his quiver.
    boolean isCarryingGold()
    Returns true or false depending on whether player is currently carrying the gold.
    int getX()
    Returns the x-coordinate of the room that the player is currently in.
    int getY()
    Returns the y-coordinate of the room that the player is currently in.
    String moveWumpus()
    If Wumpus is alive, moves the Wumpus from the room that he is currently in to a randomly chosen adjacent room in one of the four directions. This method returns a message string:
    If Wumpus moves to the same room as the player, the game ends and the message is �The Wumpus eats you!�
    If the Manhattan distance (find out yourself what this is) between Wumpus and player is one, the message is �You can smell the putrid breath of the Wumpus!�
    If the Manhattan distance between Wumpus and player is two, the message is �You can hear the Wumpus slouching nearby!�
    If the Manhattan distance between Wumpus and player is three, the message is �You can sense the Wumpus lurking nearby!�
    String movePlayer(int dx, int dy)
    Moves the player from his current room (x,y) to the adjoining room (x+dx, y+dy), unless that move would take him outside the grid, or it is not the case that one of the parameters is zero while the other is -1 or +1. The method returns a message string:
    If the player moves to the same room as the living Wumpus, the game ends and the message is �The Wumpus catches you and dismembers you!�
    If the player moves to the same room as the dead Wumpus, the message is �The carcass of the Wumpus lies on the ground.�
    If the player moves to a room that has the pile of gold in it, he picks it up and the message is �You have found the treasure that you are looking for!�
    If the player is carrying the gold and moves to the room (1,1) so that Wumpus is not there, the game ends and the message is �You survived to bring the gold back home and live rich and happy for the rest of your life!�
    Otherwise, the message is �This room is dark and empty.�
    String shootArrow(int dx, int dy)
    Shoots one arrow to the direction specified by dx and dy, as in the previous method. The method returns a message string:
    If the player has no arrows left, the message is �You want to shoot, but your quiver is empty!�
    If the player shoots and hits nothing, the message is �The arrow flies into the darkness.�
    If the player shoots and hits the Wumpus, the Wumpus dies and the message is �You hear the Wumpus scream horribly and then collapse to the ground!�
    The class WumpusGame allows the human user to play this game over a textual console interface. This game should proceed in turns so that each turn, the game outputs the current coordinates of the player and the number of arrows in his quiver, and asks him what he wants to do. The possible answers are either �n�, �e�, �s�, �w� to move to the given direction, �sn�, �se�, �ss�, �sw� to shoot an arrow to the given direction, or �q� to quit the game. The message that the action produces is shown to the player, and then it is Wumpus's turn to move. This is repeated until the player either dies, quits or wins the game. Whatever way the game ends, the program should ask the player if he wants to play a new game, and exit if he answers no.
    The class WumpusGame must have the main method for the game to run as a standalone application, and whatever other methods you wish to put there to implement the game functionality of the previous paragraph.
    If you want to, you can also write a class Position that stores a pair of (x,y) coordinates, with methods to calculate the position to a given direction, and use objects of this class to represent and store the positions of player, Wumpus and gold.

    Thanks very much for telling me how to post a question. As you know I'm new here, so I don't know the procedure of things around here. I know how to create an interface, but I was wondering if I'm going about this wrong. This is just what I have to make the "player" on the game interface.
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.geom.Ellipse2D;
    import javax.swing.JPanel;
    import javax.swing.JComponent;
    public class WumpusGrid extends JComponent
        //Creates the explorer the player is going to use.
        public void paintComponent(Graphics g)
            //Recover Graphics2D
            Graphics2D g2 = (Graphics2D) g;           
            //Draws the brave explorer.
            Ellipse2D.Double man = new Ellipse2D.Double(1,1,5,5);
            g2.setColor(Color.RED);
            g2.fill(man);
    }This is what I have for the game interface.
    import javax.swing.JFrame;
    public class WumpusGame
        public static void main(String[] args)
            JFrame frame = new JFrame();
            frame.setSize(200,200);
            frame.setLocation(100,100);       
            frame.setTitle("Hunt the Wumpus");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            WumpusGrid component = new WumpusGrid();
            frame.add(component);
            frame.setVisible(true);
    }

  • Hello need help I download a game from 4shared and it an iPhone game . It show up and my iTunes but I can't sync it to my phone I need help

    Hello need help I download a game from 4shared and it an iPhone game . It show up and my iTunes but I can't sync it to my phone I need help

    Wowowowow I was told I can get any app from the net and it will work thank

  • I just created an iCloud email and I want to use that email for my iTunes account as well. I need help suiting the old apple I'd because I do not remember anything associated with that email and I don't know the security questions

    I just created an iCloud email and I want to use that email for my iTunes account as well. I need help switching the old apple ID because I do not remember anything associated with that email and I don't know the security questions or the login for that old email.

    You cannot do that.  The AppleID you used to create the iCloud account is an active primary email address.  The email address you created with the iCloud account is also an active primary email address (all Apple domain email address automatically become AppleIDs as well).  You cannot replace the primary email address on one active AppleID with the primary email address on another, active AppleID.
    You can use your iCloud email/AppleID with iTunes, but it will be a separate account, so all your previous purchases remain tied to the other AppleID you have.
    I don't understand your statement that you could not remeber your old AppleID password, as you would have had to use it to create the iCloud account in the first place (the first step of creating the iCloud account required you to login with your existing AppleID and password)?

  • Need help with the Vibrance adjustment in Photoshop CC 2014.

    Need help with the Vibrance adjustment in Photoshop CC 2014.
    Anytime I select Vibrance to adjust the color of an image. The whole image turns Pink in the highlights when the slider is moved from "0" to - or + in value.  Can the Vibrance tool be reset to prevent this from happening? When this happens I cn not make adjustments...just turns Pink.
    Thanks,
    GD

    Thank you for your reply. 
    Yes, that does reset to “0” and the Pink does disappear.
    But as soon as I move the slider +1 or -1 or higher the image turns Pink in all of the highlights again, rather than adjusting the overall color.
    GD
    Guy Diehl  web: www.guydiehl.com | email: [email protected]

  • I need help with the iPad Remote app to connect to apple TV 2

    I need help with the iPad Remote app to connect to apple TV 2 I have the app already on my ipad and when I open it only shows my itunes library and not the small black Apple TV 2 icon! How do i fix this and i know it's something 

    Get the manual at http://manuals.info.apple.com/en_US/AppleTV_SetupGuide.pdf
     Cheers, Tom

  • Need help accessing the router web page.  I have been tol...

    Need help accessing the router web page.  I have been told my router is acting like a switch and the IP address is not in the proper range.  I have tried reseting the router (hold for 30 sec and unplug for 5 mins).  Didn't work.
    thanks

    What router are you using?  Almost all Linksys routers use 192.168.1.1 as the default local IP address, but there is at least one that uses 192.168.16.1 , namely the WTR54GS  (not the WRT54GS).
    You need to try again to reset the router to factory defaults.
    To reset your router to factory defaults, use the following procedure:
    1) Power down all computers, the router, and the modem, and unplug them from the wall.
    2) Disconnect all wires from the router.
    3) Power up the router and allow it to fully boot (1-2 minutes).
    4) Press and hold the reset button for 30 seconds, then release it, then let the router reset and reboot (2-3 minutes).
    5) Power down the router.
    6) Connect one computer by wire to port 1 on the router (NOT to the internet port).
    7) Power up the router and allow it to fully boot (1-2 minutes).
    8) Power up the computer (if the computer has a wireless card, make sure it is off).
    9) Try to ping the router. To do this, click the "Start" button > All Programs > Accessories > Command Prompt. A black DOS box will appear. Enter the following: "ping 192.168.1.1" (no quotes), and hit the Enter key. You will see 3 or 4 lines that start either with "Reply from ... " or "Request timed out." If you see "Reply from ...", your computer has found your router.
    10) Open your browser and point it to 192.168.1.1. This will take you to your router's login page. Leave the user name blank (note: a few Linksys routers have a default user name of "admin" (with no quotes)), and in the password field, enter "admin" (with no quotes). This will take you to your router setup page. Note the version number of your firmware (usually listed near upper right corner of screen). Exit your browser.
    If you get this far without problems, try the setup disk (or setup the router manually, if you prefer), and see if you can get your router setup and working.
    If you cannot get "Reply from ..." in step 9 above, your router is dead.
    If you get a reply in step 9, but cannot complete step 10, then either your router is dead or the firmware is corrupt. In this case, use the Linksys tftp.exe program to try to reload your router with the latest firmware. After reloading the firmware, repeat the above procedure starting with step 1.
    If you need additional help, please state your ISP, the make and model of your modem, your router's firmware version, and the results of steps 9 and 10. Also, if you get any error messages, copy them exactly and report back.
    Please let me know how things turn out for you.
    Message Edited by toomanydonuts on 01-21-2008 04:40 AM

  • I need help proving the date tag on a photo stored in my iPhoto is from the date it was sent to my iphone/date it was imported into iphoto - and that it is NOT the date the photo was actually taken.  Please help!

    I need help proving the date tag on a photo stored in my iPhoto is from the date it was sent to my iphone/date it was imported into iphoto - and that it is NOT the date the photo was actually taken.   I recieved a photo via text on my iphone and then I synced my iphone to my macbook and now it is in iphoto.  I already know that the date on the photo per the tag that shows up on it in iphoto is NOT the date the photo was actually taken.  I need article or literature or something confirming the tag is from when it was sent to the iphone and/or when it was imported.  I greatly appreciate some assistance!

    All I am trying to do is find something on a forum board or article etc stating that the the date showing in iphoto could be the date it was imported or synced or sent to me and not the actual date taken.
    The date on the photo could be anything because you can edit the date with iPhoto or any of 100 apps, free and paid for. So, the date on the photo will prove nothing, I'm afraid.
    Regards
    TD

  • Need help for the $200 promo rebate for trade-in of I Phone 4

    Need help for the $200 promo rebate for trade-in of I Phone 4.  Unable to preregister when I ordered the new 6  in September.  Now can not contact VZW recycle program regarding.

    When I ordered my phone on Sept. 13th in a Verizon store, I had to ask the salesman how I went about getting the $200 rebate. He said shipping materials would come with the new phones. When I received the confirmation e-mail of my order, it contained a link for the rebate. Fortunately I clicked on the link, filled out the form online, and received the packing materials to send my phone in shortly after. My phones came in on Oct. 14th and I sent 3 of them back. So far I have received a gift card for $200 for 2 of the phones; the other is showing not received. I don't know what your situation is, but I think the promotion ended Oct. 15th. If I had listened to the salesman I think I would be out of luck as well. I hope I am wrong for your sake.

  • I need help with the photo stream. Everytime I try to open it on my PC it says photo stream is unable and I have tried everuthing to enable it but it doesn't work. Any help, please?

    I need help with the photo stream. Everytime I try to open it on my PC it says photo stream is unable and I have tried everuthing to enable it but it doesn't work. Any help, please?

    Freezing, or crashing?
    ID on the Mac can produce reports that may (or may not) prove helpful in diagnosing the problem. I suspect this is something not directly related to InDesign, and maybe not to any of the Adobe apps directly since you seem to be having a problem in more than one. That often inidcates a problem at the system level.
    Nevertheless, it won't hurt to try to gather the reports. You'll find driections for how to generate them, and to post them on Pastebin.com (then put a link to them here) so we can see what's going on at Adobe Forums: InDesign CS5.5 Not Responding
    Do you happen to run a font manager? If so, which one, and waht version?

  • Need help with the session state value items.

    I need help with the session state value items.
    Trigger is created (on After delete, insert action) on table A.
    When insert in table B at least one row, then trigger update value to 'Y'
    in table A.
    When delete all rows from a table B,, then trigger update value to 'N'
    in table A.
    In detail report changes are visible, but the trigger replacement value is not set in session value.
    How can I implement this?

    You'll have to create a process which runs after your database update process that does a query and loads the result into your page item.
    For example
    SELECT YN_COLUMN
    FROM My_TABLE
    INTO My_Page_Item
    WHERE Key_value = My_Page_Item_Holding_Key_ValueThe DML process will only return key values after updating, such as an ID primary key updated by a sequence in a trigger.
    If the value is showing in a report, make sure the report refreshes on reload of the page.
    Edited by: Bob37 on Dec 6, 2011 10:36 AM

  • I need to cancel the previous game purchase that is not uploaded yet.

    My niece plated games in my IPAD2 and accidentally purchase coins in the games but not continue since my credit card security # not entered. Now everytime I downloded free games it keeps on asking to provide the security key in order to continue the billing. I need to cancel the previous game purchase that is not uploaded ye, what will I do?

    Click here and request assistance.
    (63314)

  • Need help on the below query.

    Hi All,
    I've a query given below..
    SELECT W.WONUM,
         W.STATUS,
         WS.CHANGEDATE,
         EH.OLD_RATE
         FROM
         WORKORDER W,
         WOSTATUS WS,
         ESTIMATE_HEADER@GQMFOF EH
    WHERE WS.CHANGEDATE BETWEEN '01-Oct-2009' AND '1-Nov-2009'
    AND W.WONUM = WS.WONUM
    AND EH.OLD_RATE = 'N'
    AND WS.WOSTATUS = 'CLOSE';
    I would like to get All the data which status =closed in the month of Oct for Old rate,
    So for this i am writing the query above. But not getting the o/p.
    It is giving me that " Table/View doesn't exist.
    There 2 schemas MAXIMO,GQMMGR..
    DBlinks are GQMFOF,MAXFOFNC..
    Can anyone help me while writing the above query...
    Regards,
    gr.

    A question was asked in your other thread. But the problem was you dint care to give an answer.
    Dont open duplicate post.
    I need help on the below problem..

Maybe you are looking for

  • Repository Service not working

    Hi all, I have designed a very simple repository service based on the several code samples here on the forums. Here is the received(IEvent) method i implemented: public void received(IEvent event) {        IResourceEvent resEvent = (IResourceEvent) e

  • I can not sign in to get my e-mails

    When I sign on with fire fox and I get the mome page and i go to sin in

  • How do I install the lorem extension?

    I have dl the extension, clicking on doesn't seem to work, went to extension manager in dreamweaver, clicked the install extesion, but then the extension is greyed out in my downloads folder, on my mac, thx for your help

  • Trouble Capturing Buddy Picture

    I'm having trouble using iChat to capture a buddy picture on my 24" iMac. I click on my existing photo, choose "Edit Picture...", press the camera icon, pose, watch the countdown and the photo flash, but no picture materializes. Any thoughts? Mark

  • List of methods, event.....

    Hi, I try to make a flash project with adobe flash CS3 and I try to write a an actionscript. When i write the name of an object, the list with all of the method, properties and events for this object doesn't appear. Can you help me please. I use ADOB