Page 12 of 95 FirstFirst ... 2891011121314151622 ... LastLast
Results 276 to 300 of 2357

Thread: Offsets

  1. #276

    Join Date
    17-06-12
    Posts
    455
    Quote Originally Posted by JohnLocke View Post
    Discovered this quite by chance - I spotted "%s*" @ 0x98e8dc. %s is always replaced at run time by text.

    0045B82C: JNE SHORT 0045B89F

    Replace this line with NOP NOP.
    Works brilliant

  2. #277
    0053D7F0: MOV ECX,DWORD PTR SS:[ESP+4]
    0053D7F4: TEST ECX,ECX

    Change to:
    0053D7F0: MOV EAX,1
    0053D7F5: RETN

    This will impose the basque-only restriction on every club, net result is that only a handful of transfers will happen.

    The following changes the nationality that everyone is restricted to and changes it from Basque to -1; as nobody has -1 for a nationality (nationalities start at 0 for Afghanistan) no club will be able to sign anybody, not even free transfers. Clubs will only get the players that come through their youth team.

    008CEBB5 A1 24F49C00 MOV EAX,DWORD PTR DS:[9CF424]

    Change to:
    008CEBB5 B8 FFFFFFFF MOV EAX,-1


    Making this change will probably get really boring as I suspect lots of clubs will have squads full of grey players as their players leave and don't get replaced.

  3. #278
    free

  4. #279

    Join Date
    15-10-12
    Location
    Grantham
    Posts
    381
    I've actually been looking at this one on and off. As you are probably aware I found the offset for the year the World Club Champ starts a few weeks ago- allowing you to start in 2001. I'll report back if I make a breakthrough.

  5. #280

    Join Date
    17-06-12
    Posts
    455
    Quote Originally Posted by Golly View Post
    I've actually been looking at this one on and off. As you are probably aware I found the offset for the year the World Club Champ starts a few weeks ago- allowing you to start in 2001. I'll report back if I make a breakthrough.
    Hmm i already have WCC start year i even posted it here what interseting if u set 2000 and start game in 1999, it will be played in 1999.. seems "2 years" rule here acting.

  6. #281

    Join Date
    15-10-12
    Location
    Grantham
    Posts
    381
    From my experience the game doesn't seem to like it being played in an even number year. I set it to 2002 and the first tournament was played in 2003.

  7. #282

    Join Date
    17-06-12
    Posts
    455
    Quote Originally Posted by Golly View Post
    From my experience the game doesn't seem to like it being played in an even number year. I set it to 2002 and the first tournament was played in 2003.
    Maybe i playing with it rather long time ago. I just remember i can set 1999, 2001., 2002 etc but not 2000.

  8. #283
    0085C351: MOV EAX,DWORD PTR DS:[9D0264]

    This piece of code sets the stadium at which the European Super Cup is played. It is set using a club and then uses that club's stadium.

    9D0264 refers to AS Monaco, changing this to 9D0120 (Athletic Bilbao) alters where the game is played from Stade Louis II to San Mamés.

  9. #284
    free

  10. #285

    Join Date
    15-10-12
    Location
    Grantham
    Posts
    381
    Where do you find the codes for each club?

  11. #286
    Olly, bottom left, ctrl+b, ASCII (untick 'ignore case'), then type a club name in uppercase replacing spaces with '_', e.g. MANCHESTER_UNITED.

    MANCHESTER_UNITED is found at 0x9d2040 (lots of other clubs are nearby too). Click on the 'M', ctrl+r, then click on the only reference that is listed on the window that comes to the foreground. This will take you to:

    0060A973 |> \393D 40029D00 CMP DWORD PTR DS:[9D0240],EDI
    0060A979 |. 75 0D JNE SHORT 0060A988
    0060A97B |. 68 40209D00 PUSH OFFSET 009D2040 ; ASCII "MANCHESTER_UNITED"

  12. #287
    Olly, bottom left, ctrl+b, ASCII (untick 'ignore case'), then type a club name in uppercase replacing spaces with '_', e.g. MANCHESTER_UNITED.

    MANCHESTER_UNITED is found at 0x9d2040 (lots of other clubs are nearby too). Click on the 'M', ctrl+r, then click on the only reference that is listed on the window that comes to the foreground. This will take you to:

    0060A973 |> \393D 40029D00 CMP DWORD PTR DS:[9D0240],EDI
    0060A979 |. 75 0D JNE SHORT 0060A988
    0060A97B |. 68 40209D00 PUSH OFFSET 009D2040 ; ASCII "MANCHESTER_UNITED"

  13. #288

    Join Date
    02-03-12
    Posts
    3,604
    Quote Originally Posted by JohnLocke View Post
    0085C351: MOV EAX,DWORD PTR DS:[9D0264]

    This piece of code sets the stadium at which the European Super Cup is played. It is set using a club and then uses that club's stadium.

    9D0264 refers to AS Monaco, changing this to 9D0120 (Athletic Bilbao) alters where the game is played from Stade Louis II to San Mamés.
    can you also tell it to choose a random stadium like UCL final? i think from 2013 onwards it will be played in different towns

  14. #289

    Join Date
    15-10-12
    Location
    Grantham
    Posts
    381
    Quote Originally Posted by JohnLocke View Post
    0085C351: MOV EAX,DWORD PTR DS:[9D0264]

    This piece of code sets the stadium at which the European Super Cup is played. It is set using a club and then uses that club's stadium.

    9D0264 refers to AS Monaco, changing this to 9D0120 (Athletic Bilbao) alters where the game is played from Stade Louis II to San Mamés.
    0085C3A6 - offset for the venue of English Cup Finals. I changed code from 9CF2E4 (England) to 9D0240 (Manchester United) and the following all took place at Old Trafford during first season (2001-02)...

    Charity Shield
    League Cup Final
    Vans Trohpy Final
    FA Cup Final
    Division One Play-Off Final
    Division Two Play-Off Final
    Division Three Play-Off Final

  15. #290
    Quote Originally Posted by milo View Post
    can you also tell it to choose a random stadium like UCL final? i think from 2013 onwards it will be played in different towns
    To do that would require a random number generator of some sort and I don't know how to do that, would be nice though.

  16. #291

    Join Date
    02-03-12
    Posts
    3,604
    Quote Originally Posted by JohnLocke View Post
    To do that would require a random number generator of some sort and I don't know how to do that, would be nice though.
    can't you copy the code used for champions league final?

  17. #292

    Join Date
    17-06-12
    Posts
    455
    Quote Originally Posted by milo View Post
    can't you copy the code used for champions league final?
    I find UCL offset but cant find final venue offset, how u find offsets for current comp?

  18. #293

    Join Date
    18-12-11
    Location
    Dresden
    Posts
    6,344
    some of this stuff in here is amazing. it is a shame that this is all random numbers and letters to me

  19. #294

    Join Date
    15-10-12
    Location
    Grantham
    Posts
    381
    Quote Originally Posted by Patinoz View Post
    some of this stuff in here is amazing. it is a shame that this is all random numbers and letters to me
    You don't have to go too far back to find a post I made because I didn't understand how to use Olly and needed some help. Practise is the best way. I have probably uninstalled and reinstalled the game 100 times in the last couple of months while I tinkered with various things and experimented. I have made more mistakes than I care to remember, but keep plugging away and you start having successes and more importantly you work out the limitations to what can be achieved.

  20. #295

    Join Date
    17-06-12
    Posts
    455
    Quote Originally Posted by Golly View Post
    You don't have to go too far back to find a post I made because I didn't understand how to use Olly and needed some help. Practise is the best way. I have probably uninstalled and reinstalled the game 100 times in the last couple of months while I tinkered with various things and experimented. I have made more mistakes than I care to remember, but keep plugging away and you start having successes and more importantly you work out the limitations to what can be achieved.

    +1 here i have about 42 backups of data and cm0102.exe file, i dont even remember what i changed in it good i have txt file where i write it all

  21. #296

    Join Date
    17-06-12
    Posts
    455
    About offsets: any chance to see how to load ALL database, as i understand Maximum data load only some %s

  22. #297

    Join Date
    02-03-12
    Posts
    3,604
    Quote Originally Posted by Patinoz View Post
    some of this stuff in here is amazing. it is a shame that this is all random numbers and letters to me
    i was just wondering if some good soul could gather all good infos posted here in a single thread to use as a tutorial (e.g. do you want 10 teams to be relegated from premier league to the championship? go to this line and change the code like this, etc.).
    i thought i can do that but i completely miss the olly part (i.e. i can't use it) so i'm not able to post any technical suggestions

  23. #298
    00482A74: JE 00482D04

    Fill with NOP and you can Take Control of a club even if it is in a 'non-playable' league.

  24. #299
    free

  25. #300

    Join Date
    18-12-11
    Location
    Dresden
    Posts
    6,344
    Just out of interest, what then? there won't be any games, will there?

Posting Permissions

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