Who can do that (5165 source)

03/06/2010 11:11 262315610#1
I want change level more than 255
I want change life more than 65535

Who can help me to do that!
03/06/2010 11:27 Paralyzer[GM]#2
You dont want to change it too much !
03/06/2010 12:12 ramix#3
wrong section

#request to move
03/06/2010 12:26 Huseby#4
#Moved
03/06/2010 12:45 Korvacs#5
Sorry but both of your requests are impossible. The clients value for level only allows values upto 255, after that it returns to 0 and starts counting again and will do so untill your entire number has been converted into a byte. Also the client again has a maximum value for the health which happens to again be 65535, theres no way around it, the client was just built that way.
03/06/2010 13:22 262315610#6
Quote:
Originally Posted by Korvacs View Post
Sorry but both of your requests are impossible. The clients value for level only allows values upto 255, after that it returns to 0 and starts counting again and will do so untill your entire number has been converted into a byte. Also the client again has a maximum value for the health which happens to again be 65535, theres no way around it, the client was just built that way.

How to edit client?
03/06/2010 13:31 Korvacs#7
You cannot edit the client to do that.
03/06/2010 13:40 Basser#8
Once again Korvacs proves he is a good mod. :)

I'll explain why it has the certain max number.
A byte has a max value of 255.
An (unsigned integer)uint16 has a max value of 65535.
So if you would want it to be a bigger value, you would have to make the byte for example an uint16, and the uint16, an uint32.
03/06/2010 13:45 Korvacs#9
Heres the max value of the ushort:

[Only registered and activated users can see links. Click Here To Register...]

As you can see there are 16 1's running along the bottom row of binary display.

Those are bits, a byte has 8 bits, a ushort = 2 bytes, so a ushort has 16 bits, so 65535 is the maximum value since every bit is being used.
03/06/2010 15:37 Arcо#10
Quote:
Originally Posted by Hepatitis X View Post
Once again Korvacs proves he is a good mod. :)
An (unsigned integer)uint16 has a max value of 65535.
:facepalm:
4,294,967,295
03/06/2010 15:49 262315610#11
I know this ushort value max 65535
but my Question is how to change life more than 65535 with a meaning of how to change life value type ushort to uint and more than big type
03/06/2010 15:51 PeTe Ninja#12
Quote:
Originally Posted by .Arco View Post
:facepalm:
4,294,967,295
4 294 967 295 is uint32 ... :facepalm: he is right..

you can't change it unless you change the client.. and korvacs said u can't change the client there probably is some way but yeah..
03/06/2010 15:53 Arcо#13
Ah read it wrong.
03/06/2010 15:56 PeTe Ninja#14
you probably just thought of uint..
03/06/2010 23:36 ~Yuki~#15
he acually wrote uint and used uint16 in the same sentence makes no sense at all.

I win.

You both loose.

:D