Page 92 of 95 FirstFirst ... 828889909192939495 LastLast
Results 2,276 to 2,300 of 2357

Thread: Offsets

  1. #2276

    Join Date
    17-06-12
    Posts
    455
    the moment when you realize that its enough .exe exploring for today

    [

  2. #2277

    Join Date
    08-05-20
    Posts
    1
    Hello good guys! I'm trying to change Turkish league foreign player restrictions. I'm on Mac and using VMware fusion & windows 98, flex and other tools didn't work for me. please help?

  3. #2278

    Join Date
    27-01-14
    Posts
    71
    Does anyone know what offsets I'd need to patch/edit to amend the summer transfer window dates in England? The transfer window opens on 1st June in England, I want to change it to 1st July.

  4. #2279

    Join Date
    04-03-12
    Posts
    237
    @dw82

    This patch has 2 windows in England (the correct ones):-

    Summer - July 1st to August 31st
    Winter - January 1st to January 31st

    0x179c0b 0x5 0x6
    0x179c13 0x3 0xff
    0x179c14 0x11 0x1f

  5. #2280

    Join Date
    27-01-14
    Posts
    71
    Quote Originally Posted by fairedinkum View Post
    @dw82

    This patch has 2 windows in England (the correct ones):-

    Summer - July 1st to August 31st
    Winter - January 1st to January 31st

    0x179c0b 0x5 0x6
    0x179c13 0x3 0xff
    0x179c14 0x11 0x1f
    Thanks man - is this just as simple as copying that code into notepad and applying that as a patchfile using Nick's Patcher? I've done this with a couple of other thing easily enough but just want to check.

    Also, on a related note, do you or anyone have any idea why it has been set to 1st June in the latest Saturn patch?

  6. #2281

    Join Date
    04-03-12
    Posts
    237
    Yes mate, just save it as a .patch and patch it in using Nick’s patcher.

    In regards to Saturn’s v9 patch I had the correct windows other than it shutting a little earlier in August as it was last season.

  7. #2282

    Join Date
    18-07-15
    Posts
    795
    https://en.wikipedia.org/wiki/Transfer_window <--- this says when the windows are
    https://nic.hopto.org/open/cm0102/Sa...w%20update.txt <--- this shows why Saturn set the date as he did

  8. #2283

    Join Date
    31-03-19
    Posts
    141
    The benchmark cm0102.exe that Tapani released ends a manager holiday at a certain date (at the end of a season).

    Does anyone know how this was achieved? Is there an offset value that can be changed to achieve it? Or was it done in the save provided?

  9. #2284

    Join Date
    27-01-14
    Posts
    71
    Quote Originally Posted by Nick+Co View Post
    https://en.wikipedia.org/wiki/Transfer_window <--- this says when the windows are
    https://nic.hopto.org/open/cm0102/Sa...w%20update.txt <--- this shows why Saturn set the date as he did
    @Nick+Co @fairedinkum

    Thanks guys, that's interesting to read why the windows were set as they are in the Saturn patch; I already understood about the early August end, so that you can't buy players in England once the season has kicked off. The opening in early June I guess just seems odd to me bearing in mind that all the other big leagues can't transfer til the 1st July, and more so because even in England transfers aren't actioned until 1st July either, even though the window is technically open before. This is generally due to the fact that, with free transfers at least, you have to wait until the player's contract expires on 30th June, which all players have and is something I've asked Nick if it's possible to patch with regards player contracts.

    So in theory what would be a patch just for the changing the start date of the English summer transfer window from 1st June to 1st July? And not changing anything else?

  10. #2285

    Join Date
    22-07-19
    Posts
    103
    How to remove groups from the Polish First League?

  11. #2286

    Join Date
    18-07-15
    Posts
    795
    @M.C.F.C: Never looked into how that benchmark version was done - but there's numerous ways you could do it. You can look at 0AE2C90 for the current date and hook something onto the end of the function that ends at 006B5CD7 (like the Tapani patches do) to do a check at the end of each day. So you could hook that, check the date, and then do whatever on a specific date.

    EDIT: So I had a look just now at what he actually did change when benchmark mode is on, I was pretty close:

    Code:
    From:
    004033FE  |.  8D8C24 1C010000           LEA ECX,[LOCAL.63]
    To:
    004033FE  \. /EB 54         JMP SHORT 00403454
    ^ Not sure why he does this little jump?
    
    From:
    00544899  |.  8B0A                      MOV ECX,DWORD PTR DS:[EDX]
    0054489B  |.  833C88 00                 CMP DWORD PTR DS:[ECX*4+EAX],0
    0054489F  |.  74 11                     JE SHORT 005448B2
    To:
    00544899  |.  8B0A          MOV ECX,DWORD PTR DS:[EDX]
    0054489B  |.  90            NOP
    0054489C  |.  90            NOP
    0054489D  |.  90            NOP
    0054489E  |.  90            NOP
    0054489F  |.  74 11         JZ SHORT 005448B2
    ^ Not sure why he removes this compare either (I've never run benchmark mode - so don't actually know what it does :) )
    
    Then we have two little functions he added (he put them in the space he made in the Credits section:
    
    00603685   .  90            NOP
    00603686   .  90            NOP
    00603687   .  90            NOP
    00603688   $  60            PUSHAD
    00603689   .  8B0D 983CB600 MOV ECX,DWORD PTR DS:[0B63C98]
    0060368F   .  A1 3DB98100   MOV EAX,DWORD PTR DS:[81B93D]
    00603694   .  66:3905 922CA CMP WORD PTR DS:[0AE2C92],AX                    <--- checking the year
    0060369B   .  74 09         JE SHORT 006036A6
    0060369D   .  6A 00         PUSH 0                                   ; /Arg2 = 0
    0060369F   .  6A 00         PUSH 0                                   ; |Arg1 = 0
    006036A1   .  E8 4A9CFFFF   CALL 005FD2F0                            ; \cm0102.005FD2F0          <---- this is the call to either go on holiday or stop going on holiday
    006036A6   >  61            POPAD
    006036A7   .  C3            RETN
    
    -----------------
    
    00603718  /$  50            PUSH EAX
    00603719  |.  66:B8 9600    MOV AX,96
    0060371D  |.  66:3905 902CA CMP WORD PTR DS:[0AE2C90],AX                 <---- Checking the date (day of year for 0x96)
    00603724  |.  75 05         JNE SHORT 0060372B
    00603726  |.  E8 5DFFFFFF   CALL 00603688
    0060372B  |>  58            POP EAX
    0060372C  \.  C3            RETN
    0060372D      90            NOP
    0060372E      90            NOP
    0060372F      90            NOP
    00603730  /$  60            PUSHAD
    00603731  |.  8B0D 983CB600 MOV ECX,DWORD PTR DS:[0B63C98]
    00603737  |.  6A 00         PUSH 0                                   ; /Arg2 = 0
    00603739  |.  6A 01         PUSH 1                                   ; |Arg1 = 1
    0060373B  |.  E8 B09BFFFF   CALL 005FD2F0                            ; \cm0102.005FD2F0
    00603740  |.  61            POPAD
    00603741  \.  C2 080F       RETN 0F08
    
    006B5CD7  |.  E8 3CDAF4FF   CALL 00603718  <---- Then we have the call at end of day as I mentioned in the original post. It calls the first little function.
    
    From:
    0081C06A  |.  81C4 080F0000             ADD ESP,0F08
    0081C070  |.  C3                        RETN
    To:
    0081C06A  |.  E8 C176DEFF   CALL 00603730
    0081C06F  |.  90            NOP
    ^ To call the second little function
    
    009472CD  |.  68 10270000               PUSH 2710
    to
    009472CD  |.  68 01000000   PUSH 1 
    ^ To speed the game up as much as possible (Speed hack = MAX basically)
    There that's all the changes benchmark mode makes
    Last edited by Nick+Co; 14-05-20 at 07:33 PM.

  12. The Following 2 Users Say Thank You to Nick+Co For This Useful Post:


  13. #2287

    Join Date
    11-03-12
    Location
    The Netherlands
    Posts
    5,651
    When you start a game on ODB (.60 or .68) the teams DO NOT get season tickets income for the first season whilst on the saturn patches they do start generating season ticket income.

    Does anyone know the offsets or the code that I need to change on a .68 .exe to turn on the season ticket income for the first season?
    Go check out my YouTube channel with lots of CM 01-02 related video's!

  14. #2288

    Join Date
    31-03-19
    Posts
    141
    Quote Originally Posted by Nick+Co View Post
    Spoiler!
    Incredible stuff. Will look to implement them in to my own .exe

  15. #2289

    Join Date
    18-07-15
    Posts
    795
    @GFRay: Alan already got me to look into that one:
    https://champman0102.co.uk/showthrea...351#post479351
    ^ The posts from there should give you the answer you need

  16. #2290

    Join Date
    29-07-19
    Posts
    41
    Quote Originally Posted by MarcoVanBast View Post
    the moment when you realize that its enough .exe exploring for today

    [
    Could this be done on the player stats screen? I see Nick+Co added the hidden attributes in a new column, which is impressive but isn't for me personally.
    Last edited by tonytony; 15-05-20 at 03:36 PM.

  17. #2291

    Join Date
    17-06-12
    Posts
    455
    Quote Originally Posted by tonytony View Post
    Could this be done on the player stats screen? I see Nick+Co added the hidden attributes in a new column, which is impressive but isn't for me personally.
    Thought about the same when i saw Nick hidden atts (useless for me, but interesting in terms of coding)

    well, in theory, and if Nick have time - i think its an option to make facepacks for cm0102.

    1) Make extra column (what nick already done)
    2) Make game load .his (written history bmp file which is connected to player) in that area


    but i am afraid it is plenty of coding, and much more difficult than hidden attributes

  18. The Following User Says Thank You to MarcoVanBast For This Useful Post:


  19. #2292

    Join Date
    19-10-12
    Posts
    16
    This problem was problably already covered here. I gave a quick look and didn't find something about this, however...

    There is a possibility of enable relegation in Irish First Division (second level of their football tier)??

  20. #2293

    Join Date
    09-03-12
    Posts
    99
    Quote Originally Posted by MarcoVanBast View Post
    the moment when you realize that its enough .exe exploring for today

    [
    great work!!!
    Marco do u ever tried to change serie C in Lega Pro?


    other question

    nobody has the offsets to change italian league structure? or how can identify them?
    the index search in the first post doesn't work
    Last edited by clipeus; 20-05-20 at 12:05 PM.

  21. #2294

    Join Date
    09-03-12
    Posts
    99
    other questions....

    if i don't find the offset to change the number of club and fixtures of a lower division ( italian c2 and portugal lower ) maybe they are the default one... but how can i find them?
    someone can help me?
    where is the default block of informations ?

  22. #2295

    Join Date
    09-03-12
    Posts
    99
    ok ok always me....

    i tried to change chinese structure from 16 to 18 teams, changed number of fixture but league load with 3 games already played
    how can i fix the date?

    thanks a lot
    Marco

    i follow the guide, but i don't understand the difference about increasing fixture and changing fixture... when the first and when the second?
    Last edited by clipeus; 31-05-20 at 02:09 PM.

  23. #2296

    Join Date
    09-03-12
    Posts
    99
    Quote Originally Posted by djole2mcloud View Post
    16th and 15th should relegate directly,14th should go to play of... (18th and 17th direct relegation,16th in play off with 18 teams)
    now 16th club instead of relegating directly goes to play off along with 3rd div clubs...wins playoff and stays in div 2...
    BL and CL command are related to some number somewhere in code right?
    so if i want to relegate directly 2 teams i've to put CL, 1 BL, 4 DL but 3????
    i wanna have 3 direct relegations plus 1 on playout... how can i do this? ( italian serie B ) DONE

    now how can i have the playout on the schedule?
    Last edited by clipeus; 02-06-20 at 08:39 PM.

  24. #2297

    Join Date
    31-03-19
    Posts
    141
    Quote Originally Posted by View Post
    Has anybody ever found the remaining colour offsets?

    The main one I am looking for is the text colour. At the moment we are stuck to skinning the game with dark colours due to the text being white.
    Does anyone know where the original colour offsets are listed?

  25. #2298

    Join Date
    18-07-15
    Posts
    795
    @MCFC: We have what John Locke provided in his Flex 2 source code if that's any use.
    i.e.
    Code:
    		offsets.put(CMColors.MENU_BACKGROUND,	new Integer[]{0x1e4587+1, 0x1e457e+1, 0x1e4576+1});
    		offsets.put(CMColors.BIG_BUTTONS,		new Integer[]{0x1e4771+1, 0x1e476c+1, 0x1e4767+1});
    		offsets.put(CMColors.MAIN_BUTTONS,		new Integer[]{0x1ed7ac+1, 0x1ed7aa+1, 0x1ed7a6+1});
    		offsets.put(CMColors.MAIN_BUTTONS2,		new Integer[]{0x1e4713+1, 0x1e4711+1, 0x1e470f+1});
    		offsets.put(CMColors.SQUAD_POS_BOX,		new Integer[]{0x1e4700+1, 0x1e46fe+1, 0x1e46f9+1});
    		offsets.put(CMColors.SQUAD_POS_BOXES,	new Integer[]{0x499ed6+1, 0x499ed4+1, 0x499ed0+1});
    		offsets.put(CMColors.SQUAD_POS_BAR,		new Integer[]{0x1e4683+1, 0x1e4681+1, 0x1e467f+1});
    		offsets.put(CMColors.MISC_BOX,			new Integer[]{0x1e4742+1, 0x1e4740+1, 0x1e473e+1});
    		offsets.put(CMColors.TEXT_COLOR1,		new Integer[]{0x1e46b5+1, 0x1e46b0+1, 0x1e46ab+1});
    		offsets.put(CMColors.GK_SHIRTS,			new Integer[]{0x499EFF+1, 0x499EFA+1, 0x499EF6+1});
    		offsets.put(CMColors.TEXT_COLOR2,		new Integer[]{0x1E47AC+1, 0x1E47A7+1, 0x1E47A2+1});
    		offsets.put(CMColors.INF_BACKGROUND,	new Integer[]{0x1E47C2+1, 0x1E47C0+1, 0x1E47BE+1});

  26. The Following 2 Users Say Thank You to Nick+Co For This Useful Post:


  27. #2299

    Join Date
    25-10-19
    Posts
    3
    Could someone fix so the new Champions league and Europa league fixtures? Like the group stages in Europa league for instance? Also if it´s possible add the new numbers from 1-99 not 55 on squad numbers on players. And also add league cup tournament on Portuguese league?

  28. #2300

    Join Date
    09-03-12
    Posts
    99
    Quote Originally Posted by Auch View Post
    Could someone fix so the new Champions league and Europa league fixtures? Like the group stages in Europa league for instance? Also if it´s possible add the new numbers from 1-99 not 55 on squad numbers on players. And also add league cup tournament on Portuguese league?
    sorry Auch... at the moment champions and europa league cannot be fixed...

Posting Permissions

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