Thread: castlewars hint icon

Results 1 to 2 of 2
  1. #1 castlewars hint icon 
    Banned
    Join Date
    Oct 2009
    Age
    30
    Posts
    320
    Thanks given
    43
    Thanks received
    45
    Rep Power
    0
    ok im not to sure whats wrong here ive looked to see what the problem is but i coudnt find anything

    the problem is that the hint icons do not work when you pick the flag up.

    heres the code.

    Code:
    public static void createHintIcon(Client player, int t) {
            Iterator<Client> iterator = gameRoom.keySet().iterator();
            while (iterator.hasNext()) {
                Client teamPlayer = (Client) iterator.next();
                if (gameRoom.get(teamPlayer) == t) {
                    teamPlayer.getPA().createPlayerHints(10, player.playerId);
                    teamPlayer.sendMessage("creating hint icons on this player ");
                }
            }
        }
    
    yes it reaches the message
    it works fine when the flag is dropped and here is the code for the flag when its dropped

    Code:
     public static void createFlagHintIcon(int x, int y) {
            Iterator<Client> iterator = gameRoom.keySet().iterator();
            while (iterator.hasNext()) {
                Client teamPlayer = (Client) iterator.next();
                teamPlayer.getPA().createObjectHints(x, y, 170, 2);
                teamPlayer.sendMessage("creating hint icons that enemy dropped flag ");
            }
        }
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Oct 2009
    Age
    30
    Posts
    320
    Thanks given
    43
    Thanks received
    45
    Rep Power
    0
    bumpo
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Hint Icon
    By Mrquarterx in forum Help
    Replies: 0
    Last Post: 01-20-2011, 02:20 AM
  2. Hint Icon
    By Serenity in forum Snippets
    Replies: 9
    Last Post: 04-17-2010, 06:10 PM
  3. Hint Icon
    By Lil Str Kid in forum Help
    Replies: 0
    Last Post: 08-16-2009, 03:51 PM
  4. hint icon
    By Leanbow in forum Requests
    Replies: 1
    Last Post: 08-06-2009, 07:46 PM
  5. Set Hint Icon
    By lukas265 in forum Help
    Replies: 2
    Last Post: 02-21-2009, 12:56 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •