You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
I would also use a checklistbox for the clients, with this then you wont need to use the numericupdowns and you save a ton of space.
- 1useful
- 0not useful
#12. Posted:
Status: Offline
Joined: Dec 18, 201113Year Member
Posts: 187
Reputation Power: 7
looks great keep up the good work!
- 0useful
- 0not useful
#13. Posted:
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
XeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
- 0useful
- 0not useful
#14. Posted:
Status: Offline
Joined: Jun 08, 201212Year Member
Posts: 407
Reputation Power: 18
Status: Offline
Joined: Jun 08, 201212Year Member
Posts: 407
Reputation Power: 18
MHU_Lobbies wroteXeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
You don't need to add a bool, just use an if command to see if its switched ON/OFF. Bool will do the same thing though lol
- 0useful
- 0not useful
#15. Posted:
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
All of the sudden, my hud doesn't work, and if I open up another person's tool, and use their hud, it doesn't work either. Could that be a problem with my computer?
- 0useful
- 0not useful
#16. Posted:
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
XeXStozza wroteMHU_Lobbies wroteXeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
You don't need to add a bool, just use an if command to see if its switched ON/OFF. Bool will do the same thing though lol
for switch i do what xexstozza said:
if(buttonname.checked == true)
{
//on
}
else
{
//off
}
for your hud elems it could be a internet connection as i had that problem when i made my first tool, best way to find out use a try catch system so add
try
{
at the top of the button and at the bottom add
catch{messagebox.show("my connection sucks oj");}
}
- 0useful
- 0not useful
#17. Posted:
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
ZZ9_x_iHaXoRZz wroteXeXStozza wroteMHU_Lobbies wroteXeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
You don't need to add a bool, just use an if command to see if its switched ON/OFF. Bool will do the same thing though lol
for switch i do what xexstozza said:
if(buttonname.checked == true)
{
//on
}
else
{
//off
}
for your hud elems it could be a internet connection as i had that problem when i made my first tool, best way to find out use a try catch system so add
try
{
at the top of the button and at the bottom add
catch{messagebox.show("my connection sucks oj");}
}
I mean I get an error in the line, but I haven't changed the line from before. And as well as every button I have that shows a little hud, does work, but doesn't show the hud, and crashes.
- 0useful
- 0not useful
#18. Posted:
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
MHU_Lobbies wroteZZ9_x_iHaXoRZz wroteXeXStozza wroteMHU_Lobbies wroteXeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
You don't need to add a bool, just use an if command to see if its switched ON/OFF. Bool will do the same thing though lol
for switch i do what xexstozza said:
if(buttonname.checked == true)
{
//on
}
else
{
//off
}
for your hud elems it could be a internet connection as i had that problem when i made my first tool, best way to find out use a try catch system so add
try
{
at the top of the button and at the bottom add
catch{messagebox.show("my connection sucks oj");}
}
I mean I get an error in the line, but I haven't changed the line from before. And as well as every button I have that shows a little hud, does work, but doesn't show the hud, and crashes.
What the error you getting bro. ?
- 0useful
- 0not useful
#19. Posted:
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
ZZ9_x_iHaXoRZz wroteMHU_Lobbies wroteZZ9_x_iHaXoRZz wroteXeXStozza wroteMHU_Lobbies wroteXeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
You don't need to add a bool, just use an if command to see if its switched ON/OFF. Bool will do the same thing though lol
for switch i do what xexstozza said:
if(buttonname.checked == true)
{
//on
}
else
{
//off
}
for your hud elems it could be a internet connection as i had that problem when i made my first tool, best way to find out use a try catch system so add
try
{
at the top of the button and at the bottom add
catch{messagebox.show("my connection sucks oj");}
}
I mean I get an error in the line, but I haven't changed the line from before. And as well as every button I have that shows a little hud, does work, but doesn't show the hud, and crashes.
What the error you getting bro. ?
Ok, the error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in XRPC.dll
Additional information: Exception from HRESULT: 0x82DA0004
And the code that says is messed up:
Jtag.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x01 });
- 0useful
- 0not useful
#20. Posted:
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 414
Reputation Power: 17
MHU_Lobbies wroteZZ9_x_iHaXoRZz wroteMHU_Lobbies wroteZZ9_x_iHaXoRZz wroteXeXStozza wroteMHU_Lobbies wroteXeXStozza wrote Use switchButtons instead of having 2 buttons to turn each feature on and off
Alright i'm going to add a bool.
Thanks alot for the feedback guys!
You don't need to add a bool, just use an if command to see if its switched ON/OFF. Bool will do the same thing though lol
for switch i do what xexstozza said:
if(buttonname.checked == true)
{
//on
}
else
{
//off
}
for your hud elems it could be a internet connection as i had that problem when i made my first tool, best way to find out use a try catch system so add
try
{
at the top of the button and at the bottom add
catch{messagebox.show("my connection sucks oj");}
}
I mean I get an error in the line, but I haven't changed the line from before. And as well as every button I have that shows a little hud, does work, but doesn't show the hud, and crashes.
What the error you getting bro. ?
Ok, the error:An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in XRPC.dll
Additional information: Exception from HRESULT: 0x82DA0004
And the code that says is messed up:Jtag.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x01 });
My full code is:
public void setIcon(uint elem, uint shader, int width, int height, float x, float y, uint align, float sort = 0, int r = 255, int g = 255, int b = 255, int a = 255)
{
Jtag.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x04 });
Jtag.SetMemory(elem + HElems.relativeOffset, uintBytes(0x05));
Jtag.SetMemory(elem + HElems.relativeOffset - 4, uintBytes(0x06));
Jtag.SetMemory(elem + HElems.shaderOffset, uintBytes(shader));
Jtag.SetMemory(elem + HElems.heightOffset, ReverseBytes(BitConverter.GetBytes(height)));
Jtag.SetMemory(elem + HElems.widthOffset, ReverseBytes(BitConverter.GetBytes(width)));
Jtag.SetMemory(elem + HElems.alignOffset, uintBytes(align));
Jtag.SetMemory(elem + HElems.textOffset + 4, ReverseBytes(BitConverter.GetBytes(sort)));
Jtag.SetMemory(elem + HElems.xOffset, ReverseBytes(BitConverter.GetBytes(x)));
Jtag.SetMemory(elem + HElems.yOffset, ReverseBytes(BitConverter.GetBytes(y)));
}
public void setText(uint elem, byte[] text, uint font, float fontScale, float x, float y, uint align, int r = 255, int g = 255, int b = 255, int a = 255)
{
Jtag.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x01 });
Jtag.SetMemory(elem + HElems.textOffset, text);
Jtag.SetMemory(elem + HElems.relativeOffset, uintBytes(0x05));
Jtag.SetMemory(elem + HElems.relativeOffset - 4, uintBytes(0x06));
Jtag.SetMemory(elem + HElems.fontOffset, uintBytes(font));
Jtag.SetMemory(elem + HElems.alignOffset, uintBytes(align));
Jtag.SetMemory(elem + HElems.textOffset + 4, new byte[] { 0x40, 0x00 });
Jtag.SetMemory(elem + HElems.fontSizeOffset, ReverseBytes(BitConverter.GetBytes(fontScale)));
Jtag.SetMemory(elem + HElems.xOffset, ReverseBytes(BitConverter.GetBytes(x)));
Jtag.SetMemory(elem + HElems.yOffset, ReverseBytes(BitConverter.GetBytes(y)));
}
Anyone help please?
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.