Thread: Adding Customs Server Sided PI

Results 1 to 8 of 8
  1. #1 Adding Customs Server Sided PI 
    Member Market Banned Market Banned

    Impervious's Avatar
    Join Date
    Apr 2011
    Posts
    550
    Thanks given
    97
    Thanks received
    38
    Rep Power
    129
    I add the custom to my client and can equip in game. My problem is i have to add it cape in item.java so it doesnt equip as weapon.
    This is what the cape section looks like

    Code:
    public static boolean playerCape(int itemId) {
    		String[] data = {
    			"cloak", "cape", "Cape", "attractor", "Attractor", "Ava's"
    		};
    		String item = getItemName(itemId);
    		if (item == null) {
    			return false;
    		}
    		boolean item1 = false;
    		for(int i = 0; i < data.length; i++ ) {
    			if(item.endsWith(data[i]) || item.contains(data[i])) {
    				item1 = true;
    			}
    		}
    		return item1;
    	}
    Where does my item id (14918) go?

    Also where can i change stats of the cape?

    Thanks for help
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2011
    Posts
    50
    Thanks given
    0
    Thanks received
    7
    Rep Power
    21
    Well, you really should add this item in item.cfg first, that should fix both issues.
    Reply With Quote  
     

  3. #3  
    Member Market Banned Market Banned

    Impervious's Avatar
    Join Date
    Apr 2011
    Posts
    550
    Thanks given
    97
    Thanks received
    38
    Rep Power
    129
    Quote Originally Posted by Curcubeu View Post
    Well, you really should add this item in item.cfg first, that should fix both issues.
    Ur first post was on my thread anyways u helped with one problem so thanks but it still equips to my hand like as a weapon
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2011
    Posts
    50
    Thanks given
    0
    Thanks received
    7
    Rep Power
    21
    What's its name?
    Reply With Quote  
     

  5. #5  
    Member Market Banned Market Banned

    Impervious's Avatar
    Join Date
    Apr 2011
    Posts
    550
    Thanks given
    97
    Thanks received
    38
    Rep Power
    129
    Brian's Cape
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2011
    Posts
    50
    Thanks given
    0
    Thanks received
    7
    Rep Power
    21
    Just make sure you add this before [ENDOFITEMLIST], and you should be fine.

    Code:
    item = 14918	Brian's_Cape	description_here	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    I don't remember what the first 3 numbers after the description is(besides something to do with pricing and alchemy), but after that is the actual stats. Everything SHOULD work correctly, enabling it to equip in the right place.
    Reply With Quote  
     

  7. #7  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    This isnt Delta.
    ItemAssistant.java
    Search for
    switch (wearID) {
    Under it add
    case ITEMID:
    targetSlot=1;
    break;
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2011
    Posts
    50
    Thanks given
    0
    Thanks received
    7
    Rep Power
    21
    Quote Originally Posted by Red Partyhat View Post
    This isnt Delta.
    ItemAssistant.java
    Search for

    Under it add
    Thanks for the information oh wise one, but I've never used Delta or Project Insanity. I'm just guessing.
    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. Adding Lunar[Server-Sided]
    By Rufio in forum Help
    Replies: 2
    Last Post: 04-29-2013, 05:33 PM
  2. [317] Adding donator rank [server-sided]
    By pkersworld in forum Tutorials
    Replies: 18
    Last Post: 05-20-2011, 11:22 PM
  3. Replies: 3
    Last Post: 08-23-2010, 07:54 AM
  4. Adding crowns server sided with insanity's
    By Division in forum Help
    Replies: 0
    Last Post: 05-07-2010, 11:33 AM
  5. Replies: 8
    Last Post: 03-23-2010, 02:30 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
  •