Sim Theme Park/Theme Park World Online Functions

Discussion in 'Programming' started by Blayer98, Jul 10, 2015.

  1. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Ahh, of course. I'll try Wireshark or RawCap, see what gets logged!
  2. Blayer98

    Blayer98 Active Member

    Read my previous post again :p
  3. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    That's strange. And we also have trial and error, don't forget that :p
  4. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    This is where my Hex2Ascii program actually comes in useful, apart from S2PE.
    So the client sends that, therefore it's probably asking for something from that list in that order. Personally I would probably try sending a blank packet containing 3F, since that's just after 3E and is probably, therefore, the response. Otherwise, I'd try and see what it's waiting for using OllyDbg or whatever debugger would work best for doing that; trial and error!
  5. Blayer98

    Blayer98 Active Member

    it DOES send packets, and I sent one to niotso.org as the LoginServer, and it does this in wireshark...
    00 1F 33 8C E9 10 18 67 B0 69 0E FC 08 00 45 00 00 38 4C AA 00 00 80 11 6C B1 C0 A8 00 08 C0 A8 00 01 FC C7 00 35 00 24 7C 7F DA 05 01 00 00 01

    80 is set as the "Time to Live"
    All checksums are set to Bad, and they're set to false.
  6. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Code:
    00 1F 33 8C E9 10 18 67 B0 69 0E FC 08 00 45 00 00 38 4C AA 00 00 80 11 6C B1 C0 A8 00 08 C0 A8 00 01 FC C7 00 35 00 24 7C 7F DA 05 01 00 00 01
    =
    Code:
    3Œég°iüE8Lª€l±À¨À¨üÇ5$|Ú
    Weird.
  7. Blayer98

    Blayer98 Active Member

    In that code, it says niotso.org is the server.
    Wireshark also states that the Protocol is DNS.
    I DID get something back I think, it sent back/forward a bigger packet.
    I got a standard query response.
  8. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Ohh. I misunderstood :p
  9. Blayer98

    Blayer98 Active Member

    Deleted images.
    Last edited: Sep 24, 2019
  10. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Interesting! Very interesting indeed.

    // Offtopic
    You have literally everyone added on Facebook; I daren't go near it in case my Xezno counterpart comes back to me...
    Blayer98 likes this.
  11. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

  12. Blayer98

    Blayer98 Active Member

    lol, but I've given you a picture of the request.
    There's an Answer RRs that the response packet has.
  13. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    ??
    EDIT: There will be. :p
  14. Blayer98

    Blayer98 Active Member

    lol, well, what do you think we send? Obviously the login info. But WHY on earth is the game imminently disconnecting from localhost???
  15. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    ...Wouldn't we send a success packet now that we've managed to log in, regardless of what the username and password are (for test purposes)?
  16. Blayer98

    Blayer98 Active Member

    the game DOESN'T let you login, it freezes, and then unfreezes, which then sends the packet in between and does nothing.
    The game uses a DNS protocol, connecting to the original servers gave you an error because of a DNS lookup failure, localhost disconnected you in a split-second, and niotso.org does nothing except tell the game what it is.
    Last edited: Jul 11, 2015
    LetsRaceBwoi likes this.
  17. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Mmk. Sounds like a one-liner but I'll roll with it.
  18. Blayer98

    Blayer98 Active Member

    I added a LoginServer folder and .html file, now the game waits more than a split second :p but it's not nearly a full second.
    LetsRaceBwoi likes this.
  19. AquilaSim

    AquilaSim Administrator Staff Member Moderator

    I hope that you know what it will happen to you again if this happens, better safe than sorry again. ;)
    LetsRaceBwoi likes this.
  20. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Either you got the .html name right or it's finding files. :p

Share This Page