Evenly Incremented Rank
-
This is an old question, I remember it from the old TLR boards.
The desire is to have an evenly incremented Rank. A new player with about 50,000 credits would show as rank 1, A player with a net worth of 1 billion would show as rank 45 and a player with a net worth of 2 billion would show as rank 90.
Has anyone found a solution yet?
-
Ptough is restricted to level 40. It keeps going until 999,999,999 is reached, taking the previous value * 1.125. If you can be more specific about what you want, I can hack the calculation. If you want to DIY, go to 0A9E00 in content.dll and 0A9DE8 & 0A9F75 to set the limit to stop. If you want to type 'em all in, go to 0A9D8E and change 40b to whatever (127 max, although I’m not really sure if it allocates the extra space).
-
@Sethernis: I believe so. Here’s one that ignores the test altogether, theoretically allowing any number of levels: 0A9D93, 7F->EB.
@Gisteron: Why not use a range, thus having both? For example, if recruit is 1…5 and pilot is 6…10, it could show as “Recruit (2)” or “9 - Pilot”. If you want fewer ranks, use the patch above (assuming you want more than 40) and make the last rank at 999 999 999 (or whatever limit you set).
-
-
Heh, finished it before you posted. Here is what we did. We went straight to the 0a9d8e and changed the 28 to 64 (assuming this meant rank 40 to 100). Then I built a custom ptough.ini with my desired ranges of money to rank 100 and tested it. Worked like a charm! Thanks adoxa!
UnderVerse 2.25 release, Rank vs Net Worth
Thanks to Adoxa for the hex edit and to [RIP]d3jake for helping me insert it.
New player = Rank 1 (formerly Rank 24)
Sell the manual ($5 million) = Rank 5 (formerly Rank 44)
Gain $5 million more = Rank 10 (then you are fair game) (formerly Rank 50)
$1 billion net worth = Rank 50 (formerly Rank 89)
$2 billion net worth = Rank 100 (formerly Rank 90) -
Hi, sorry for bumping old topic.
So I’ve been doing some research on this and ptough.ini, and found some things:
[olist]-
As adoxa said, [c]ptough.ini[/c] is restricted to level 40, providing the format [c]ptough_graph_pt = <worth>,<level>[/c].</level></worth>
-
This limit is hardcoded at [c]content.dll A9D8E[/c] as a byte, only allowing 127 as maximum.
adoxa wrote:
@Sethernis: I believe so. Here’s one that ignores the test altogether, theoretically allowing any number of levels: 0A9D93, 7F->EB.Adoxa is right about that the test can be ignored, but provides the wrong patch; this is the correct one:
content.dll A9D93 7F 0F -> 90 90 = ignore rank level limit test, theoretically allowing any number of levels ~adoxa, Gold_Sear
-
There’s theoretically no limitations about what you can enter for <worth>and <level>, levels need not be consecutive and neither do worths. Worth noting is that when leveling up, the reached level is shown correctly in the rep screen up to 1410065408, but in the announcement at top center of screen, only the last two bytes are shown, e.g 50000 and 65535 are shown correctly, but 100000 will become 34464.</level></worth>
[/olist]
Hope this clears things up a bit.
-