Thread: Battlescape 317 right click bug

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Battlescape 317 right click bug 
    Registered Member
    Join Date
    Jan 2010
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Can anybody fix it?
    I'm using battlescape 317.



    Reply With Quote  
     

  2. #2  
    Owner of Zantarix Notepad's Avatar
    Join Date
    Oct 2008
    Age
    33
    Posts
    580
    Thanks given
    21
    Thanks received
    33
    Rep Power
    67
    its the right click interface.
    my best advise would be to remove it
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Lol,but i want to fix it.
    Reply With Quote  
     

  4. #4  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Re-add the tutorial remove it all and re-add it's galkons tut man that's all i can say
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2010
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Where is the tutorial?
    Reply With Quote  
     

  6. #6  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Galkon

    Search threads made by him
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2010
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    okok.
    Thank you.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2010
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Huh.I found 2 tuts.
    And my client.java is look like:

    private void drawMenu() {
    int i = menuOffsetX;
    int j = menuOffsetY;
    int k = menuWidth;
    int l = anInt952 + 1;//anInt952
    //DrawingArea.drawPixels(height, yPos, xPos, color, width);
    //DrawingArea.fillPixels(xPos, width, height, color, yPos);
    DrawingArea.drawPixels(l - 4, j + 2, i, 0x706a5e, k);
    DrawingArea.drawPixels(l - 2, j + 1, i + 1, 0x706a5e, k - 2);
    DrawingArea.drawPixels(l, j, i + 2, 0x706a5e, k - 4);
    DrawingArea.drawPixels(l - 2, j + 1, i + 3, 0x2d2822, k - 6);
    DrawingArea.drawPixels(l - 4, j + 2, i + 2, 0x2d2822, k - 4);
    DrawingArea.drawPixels(l - 6, j + 3, i + 1, 0x2d2822, k - 2);
    DrawingArea.drawPixels(l - 22, j + 19, i + 2, 0x524a3d, k - 4);
    DrawingArea.drawPixels(l - 22, j + 20, i + 3, 0x524a3d, k - 6);
    DrawingArea.drawPixels(l - 23, j + 20, i + 3, 0x2b271c, k - 6);
    DrawingArea.fillPixels(i + 3, k - 6, 1, 0x2a291b, j + 2);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x2a261b, j + 3);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x252116, j + 4);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x211e15, j + 5);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x1e1b12, j + 6);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x1a170e, j + 7);
    DrawingArea.fillPixels(i + 2, k - 4, 2, 0x15120b, j + 8);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x100d08, j + 10);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x090a04, j + 11);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x080703, j + 12);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x090a04, j + 13);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x070802, j + 14);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x090a04, j + 15);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x070802, j + 16);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x090a04, j + 17);
    DrawingArea.fillPixels(i + 2, k - 4, 1, 0x2a291b, j + 18);
    DrawingArea.fillPixels(i + 3, k - 6, 1, 0x564943, j + 19);
    chatTextDrawingArea.method385(0xc6b895, "Choose Option", j + 14, i + 3);
    int j1 = super.mouseX;
    int k1 = super.mouseY;
    if(menuScreenArea == 0) {
    j1 -= 4;
    k1 -= 4;
    }
    if(menuScreenArea == 1) {
    j1 -= 519;
    k1 -= 168;
    }
    if(menuScreenArea == 2) {
    j1 -= 17;
    k1 -= 338;
    }
    if(menuScreenArea == 3) {
    j1 -= 516;
    k1 -= 0;
    }
    for(int l1 = 0; l1 < menuActionRow; l1++) {
    int i2 = j + 31 + (menuActionRow - 1 - l1) * 15;
    int j2 = 0xc6b895;
    if (j1 > i && j1 < i + k && k1 > i2 - 13 && k1 < i2 + 3) {
    DrawingArea.drawPixels(15, i2 - 11, i + 3, 0x6f695d, menuWidth - 6);
    j2 = 0xeee5c6;
    }
    chatTextDrawingArea.method389(true, i + 4, j2, menuActionName[l1], i2 + 1);
    }
    }


    private void processRightClick()
    {
    if(activeInterfaceType != 0)
    return;
    menuActionName[0] = "Cancel";
    menuActionID[0] = 1107;
    menuActionRow = 1;
    buildSplitPrivateChatMenu();
    anInt886 = 0;
    if(super.mouseX > 4 && super.mouseY > 4 && super.mouseX < 516 && super.mouseY < 338)
    if(openInterfaceID != -1)
    buildInterfaceMenu(4, RSInterface.interfaceCache[openInterfaceID], super.mouseX, 4, super.mouseY, 0);
    else
    build3dScreenMenu();
    if(anInt886 != anInt1026)
    anInt1026 = anInt886;
    anInt886 = 0;
    if(super.mouseX > 553 && super.mouseY > 205 && super.mouseX < 743 && super.mouseY < 466)
    if(invOverlayInterfaceID != -1)
    buildInterfaceMenu(553, RSInterface.interfaceCache[invOverlayInterfaceID], super.mouseX, 205, super.mouseY, 0);
    else
    if(tabInterfaceIDs[tabID] != -1)
    buildInterfaceMenu(553, RSInterface.interfaceCache[tabInterfaceIDs[tabID]], super.mouseX, 205, super.mouseY, 0);
    if(anInt886 != anInt1048)
    {
    needDrawTabArea = true;
    anInt1048 = anInt886;
    }
    anInt886 = 0;
    if(super.mouseX > 17 && super.mouseY > 357 && super.mouseX < 496 && super.mouseY < 453)
    if(backDialogID != -1)
    buildInterfaceMenu(17, RSInterface.interfaceCache[backDialogID], super.mouseX, 357, super.mouseY, 0);
    else
    if(super.mouseY < 434 && super.mouseX < 426)
    buildChatAreaMenu(super.mouseY - 357);
    if(backDialogID != -1 && anInt886 != anInt1039)
    {
    inputTaken = true;
    anInt1039 = anInt886;
    }
    boolean flag = false;
    while(!flag)
    {
    flag = true;
    for(int j = 0; j < menuActionRow - 1; j++)
    if(menuActionID[j] < 1000 && menuActionID[j + 1] > 1000)
    {
    String s = menuActionName[j];
    menuActionName[j] = menuActionName[j + 1];
    menuActionName[j + 1] = s;
    int k = menuActionID[j];
    menuActionID[j] = menuActionID[j + 1];
    menuActionID[j + 1] = k;
    k = menuActionCmd2[j];
    menuActionCmd2[j] = menuActionCmd2[j + 1];
    menuActionCmd2[j + 1] = k;
    k = menuActionCmd3[j];
    menuActionCmd3[j] = menuActionCmd3[j + 1];
    menuActionCmd3[j + 1] = k;
    k = menuActionCmd1[j];
    menuActionCmd1[j] = menuActionCmd1[j + 1];
    menuActionCmd1[j + 1] = k;
    flag = false;
    }

    }
    }

    I think the error is somewhere here.
    Reply With Quote  
     

  9. #9  
    Owner of Zantarix Notepad's Avatar
    Join Date
    Oct 2008
    Age
    33
    Posts
    580
    Thanks given
    21
    Thanks received
    33
    Rep Power
    67
    no thats not it
    its a tutorial added that makes the interface like that find the tutorial and remove it by going backwards from the tutorial and you should be fine
    Reply With Quote  
     

  10. #10  
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    32
    Posts
    2,658
    Thanks given
    928
    Thanks received
    82
    Rep Power
    369
    My BattleScape Client right click Interface doesn't do that.
    Works 100% im going release it tomorrow night.

    im releasing the whole client.
    Reply With Quote  
     

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
  •