its the right click interface.
my best advise would be to remove it
|
Can anybody fix it?
I'm using battlescape 317.
Lol,but i want to fix it.
Where is the tutorial?
okok.
Thank you.
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.
My BattleScape Client right click Interface doesn't do that.
Works 100% im going release it tomorrow night.
im releasing the whole client.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |