Page 2 of 5 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 47

Thread: Another DK2 unofficial patch in progress

  
  1. #11

    Default Re: Another DK2 unofficial patch in progress

    I always enjoy a good theory or two. Do tell, Hapuga.

  2. #12
    Your Majesty Hapuga's Avatar
    Join Date
    Aug 2009
    Location
    Austin, USA
    Posts
    1,444

    Default Re: Another DK2 unofficial patch in progress

    Well ok, same text I've sent to Tomix

    There is not much that I can really tell you, but I will try to gather all the bits of information that I managed to get.

    First of all, Map files DO NOT have the AI programmed in them. It is easily checked by taking a "good" v. 1.3 map and putting it in 1.7 folder.

    Second, I have a strong belief that the EXE does not hold any data about the AI. AI needs a lot of scripting, and the initial size of an exe is about 300 kb. It is too small to have an AI script. Besides, I think it is pretty stupid to include AI in the exe, noone does that now, exe only executes modules, not stores them.

    Third, I seriously doubt that WAD files have AI included. I have replaced 1.7 wads with 1.3 ones, game crashes very quickly but I managed to notice that AI was still lame.

    Fourth, by the method of exclusion, we are left with the EDITOR folder. This means, that with a 90% chance, AI is somewhere in the KWD's, you are absolutely right.

    Now, we are left with but one thing. Study these files and if we will succeed, we may change the AI for good.
    http://img192.imageshack.us/img192/6659/c2warlocki.gif

  3. #13
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Another DK2 unofficial patch in progress

    AI code in DK2 IS built in EXE file. You just picked up wrong EXE file - the one that has 260kb is just a CD protector + splash screen shower.

    Real EXE file has 2907kb.

    The EXE file contains a few arrays that are used for AI. There are some values to change, but without any debug data it's even hard to say where exactly they start.

    Summary: AI is made using static arrays inside EXE file. It works like a state machine - there's no AI Script. Everything is hard-coded, and only single parameters in arrays may be updated by values from inside levels.

  4. #14
    Imp Tomix's Avatar
    Join Date
    Sep 2009
    Location
    Dungeon Heart
    Posts
    20

    Default Re: Another DK2 unofficial patch in progress

    So it's in the exe ... that's bad. I've changed in past some bytes in the exe but there where no effect, maybe I changed the wrong bytes .

    Is there any way for us to find out where are the part of AI in the exe?


    More important for me is to find out the positions where are the bugs "saved":

    CHAT-BUG - The game crashes if one player use TAB to chat
    MONEY-BUG - The game crashes if one players goldreserve goes under 0
    PLAYER-BUG - The game crashes if one player presses Space, ESC or go out of the game when he/she is defeated
    AI-BUG - The AI have problems dropping creatures with the "Hand of Evil"
    RESET-BUG - When a player goes while DK2 is running to the desktop, sometimes some settings will be resetted
    KEYBOARD-BUG - Keyboard settings will not be saved
    BUTTON-BUG - Players can use Magic-Boxes more than one times
    NORTH/SOUTH-BUG - Creatures in the south are more powerful than their opponents in the north

    Can anybody something say about the control-settings? They will everytime not be saved.

  5. #15
    Dragon DragonsLover's Avatar
    Join Date
    Aug 2009
    Location
    Quebec
    Posts
    1,490
    Gamer IDs

    Steam ID: dragonslover

    Default Re: Another DK2 unofficial patch in progress

    For the Chat, Money and Player bugs, I'm wondering if it is caused by the game or by Hamachi.

    For the Chat Bug, do the different languages can affect something?

    For the Money Bug, how is it possible for the gold reserve to be negative?

    For the Reset Bug, I don't catch it. All I know is that, setting a compatibility mode does that bug. Otherwise, it should be fine.

    For the Keyboard Bug, keys are saved in a table in the Registry. Something to try would be to test all values and do some kind of guide.

    For the Button Bug, it's cheating, simply. If someone does that in a multiplayer game (pressing the button twice very fast), just don't play with that cheater. He will ruin his reputation.
    I like dragons! They're the center of my life! I'll never forget them...



  6. #16
    Awakening Game Master Metal Gear Rex's Avatar
    Join Date
    Sep 2009
    Posts
    5,689

    Default Re: Another DK2 unofficial patch in progress

    Quote Originally Posted by DragonsLover View Post
    For the Chat, Money and Player bugs, I'm wondering if it is caused by the game or by Hamachi.
    Before I used to play with LAN and I used the 1.3 crack my brothers got to play the game together. We didn't used Hamachi, and used Tab to communicate. Not once did the game bug out.
    Dungeon Keeper 2 Patch: With More Balance and Pie [Hiatus]
    Forever Hiatus. Probably. Latest Version: 3.5 w/Levels 1-11 Revised.

    The Awakening: GM Powers Activate!
    Tesonu is napping!

  7. #17
    Dragon DragonsLover's Avatar
    Join Date
    Aug 2009
    Location
    Quebec
    Posts
    1,490
    Gamer IDs

    Steam ID: dragonslover

    Default Re: Another DK2 unofficial patch in progress

    And both games were in the same language?
    I like dragons! They're the center of my life! I'll never forget them...



  8. #18
    Awakening Game Master Metal Gear Rex's Avatar
    Join Date
    Sep 2009
    Posts
    5,689

    Default Re: Another DK2 unofficial patch in progress

    Quote Originally Posted by DragonsLover View Post
    And both games were in the same language?
    Of course, they were all the exact same cracked copy.
    Dungeon Keeper 2 Patch: With More Balance and Pie [Hiatus]
    Forever Hiatus. Probably. Latest Version: 3.5 w/Levels 1-11 Revised.

    The Awakening: GM Powers Activate!
    Tesonu is napping!

  9. #19
    Imp Tomix's Avatar
    Join Date
    Sep 2009
    Location
    Dungeon Heart
    Posts
    20

    Default Re: Another DK2 unofficial patch in progress

    For the Chat Bug, do the different languages can affect something?
    I didn't test it.

    For the Money Bug, how is it possible for the gold reserve to be negative?
    On payday if you have not enough gold it goes for a second under 0.

    For the Keyboard Bug, keys are saved in a table in the Registry. Something to try would be to test all values and do some kind of guide.
    In the registry are only the "normal" settings saved. I can't find anything about keyboard settings.



    How can hamachi be a problem for the game (chat, crashes)?

  10. #20
    Dragon DragonsLover's Avatar
    Join Date
    Aug 2009
    Location
    Quebec
    Posts
    1,490
    Gamer IDs

    Steam ID: dragonslover

    Default Re: Another DK2 unofficial patch in progress

    Quote Originally Posted by Tomix
    On payday if you have not enough gold it goes for a second under 0.
    Weird. I know that when the total amount of gold for the payday is lower than your gold reserve, a red number is blinking in the gold reserve bar, showing a negative value. Is it that number that's causing the crash or it's really when a creature get his pay when the gold reserve is around 0, dropping it into a negative value?

    Quote Originally Posted by Tomix
    In the registry are only the "normal" settings saved. I can't find anything about keyboard settings.
    How about this:
    HKEY_CURRENT_USER >>> Software >>> Bullfrog Productions Ltd >>> Dungeon Keeper II >>> Configuration >>> Player >>> Key Table

    Here, all the keys for the 63 different commands are stored.

    Quote Originally Posted by Tomix
    How can hamachi be a problem for the game (chat, crashes)?
    I don't know. Perhaps some kind of incompatibility. I was just wondering.
    I like dragons! They're the center of my life! I'll never forget them...



Similar Threads

  1. Gatherings Day
    By Duke Ragereaver in forum DK2 Multiplayer
    Replies: 23
    Last Post: April 27th, 2013, 20:00
  2. The Best unofficial campaign.
    By Ninja in forum DK1 Mapmaking
    Replies: 4
    Last Post: October 21st, 2010, 06:28
  3. Unofficial Patch v1.8 - Status
    By Tomix in forum Dungeon Keeper 2
    Replies: 23
    Last Post: December 21st, 2009, 00:53
  4. DK2 Sold Out edition
    By Mastadi in forum Dungeon Keeper 2
    Replies: 2
    Last Post: November 21st, 2009, 11:56
  5. A complete guide: How to play DK2 multiplayer
    By Ðârk Âñgêl in forum DK2 Multiplayer
    Replies: 0
    Last Post: September 1st, 2009, 15:55

Tags for this Thread

Posting Permissions

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