Toee multi-player

Discussion in 'General Modification' started by XVicious, Sep 5, 2013.

Remove all ads!
  1. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    What is the reason for not Cracking this MULti-player
    GUI portion OPEN!

    I want answers;

    l\data_bk\TOEE3\mes\
    mutiplayer.mes
    Code:
    //
    // Multiplayer
    //
    // Index of MessageIDs
    // 0900-0999 : Multiplayer Server Starting Messages
    // 1000-1099 : Multiplayer Control UI Messages
    // 1100-1199 : Multiplayer Notice Messages
    // 1200-1299 : Multiplayer Chat Messages
    // 1900-1999 : Multiplayer Game Saving Messages
    // 2000-2099 : Multiplayer Party Messages
    // 3000-3099 : Multiplayer Internet Messages
    
    // Used with verification of packet info/etc.
    {10}{Succeeded}
    {11}{Failed}
    
    // Used with (Multiplayer) Preferences Interface
    {50}{On}
    {51}{Off}
    
    // Used with (Multiplayer) UI
    {60}{Open}
    {61}{Closed}
    
    {65}{Dying}
    
    
    // UI Window Titles
    {75}{None}
    {76}{Choose Connection}
    {77}{Choose Game}
    {78}{Player Preferences}
    {79}{Server Preferences}
    {80}{Connecting}
    {81}{Starting Server}
    
    // Choose Connection UI Buttons
    {100}{Join LAN Game}
    {101}{Join Internet Game}
    {102}{Host Game}
    {103}{Player Setup}
    {104}{Server Options}
    {105}{Cancel}
    
    // Choose Game UI Buttons
    {120}{Join}
    {121}{Cancel}
    
    // Choose Game UI Column Headings
    {170}{Server Name}
    {171}{Ping}
    {172}{# Players}
    {173}{Scenario}
    {174}{Status}
    
    
    // Starting Server UI Column Headings
    {180}{Server Name}
    {181}{# Players}
    {182}{Scenario}
    {183}{Status}
    
    {185}{Player Name}
    {186}{Ping}
    
    // Starting Server UI Buttons
    {190}{Start}
    {191}{Cancel}
    
    
    // Connecting UI Buttons
    {195}{Cancel}
    
    
    //
    {200}{Connecting...}
    {201}{Cannot Connect}
    {202}{Server Full}
    {203}{You are Banned from this Server}
    
    {240}{Lagging}
    {241}{Server Connection Lost}
    
    // Joined, transferring startup data
    {300}{Awaiting Game State...}
    {301}{Awaiting Scenario Info...}
    {302}{Awaiting Object Info...}
    {303}{Awaiting Game Start...}
    
    // Debug information -- Statistical Information
    {350}{Ping: %d}
    {351}{Packet Loss: %d}
    // Debug Information -- Specific Errors
    {360}{Game Time Difference: %d}
    {361}{Rnd Difference: %d}
    
    // (Multiplayer) Server Preferences Interface
    {500}{Change Name}
    {501}{Player Killing}
    {502}{Max Players}
    {503}{Done}
    
    // Player Preferences Interface
    {600}{Name}
    {601}{Done}
    
    // 0900-0999 : Multiplayer Server Starting Messages
    {900}{The module %s.dat could not be found. Clients which join your server may experience oddities if your data differs.}
    {901}{Could not load the specified module '%s'. Cannot continue.}
    {902}{No start map could be found for that module.}
    {903}{No PC data was found. Your character must be in error. Creating a default character.}
    
    // 1000-1099 : Multiplayer Control UI Messages
    {1000}{Status: %s}
    {1001}{Ready}
    {1002}{Waiting}
    {1003}{Loading}
    {1090}{Disconnect}
    {1091}{Ban}
    
    // 1100-1199 : Multiplayer Notice  Messages
    {1100}{Player %s(%d) has left the game.}
    {1101}{Player %s(%d) has been kicked from the game.}
    {1102}{Player %s(%d) has been banned, no connections from this host will be allowed.}
    {1103}{The server has unexpectedly disconnected, your game may be unavailable.}
    {1104}{Player has joined the game.}
    {1105}{The player has connected, resuming the game.}
    {1106}{Please wait a player is joining the game.}
    
    // 1200-1299 : Multiplayer Chat Messages
    {1200}{%s: %s}
    {1210}{You can't talk while dead.}
    {1211}{You can't talk while unconscious.}
    
    // 1900-1999 : Multiplayer Game Saving Messages
    // 1900 - character that signifies yes in a dialog
    // 1901 - character that signifies no in a dialog
    {1900}{y}
    {1901}{n}
    {1902}{Do you wish to save your character?}
    {1903}{Do you wish to export your character to Multiplayer?}
    {1904}{The character %s already exists. Do you wish to overwrite the file?}
    
    // 2000-2099 : Multiplayer Party Messages
    {2000}{%s joined the party.}
    {2001}{%s has joined you to their party.}
    {2002}{%s left the party.}
    {2003}{You have left the party: %s}
    
    {2005}{Join Failed: %s.}
    {2006}{Join Failed: %s cannot join self.}
    {2007}{Join Failed: %s is already in a party.}
    
    {2010}{Disband Failed: %s.}
    {2011}{Disband Failed: %s is not in a party.}
    {2012}{Disband Failed: %s is not in your party.}
    
    {3000}{Waiting for a response from WON servers.}
    {3001}{Waiting for Message Of The Day.}
    {3002}{Checking for Arcanum updates.}
    {3003}{A newer version of Arcanum is available (and may be required for internet play), do you wish to upgrade?}
    
    Cracking this open would be a
    GOD-send ,gasp

    WHY hasn't CO8 done this!! ????
    Dang
     
  2. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Agetian would be the guy to ask for the tech, but I assume the core engine (d20 et al) simply doesn't support it.

    ToEE is an adaptation of the Arcanum engine, so there are actually lots of remnants of that game to be found here and there. But just because you see an Arcanum scrap somewhere doesn't mean it's secretly supported and waiting to be enabled.
     
  3. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    Hmm,

    Arcanum engine,


    I wonder what else could be said about this,

    I understand they are likeley un-supported
    but what if the pieces could be put back together
    to link the support for the subjects function for multi-player


    I suppose it would need a PORT SOCKET IP, tools to pass the packets over the net-work, Linking the GUI and the (atm missing) tools would be what I am inquiring about,
    as too why It had not been done.

    I understand that there is usually a file that gets updated as per packets flow
    that stores the GAME data.

    then I imaging that a python script formed file would arise (that places in every frame) . and using this python script , would translate the action taking place over
    the network. translating the movements and updating each users screen.

    flow thought
    packet->Socket->user_NETFILE->translator->python_script->game

    game->translator_out->NetFile->packet->Network->CLIENT
     
    Last edited: Sep 5, 2013
  4. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Yes, if you take a look inside ToEE it may seem like there's quite a handful of options in there regarding multiplayer, both in the executable and in the support files. However, these options were carefully studied in the past, especially in the days when we spent hours and hours in the debugger trying to figure out the different file formats ToEE uses. It turns out that these options are leftovers from Troika's previous game - Arcanum - which ToEE was based on (ToEE ~= Arcanum engine + new 3D rendering slabbed on top of it + D&D ruleset). Unfortunately, many leftover features such as multiplayer (and native multi-module support, too :( ) are in an absolutely unusable state in ToEE (the old code was never adapted for the new game features, whatever didn't work was simply dropped even though some data was left over in the .mes files) - implementing them would require a lot of coding far beyond simple .dll hacking (and we don't have the source code for the game to do that, unfortunately).

    - Agetian
     
  5. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    THank you for the details on the subject,

    I guess there would be no use trying to develop the Socket and translator set for something that is entireley un-use-able.

    "like trying to fix a nut to fit a broken wrench".

    what good is a broken wrench? ; it has not grip
     
  6. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    @ Xvicious: Sadly, I think so... :( Man, there are actually so many aspects of the game that we could actually solve if we did have the code... such as the adaptation of the code and used video subsystem for the newer systems and video cards, for instance, so that the game doesn't CTD so much :\ Multiplayer and multi-module support would have been viable, too, given that somebody would have been willing to spend enough time coding it.

    - Agetian
     
  7. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    Re-coding the TOEE engine:
    you may as well make a new game, it would take less time.
    for one person, hmmm,
    10 years of work maybe

    "like a blind man trying to drive a car"
    he knows how to work the machine, but he still can't see the roade.

    if we had the source code

    "like a def man trying to drive a car with a passenger giving directions,
    he can not hear, but he can read lips"
     
    Last edited: Sep 6, 2013
  8. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    @ XVicious: There was an initiative to recode the ToEE engine from scratch, it actually got pretty far (it was able to render the game models and stuff and even had some of the initial rules implemented as far as I remember), but as far as I know, the project died away :(

    - Agetian
     
  9. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    thats unfortionate to spend all that time on one prodject, and not have a finished
    result, but its like any other prodject, sometimes others things come first in life.


    I wish I knew how to crack open a game data file using a debugger

    I want to crack WarHammer Mark of chaos data file and extract the models
    and textures in there.

    now that I have the ability to use any model in toee, I could possibly
    make something from them. as a programmer, I have always been obsest
    with d&d and like to make tools for DM'ing

    example hobby prodjects:
    windows gui dice roller
    console rewards calculator
    excetra

    I have made several others, not too mention

    I made the SKM converter too, having alot of fun with the new toys.
     
  10. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,743
    Likes Received:
    374
    "Like a blind man giving driving directions to a deaf man driving a car into a river becuase he had mental health issues."

    Ok that didn't help :tired:
     
  11. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    Well it was a stupid retoric metaphor

    for having and not having the source code in order
    to re-build TOEE with updated video and multiplayer support


    I think I understand your meaning though
    @ Shiningted

    XVicious - laughing silentley to self

    well that explains alot ; questions:
    1.how deep is the river?
    2.does the car float?
    3.how fast was the car moving?
    4.do they survive?

    I did not say the car had gas;;who lets a blind man drive anyways?
    leaving more to ponder about the actual facts';thats what makes a good metaphor

    Shiningted: spelled because wrong - but I am not a good splleer iethre
     
    Last edited: Sep 6, 2013
  12. sirchet

    sirchet Force for Goodness Moderator Supporter

    Joined:
    Dec 6, 2003
    Messages:
    3,721
    Likes Received:
    49
    Heh heh I understood you XVicious.

    And don't worry, we don't expect the Shiney One to make sense very often. :p
     
  13. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Re the source code... I understand that back in the day, Troika were under negotiations for licensing the engine, and thus it was not available. Do we know if the situation is different now? (for one thing, Atari went bankrupt...)

    May be a pipe dream, but it would be great if the source were released for ToEE's 10 year anniversary.
     
  14. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    @ Sitra Achara: I'm not sure what the current legal status of the source code is and whether it may be possible to disclose it now or in the future, but if I have a chance to speak with anybody from the ex-Troika team about it, I'll let you know what the answer is. :)

    - Agetian
     
  15. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Are you in touch with any of them?
     
Our Host!