Thread: Making certain items 2Handed

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 Making certain items 2Handed 
    P I M P 3 D Tut
    Guest
    Purpose: Making certain Items 2Handed

    Difficulty: umm. Lets say 2\10. Maybe.

    Assumed Knowledge: Basically, what you really need is to read. And to learn.

    Server Base: I've Tried it on Pimpscape

    Classes Modified: Client.java

    Procedure
    Alright, Lets look at this code.
    [PHP] if(playerEquipment[playerShield] > -1) {
    if (playerEquipment[playerWeapon] == 1205) {
    remove(playerEquipment[playerWeapon], 3);
    }
    } [/PHP]
    That says, When you have a weapon, and a shield, equipped It tells the client to remove your weapon. You can edit this in anyway.
    Take a look at this. (use this format ! )
    [PHP]if(playerEquipment[playerShield] > -1) {
    if (playerEquipment[playerWeapon] == Z1) {
    remove(playerEquipment[playerZ2], Z3);
    }
    }[/PHP]
    DO NOT TOUCH - 1.
    Z1 = The Weapon Id.
    Z2 = The players part, Like , Shield lets say.
    Z3 = Equip slot number.

    You place this under public boolean process.
    I think, it won't lag.
    Have some fun with that.

    Hope this helped!




    Credits: Me :]
    Just wanted to say,
    I find this community interesting, I come down here, 1 hour a day. Take a look around. This is a very fun place to stay at, Good members, Horrible SB Mods Who edit your shouts and get you banned , Good administrators.
    But most of all, this community has a lot of good tutorials. Like moparscape, used to be a great place, but now its all " AMG LEIK NAO CAOPY AND PAST TAUTS" I'm not saying that i cant do Java, Its just a lot easier here. And all of you who aren't gay power abusing SB mods, Thanks :]

    Enjoi.
     

  2. #2  
    HcoFlame
    Guest
    mm...very good lol
     

  3. #3  
    Turbo
    Guest
    u can make a full helm two handed

    LMAO Cool
     

  4. #4  
    P I M P 3 D Tut
    Guest
    Quote Originally Posted by Turbo View Post
    u can make a full helm two handed

    LMAO Cool
    I know. Lol. its awesome,
    @ justin
    leik tanks babi
     

  5. #5  
    littleplop
    Guest
    noobs i posted 100% all item fixes bones levels to use 2h bug ect....
     

  6. #6  
    Banned
    Join Date
    Nov 2007
    Posts
    399
    Thanks given
    13
    Thanks received
    18
    Rep Power
    0
    little just because you created something first and someone did something else after doesnt mean you get to flame and hog all the glory give some creds
     

  7. #7  
    snowycards
    Guest
    hey pimped tut i know how u can apply this to a lot of things without fattening up your process much or lagging much do something like this
    declare
    Code:
    public int[] twoHander = {1111,2222,3333,4444,5555,6666,7777};
    then replace those numbers with the 2h ids

    then go to process

    put

    Code:
    if(playerEquipment[playerShield] > -1) { 
    for(int i = 0; i < twoHander.length; i++) {
    if(playerEquipment[playerWeapon] == twoHander[i]) {
    remove(playerEquipment[playerWeapon], 3); 
    }
    }
    }
    NOTE: HAVE NOT TESTED THIS, AND NOT TRYING TO HIJACK YOUR TUT

    its just less lag if you have like 29 two handers
     

  8. #8  
    P I M P 3 D Tut
    Guest
    Quote Originally Posted by snowycards View Post
    hey pimped tut i know how u can apply this to a lot of things without fattening up your process much or lagging much do something like this
    declare
    Code:
    public int[] twoHander = {1111,2222,3333,4444,5555,6666,7777};
    then replace those numbers with the 2h ids

    then go to process

    put

    Code:
    if(playerEquipment[playerShield] > -1) { 
    for(int i = 0; i < twoHander.length; i++) {
    if(playerEquipment[playerWeapon] == twoHander[i]) {
    remove(playerEquipment[playerWeapon], 3); 
    }
    }
    }
    NOTE: HAVE NOT TESTED THIS, AND NOT TRYING TO HIJACK YOUR TUT

    its just less lag if you have like 29 two handers
    thats great! Thanks for pointing that out! :]
     

  9. #9  
    snowycards
    Guest
    no problem
     

  10. #10  
    P I M P 3 D Tut
    Guest
    Quote Originally Posted by littleplop View Post
    noobs i posted 100% all item fixes bones levels to use 2h bug ect....
    do we fuc.king care? we don't need your shitty tut, this is for making CERTAIN, items two handed . L2 read tittles.. douche bag. Gtfo
     

Page 1 of 2 12 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
  •