Thread: Empty Rock and Tree Stumps

Results 1 to 5 of 5
  1. #1 Empty Rock and Tree Stumps 
    Aldor Manager


    Join Date
    Mar 2014
    Age
    25
    Posts
    1,148
    Thanks given
    163
    Thanks received
    216
    Rep Power
    343
    Not sure if it should be posted here.

    Took some time to find bunch of them not finished yet.

    Tree Stump
    Code:
    public int getStumpId() {
    		switch (tree.getId()) {
    		case 1292:// dramen tree
    			return 771;
    		case 11866:// dead tree
    			return 11864;
    		case 2023:// achey tree
    			return 3371;
    		case 3300:// swamp tree
    		case 9354:
    		case 9355:
    		case 9366:
    		case 9387:
    		case 9388:
    			return 9389;
    		case 4060:// hollow tree
    			return 4061;
    		case 2289:
    			return 2310;
    		case 1276:// normal tree
    			return 4329;
    		case 1278:
    			return 1342;
    		case 1277:
    			return 1343;
    		case 1383:
    		case 1384:
    			return 1341;
    		case 1284:
    			return 1350;
    		case 1286:
    			return 1351;
    		case 1365:
    			return 1352;
    		case 1282:
    		case 1283:
    		case 1285:
    			return 1347;
    		case 38782:
    			return 40351;
    		case 38784:
    			return 40353;
    		case 38785:
    			return 40354;
    		case 38787:
    			return 40356;
    		case 61190:
    		case 38760:
    			return 40350;
    		case 61191:
    		case 38783:
    			return 40352;
    		case 61192:
    		case 38786:
    			return 40355;
    		case 61193:
    		case 38788:
    			return 40357;
    		case 58109:
    		case 58108:
    			return 58134;
    		case 58140:
    			return 58132;
    		case 58135:
    			return 58131;
    		case 1316:// evergreen tree
    		case 1318:
    		case 1319:
    		case 1330:
    		case 1331:
    		case 1332:
    			return 36510;
    		case 1315:
    			return 4329;
    		case 1281:// Oak tree
    			return 1356;
    		case 38731:
    			return 38741;
    		case 38732:
    			return 38754;
    		case 139:// Willow tree
    		case 142:
    		case 2210:
    		case 2372:
    			return 5554;
    		case 38627:
    		case 38616:
    		case 58006:
    			return 38725;
    		case 1307:// Maple
    			return 7400;
    		case 4674:
    		case 46277:
    			return 1343;
    		case 51843:
    			return 54766;
    		case 28951:
    			return 28954;
    		case 28952:
    			return 28955;
    		case 28953:
    			return 28956;
    		case 1309:// Yew tree
    			return 7402;
    		case 38755:
    			return 38759;
    		case 1306:// Magic tree
    		case 37823:
    			return 7401;
    		case 63176:
    			return 63179;
    
    		case 70076:
    			return 70081;
    		case 70075:
    			return 70080;
    		case 70074:
    			return 70079;
    		case 70077:
    		case 46274:
    			return 70082;
    		case 37821:
    			return 37822;
    		case 69554:
    			return 69555;
    		case 69556:
    			return 69557;
    		case 4135:
    		case 19153:
    			return 4136;
    		default:
    			return definitions.getStumpId();
    		}
    	}
    Empty Rocks
    Code:
    public int getEmptyId() {
    		switch (rock.getId()) {
    		case 17003:
    		case 17000:
    			return 14834;
    		case 17002:
    		case 16999:
    		case 14914:
    		case 14907:
    		case 14905:
    		case 14903:
    			return 14893;
    		case 14902:
    		case 14904:
    		case 14906:
    		case 14913:
    		case 16998:
    		case 17001:
    			return 14892;
    		case 5772:
    		case 5775:
    		case 5783:
    		case 11185:
    		case 11188:
    		case 11191:
    		case 15505:
    			return 5765;
    		case 5767:
    		case 5769:
    		case 5771:
    		case 5774:
    		case 5777:
    		case 5779:
    		case 5780:
    		case 5785:
    		case 11184:
    		case 11187:
    		case 11190:
    		case 15504:
    			return 5764;
    		case 5766:
    		case 5768:
    		case 5770:
    		case 5773:
    		case 5776:
    		case 5778:
    		case 5782:
    		case 5784:
    		case 5786:
    		case 11183:
    		case 11186:
    		case 11189:
    		case 11954:
    		case 11957:
    		case 15503:
    			return 5763;
    		case 15578:
    		case 15581:
    			return 15584;
    		case 15577:
    		case 15580:
    			return 15583;
    		case 15576:
    		case 15579:
    			return 15582;
    		case 15248:
    			return 15251;
    		case 15247:
    			return 15250;
    		case 15246:
    			return 15249;
    		case 14855:
    		case 14858:
    		case 14864:
    			return 14842;
    		case 14854:
    		case 14857:
    		case 14860:
    		case 14863:
    			return 14851;
    		case 14853:
    		case 14856:
    		case 14859:
    		case 14862:
    			return 14850;
    		case 11946:
    		case 11949:
    		case 11952:
    		case 11955:
    		case 11958:
    		case 11961:
    		case 11964:
    			return 11556;
    		case 11932:
    		case 11935:
    		case 11938:
    		case 11941:
    		case 11944:
    		case 11948:
    		case 11951:
    		case 11960:
    		case 11963:
    			return 11554;
    		case 11947:
    		case 11950:
    		case 11953:
    		case 11956:
    		case 11959:
    		case 11962:
    			return 11557;
    		case 11931:
    		case 11934:
    		case 11937:
    		case 11943:
    			return 11553;
    		case 11930:
    		case 11933:
    		case 11936:
    		case 11939:
    		case 11942:
    			return 11552;
    		case 11364:
    			return 11367;
    		case 11195:
    			return 11366;
    		case 11194:
    			return 11365;
    		case 11179:
    			return 11182;
    		case 11180:
    			return 11192;
    		case 11181:
    			return 11193;
    		case 10577:
    			return 10580;
    		case 10578:
    			return 10581;
    		case 10579:
    			return 10582;
    		case 9710:
    		case 9713:
    		case 9716:
    		case 9719:
    		case 9722:
    			return 9725;
    		case 9709:
    		case 9718:
    			return 9724;
    		case 9708:
    		case 9711:
    		case 9714:
    		case 9717:
    		case 9720:
    			return 9723;
    		case 6670:
    		case 6944:
    		case 6946:
    			return 6948;
    		case 6669:
    		case 6943:
    		case 6945:
    			return 6947;
    		case 5781:
    			return 576;
    		case 3273:
    		case 3280:
    			return 3281;
    		case 2560:
    			return 4030;
    		case 2090:
    		case 2092:
    		case 2094:
    		case 2096:
    		case 2098:
    		case 2100:
    		case 2102:
    		case 2104:
    		case 2108:
    		case 2561:
    		case 2609:
    			return 450;
    		case 2091:
    		case 2093:
    		case 2095:
    		case 2097:
    		case 2099:
    		case 2101:
    		case 2103:
    		case 2105:
    		case 2109:
    		case 2611:
    		case 3041:
    		case 3229:
    		case 3233:
    		case 3245:
    		case 3040:
    			return 451;
    		case 2551:
    		case 2610:
    			return 453;
    
    		default:
    			return definitions.getEmptyId();
    		}
    	}

    Respect goes to everyone as he deserves.
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Banned

    Join Date
    Jun 2010
    Age
    24
    Posts
    4,887
    Thanks given
    1,698
    Thanks received
    1,597
    Discord
    View profile
    Rep Power
    0
    useful, thanks
    Reply With Quote  
     

  4. #3  
    Donator
    snurf's Avatar
    Join Date
    Oct 2015
    Posts
    582
    Thanks given
    70
    Thanks received
    90
    Rep Power
    0
    Very usefull, thank you!

    Reply With Quote  
     

  5. #4  
    Banned
    Join Date
    Mar 2020
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Code:
    definitions.getStumpId();
    Out of curiosity, what is this function?
    Reply With Quote  
     

  6. #5  
    Aldor Manager


    Join Date
    Mar 2014
    Age
    25
    Posts
    1,148
    Thanks given
    163
    Thanks received
    216
    Rep Power
    343
    Quote Originally Posted by ScorchedMeme View Post
    Code:
    definitions.getStumpId();
    Out of curiosity, what is this function?
    Is for ivy and other trees that doesnt have a stumpId or havent found them so have added one default to it.

    Respect goes to everyone as he deserves.
    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. Rock and tree respawn time algorithm
    By Cjay00091 in forum Snippets
    Replies: 17
    Last Post: 06-15-2011, 11:09 PM
  2. Pet rock and the equip packet.
    By craig903 in forum Help
    Replies: 1
    Last Post: 01-29-2010, 10:12 AM
  3. Rock and Metal versus Rap
    By peterbjornx in forum Voting
    Replies: 12
    Last Post: 01-24-2010, 01:55 PM
  4. Lil Wayne ft. Jay Rock and K-Dot - Color
    By I Masters I in forum Music
    Replies: 0
    Last Post: 11-19-2009, 08:47 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
  •