Thread: [PI] Hunter Bird Snare help needed

Results 1 to 5 of 5
  1. #1 [PI] Hunter Bird Snare help needed 
    Registered Member SinfulPS's Avatar
    Join Date
    Dec 2011
    Posts
    410
    Thanks given
    8
    Thanks received
    18
    Rep Power
    54
    Code:
    		case 10006://bird snare
    					if (c.getItems().playerHasItem(10006,1) && c.getItems().freeSlots() >= 1) {
    						c.getItems().deleteItem(10006, 1);
    						c.startAnimation(5208);
    						c.HuntTimer = 3;
    						c.sendMessage("You lay the trap..");
    			break;
    so i wrote this myself, yet something keeps going wrong...

    http://prntscr.com/dnoyko

    apparently i'm orphaning cases...




    Xbox Live - mynameisntjef
    Skype = alexrogershere
    Reply With Quote  
     

  2. #2  
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Using an IDE such as Eclipse or Netbeans will help you.


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     

  3. #3  
    Registered Member SinfulPS's Avatar
    Join Date
    Dec 2011
    Posts
    410
    Thanks given
    8
    Thanks received
    18
    Rep Power
    54
    Quote Originally Posted by A Mage View Post
    Using an IDE such as Eclipse or Netbeans will help you.

    just downloading eclipse right now




    Xbox Live - mynameisntjef
    Skype = alexrogershere
    Reply With Quote  
     

  4. #4  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Where's the ending bracket? You must always end the bracket. It's orphaned most likely due to that (Since it reads everything incorrectly after this mistake).
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2015
    Posts
    40
    Thanks given
    2
    Thanks received
    2
    Rep Power
    18
    Code:
    		case 10006://bird snare
    					if (c.getItems().playerHasItem(10006,1) && c.getItems().freeSlots() >= 1) {
    						c.getItems().deleteItem(10006, 1);
    						c.startAnimation(5208);
    						c.HuntTimer = 3;
    						c.sendMessage("You lay the trap..");
    					}
    			break;
    you never closed the statement
    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. Hunter ( Bird snares, box traps )
    By Stanaveli in forum Show-off
    Replies: 28
    Last Post: 04-01-2015, 04:26 PM
  2. [pi] NEWEST DUPE HELP NEEDED
    By reborn-gt in forum Help
    Replies: 4
    Last Post: 09-23-2010, 07:27 AM
  3. [pi] NEWEST DUPE HELP NEEDED
    By reborn-gt in forum Help
    Replies: 6
    Last Post: 09-22-2010, 11:31 PM
  4. [pi] NEWEST DUPE HELP NEEDED
    By reborn-gt in forum Help
    Replies: 0
    Last Post: 09-21-2010, 10:07 PM
  5. Replies: 1
    Last Post: 09-04-2010, 12:49 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •