Page 50 of 93 FirstFirst ... 4046474849505152535460 ... LastLast
Results 1,226 to 1,250 of 2304

Thread: Offsets

  1. #1226

    Join Date
    04-03-12
    Location
    Serbia,Belgrade,Zemun
    Posts
    977
    vCash
    900
    And pasquale,how many aliases u have?

  2. #1227

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    007ABEA0 MOV EAX,DWORD PTR DS:[EAX+88]
    007ABEA6 CMP EAX,15E
    007ABEAB JGE 007AC3DD

    I think these 3 lines are accessing nation.staffCount, comparing it to 350 (0x15e), then jumping if the nation has at least 350 staff. I think this might relate to the age of regens, so changing the JGE to JMP might result in younger regens rather than the 26 years olds you get from lesser nations.

  3. #1228

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    007ABEA0 MOV EAX,DWORD PTR DS:[EAX+88]
    007ABEA6 CMP EAX,15E
    007ABEAB JGE 007AC3DD

    I think these 3 lines are accessing nation.staffCount, comparing it to 350 (0x15e), then jumping if the nation has at least 350 staff. I think this might relate to the age of regens, so changing the JGE to JMP might result in younger regens rather than the 26 years olds you get from lesser nations.

  4. #1229
    Craig Forrest's Avatar
    Craig Forrest is offline Manager
    Programmer
    Forum Enforcer
    Holy Trinity Member

    Join Date
    02-03-12
    Location
    The Great White North
    Posts
    4,499
    vCash
    3847
    Quote Originally Posted by djole2mcloud View Post
    It can be used as european competition,just like i did with asian...but to move it to be shown under european competition menu that is the hard part...
    Has that been figured out? I mean I can, for example, use an editor to switch say the Dutch Cup to Turkey and have it only select Turkish teams for the competition.... but I still have to load up both Holland and Turkey if I want the cup to show up....

  5. #1230

    Join Date
    04-03-12
    Location
    Diadema (SP), Brazil
    Posts
    260
    vCash
    600
    In recent days I discovered something amazing.

    First, go to the line that corresponds to disabling of a competition. Ex: 00833027 which disables the Brazilian Champions Cup.

    You will see that some where down the line JE SHORT ... have a CALL ...


    This CALL is always the offset of the competition that will be loaded in this "slot". If you click on it and hit enter, take you to the first line of the first reference line of the competition (usually the first line is PUSH -1).


    Thus, you can make competitions occur in different leagues of the original.

    So I make the following modification:
    00833046 CALL 004259A0 > CALL 0066D820

    0066D820 is the first line of the first reference line of the Korean Super Cup.

    And this happens: The Korean Super Cup is loaded in place of the Brazilian Cup Champions!


    I change the participants of this super cup and transform it into Brazilian Supercup, competition that we have from 2015.


    With this will be possible to make exchanges of competition's structures.

    I hope it was understandable.

  6. #1231

    Join Date
    04-03-12
    Location
    Diadema (SP), Brazil
    Posts
    260
    vCash
    600
    In recent days I discovered something amazing.

    First, go to the line that corresponds to disabling of a competition. Ex: 00833027 which disables the Brazilian Champions Cup.

    You will see that some where down the line JE SHORT ... have a CALL ...


    This CALL is always the offset of the competition that will be loaded in this "slot". If you click on it and hit enter, take you to the first line of the first reference line of the competition (usually the first line is PUSH -1).


    Thus, you can make competitions occur in different leagues of the original.

    So I make the following modification:
    00833046 CALL 004259A0 > CALL 0066D820

    0066D820 is the first line of the first reference line of the Korean Super Cup.

    And this happens: The Korean Super Cup is loaded in place of the Brazilian Cup Champions!


    I change the participants of this super cup and transform it into Brazilian Supercup, competition that we have from 2015.


    With this will be possible to make exchanges of competition's structures.

    I hope it was understandable.

  7. #1232
    Craig Forrest's Avatar
    Craig Forrest is offline Manager
    Programmer
    Forum Enforcer
    Holy Trinity Member

    Join Date
    02-03-12
    Location
    The Great White North
    Posts
    4,499
    vCash
    3847
    Question:

    How do we know which offset disables the competition.. and how do we know what offset to point the call command to?

  8. #1233

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    29,500
    vCash
    6005
    Quote Originally Posted by giovanisantana29 View Post
    In recent days I discovered something amazing.
    Very nice. I think someone found this earlier in the thread or in a different thread, I can't find it though. As far as I can remember you can use any comp in the database (even in the inactive ones) and do as you have done.
    Last edited by Dermotron; 12-09-14 at 04:13 PM.

  9. #1234

    Join Date
    04-03-12
    Location
    Diadema (SP), Brazil
    Posts
    260
    vCash
    600
    Quote Originally Posted by Craig Forrest View Post
    Question:

    How do we know which offset disables the competition.. and how do we know what offset to point the call command to?
    Offsets disables the competition:
    Spoiler!


    And the CALL offset, do this to discover it:

    1 Go to some competition from its address (E:\dev\CM3\cm3 00-01\cm3\code\comp\cups\bra_champ_cup.cpp).
    2 Go to the 1st reference line.
    3 Scroll up a bit to find the first line (which is usually PUSH -1). This line will be the offset.

  10. #1235

    Join Date
    04-03-12
    Location
    Diadema (SP), Brazil
    Posts
    260
    vCash
    600
    Quote Originally Posted by Craig Forrest View Post
    Question:

    How do we know which offset disables the competition.. and how do we know what offset to point the call command to?
    Offsets disables the competition:
    Spoiler!


    And the CALL offset, do this to discover it:

    1 Go to some competition from its address (E:\dev\CM3\cm3 00-01\cm3\code\comp\cups\bra_champ_cup.cpp).
    2 Go to the 1st reference line.
    3 Scroll up a bit to find the first line (which is usually PUSH -1). This line will be the offset.

  11. #1236
    Craig Forrest's Avatar
    Craig Forrest is offline Manager
    Programmer
    Forum Enforcer
    Holy Trinity Member

    Join Date
    02-03-12
    Location
    The Great White North
    Posts
    4,499
    vCash
    3847
    and of course the offset to disable the concacaf champions cup is not there.....

  12. #1237

    Join Date
    04-03-12
    Location
    Diadema (SP), Brazil
    Posts
    260
    vCash
    600
    Quote Originally Posted by Craig Forrest View Post
    and of course the offset to disable the concacaf champions cup is not there.....
    00831802

  13. #1238

    Join Date
    04-03-12
    Location
    Diadema (SP), Brazil
    Posts
    260
    vCash
    600
    Quote Originally Posted by Craig Forrest View Post
    and of course the offset to disable the concacaf champions cup is not there.....
    00831802

  14. #1239
    Craig Forrest's Avatar
    Craig Forrest is offline Manager
    Programmer
    Forum Enforcer
    Holy Trinity Member

    Join Date
    02-03-12
    Location
    The Great White North
    Posts
    4,499
    vCash
    3847
    grazie

  15. #1240

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    Quote Originally Posted by Craig Forrest View Post
    Question:

    How do we know which offset disables the competition.. and how do we know what offset to point the call command to?
    The ones posted above are slightly old, a new more complete list can be found in this download: http://www.champman0102.co.uk/downlo...do=file&id=201
    Go to ./config/onoff/ and open 3.9.68.txt

  16. #1241
    Craig Forrest's Avatar
    Craig Forrest is offline Manager
    Programmer
    Forum Enforcer
    Holy Trinity Member

    Join Date
    02-03-12
    Location
    The Great White North
    Posts
    4,499
    vCash
    3847
    muchas gracias señor Locke

  17. #1242

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    007AFC47 CMP AX,0FA0
    007AFC4B JGE 007AFCEE

    Change the JGE to JMP and the Player & Staff Search feature will find EVERY player! Alternatively, adjust 0FA0 as desired - this is being compared to the player's world reputation, at present someone with 4000 (0xFA0) or higher is 'famous' and will always be found. Scouts, you're all fired!

    //same thing but for version 3.89
    007498E6 CMP AX,0FA0
    007498EA JGE 0074998D

    //3.81
    00746186 CMP AX,0FA0
    0074618A JGE 0074622D

    //3.9.60
    00797F97 CMP AX,0FA0
    00797F9B JGE 0079803E

    //3.9.65
    00799F47 CMP AX,0FA0
    00799F4B JGE 00799FEE
    Last edited by JohnLocke; 12-09-14 at 09:37 PM. Reason: typo

  18. #1243

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    007AFC47 CMP AX,0FA0
    007AFC4B JGE 007AFCEE

    Change the JGE to JMP and the Player & Staff Search feature will find EVERY player! Alternatively, adjust 0FA0 as desired - this is being compared to the player's world reputation, at present someone with 4000 (0xFA0) or higher is 'famous' and will always be found. Scouts, you're all fired!

    //same thing but for version 3.89
    007498E6 CMP AX,0FA0
    007498EA JGE 0074998D

    //3.81
    00746186 CMP AX,0FA0
    0074618A JGE 0074622D

    //3.9.60
    00797F97 CMP AX,0FA0
    00797F9B JGE 0079803E

    //3.9.65
    00799F47 CMP AX,0FA0
    00799F4B JGE 00799FEE

  19. #1244

    Join Date
    03-03-12
    Posts
    138
    vCash
    700
    I`m trying to get this thing working. No luck. Is the first numbers the offsets? When searching I can`t find anything.
    Been doing the 3.89 exe.

  20. #1245

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    Quote Originally Posted by Vikingfk View Post
    I`m trying to get this thing working. No luck. Is the first numbers the offsets? When searching I can`t find anything.
    Been doing the 3.89 exe.
    Yes, first value is the offset. Just change the second line (007498EA) from JGE 0074998D to JMP 0074998D.

  21. #1246

    Join Date
    05-06-12
    Posts
    1,032
    vCash
    3700
    Quote Originally Posted by Vikingfk View Post
    I`m trying to get this thing working. No luck. Is the first numbers the offsets? When searching I can`t find anything.
    Been doing the 3.89 exe.
    Yes, first value is the offset. Just change the second line (007498EA) from JGE 0074998D to JMP 0074998D.

  22. #1247

    Join Date
    30-06-14
    Posts
    418
    vCash
    1500
    Quote Originally Posted by JohnLocke View Post

    Change the JGE to JMP and the Player & Staff Search feature will find EVERY player! Alternatively, adjust 0FA0 as desired - this is being compared to the player's world reputation, at present someone with 4000 (0xFA0) or higher is 'famous' and will always be found. Scouts, you're all fired!
    This makes me want to bring up another issue:

    When us patchers come across information that might "harm" the game, should it still be made public?

    At least I have kept my mouth shut about several things, there are things to be discovered that would many aspects of the game no fun.
    Once you know everything, it is no longer fun. The magic disappears. It is just mechanics.
    Once this knowledge is commonplace, there is no more community.

    With great power comes great responsibility. Just because we can know things, one has to think if we really should tell the world.

    This is a change I probably would not have published, at least without a reason. It is not a big deal. But generally I believe cheats ruin games, more than make them more fun.

  23. #1248

    Join Date
    30-06-14
    Posts
    418
    vCash
    1500
    Quote Originally Posted by JohnLocke View Post

    Change the JGE to JMP and the Player & Staff Search feature will find EVERY player! Alternatively, adjust 0FA0 as desired - this is being compared to the player's world reputation, at present someone with 4000 (0xFA0) or higher is 'famous' and will always be found. Scouts, you're all fired!
    This makes me want to bring up another issue:

    When us patchers come across information that might "harm" the game, should it still be made public?

    At least I have kept my mouth shut about several things, there are things to be discovered that would many aspects of the game no fun.
    Once you know everything, it is no longer fun. The magic disappears. It is just mechanics.
    Once this knowledge is commonplace, there is no more community.

    With great power comes great responsibility. Just because we can know things, one has to think if we really should tell the world.

    This is a change I probably would not have published, at least without a reason. It is not a big deal. But generally I believe cheats ruin games, more than make them more fun.

  24. #1249

    Join Date
    03-03-12
    Posts
    138
    vCash
    700
    Quote Originally Posted by Tapani View Post
    This makes me want to bring up another issue:

    When us patchers come across information that might "harm" the game, should it still be made public?

    At least I have kept my mouth shut about several things, there are things to be discovered that would many aspects of the game no fun.
    Once you know everything, it is no longer fun. The magic disappears. It is just mechanics.
    Once this knowledge is commonplace, there is no more community.

    With great power comes great responsibility. Just because we can know things, one has to think if we really should tell the world.

    This is a change I probably would not have published, at least without a reason. It is not a big deal. But generally I believe cheats ruin games, more than make them more fun.
    I agree to this. I would for the reasons mentioned not use this "feature" on a regular basis. I consider this a "cheat" and that`s not
    really my thing. Don`t mind scouting at all. Makes the game more challenging and realistic.

  25. #1250

    Join Date
    27-08-14
    Posts
    308
    vCash
    1500
    Wish There was a really good video tutorial on how to do all this with CM0102.......

    Never used the ollydb program at all and it all seems complicated to me but i know i would grasp it, if there was a comprehensive guide/video tutorial on how to edit the exe for this game....

    I'd love to get cracking!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •