[C#] OverflowException was undhandeld by usercode [Plus]
Hey, after I click a button my whole PC going slow. (With other users to)
I searched and found this was the problem. What is the best method to fix this?
PHP Code:
Responce.AppendInt32(CurrentCycle * 1000000);
See image:
http://s22.postimg.org/mfzuszz40/IMG...014_003658.jpg
Re: [C#] OverflowException was undhandeld by usercode [Plus]
Multiplying a number by a million shouldn't slow down your computer, are you sure you got the right line number?
Re: [C#] OverflowException was undhandeld by usercode [Plus]
Try use a double instead int
Re: [C#] OverflowException was undhandeld by usercode [Plus]
Quote:
Originally Posted by
Quackster
Multiplying a number by a million shouldn't slow down your computer, are you sure you got the right line number?
Yes, it automatic goes to that line, and it just like your PC freezes (Slowing down)
- - - Updated - - -
Quote:
Originally Posted by
Bola
Try use a double instead int
I will try
- - - Updated - - -
@Bola By the way, why will a double be better than a Int(32)
Re: [C#] OverflowException was undhandeld by usercode [Plus]
Quote:
Originally Posted by
Squashing
Yes, it automatic goes to that line, and it just like your PC freezes (Slowing down)
- - - Updated - - -
I will try
- - - Updated - - -
@
Bola By the way, why will a double be better than a Int(32)
- - - Updated - - -
@
Bola By the way, why will a double be better than a Int(32)
A buffer overflow occurs when data written to a buffer also corrupts data values in memory addresses adjacent to the destination buffer due to insufficient bounds checking. This can occur when copying data from one buffer to another without first checking that the data fits within the destination buffer
try a long or a double
Re: [C#] OverflowException was undhandeld by usercode [Plus]
Quote:
Originally Posted by
Bola
A buffer overflow occurs when data written to a buffer also corrupts data values in memory addresses adjacent to the destination buffer due to insufficient bounds checking. This can occur when copying data from one buffer to another without first checking that the data fits within the destination buffer
try a long or a double
Okay thanks for the comment, will start at it now :)
Re: [C#] OverflowException was undhandeld by usercode [Plus]
The integer value is to big and exceeds 2^31 -1
Besides, you have snowstorm working?
Offtopic: You might want to hide that IP. You know how some people in the community roll.
Re: [C#] OverflowException was undhandeld by usercode [Plus]
Quote:
Originally Posted by
The General
The integer value is to big and exceeds 2^31 -1
Besides, you have snowstorm working?
Offtopic: You might want to hide that IP. You know how some people in the community roll.
Y, I saw it.
And I am busy with it, it does load all connections and it loads all users.
And thanks.