Thread: Gay ass compiling>?

Results 1 to 5 of 5
  1. #1 Gay ass compiling>? 
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    I am getting an error while compiling here is the void:

    Code:
    public void dropList(int NpcId)	{
    	    int whoGets = (client) server.playerHandler.players[npcs[i].getKiller()];;
    	    int itemDropped = 0;
                int itemAmt = 1;
                try
                {
                    if (playerHandler.players[whoGets] != null)
                    {
                        client p = (client) Server.s.playerHandler.players[whoGets];
                        switch(npcs[i].npcType)
                        {
    					
    					case 88:
                                itemDropped = NpcDrops.RandomRat();
    							spawnItem(itemDropped, npcs[i].absX, npcs[i].absY, 1, whoGets);
    					break;
    					
    					 default:
                               
                            break;
                        }
                    }
                }
                catch(Exception e) {
    			}
    	}

    Here is the Error:

    Code:
    .\NPCHandler.java:2208: illegal start of expression
            public void dropList(int NpcId) {
            ^
    .\NPCHandler.java:2208: illegal start of expression
            public void dropList(int NpcId) {
                   ^
    .\NPCHandler.java:2208: ';' expected
            public void dropList(int NpcId) {
                                ^
    .\NPCHandler.java:2208: ';' expected
            public void dropList(int NpcId) {
                                          ^
    4 errors
    Press any key to continue . . .

    Help pl0xxorz will rep


    Spoiler for different picture now:
    Reply With Quote  
     

  2. #2  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    help pl0x?


    Spoiler for different picture now:
    Reply With Quote  
     

  3. #3  
    Austin_
    Guest
    What did you add it under?
    Reply With Quote  
     

  4. #4  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    its just in NPCHandler.java


    Spoiler for different picture now:
    Reply With Quote  
     

  5. #5  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    fixed thanks


    Spoiler for different picture now:
    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

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