Thread: can some 1 convert please

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40
  1. #1 can some 1 convert please 
    zerked up
    Guest
    Spoiler for open code:
    public void skillCapeEmotes() {
    int capes[] = {15000,15001,15002,15003,15004,15005,15006,15008,1 5009,
    15010,15011,15012,15013,15014,15015,15016,15017,15 018,15019,15020};
    int emotes[] = {4959,4981,4961,4973,4979,4939,4947,4977,4969,4965 ,4949,4937,
    4967,4941,4943,4951,4955,4975,4957,4963};
    int gfx[] = {611,614,621,617,606,629,607,625,626,623,620,619,6 24,610,609,616,
    618,615,613,622};
    for (int i = 0; i < capes.length; i++) {
    if (c.playerEquipment[c.playerCape] == capes[i] || c.playerEquipment[c.playerCape] == capes[i] + 21) {
    startAnimation(emotes[i]);
    lowGFX(gfx[i], 0);
    updateRequired = true;
    appearanceUpdateRequired = true;
    }
    }
    if (playerEquipment[playerCape] == 15007
    || playerEquipment[playerCape] == 15028) { //Hitpoints cape
    if (pGender == 0) {
    lowGFX(612, 0);
    setAnimation(4971);
    sM("You Do your skillcape emote");
    updateRequired = true;
    appearanceUpdateRequired = true;
    } else
    if (pGender == 1) {
    lowGFX(628, 0);
    setAnimation(4971);
    sM("You Do your skillcape emote");
    updateRequired = true;
    appearanceUpdateRequired = true;
    }
    }
    if (playerEquipment[playerCape] == 15042) { //Quest cape
    lowGFX(608, 0);
    setAnimation(4945);
    updateRequired = true;
    appearanceUpdateRequired = true;
    }
    }


    And i get these errors im using battlescape 317 can some 1 convert to fit its coding?
    \
    Spoiler for errors:
    client.java:610: cannot find symbol
    symbol : variable c
    location: class client
    if (c.playerEquipment[c.playerCape] == capes[i] || c.playerEquipment[c.p
    layerCape] == capes[i] + 21) {
    ^
    client.java:610: cannot find symbol
    symbol : variable c
    location: class client
    if (c.playerEquipment[c.playerCape] == capes[i] || c.playerEquipment[c.p
    layerCape] == capes[i] + 21) {
    ^
    client.java:610: cannot find symbol
    symbol : variable c
    location: class client
    if (c.playerEquipment[c.playerCape] == capes[i] || c.playerEquipment[c.p
    layerCape] == capes[i] + 21) {
    ^
    client.java:610: cannot find symbol
    symbol : variable c
    location: class client
    if (c.playerEquipment[c.playerCape] == capes[i] || c.playerEquipment[c.p
    layerCape] == capes[i] + 21) {
    ^
    client.java:611: startAnimation(int,int) in Player cannot be applied to (int)
    startAnimation(emotes[i]);
    ^
    client.java:612: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(gfx[i], 0);
    ^
    client.java:620: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(612, 0);
    ^
    client.java:621: cannot find symbol
    symbol : method setAnimation(int)
    location: class client
    setAnimation(4971);
    ^
    client.java:622: cannot find symbol
    symbol : method sM(java.lang.String)
    location: class client
    sM("You Do your skillcape emote");
    ^
    client.java:627: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(628, 0);
    ^
    client.java:628: cannot find symbol
    symbol : method setAnimation(int)
    location: class client
    setAnimation(4971);
    ^
    client.java:629: cannot find symbol
    symbol : method sM(java.lang.String)
    location: class client
    sM("You Do your skillcape emote");
    ^
    client.java:635: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(608, 0);
    ^
    client.java:636: cannot find symbol
    symbol : method setAnimation(int)
    location: class client
    setAnimation(4945);
    ^
    14 errors
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    felten's Avatar
    Join Date
    Nov 2009
    Posts
    528
    Thanks given
    8
    Thanks received
    4
    Rep Power
    92
    Public void skillCapeEmotes(Client c) {
    LessQQmoarPewPew
    Reply With Quote  
     

  3. #3 kk 
    zerked up
    Guest
    Quote Originally Posted by felten View Post
    Public void skillCapeEmotes(Client c) {

    Thats all i have to change?
    Reply With Quote  
     

  4. #4  
    Registered Member
    felten's Avatar
    Join Date
    Nov 2009
    Posts
    528
    Thanks given
    8
    Thanks received
    4
    Rep Power
    92
    Not all errors will be fixed but i think some will post if im wroNg
    LessQQmoarPewPew
    Reply With Quote  
     

  5. #5  
    zerked up
    Guest
    now i get this error


    client.java:602: cannot find symbol
    symbol : class Client
    location: class client
    public void skillCapeEmotes(Client c) {
    ^
    client.java:611: startAnimation(int,int) in Player cannot be applied to (int)
    startAnimation(emotes[i]);
    ^
    client.java:612: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(gfx[i], 0);
    ^
    client.java:620: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(612, 0);
    ^
    client.java:621: cannot find symbol
    symbol : method setAnimation(int)
    location: class client
    setAnimation(4971);
    ^
    client.java:622: cannot find symbol
    symbol : method sM(java.lang.String)
    location: class client
    sM("You Do your skillcape emote");
    ^
    client.java:627: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(628, 0);
    ^
    client.java:628: cannot find symbol
    symbol : method setAnimation(int)
    location: class client
    setAnimation(4971);
    ^
    client.java:629: cannot find symbol
    symbol : method sM(java.lang.String)
    location: class client
    sM("You Do your skillcape emote");
    ^
    client.java:635: cannot find symbol
    symbol : method lowGFX(int,int)
    location: class client
    lowGFX(608, 0);
    ^
    client.java:636: cannot find symbol
    symbol : method setAnimation(int)
    location: class client
    setAnimation(4945);
    ^
    11 errors
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    zerked up
    Guest
    errors are above
    Reply With Quote  
     

  7. #7  
    Registered Member
    Purple's Avatar
    Join Date
    Feb 2010
    Age
    26
    Posts
    2,799
    Thanks given
    467
    Thanks received
    260
    Rep Power
    312
    You're trying to use delta stuff on Battlescape. Convert it first.
    Reply With Quote  
     

  8. #8 lol 
    zerked up
    Guest
    Quote Originally Posted by Aidi View Post
    You're trying to use delta stuff on Battlescape. Convert it first.
    Thats why i posted this thread for help i already know that
    Reply With Quote  
     

  9. #9  
    zerked up
    Guest
    B
    u
    m
    p
    Reply With Quote  
     

  10. #10  
    Registered Member
    felten's Avatar
    Join Date
    Nov 2009
    Posts
    528
    Thanks given
    8
    Thanks received
    4
    Rep Power
    92
    Try client lower case
    LessQQmoarPewPew
    Reply With Quote  
     

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