- Joined
- Sep 5, 2010
- Messages
- 5
- Reaction score
- 0
I'm wondering, how the gamble and fix system works and how the random pattern is made.
Does anyone have an idea on this?
Does anyone have an idea on this?
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!I have not really checked that, but I can give you an idea to find the exact algorithm.
First, get used to disassbmly and get IDA Pro. Then, find what kind of log or message is written when you fix (that is, some text). Try to find it in the fieldserver (printf format) and then find its references in the disassembly. Try to follow the code backwards till you find the algorithm. It will most probably have a call to rand() in it. Use IDA Pro to generate some higher level code. You will still have to check the assembly of course.
If you are unsure whether the function you have found is the right one, use a debugger as well and confirm it.
This is pretty much what I think I would do. Otherwise you can check how many calls to rand() are in the fieldserver. If they are few enough, maybe you can just check them one by one.