| · Pete®tje's Rules · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
|
|
|
|
![]() ![]() ![]() |
| Eloise |
Posted: Nov 2 2009, 20:56
|
|
Member Group: Members Posts: 23 Member No.: 233 Joined: 20-January 06 |
Hiya Peterje
I wonder if you could help with this problem I've been having the last week plz? When our trivia reached the 2147483647 limit and someone would answer another question they would go into minus and then have to answer doubles to get themselves back out. Well... this past week this hasn't happened and the scores just carry on building up and up... which can get a bit silly lol I don't know what has gone wrong with it, as it's always worked fine. The room is on Phreik and I don't know if it's anything to go with them now being UnrealIRCD rather than OCX (cos I don't know what the difference is lol If you could give any suggestions as to why it's not working as it used to, I'd be ever so grateful. Thanx very much Eloise |
| Pete®tje |
Posted: Nov 2 2009, 22:18
|
|
Forum Owner ![]() Group: Executive Posts: 576 Member No.: 1 Joined: 12-May 04 |
It has to do with the computer or operating system that you are using. The number you are showing is exactly 2G - 1, which in binary is: 1111111111111111111111111111111. This means all 31 bits all full. Either your computer or OS can't calc further.
|
| Eloise |
Posted: Nov 2 2009, 22:27
|
|
Member Group: Members Posts: 23 Member No.: 233 Joined: 20-January 06 |
Thanx so much for a quick reply
I am using Windows Vista BUT even when I was using Windows XP the max score they could reach before going to minus was always 2147483647. I've been using Vista for a while now and this has never happened before. |
| Eloise |
Posted: Nov 7 2009, 22:34
|
|
Member Group: Members Posts: 23 Member No.: 233 Joined: 20-January 06 |
I also tried another script I have on a PC using Windows XP, the same thing happened.
After asking various people a number of times, I've since been informed that it could be the points people are being awarded per question are set too high, and I've also been told to lower the amount of points that people can bet. Soooo... I was wondering if you can tell me how I do this... what part of the script do I change so the maximum points anyone can bet is 10000 Any help, as always, is much appreciated |
| Pete®tje |
Posted: Nov 9 2009, 20:01
|
|
Forum Owner ![]() Group: Executive Posts: 576 Member No.: 1 Joined: 12-May 04 |
It is the maximum number where your mirc can calculate with because it uses 32 bits. You can lower the maximum amount where you can bet using the supertrivia settings.
|
| FireHorse |
Posted: Nov 10 2009, 14:57
|
||
|
Member Group: Members Posts: 30 Member No.: 121 Joined: 10-November 04 |
this might work add this line: if (%p > 9999) { mstat *s4 Please bet less than 10000 points $nick | return } in the spot below
hope that helps FireHorse |
||
![]() |
![]() ![]() ![]() |