Page 81 of 83 FirstFirst ... 7177787980818283 LastLast
Results 2,001 to 2,025 of 2064

Thread: Offsets

  1. #2001
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    For a 2016 start the changes are:
    Code:
    009182DB MOV EAX,7D4 --> 7E0
    00918473 JL 0091847C --> JMP
    0092036D MOV EAX,7D4 --> 7E0
    009204B8 JL 009204C1 --> JMP

  2. #2002
    Join Date
    05-02-17
    Posts
    25
    vCash
    500
    Thank you very much

  3. #2003
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    Teams in non-playable leagues never hire managers if their original ones move, retire, are sacked or aren't loaded by the game.

    00482CA9 JNZ 00482D04 --> NOP
    00482CB6 JE 00482D04 --> NOP

    This allows human managers to apply for jobs at all clubs and nations (the "Apply for Job" tab will always be present on the squad screen - even your own!). Applying for a job will prompt that club to appoint a manager as if they were a club in a playable league (they may even offer you the job). If the club already has a manager and you apply, your application will be acknowledged but ultimately nothing will happen.





    So players can decide themselves which AI clubs they'd like to have managers, be they Champions League clubs or whatever. Alternatively you can try and "find" suitable clubs for unemployed staff, eg if a Brazilian retires with excellent non-playing stats you could try and get him a job at an unmanaged Brazilian club.

    When applying for jobs at very small clubs or countries with not enough players, you'll receive an error message (manager_manager..cpp 12456). Managers won't be appointed for those clubs/nations but the error is harmless beyond that.

  4. The Following 4 Users Say Thank You to saturn For This Useful Post:


  5. #2004
    Join Date
    19-03-17
    Posts
    4
    vCash
    500
    Quote Originally Posted by saturn View Post
    Teams in non-playable leagues never hire managers if their original ones move, retire, are sacked or aren't loaded by the game.

    00482CA9 JNZ 00482D04 --> NOP
    00482CB6 JE 00482D04 --> NOP
    ....
    So, it means AI unemployed manager can take control non-playable leagues teams? Or just human manager?

  6. #2005
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    Both AI unemployed (or employed) managers and human managers can take control, it depends on who the club offers it to. It works just like applying for a job in a playable league.

  7. The Following User Says Thank You to saturn For This Useful Post:


  8. #2006
    Join Date
    07-04-13
    Posts
    355
    vCash
    500
    Quote Originally Posted by saturn View Post
    For a 2016 start the changes are:
    Code:
    009182DB MOV EAX,7D4 --> 7E0
    00918473 JL 0091847C --> JMP
    0092036D MOV EAX,7D4 --> 7E0
    009204B8 JL 009204C1 --> JMP

    does this mean that I can start my game in 2016 using these changes? the asian and south american world cup qualifying always makes my game crash starting it in 2016.

  9. #2007
    Join Date
    31-10-11
    Posts
    20,983
    vCash
    3300
    Yes, or just wait for saturn's new patch after the update is released.
    The Alphabet Game #3
    Try your luck at winning any trophy in your game but you must go in order from A-Z in the alphabet!
    Click here to find out more and join in!

  10. #2008
    Join Date
    07-04-13
    Posts
    355
    vCash
    500
    thanks mark should be able to do it myself. thanks again

  11. #2009
    Join Date
    07-04-13
    Posts
    355
    vCash
    500
    Quote Originally Posted by totallyaddicted View Post
    thanks mark should be able to do it myself. thanks again
    JL SHORT 0091847C ive got this at 00918473, and when i put JMP it doesnt let me enter it, any ideas?

  12. #2010
    Join Date
    09-03-12
    Location
    London
    Posts
    864
    vCash
    2400
    Reading back (pages 42 & 43), nobody ever got to the bottom of the Turkish player restriction issue, did they? In the Turkish Second Division, you can play 2 overseas players in the team but you can neither buy nor loan an overseas player. I want the restriction on the matchday but I want to be able to buy players.

  13. #2011
    Join Date
    05-03-12
    Posts
    144
    vCash
    600
    There used to be a tool that allowed us to change the foreign player limit in the leagues. Does anyone remember the name:

  14. #2012
    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    25,531
    vCash
    4400000
    Flex 2 will allow it. There's a video tutorial on how to use it in Tech Support

  15. #2013
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    00542819 JE 00542882 --> JMP 00542882

    The game no longer loads any international B teams.


  16. The Following 3 Users Say Thank You to saturn For This Useful Post:


  17. #2014
    Join Date
    05-02-14
    Posts
    94
    vCash
    500
    Is this fine to manually change ourselves on your latest patch? As in not causing errors.

  18. #2015
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    Yes, it'll be fine. It will probably only take effect on new save games though.

  19. #2016
    Join Date
    01-04-12
    Posts
    37
    vCash
    500
    Quote Originally Posted by Golly View Post
    MISCELLANEOUS


    Disabling the error displayed when a hard-coded club name is changed

    Code:
    This disables the error message displayed when a hard-coded club name has been changed; i.e. you can rename Barcelona, Manchester United etc and not get an annoying error message when the game loads.
    
    The official editor still won't let you make the changes so you'll have to use something like Tri Wasono's editor.
    
    I have just noticed that editing Barcelona's name has broken the link with Barcelona B, i.e. you can't promote / relegate player between the two. So you might want to bear that in mind before renaming a club.
    
    0x60d780: change from MOV EAX,DWORD PTR SS:[ESP+4]
    to: JMP 0060D800 (make sure Fill rest with NOPs is ticked, this will insert two lines of NOP).

    Disabling the splash screen (untested)

    Code:
    0x5ccd3c - change JE 005cd0b3 to JMP 005cd0b3 NOP.

    Names of continents

    Code:
    should anyone wish to rename them (.dat files would also need changing):
    
    Africa - 0x5d9458
    Asia - 0x5d9450
    Europe - 0x5d9448
    North America - 0x5d9438
    Oceania - 0x5d9430
    South America - 0x5d9420
    
    Offsets are literal, add 0x400000 for Olly offsets.

    Data directory name offset


    Code:
    0x9c3824
    
    Not particularly important but it would allow one to run multiple databases without needing to swap data directories. 
    With the later versions of the Tapani patch there is no requirement for the exe to be called cm0102.exe. 
    So you could have an exe called odb.exe that reads data from a directory call odbdata, an exe called sim.exe that reads data from a directory called simdata etc. 
    You could also have a different directory for Tapanified data, 3.9.60 data etc etc.
    
    There is limited space available - only 8 bytes (enough for 7 characters and the null termination).

    League selection screen

    Code:
    CPU Disasm
    Address      Hex dump              Command                                  Comments
    00669F50     /$  8B4C24 04         MOV ECX,DWORD PTR SS:[ARG.1]             ; jlpatched.00669F50(guessed Arg1,Arg2,Arg3)
    00669F54     |.  81EC 00020000     SUB ESP,200
    00669F5A     |.  85C9              TEST ECX,ECX
    00669F5C     |.  74 78             JE SHORT 00669FD6
    00669F5E     |.  8B8424 08020000   MOV EAX,DWORD PTR SS:[ARG.2]
    00669F65     |.  85C0              TEST EAX,EAX
    00669F67     |.  74 76             JE SHORT 00669FDF
    00669F69     |.  83BC24 0C020000 1 CMP DWORD PTR SS:[ARG.3],14
    00669F71     |.  7D 6C             JGE SHORT 00669FDF
    00669F73     |.  8D4424 00         LEA EAX,[LOCAL.127]
    00669F77     |.  8D8C24 00010000   LEA ECX,[LOCAL.63]
    00669F7E     |.  50                PUSH EAX                                 ; /Arg5 => OFFSET LOCAL.127
    00669F7F     |.  51                PUSH ECX                                 ; |Arg4 => OFFSET LOCAL.63
    00669F80     |.  6A 00             PUSH 0                                   ; |Arg3 = 0
    00669F82     |.  6A 00             PUSH 0                                   ; |Arg2 = 0
    00669F84     |.  68 F4AF9E00       PUSH OFFSET 009EAFF4                     ; |Arg1 = ASCII "E:\dev\CM3\cm3 00-01\cm3\code\key_nation.cpp"
    00669F89     |.  E8 71AD2D00       CALL 00944CFF                            ; \jlpatched.00944CFF
    00669F8E     |.  83C4 14           ADD ESP,14
    00669F91     |.  8D5424 00         LEA EDX,[LOCAL.127]
    00669F95     |.  8D8424 00010000   LEA EAX,[LOCAL.63]
    00669F9C     |.  68 A1040000       PUSH 4A1
    00669FA1     |.  52                PUSH EDX
    00669FA2     |.  50                PUSH EAX
    00669FA3     |.  E8 88312A00       CALL 0090D130
    00669FA8     |.  50                PUSH EAX
    00669FA9     |.  68 E8709800       PUSH OFFSET 009870E8                     ; ASCII "v%s %s.%s %d"
    00669FAE     |.  68 D024AE00       PUSH OFFSET 00AE24D0
    00669FB3     |.  E8 E7AC2D00       CALL 00944C9F
    00669FB8     |.  6A 00             PUSH 0
    00669FBA     |.  68 D024AE00       PUSH OFFSET 00AE24D0
    00669FBF     |.  68 E0709800       PUSH OFFSET 009870E0                     ; ASCII "Error"
    00669FC4     |.  E8 C7E2F7FF       CALL 005E8290
    00669FC9     |.  83C4 24           ADD ESP,24
    00669FCC     |.  C705 347AB600 000 MOV DWORD PTR DS:[0B67A34],0
    00669FD6     |>  33C0              XOR EAX,EAX
    00669FD8     |.  81C4 00020000     ADD ESP,200
    00669FDE     |.  C3                RETN
    00669FDF     |>  8B09              MOV ECX,DWORD PTR DS:[ECX]
    00669FE1     |.  8B15 E4F29C00     MOV EDX,DWORD PTR DS:[9CF2E4]
    00669FE7     |.  3BCA              CMP ECX,EDX
    00669FE9     |.  75 27             JNE SHORT 0066A012
    00669FEB     |.  85C0              TEST EAX,EAX
    00669FED     |.  0F84 BB000000     JE 0066A0AE
    00669FF3     |.  68 649CAD00       PUSH OFFSET 00AD9C64
    00669FF8     |.  68 78B09E00       PUSH OFFSET 009EB078                     ; ASCII "Conference Division<%s - COMMENT - English Conference>"
    00669FFD     |.  50                PUSH EAX
    00669FFE     |.  E8 DD540000       CALL 0066F4E0
    0066A003     |.  83C4 0C           ADD ESP,0C
    0066A006     |.  B8 01000000       MOV EAX,1
    0066A00B     |.  81C4 00020000     ADD ESP,200
    0066A011     |.  C3                RETN
    0066A012     |>  3B0D 14F39C00     CMP ECX,DWORD PTR DS:[9CF314]
    0066A018     |.  75 22             JNE SHORT 0066A03C
    0066A01A     |.  85C0              TEST EAX,EAX
    0066A01C     |.  0F84 8C000000     JE 0066A0AE
    0066A022     |.  68 64B09E00       PUSH OFFSET 009EB064                     ; ASCII "Regional Divisions"
    0066A027     |.  50                PUSH EAX
    0066A028     |.  E8 B3540000       CALL 0066F4E0
    0066A02D     |.  83C4 08           ADD ESP,8
    0066A030     |.  B8 01000000       MOV EAX,1
    0066A035     |.  81C4 00020000     ADD ESP,200
    0066A03B     |.  C3                RETN
    0066A03C     |>  3B0D 60F39C00     CMP ECX,DWORD PTR DS:[9CF360]
    0066A042         EB 1E             JMP SHORT 0066A062
    0066A044     |.  85C0              TEST EAX,EAX
    0066A046     |.  74 66             JE SHORT 0066A0AE
    0066A048     |.  68 50B09E00       PUSH OFFSET 009EB050                     ; ASCII "Serie C2 A, B, C"
    0066A04D     |.  50                PUSH EAX
    0066A04E     |.  E8 8D540000       CALL 0066F4E0
    0066A053     |.  83C4 08           ADD ESP,8
    0066A056     |.  B8 01000000       MOV EAX,1
    0066A05B     |.  81C4 00020000     ADD ESP,200
    0066A061     |.  C3                RETN
    0066A062     |>  3B0D 34F49C00     CMP ECX,DWORD PTR DS:[9CF434]
    0066A068     |.  74 08             JE SHORT 0066A072
    0066A06A     |.  3B0D 88F49C00     CMP ECX,DWORD PTR DS:[9CF488]
    0066A070     |.  75 1E             JNE SHORT 0066A090
    0066A072     |>  85C0              TEST EAX,EAX
    0066A074     |.  74 38             JE SHORT 0066A0AE
    0066A076     |.  68 3CB09E00       PUSH OFFSET 009EB03C                     ; ASCII "Second Division B"
    0066A07B     |.  50                PUSH EAX
    0066A07C     |.  E8 5F540000       CALL 0066F4E0
    0066A081     |.  83C4 08           ADD ESP,8
    0066A084     |.  B8 01000000       MOV EAX,1
    0066A089     |.  81C4 00020000     ADD ESP,200
    0066A08F     |.  C3                RETN
    0066A090     |>  3B0D A8F49C00     CMP ECX,DWORD PTR DS:[9CF4A8]
    0066A096     |.^ 0F85 3AFFFFFF     JNE 00669FD6
    0066A09C     |.  85C0              TEST EAX,EAX
    0066A09E     |.  74 0E             JE SHORT 0066A0AE
    0066A0A0     |.  68 2CB09E00       PUSH OFFSET 009EB02C                     ; ASCII "Second Division"
    0066A0A5     |.  50                PUSH EAX
    0066A0A6     |.  E8 35540000       CALL 0066F4E0
    0066A0AB     |.  83C4 08           ADD ESP,8
    0066A0AE     |>  B8 01000000       MOV EAX,1
    0066A0B3     |.  81C4 00020000     ADD ESP,200
    0066A0B9     \.  C3                RETN
    
    
    3 lines above each of the lower division names is a JNE instruction; change these to JMP and the lower division selection is removed from the list.
    
    The following lines refer to specific nations (i.e. those that have selectable lower leagues).
    
    00669FE1     |.  8B15 E4F29C00     MOV EDX,DWORD PTR DS:[9CF2E4] = England
    0066A012     |>  3B0D 14F39C00     CMP ECX,DWORD PTR DS:[9CF314] = Germany
    0066A03C     |>  3B0D 60F39C00     CMP ECX,DWORD PTR DS:[9CF360] = Italy
    0066A062     |>  3B0D 34F49C00     CMP ECX,DWORD PTR DS:[9CF434] = Portugal
    0066A06A     |.  3B0D 88F49C00     CMP ECX,DWORD PTR DS:[9CF488] = Spain
    0066A090     |>  3B0D A8F49C00     CMP ECX,DWORD PTR DS:[9CF4A8] = Sweden

    Star players also for user's team

    Code:
    "%s*" @ 0x98e8dc. %s is always replaced at run time by text.
    
    0045B82C: JNE SHORT 0045B89F
    
    Replace this line with NOP NOP.

    Taking control of any club in game

    Code:
    00482A74: JE 00482D04
    
    Fill with NOP and you can Take Control of a club even if it is in a 'non-playable' league.
    How to use the Data directory name offset?

  20. #2017
    Join Date
    19-03-17
    Posts
    4
    vCash
    500
    What is the offset for this feature? (from patch 2.21.1+ v3).
    Thanks.
    Squad numbers can now be issued in all leagues

  21. #2018
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    Quote Originally Posted by markuse View Post
    What is the offset for this feature? (from patch 2.21.1+ v3).
    Thanks.
    The line MOV BYTE PTR DS:[ESI+52],2 needs to be inserted into a league's code for it to have squad numbers. It's placed amongst the code that controls relegation/promotion/play-off places and other things like points for a win/draw. To create space for the new line of code, some of these lines were combined together. For example, in the code for the MLS...

    Code:
    00907044   C686 BE000000 01   MOV BYTE PTR DS:[ESI+BE],1
    0090704B   889E BF000000      MOV BYTE PTR DS:[ESI+BF],BL
    becomes
    Code:
    00907044   66:C786 BE000000 0100   MOV WORD PTR DS:[ESI+BE],1
    The second line combines both the +BE and +BF offsets as you're now using MOV WORD (two bytes) instead of MOV BYTE (one byte). This creates the space for the +52 offset line, which is added in the following line. In the Patches.zip collection from the +v3 thread, you can see the rough locations of where the code has been changed in this manner for various leagues.

  22. The Following User Says Thank You to saturn For This Useful Post:


  23. #2019
    Join Date
    08-03-12
    Location
    Napoli
    Posts
    343
    vCash
    600
    Disable national friendly matches?

  24. #2020
    Join Date
    01-04-12
    Posts
    37
    vCash
    500
    i found this on the offsets thread but i want to know how to use it



    Data directory name offset

    Code:
    0x9c3824

    Not particularly important but it would allow one to run multiple databases without needing to swap data directories.
    With the later versions of the Tapani patch there is no requirement for the exe to be called cm0102.exe.
    So you could have an exe called odb.exe that reads data from a directory call odbdata, an exe called sim.exe that reads data from a directory called simdata etc.
    You could also have a different directory for Tapanified data, 3.9.60 data etc etc.

    There is limited space available - only 8 bytes (enough for 7 characters and the null termination).

  25. #2021
    Join Date
    07-04-13
    Posts
    355
    vCash
    500
    how can i get the winners of the AFC Champions league to play the winners of the OFC Champions Cup (to the Asian Super Cup) so that australian teams play in Asia for one game lol

  26. #2022
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    Code:
    0051330E       . E8 5D26FDFF                  CALL cm0102.004E5970                           ; Calls Sports Interactive section of Credits
    00513313       . E8 5837FDFF                  CALL cm0102.004E6A70                           ; Calls Jask Consultants & Xbox Design & Programming section of Credits
    00513318       . E8 A33AFDFF                  CALL cm0102.004E6DC0                           ; Calls Research section of Credits
    0051331D       . E8 CE5FFDFF                  CALL cm0102.004E92F0                           ; Calls Testing section of Credits
    00513322       . E8 5981FDFF                  CALL cm0102.004EB480                           ; Calls Eidos Interactive section of Credits
    00513327       . E8 E47DFDFF                  CALL cm0102.004EB110                           ; Calls Feral Interactive section of Credits
    0051332C       . E8 9F99FDFF                  CALL cm0102.004ECCD0                           ; Calls Translation and Proof-Reading section of Credits
    00513331       . 66:C705 7C18AE00 0100        MOV WORD PTR DS:[AE187C],1
    0051333A       . 66:8935 6818AE00             MOV WORD PTR DS:[AE1868],SI
    00513341       . E8 4AA7FDFF                  CALL cm0102.004EDA90                           ; Calls Additional Research section of Credits
    00513346       . E8 B5ACFFFF                  CALL cm0102.0050E000                           ; Calls Additional Testing section of Credits
    0051334B       . E8 D0DFFFFF                  CALL cm0102.00511320                           ; Calls Special Thanks section of Credits
    00513350       . E8 EBF9FFFF                  CALL cm0102.00512D40                           ; Calls Best Wishes section of Credits
    NOP a CALL and that section won't appear in the Game Credits, creating a huge amount of space in the exe for other things. Probably best to leave a CALL to at least one section.

  27. The Following 2 Users Say Thank You to saturn For This Useful Post:


  28. #2023
    Join Date
    18-03-14
    Posts
    636
    vCash
    5100
    The following will show you how to make a certain nationality not be counted as a foreign player in a foreign league. The piece of code that we'll be using is the one which allows New Zealand players to not count towards the foreign quota in Australia (thanks to Craig Forrest for finding this):
    Code:
    0053DA6E  MOV EDX,DWORD PTR DS:[9CF224] (Australia)
    0053DA74  MOV ESI,DWORD PTR DS:[9CF3F4] (New Zealand)
    0053DA7A  CMP EAX,EDX
    0053DA7C  JE 0053DA82
    0053DA7E  CMP EAX,ESI
    0053DA80  JNZ 0053DA95
    0053DA82  MOV ECX,DWORD PTR SS:[EBP]
    0053DA85  CMP ECX,EDX
    0053DA87  JE 0053DB2A
    0053DA8D  CMP ECX,ESI
    0053DA8F  JE 0053DB2A
    0053DA95  CMP EAX,DWORD PTR DS:[9CF360] (Italy)
    We'll simply be repeating this block of code, finishing with a Jump to the Italy line, with the 9CF*** values switched for our desired countries. I'm putting the new code in one of the Game Credit blocks, which you can safely NOP a call to:
    Code:
    00513341  CALL 004EDA90 --> NOP
    -
    0053DA6E  MOV EDX,DWORD PTR DS:[9CF224] --> JMP 004EDA90
    Now we enter the block of code for Australia and New Zealand and our new block after it :
    Code:
    004EDA90  MOV EDX,DWORD PTR DS:[9CF224]
    004EDA96  MOV ESI,DWORD PTR DS:[9CF3F4]
    004EDA9C  CMP EAX,EDX
    004EDA9E  JE 004EDAA4
    004EDAA0  CMP EAX,ESI
    004EDAA2  JNZ 004EDAB7
    004EDAA4  MOV ECX,DWORD PTR SS:[EBP]
    004EDAA7  CMP ECX,EDX
    004EDAA9  JE 0053DB2A
    004EDAAF  CMP ECX,ESI
    004EDAB1  JE 0053DB2A
    004EDAB7  MOV EDX,DWORD PTR DS:[9CF4F8] (USA)
    004EDABD  MOV ESI,DWORD PTR DS:[9CF280] (Canada)
    004EDAC3  CMP EAX,EDX
    004EDAC5  JE 004EDACF
    004EDAC7  CMP EAX,ESI
    004EDAC9  JNZ 0053DA95
    004EDACF  MOV ECX,DWORD PTR SS:[EBP]
    004EDAD2  CMP ECX,EDX
    004EDAD4  JE 0053DB2A
    004EDADA  CMP ECX,ESI
    004EDADC  JE 0053DB2A
    004EDAE2  JMP 0053DA95
    Note the two pairs of coloured commands: the jumps must always be to those respective lines. The red line will jump to the EBP line, the pink line to the first 9CF*** line in the next pair of countries. If there is no other pair of countries to follow, that line should jump to 0053DA95 (as it does at 004EDAC9). Here is a another block with three pairings in it:
    Code:
    004EDA90  MOV EDX,DWORD PTR DS:[9CF224]
    004EDA96  MOV ESI,DWORD PTR DS:[9CF3F4]
    004EDA9C  CMP EAX,EDX
    004EDA9E  JE 004EDAA4
    004EDAA0  CMP EAX,ESI
    004EDAA2  JNZ 004EDAB7
    004EDAA4  MOV ECX,DWORD PTR SS:[EBP]
    004EDAA7  CMP ECX,EDX
    004EDAA9  JE 0053DB2A
    004EDAAF  CMP ECX,ESI
    004EDAB1  JE 0053DB2A
    004EDAB7  MOV EDX,DWORD PTR DS:[9CF4F8]
    004EDABD  MOV ESI,DWORD PTR DS:[9CF280]
    004EDAC3  CMP EAX,EDX
    004EDAC5  JE 004EDACF
    004EDAC7  CMP EAX,ESI
    004EDAC9  JNZ 004EDAE2
    004EDACB  NOP
    004EDACC  NOP
    004EDACD  NOP
    004EDACE  NOP
    004EDACF  MOV ECX,DWORD PTR SS:[EBP]
    004EDAD2  CMP ECX,EDX
    004EDAD4  JE 0053DB2A
    004EDADA  CMP ECX,ESI
    004EDADC  JE 0053DB2A
    004EDAE2  MOV EDX,DWORD PTR DS:[9CF4F8] (USA)
    004EDAE8  MOV ESI,DWORD PTR DS:[9CF2E4] (England)
    004EDAEE  CMP EAX,EDX
    004EDAF0  JE 004EDAFA
    004EDAF2  CMP EAX,ESI
    004EDAF4  JNZ 0053DA95
    004EDAFA  MOV ECX,DWORD PTR SS:[EBP]
    004EDAFD  CMP ECX,EDX
    004EDAFF  JE 0053DB2A
    004EDB05  CMP ECX,ESI
    004EDB07  JE 0053DB2A
    004EDB0D  JMP 0053DA95
    The line at 004EDAC9 now jumps to the next pairing. You'll notice that it's four bytes shorter than the original jump (hence the four NOPs beneath it): this is because it's jumping a short distance to the next pairing instead of a long distance all the way back to the Italy line in the original block of code. I find it easier to NOP that line before changing it from a long jump to a short one.

    The results:

    Interestingly it only seems to check a player's first nationality: Sequeira is Nicaraguan/Canadian but still counts as a foreigner.

  29. The Following 2 Users Say Thank You to saturn For This Useful Post:


  30. #2024
    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    25,531
    vCash
    4400000
    Very nice work. There are a lot of nations like that (think we discussed it in the thread on foreign player rules)

  31. #2025
    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    25,531
    vCash
    4400000
    You be able to make Cotonou style changes with the coding above saturn? Like discussed here http://champman0102.co.uk/showthread...406#post221406


    EDIT: did you ever implement this http://champman0102.co.uk/showthread...946#post241946
    Last edited by Dermotron; 13-06-17 at 10:28 AM.

Posting Permissions

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