Thread: PI Enhanced v3 || 667 anims/gfx || 667 maps || much more!

Page 1 of 9 123 ... LastLast
Results 1 to 10 of 83
  1. #1 PI Enhanced v3 || 667 anims/gfx || 667 maps || much more! 
    Banned

    Join Date
    Oct 2010
    Posts
    1,309
    Thanks given
    63
    Thanks received
    257
    Rep Power
    0
    Hey guys,
    This might be my last release for these clients, I haven't really done much to server sided but i have started coding security dungeon but its incomplete, you will need to change lots of anim's server sided. I was going to work more on this but i gotta focus more on school work.


    Note: I have Cache packed nearly everything, so the cache is reasonably clean.

    Features:

    - Cache packed 660 items (with Examined all working but only 653 item models added)
    - Cache packed 602 npc's
    - Cache packed 667 anims/gfx
    - updates interfaces
    - Supports HD sprites
    - Supports animated GIF's
    - fixed female character wields
    - Cache packed 667 maps
    - 717 flo (overlay/underlay)
    - New runescape login screen + loading bar
    - Better item rotations
    - 562 Identitykit
    - Much more other stuff

    Known Issues:
    - Tooltips dont work on skill tab
    - Ancient spellbook's home button isnt even a button its just a sprite
    - Many objects dont have right click (can be fixed)
    - Some objects are out of position

    Media:
    Spoiler for Media:











    Download:
    Client
    Source

    For the people who might just want to use the client you might consider replacing these methods:


    Spoiler for Server sided:

    Spoiler for Fixing npc's:

    If you are getting errors for npc's just replace this method:
    Code:
    public void addNewNPC(NPC npc, Stream str, Stream updateBlock) {
    		synchronized(this) {
    			int id = npc.npcId;
    			npcInListBitmap[id >> 3] |= 1 << (id&7);	
    			npcList[npcListSize++] = npc;
    	
    			str.writeBits(14, id);	
    			
    			int z = npc.absY-absY;
    			if(z < 0) z += 32;
    			str.writeBits(5, z);	
    			z = npc.absX-absX;
    			if(z < 0) z += 32;
    			str.writeBits(5, z);	
    	
    			str.writeBits(1, 0); 
    			str.writeBits(14, npc.npcType);
    			
    			boolean savedUpdateRequired = npc.updateRequired;
    			npc.updateRequired = true;
    			npc.appendNPCUpdateBlock(updateBlock);
    			npc.updateRequired = savedUpdateRequired;	
    			str.writeBits(1, 1); 
    		}
    	}


    Spoiler for New level up's:
    Replace this for level up dialogues to work:
    Code:
    public void levelUp(int skill) {
    		switch(skill) {
    			case 0:
    			sendFrame126("Congratulations! You've just advanced a Attack level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+"!", 4269);
    			c.sendMessage("Congratulations! You've just advanced a attack level.");	
    			sendFrame164(6247);
    			break;
    			
    			case 1:
                		sendFrame126("Congratulations! You've just advanced a Defence level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Defence level.");
    			sendFrame164(6253);
    			break;
    			
    			case 2:
                		sendFrame126("Congratulations! You've just advanced a Strength level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Strength level.");
    			sendFrame164(6206);
    			break;
    			
    			case 3:
                		sendFrame126("Congratulations! You've just advanced a Hitpoints level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Hitpoints level.");
    			sendFrame164(6216);
    			break;
    			
    			case 4:
                		sendFrame126("Congratulations! You've just advanced a Ranged level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Ranging level.");
    			sendFrame164(4443);
    			break;
    			
    			case 5:
                		sendFrame126("Congratulations! You've just advanced a Prayer level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Prayer level.");
    			sendFrame164(6242);
    			break;
    			
    			case 6:
                		sendFrame126("Congratulations! You've just advanced a Magic level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Magic level.");
    			sendFrame164(6211);
    			break;
    			
    			case 7:
                		sendFrame126("Congratulations! You've just advanced a Cooking level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Cooking level.");
    			sendFrame164(6226);
    			break;
    			
    			case 8:
    			sendFrame126("Congratulations! You've just advanced a Woodcutting level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Woodcutting level.");
    			sendFrame164(4272);
                		break;
    			
                		case 9:
                		sendFrame126("Congratulations! You've just advanced a Fletching level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Fletching level.");
    			sendFrame164(6231);
               		break;
    			
    			case 10:
                		sendFrame126("Congratulations! You've just advanced a Fishing level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Fishing level.");
    			sendFrame164(6258);
    			break;
    			
    			case 11:
    			sendFrame126("Congratulations! You've just advanced a Fire making level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Fire making level.");
    			sendFrame164(4282);
                		break;
    			
                		case 12:
    			sendFrame126("Congratulations! You've just advanced a Crafting level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Crafting level.");
    			sendFrame164(6263);
                		break;
    			
    			case 13:
    			sendFrame126("Congratulations! You've just advanced a Smithing level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Smithing level.");
    			sendFrame164(6221);
    			break;
    			
    			case 14:
    			sendFrame126("Congratulations! You've just advanced a Mining level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Mining level.");
    			sendFrame164(4416);
                		break;
    			
    			case 15:
                		sendFrame126("Congratulations! You've just advanced a Herblore level!", 4268);
                		sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Herblore level.");
    			sendFrame164(6237);
                		break;
    			
    			case 16:
    			sendFrame126("Congratulations! You've just advanced a Agility level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Agility level.");
    			sendFrame164(4277);
               		break;
    			
    			case 17:
    			sendFrame126("Congratulations! You've just advanced a Thieving level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
                		c.sendMessage("Congratulations! You've just advanced a Thieving level.");
    			sendFrame164(4261);
    			break;
    			
    			case 18:
    			sendFrame126("Congratulations! You've just advanced a Slayer level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Slayer level.");
    			sendFrame164(12122);
                		break;
    
                		case 19:
    			sendFrame126("Congratulations! You've just advanced a Farming level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Farming level.");
    			sendFrame164(5267);
               	 	break;
                
                		case 20:
    			sendFrame126("Congratulations! You've just advanced a Runecrafting level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Runecrafting level.");
    			sendFrame164(4267);
               	 	break;
                		
    			case 21:
    			sendFrame126("Congratulations! You've just advanced a Construction level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Construction level.");
    			sendFrame164(7267);
                		break;
                
    			case 22:
    			sendFrame126("Congratulations! You've just advanced a Hunter level!", 4268);
    			sendFrame126("You have now reached level "+getLevelForXP(c.playerXP[skill])+".", 4269);
    			c.sendMessage("Congratulations! You've just advanced a Hunter level.");
    			sendFrame164(8267);
                		break;
    		}
    		c.dialogueAction = 0;
    		c.nextChat = 0;
            	sendFrame126("Click here to continue", 358);
    	}


    Spoiler for Player Appearance:
    If there is any problem with the characters appearance such as him being invisible then replace ChangeAppearance.java with this:

    Code:
    package server.model.players.packets;
    
    import server.model.players.Client;
    import server.model.players.PacketType;
    import server.util.Misc;
    
    /**
     * Change appearance
     **/
    	public class ChangeAppearance implements PacketType {
    
      		@Override
      		public void processPacket(Client c, int packetType, int packetSize) {
        			int gender = c.getInStream().readSignedByte();
        			int head = c.getInStream().readSignedByte();
        			int jaw = c.getInStream().readSignedByte();
        			int torso = c.getInStream().readSignedByte();
        			int arms = c.getInStream().readSignedByte();
        			int hands = c.getInStream().readSignedByte();
        			int legs = c.getInStream().readSignedByte();
        			int feet = c.getInStream().readSignedByte();
        			int hairColour = c.getInStream().readSignedByte();
        			int torsoColour = c.getInStream().readSignedByte();
        			int legsColour = c.getInStream().readSignedByte();
        			int feetColour = c.getInStream().readSignedByte();
        			int skinColour = c.getInStream().readSignedByte();
    
          			c.playerAppearance[0] = gender; // gender
          			c.playerAppearance[6] = feet; // feet
          			c.playerAppearance[7] = jaw; // beard
          			c.playerAppearance[8] = hairColour; // hair colour
          			c.playerAppearance[9] = torsoColour; // torso colour
          			c.playerAppearance[10] = legsColour; // legs colour
          			c.playerAppearance[11] = feetColour; // feet colour
          			c.playerAppearance[12] = skinColour; // skin colour
          			if(head < 0) // head
          				c.playerAppearance[1] = head + 256;
          			else
          				c.playerAppearance[1] = head;
          			if(torso < 0)
          				c.playerAppearance[2] = torso + 256;
          			else
          				c.playerAppearance[2] = torso;
          			if(arms < 0)
          				c.playerAppearance[3] = arms + 256;
          			else
          				c.playerAppearance[3] = arms;
          			if(hands < 0)
          				c.playerAppearance[4] = hands + 256;
          			else
          				c.playerAppearance[4] = hands;
          			if(legs < 0)
          				c.playerAppearance[5] = legs + 256;
          			else
          				c.playerAppearance[5] = legs;
          				c.getPA().removeAllWindows();
          				c.getPA().requestUpdates();
      			}  
    		}


    This might be useful to some people:

    #1762054 - Pastie

    Credits:
    Flamable
    Badger
    Xaves
    Pea2nuts
    Owner blade
    ----------------------------------
    Others who i havent mentioned
    Reply With Quote  
     


  2. #2  
    Registered Member Say Hi Back's Avatar
    Join Date
    May 2012
    Posts
    28
    Thanks given
    0
    Thanks received
    3
    Rep Power
    51
    Beautiful
    Do not rep me, I want to stay 0 stars.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2010
    Posts
    1,309
    Thanks given
    63
    Thanks received
    257
    Rep Power
    0
    uploading client sec guys i made a mistake
    Reply With Quote  
     

  4. #4  
    Explicit Jerba™'s Avatar
    Join Date
    May 2012
    Posts
    720
    Thanks given
    83
    Thanks received
    167
    Rep Power
    55
    derp
    love the maps but, minimap icons need to be added... simple job thanks for giving noobs something to do before they leech.

    OT: VERY VERY NICE!


    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Aug 2011
    Posts
    2,760
    Thanks given
    297
    Thanks received
    534
    Rep Power
    1596
    Looks quite good except for the chatbox area.
    Quote Originally Posted by Aj View Post
    This is not even a tutorial. It's fail for rep. It's fail for life.
    Reply With Quote  
     

  6. #6  
    Registered Member Insane Clown Posse's Avatar
    Join Date
    Feb 2012
    Age
    29
    Posts
    336
    Thanks given
    26
    Thanks received
    19
    Rep Power
    42
    Link is down.

    Respected List ::
    [SPOIL]Galkon, Google411, -Null Code-, Thee Wolf, Infexis, Play Boy™[/SPOIL]
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Mar 2011
    Posts
    1,226
    Thanks given
    245
    Thanks received
    475
    Rep Power
    294
    Quote Originally Posted by As I Lay Dying View Post
    Link is down.
    Quote Originally Posted by Monster View Post
    uploading client sec guys i made a mistake
    ....
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Nov 2011
    Posts
    135
    Thanks given
    32
    Thanks received
    13
    Rep Power
    0
    If you did all these formatted things on your own,

    Good job.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Jan 2012
    Posts
    269
    Thanks given
    155
    Thanks received
    78
    Rep Power
    50
    Very nice release, good job on this . Couldn't wait for V3!
    Reply With Quote  
     

  10. #10  
    Registered Member Nuno555's Avatar
    Join Date
    Sep 2011
    Posts
    330
    Thanks given
    40
    Thanks received
    14
    Rep Power
    0
    nice1
    Quote Originally Posted by soccerchamp149 View Post
    whats eclipse lol
    Reply With Quote  
     

Page 1 of 9 123 ... LastLast

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. Replies: 5
    Last Post: 07-10-2012, 04:12 AM
  2. 667/711 maps
    By iSacred in forum Help
    Replies: 1
    Last Post: 04-10-2012, 03:02 PM
  3. missing 667 maps?
    By AFGscape in forum Help
    Replies: 2
    Last Post: 01-29-2012, 12:36 PM
  4. 667 Maps Will Pay
    By _Austin_ in forum Buying
    Replies: 0
    Last Post: 12-19-2011, 07:45 AM
  5. 667 MAPS and items
    By sigex in forum Buying
    Replies: 7
    Last Post: 10-10-2011, 11:37 PM
Tags for this Thread

View Tag Cloud

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