Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (-1) | Shanky.com
negative points
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  Freq's Post :: Post TimeZonebias banning: I'm the Guy....  View next topic  
Author Message
Cancer+
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Aug 19 2005
Posts: 271
Offline

PostPosted: Sun Aug 28, 2005 10:41 pm    Post subject: Reply to topic Reply with quote

err
fixedkillreward is 5000 not 50000
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cancer+
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Aug 19 2005
Posts: 271
Offline

PostPosted: Mon Aug 29, 2005 11:51 pm    Post subject: Reply to topic Reply with quote

can anyone help me on this? it is still happening
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cancer+
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Aug 19 2005
Posts: 271
Offline

PostPosted: Wed Aug 31, 2005 1:17 am    Post subject: Reply to topic Reply with quote

ok i figured it out

the points for killpoints and killperflag points added together and multiplied and alot of math...was too high. i believe solo said this before. thanks anyways.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Lazy-Katie
Guest


Offline

PostPosted: Fri Sep 02, 2005 7:50 pm    Post subject: Reply to topic Reply with quote

[quote="Gravitron"]Bounty issues are handled as solo ace explained.
Simply put, if you set the bounties too high, they roll over to the negative spectrum...[quote]

Wait, so you mean there's a max to positive numbers? There's another positive <-> negative interger point besides zero?
Back to top
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri Sep 02, 2005 9:16 pm    Post subject: Reply to topic Reply with quote

It just depends on how the program "looks" at the value.
A book is small compared to a house, but the book's big compared to an ant (that doesn't have much to do with what you're asking though, and yeah, it's a great explaination, I know). sa_tongue.gif

An int type (4 bytes) has the ability to store more data than a short type (2 bytes), of course. And depending on how the program looks at the value (as a signed or unsigned) it can be negative (signed) or not (unsigned).

Code: Show/Hide
max_unsigned_int            = 4294967295
max_unsigned_int += 1       = 0

max_signed_int              = 2147483647
max_signed_int += 1         = -2147483648

max_unsigned_short          = 65535
max_unsigned_short += 1     = 0

max_signed_short            = 32767
max_signed_short += 1       = -32768

So, yes, 0 isn't always what it goes back to.
It's pretty silly how Continuum handles points, obviously.
Back to top
View users profile Send private message Add User to Ignore List
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Sat Sep 03, 2005 12:18 am    Post subject: Reply to topic Reply with quote

Kitten Queen wrote:
Wait, so you mean there's a max to positive numbers?

In a word, yes.


Byte (8 bits = 2^8 values = 256 characters)
Word (16 bits = 2^16 values = 35,536 characters)
Dword = double word (32 bits = 2^32 values = 4,294,967,296 characters)

Unsigned byte range from 0 to 255
Signed byte range from -128 to 128
Unsigned short integer range from 0 to 35535
Signed short integer range from -32,768 to 32,768
Unsigned long integer range from 0 to 4,294,967,295
Signed long integer range from -2,147,483,648 to 2,147,483,647

As you can see, if you define the memory area as signed (IE hold plus/minus attribute) when you bypass the highest possible number, the value will rollover to the lowest negative one and start climbing back up, same effect is true vice versa (going below lowest possible negative number will rollover to highest possible positive).
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Sep 03, 2005 10:20 am    Post subject: Reply to topic Reply with quote

Grav wrote:
value will rollover to the lowest negative one and start climbing back up, same effect is true vice versa

As cute as it is that you basically said the same thing Solo did, what you added is wrong. It will roll over to the highest negative number because, in simple terms, 0xFFFFFFFF is -1.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Sat Sep 03, 2005 12:40 pm    Post subject: Reply to topic Reply with quote

So, if I was to take 128, add 1, I'll be at -1 not -128?
And if I was at -128 and add 1, I'll be at 1 not 128?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3616
Location: Las Vegas
Offline

PostPosted: Sat Sep 03, 2005 1:30 pm    Post subject: Reply to topic Reply with quote

Gravitron wrote:
So, if I was to take 128, add 1, I'll be at -1 not -128?
And if I was at -128 and add 1, I'll be at 1 not 128?

For signed 8 bit integer, 128 is impossible. The highest is 127 (01111111). If you'd add 1 to that, you'd get -128 (10000000). Add one to that, you'd get -127 (10000001).

In your previous post, unsigned short ranges up to 32,767 not 32,768. You did get long correct. This is assuming that the computer system is using two's complement, which pretty much every system does use. For those that still don't understand why if you add two positive numbers, you might end up with a negative number, or a smaller positive number, read the Wiki like on two's complement.
Back to top
View users profile Send private message Add User to Ignore List Send email
Lazy-Katie
Guest


Offline

PostPosted: Sat Sep 03, 2005 1:38 pm    Post subject: Reply to topic Reply with quote

I was being sarcastic.
Back to top
D1st0rt
Miss Directed Wannabe


Age:38
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Sep 03, 2005 1:56 pm    Post subject: Reply to topic Reply with quote

Ugh, all of this reminds me of the IB CS exam where one of the problems was representing -113 as a floating point number using a 6 bit mantissa and a 4 bit exponent.
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Sep 03, 2005 3:44 pm    Post subject: Reply to topic Reply with quote

What did you have to do? Just give the hex value for mantissa and exponent? That sounds easy enough to me.

Just curious, what material was there on the IB exam? I would have taken IB CS, but they switched from C++ to Java that year for the AP.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Sun Sep 04, 2005 9:26 am    Post subject: Reply to topic Reply with quote

Ops, yeah, 127 and 32767.
Just did a division to 2 and forgot to take one off the positive.
Anyway, so if I was right, then WTF that nimrod cyan is bullshitting about?
I knew there's a good reason I consider him an idiot.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Sep 04, 2005 11:50 am    Post subject: Reply to topic Reply with quote

I'm sorry, I see what you were saying now. I was thinking of -127 as the "highest negative number", I guess I'm just weird like that. icon_razz.gif My bad.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Sun Sep 04, 2005 4:07 pm    Post subject: Reply to topic Reply with quote

Yeah, your brain works on double negative, it goes like : duuurr highest negative that must mean the highest aboslute number and throw a minus infront of it, regardless of mathematical realities being that low is always in declining order whilst high is always placed on the incrementing order...duuuurrrrrr
Lowest negative between -10 and 10 is -1, because 1 is the like lowest number, no -1 is not highest, duurrrrr, -127 that's highest negative, not lowest, duuurrrrr.


Allow me to reiterate: MORON!
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 61 page(s) served in previous 5 minutes.

phpBB Created this page in 0.212976 seconds : 39 queries executed (84.8%): GZIP compression disabled