Thread: [508]Big Magic base (70%)

Page 1 of 8 123 ... LastLast
Results 1 to 10 of 75
  1. #1 [508]Big Magic base (70%) 
    iLL-ViZi0N
    Guest
    BEAR WITH ME, my server is COMPLETELY different then palidinos.. so im trying to make this compatibale with you. if imports are incorrect fix them yourself.

    Info:
    Difficulty: 4/10
    Tested: Custom base, created from royales.
    Sexyness: 8/10

    Okay well download one of the links and put it in Palidino76.rs2.players;
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Its a whopping fuckin 114KB of code =)

    Now for some fun, Player.Java
    Code:
    public boolean normalHomeTele = false;
    public boolean ancientsHomeTele = false;
    public int homeTele = 0;
    public int homeTeleDelay = 0;
    public double arenaSpellPower = 1;
    Under Process(); ,
    Code:
    if (homeTeleDelay > 0){
                homeTeleDelay--;
            }
            if (homeTele > 0 && homeTeleDelay <= 0 && normalHomeTele){
                homeTeleport(3221,3221);
                homeTele--;
            }
            if (homeTele > 0 && homeTeleDelay <= 0 && ancientsHomeTele){
                homeTeleport(3087,3496);
                homeTele--;
            }
    And add this void,
    Code:
    public void homeTeleport(int telex, int teley) {
    		if (homeTele == 15) {
    			requestAnim(1722, 0);
    		} else if (homeTele == 14) {
    			requestAnim(1723, 0);
    			requestGFX(800, 0);
    		} else if (homeTele == 13) {
    			requestAnim(1724, 0);
    			requestGFX(801, 0);
    		} else if (homeTele == 12) {
    			requestAnim(1725, 0);
    			requestGFX(802, 0);
    		} else if (homeTele == 11) {
    			requestAnim(2798, 0);
    			requestGFX(1703, 0);
    		} else if (homeTele == 10) {
    			requestAnim(2799, 0);
    			requestGFX(1704, 0);
    		} else if (homeTele == 9) {
    			requestAnim(2800, 0);
    			requestGFX(1705, 0);
    		} else if (homeTele == 8) {
    			requestAnim(4847, 0);
    			requestGFX(1706, 0);
    		} else if (homeTele == 7) {
    			requestAnim(4848, 0);
    			requestGFX(1707, 0);
    		} else if (homeTele == 6) {
    			requestAnim(4849, 0);
    			requestGFX(1708, 0);
    		} else if (homeTele == 5) {
    			requestAnim(4849, 0);
    			requestGFX(1709, 0);
    		} else if (homeTele == 4) {
    			requestAnim(4849, 0);
    			requestGFX(1710, 0);
    		} else if (homeTele == 3) {
    			requestAnim(4850, 0);
    			requestGFX(1711, 0);
    		} else if (homeTele == 2) {
    			requestAnim(4851, 0);
    			requestGFX(1712, 0);
    		} else if (homeTele == 1) {
    			requestAnim(4852, 0);
    			requestGFX(1713, 0);
                            setCoords(telex, teley, 0);
                            normalHomeTele = false;
                            ancientsHomeTele = false;
    			homeTeleDelay = 3600;
                            homeTele = 15;
    		}
    	}
    Now in PlayerItems add these
    Code:
    public boolean haveItem(Player p, int itemID) {
    		return haveItem(p,itemID,1);
    	}
        
    	public boolean haveItem(Player p, int itemID, int amount) {
    	    int found = 0;
            for (int i = 0; i < p.items.length; i++) {
                if (p.items[i] == itemID) {
    		    if(p.itemsN[i] >= amount)
    				return true;
    		    else
    			    found++;
                }
            }
    	if(found >= amount)
    		return true;
            return false;
        }
    
        public boolean deleteItem(Player p, int itemId,int amount) {
            return deleteItem(p,itemId,getItemSlot(p,itemId),amount);
        }
    And in Rs2.World.Items.ItemList add this
    Code:
    public int highAlch = 0;
    Actionbuttons add this,
    Code:
    import palidino76.rs2.players.Magic;
    Above the switch add,
    Code:
    Magic m = new Magic();
    Replace 192, and 193 with
    Code:
    case 192:
                m.modernMagicAB(p, buttonId);
                break;
    case 193:        
                m.ancientMagicAB(p, buttonId);
                break;
    Now for some super fun, PAY CLOSE ATTENTION
    Replace case 154, and case 70 with these.
    Code:
    case 154:
                Magic.MagicOnItemHandle(p, packetId, packetSize);
                break;
    case 70:
                Magic.magicAop(p, packetId, packetSize);
                break;
    Add This import
    Code:
    import palidino76.rs2.players.Magic;
    NOTE: Please remove your MagicOnItem and MagicOnPlayer handlers, as this big one has ti all =)

    Okay this is The changelog
    Code:
    Changelog:
    
    Version 1:
    - Initial Release
    I will be releasing new versions everytime i update it =) which is daily. Gonna fix all ancients.Also add animations for enchant etc.

    Rep ++ For me hard work.
    Credits:
    Palidino - 508's
    Royale - His base
    Dude in config section - For his hometele
    HavocPKZ, and LukeRoge for Helping gather IDS and ETC.
    William - For a few bits of code ( NO i didnt take his entire code for Strikes.. ETC)
    Sir PK P00n - Magic On Player
    Guy that released Magic On Item

    If there are errors, post and ill correct. i KNOW something is gonna be wrong i have a feeling. Because my base is a little different. If theres no posts or rep. At least post, i will not release anything else i have.

    General Public License

    Thanks,
    Vizi0n
    Reply With Quote  
     

  2. #2  
    william1434
    Guest
    Bloody hell this is so good, i love it lol and i am going to use this
    Reply With Quote  
     

  3. #3  
    Java/C++ Programmer

    Join Date
    Jun 2008
    Age
    25
    Posts
    1,378
    Thanks given
    203
    Thanks received
    387
    Rep Power
    815
    looks good, ill see tomorow, im sleepy lol
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,156
    Thanks given
    3
    Thanks received
    2
    Rep Power
    182
    nice, hey dude can you give me royales base link? if it is open. pm me
    Reply With Quote  
     

  5. #5  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    Quote Originally Posted by Link View Post
    How is your server "Completely" different than palidino's if you say you only changed the imports..?
    i'm imagining that he changed more than just imports

    Quote Originally Posted by iLL-ViZi0N View Post
    BEAR WITH ME, my server is COMPLETELY different then palidinos.. so im trying to make this compatibale with you. if imports are incorrect fix them yourself.

    Info:
    Difficulty: 4/10
    Tested: Custom base, created from royales.
    Sexyness: 8/10

    Okay well download one of the links and put it in Palidino76.rs2.players;
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Its a whopping fuckin 114KB of code =)

    Now for some fun, Player.Java
    Code:
    public boolean normalHomeTele = false;
    public boolean ancientsHomeTele = false;
    public int homeTele = 0;
    public int homeTeleDelay = 0;
    public double arenaSpellPower = 1;
    Under Process(); ,
    Code:
    if (homeTeleDelay > 0){
                homeTeleDelay--;
            }
            if (homeTele > 0 && homeTeleDelay <= 0 && normalHomeTele){
                homeTeleport(3221,3221);
                homeTele--;
            }
            if (homeTele > 0 && homeTeleDelay <= 0 && ancientsHomeTele){
                homeTeleport(3087,3496);
                homeTele--;
            }
    Now in PlayerItems add these
    Code:
    public boolean haveItem(Player p, int itemID) {
    		return haveItem(p,itemID,1);
    	}
        
    	public boolean haveItem(Player p, int itemID, int amount) {
    	    int found = 0;
            for (int i = 0; i < p.items.length; i++) {
                if (p.items[i] == itemID) {
    		    if(p.itemsN[i] >= amount)
    				return true;
    		    else
    			    found++;
                }
            }
    	if(found >= amount)
    		return true;
            return false;
        }
    
        public boolean deleteItem(Player p, int itemId,int amount) {
            return deleteItem(p,itemId,getItemSlot(p,itemId),amount);
        }
    And in Rs2.World.Items.ItemList add this
    Code:
    public int highAlch = 0;
    Actionbuttons add this,
    Code:
    import palidino76.rs2.players.Magic;
    Above the switch add,
    Code:
    Magic m = new Magic();
    Replace 192, and 193 with
    Code:
    case 192:
                m.modernMagicAB(p, buttonId);
                break;
    case 193:        
                m.ancientMagicAB(p, buttonId);
                break;
    Now for some super fun, PAY CLOSE ATTENTION
    Replace case 154, and case 70 with these.
    Code:
    case 154:
                Magic.MagicOnItemHandle(p, packetId, packetSize);
                break;
    case 70:
                Magic.magicAop(p, packetId, packetSize);
                break;
    Add This import
    Code:
    import palidino76.rs2.players.Magic;
    NOTE: Please remove your MagicOnItem and MagicOnPlayer handlers, as this big one has ti all =)

    Okay this is The changelog
    Code:
    Changelog:
    
    Version 1:
    - Initial Release
    I will be releasing new versions everytime i update it =) which is daily. Gonna fix all ancients.Also add animations for enchant etc.

    Rep ++ For me hard work.
    Credits:
    Palidino - 508's
    Royale - His base
    Dude in config section - For his hometele
    HavocPKZ, and LukeRoge for Helping gather IDS and ETC.
    William - For a few bits of code ( NO i didnt take his entire code for Strikes.. ETC)
    2 Dudes that made MagicOnItem and MagicOnPlayer

    If there are errors, post and ill correct. i KNOW something is gonna be wrong i have a feeling. Because my base is a little different. If theres no posts or rep. At least post, i will not release anything else i have.

    General Public License

    Thanks,
    Vizi0n
    quoted so couldn't remove
    Last edited by Zahhak; 09-30-2008 at 04:24 AM. Reason: Double posting is not allowed!
    Reply With Quote  
     

  6. #6  
    iLL-ViZi0N
    Guest
    What do you mean so i cant remove lol, i wasnt planning on removeing or revising nothing. if people wana be dum then so be it. YES i did change more then imports. Matter of fact, my framework is slightly different. Plus i can hit delete to delete post roflmao?
    Reply With Quote  
     

  7. #7  
    We be steady Mobbin'

    Stefan's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    2,380
    Thanks given
    38
    Thanks received
    23
    Rep Power
    1988
    very very nice mate
    People still use this site?
    Reply With Quote  
     

  8. #8  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    nice im gna test it out tyvm il rep ya =P


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    Donator


    Join Date
    Sep 2006
    Age
    27
    Posts
    2,106
    Thanks given
    73
    Thanks received
    54
    Rep Power
    491
    Wow this is awesome thanks for the release man.
    Reply With Quote  
     

  10. #10  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    Quote Originally Posted by Pixel View Post
    Wow this is awesome thanks for the release man.
    ashton i cant get it to work lol it compiles but no work... did it work for you?


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 8 123 ... LastLast

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
  •