Upping the Credit Limit
-
Hi there, i have apply the patch
but when a new player connect, he start with 4.294.967.295$the only things i’ve changed is
06F46E: FF C9 9A 3B [ FF C9 9A 3B ]
06F475: FF C9 9A 3B [ FF C9 9A 3B ]
06F4A6: FF C9 9A 3B [ FF C9 9A 3B ]
06F4AD: FF C9 9A 3B [ FF C9 9A 3B ]
06F517: FF C9 9A 3B [ 04 33 F6 EB ]
075437: FF C9 9A 3B [ F6 EB 0D 81 ]
0754E0: FF C9 9A 3B [ FF C9 9A 3B ]
0754E7: FF C9 9A 3B [ FF C9 9A 3B ]
076421: FF C9 9A 3B [ F6 EB 0D 81 ]to
06F46E: FF FF FF FF [ FF C9 9A 3B ]
06F475: FF FF FF FF [ FF C9 9A 3B ]
06F4A6: FF FF FF FF [ FF C9 9A 3B ]
06F4AD: FF FF FF FF [ FF C9 9A 3B ]
06F517: FF FF FF FF [ 04 33 F6 EB ]
075437: FF FF FF FF [ F6 EB 0D 81 ]
0754E0: FF FF FF FF [ FF C9 9A 3B ]
0754E7: FF FF FF FF [ FF C9 9A 3B ]
076421: FF FF FF FF [ F6 EB 0D 81 ]am i missed something or make it wrong ?
-
adoxa wrote:
Here’s the big (untested) patch to catch cash overflow errors (so the magic 2 billion value should be possible) and remove the limit altogether (maxing out at the magic 4 billion value) when determining worth. Didn’t look into preventing transactions.# Test for overflow when adjusting cash. # Treat worth as unsigned (and "unlimited"). # Jason Hood, 14 & 16 December, 2010. File: freelancer.exe # Display current worth (any monetary value) as unsigned. 077A14: 00 CA 9A 3B [ 40 42 0F 00 ] 077A22: 73 [ 7D ] 077A2A: 31 D2 F7 F7 84 C9 96 [ 99 F7 FF 84 C9 8B F0 ] File: content.dll # Use unsigned worth for rank calculation. 0A947F: 83 C4 10 D9 44 E4 14 [ DB 44 24 30 83 C4 10 ] E8 A5 FC 05 00 03 44 E4 20 [ D8 44 24 14 E8 A1 FC 05 00 ] File: server.dll # Desired cash limit - maximum is 2_147_483_647 (FF FF FF 7F); # default is 999_999_999 (FF C9 CA 3B). 06F46E: FF C9 9A 3B [ FF C9 9A 3B ] 06F475: FF C9 9A 3B [ FF C9 9A 3B ] 06F4A6: FF C9 9A 3B [ FF C9 9A 3B ] 06F4AD: FF C9 9A 3B [ FF C9 9A 3B ] 06F517: FF C9 9A 3B [ 04 33 F6 EB ] 075437: FF C9 9A 3B [ F6 EB 0D 81 ] 0754E0: FF C9 9A 3B [ FF C9 9A 3B ] 0754E7: FF C9 9A 3B [ FF C9 9A 3B ] 076421: FF C9 9A 3B [ F6 EB 0D 81 ] 06CD6C: 7E [ 76 ] # unsigned test for cheat detection # Handle overflow for IServImpl::ReqChangeCash. 06F4E9: 54 [ 44 ] 06F4F1: 97 [ 87 ] 06F4FC: 90 90 [ 03 F0 ] 06F509: 4F [ 57 ] 06F50C: C9 [ D2 ] 06F514: 01 D6 B8 [ 85 F6 7D ] 06F51B: 70 0A 79 04 [ 0D 81 FE FF ] 31 F6 EB 06 [ C9 9A 3B 7E ] 39 C6 7E 02 [ 05 BE FF C9 ] 89 C6 [ 9A 3B ] # Use unsigned values when calculating current worth. 06FB99: 01 CD 73 15 5F EB 79 [ 81 F9 FF C9 9A 3B 7F ] 06FC05: 00 01 F5 72 0F EB 04 [ 13 81 FD FF C9 9A 3B ] 06FC1C: FF FF FF FF [ FF C9 9A 3B ] # Handle overflow for pub::Player::AdjustCash. 07541A: 90 90 [ 03 F0 ] 075432: 03 74 E4 10 B8 [ 85 F6 7D 04 33 ] 07543B: 70 08 79 02 [ FE FF C9 9A ] 31 F6 39 C6 [ 3B 7E 05 BE ] 7E 02 89 C6 [ FF C9 9A 3B ] # Handle overflow for pub::Player::RewardGroup. 076401: 90 90 [ 03 F0 ] 07641C: 03 74 E4 10 B8 [ 85 F6 7D 04 33 ] 076425: 70 08 79 02 [ FE FF C9 9A ] 31 F6 39 C6 [ 3B 7E 05 BE ] 7E 02 89 C6 [ FF C9 9A 3B ] ```(Search for BPatch to apply it automatically.)
Find a problem.
If you are edited above hex, then you can’t let this hex edit to work:
http://the-starport.net/freelancer/forum/viewtopic.php?post_id=32877#forumpost32877
even you make a new ptough.ini files and setting it to level 100, even you setting your credits to 2147483647, in the game you will still see your level is 40 limit.
May anyone can solve it?