Thread: Starter Pack Question

Results 1 to 7 of 7
  1. #1 Starter Pack Question 
    Member
    Join Date
    Jul 2013
    Age
    25
    Posts
    379
    Thanks given
    81
    Thanks received
    14
    Rep Power
    0
    What would I put in my starter pack method to make the player spawn in wearing equipment? I want to do this for all equipment slots as well. Whoever helps me out much REP+THANKS as usual.

    If you give me the general code and the numbers for the slots. I got it from there. -Thanks
    Quote Originally Posted by Ganorah View Post
    that you are a stupid kid that complains and complains on things that you dont appreciate, you should put a fucking bullet in your head no1 will miss you not even your parents... you dont deserve to live thats what im fucking on about, retard
    Reply With Quote  
     

  2. #2  
    Ignorance is always an excuse

    Mikee's Avatar
    Join Date
    Nov 2009
    Posts
    2,370
    Thanks given
    732
    Thanks received
    490
    Rep Power
    656
    head 0
    cape 1
    amulet 2
    weapon 3
    body 4
    shield 5
    legs 7
    glove 9
    boots 10
    ring 12
    arrow 13



    The day Aj repped me, my life changed forever
    Quote Originally Posted by Aj View Post
    Rep++ for you
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Member
    Join Date
    Jul 2013
    Age
    25
    Posts
    379
    Thanks given
    81
    Thanks received
    14
    Rep Power
    0
    Quote Originally Posted by Mikee View Post
    head 0
    cape 1
    amulet 2
    weapon 3
    body 4
    shield 5
    legs 7
    glove 9
    boots 10
    ring 12
    arrow 13
    Thanks man do you know the code so I can place it in there.

    Edit: Or at least a link to what I'm looking for... I mean I don't know what to google.
    Quote Originally Posted by Ganorah View Post
    that you are a stupid kid that complains and complains on things that you dont appreciate, you should put a fucking bullet in your head no1 will miss you not even your parents... you dont deserve to live thats what im fucking on about, retard
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jun 2014
    Posts
    58
    Thanks given
    2
    Thanks received
    4
    Rep Power
    11
    I hope this is what you're looking for.
    Code:
    playerEquipment[playerHat] = id;
    playerEquipment[playerBody] = id;
    playerEquipment[playerLegs] = id;
    playerEquipment[playerBoots] = id;
    playerEquipment[playerGloves] = id;
    playerEquipment[playerRing] = id;
    playerEquipment[playerShield] = id;
    playerEquipment[playerWeapon] = id;
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Banned

    Join Date
    Mar 2013
    Posts
    3,036
    Thanks given
    82
    Thanks received
    375
    Rep Power
    0
    Code:
    c.playerEquipment[c.playerHat] = value;
    Reply With Quote  
     

  8. Thankful user:


  9. #6  
    Member
    Join Date
    Jul 2013
    Age
    25
    Posts
    379
    Thanks given
    81
    Thanks received
    14
    Rep Power
    0
    Thanks guys soooo much. Rep + Thanks to the 3 of ya.
    Quote Originally Posted by Ganorah View Post
    that you are a stupid kid that complains and complains on things that you dont appreciate, you should put a fucking bullet in your head no1 will miss you not even your parents... you dont deserve to live thats what im fucking on about, retard
    Reply With Quote  
     

  10. #7  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Do you mean like to equip the armor once they log in with a new account?

    Code:
    int[] equip = { 10828, 2412, 6585, 4675, 4091, 6889, -1, 4093, -1,
            				7462, 6920, -1, 6731, 9244 };
            		for (int i = 0; i < equip.length; i++) {
            			player.playerEquipment[i] = equip[i];
            			player.playerEquipmentN[i] = 1;
            			player.getItems().setEquipment(equip[i], 1, i);
            		}
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    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. ==== Sever Starter Pack V2 ====
    By Icepkz in forum Tools
    Replies: 90
    Last Post: 10-19-2013, 10:45 PM
  2. Kens Server Starter pack
    By Ken in forum Tools
    Replies: 19
    Last Post: 04-25-2009, 12:00 AM
  3. Creating a Starter Pack
    By 1112 in forum Tutorials
    Replies: 16
    Last Post: 10-14-2008, 12:44 PM
  4. === Awesome Starter Pack ===
    By Icepkz in forum Tools
    Replies: 24
    Last Post: 01-26-2008, 03:38 AM
  5. Replies: 6
    Last Post: 04-19-2007, 12:09 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •