Thread: [wLv3] Cleaner Fishing.

Results 1 to 4 of 4
  1. #1 [wLv3] Cleaner Fishing. 
    I don't take you serious
    Kastro's Avatar
    Join Date
    Nov 2008
    Posts
    2,504
    Thanks given
    92
    Thanks received
    389
    Rep Power
    604
    Note: this is ONLY for people who use wLv3.

    I'll probably re-write some things later. Right now here's first NPC options.

    Format:
    invAmt = playerHasItemAmount
    GIS = GetItemSlot

    Fishing.java:
    Code:
    	public void first(int NPCID, int ID) {
    		client c  = (client) server.playerHandler.players[ID];
    		switch(NPCID) {
    
    
    			case 316: // Net
    				Fishtime = 1;
    				FishID = 1;
    				break;
    
    			case 312: // Cage
    				Fishtime = 1;
    				FishID = 2;
    				fishing(40, 50, 377, 301, 619, ID);
    				break;
    
    			case 333: // Cage
    				Fishtime = 1;
    				FishID = 3;
    				fishing(40, 50, 377, 301, 619, ID);
    				break;
    			case 313: // Net
    				Fishtime = 1;
    				FishID = 4;
    				fishing(60, 70, 7944, 305, 620, ID);	
    				break;
    			}
    		}
    Also, open item.java and delete the randomNetFish static. It's useless.

    part 2:
    Code:
    	public void second(int NPCID, int ID) {
    		client c  = (client) server.playerHandler.players[ID];
    		switch(NPCID) {
    
    			case 316: // Bait
    				Fishtime = 1;
    				FishID = 8;
    				fishing(20, 30, 363, 313, 622, ID);
    				c.deleteItem(313, c.GIS(313), 1);
    				break;
    
    			case 312: // Harpoon
    				Fishtime = 1;
    				FishID = 5;
    				fishing(85, 90, 383, 311, 618, ID);
    				break;
    
    			case 313: // Harpoon
    				Fishtime = 1;
    				FishID = 6;
    				fishing(85, 90, 383, 311, 618, ID);
    				break;
    
    			case 333: // Harpoon
    				Fishtime = 1;
    				FishID = 7;
    				fishing(99, 120, 389, 311, 618, ID);
    				break;
    		}
    	}

    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Code:
    	case 312: // Harpoon
    				if(c.absX == 3238 && c.absY == 3255) {
    				Fishtime = 1;
    				FishID = 5;
    				fishing(85, 90, 383, 311, 618, ID);
    				break;
    Reply With Quote  
     

  3. #3  
    I don't take you serious
    Kastro's Avatar
    Join Date
    Nov 2008
    Posts
    2,504
    Thanks given
    92
    Thanks received
    389
    Rep Power
    604
    Quote Originally Posted by Aeterna View Post
    Code:
    	case 312: // Harpoon
    				if(c.absX == 3238 && c.absY == 3255) {
    				Fishtime = 1;
    				FishID = 5;
    				fishing(85, 90, 383, 311, 618, ID);
    				break;
    Woops, thanks lol

    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Apr 2009
    Posts
    988
    Thanks given
    12
    Thanks received
    22
    Rep Power
    0
    nice job kastro
    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
  •