[REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

Page 2 of 2 FirstFirst 12
Results 26 to 40 of 40
  1. #26
    Member killerheath is offline
    MemberRank
    Mar 2008 Join Date
    66Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    This is great! Got hh_interface decrypted and fixed up all the lingo errors and syntax issues, now we can edit the dialogue windows without breaking the purse & help button among other things.

    Everything seems to work, here's the link if anyone wants it: (V14 I think)
    https://mega.nz/#!EAIUgIYT!kYy53UWJv...dhYeLMQK-ZbOaY

    Here's an example (not very pretty, am not an artist lol, just changed the shading a bit and made it gold)






    Also, when I try to open the CST files uploaded to this thread, it says they are for a newer version? (I believe adobe director 11.5 or something worked, but couldn't get the client working after publishing the CCT files) Not really an issue though, just decrypted the supplied CCT files.

  2. #27
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Quote Originally Posted by killerheath View Post
    This is great! Got hh_interface decrypted and fixed up all the lingo errors and syntax issues, now we can edit the dialogue windows without breaking the purse & help button among other things.

    Everything seems to work, here's the link if anyone wants it: (V14 I think)
    https://mega.nz/#!EAIUgIYT!kYy53UWJv...dhYeLMQK-ZbOaY

    Here's an example (not very pretty, am not an artist lol, just changed the shading a bit and made it gold)






    Also, when I try to open the CST files uploaded to this thread, it says they are for a newer version? (I believe adobe director 11.5 or something worked, but couldn't get the client working after publishing the CCT files) Not really an issue though, just decrypted the supplied CCT files.
    The .cst files uploaded are just my unprotected ones with the bytecode still in them, they shouldn't be opened with Director because they're too recent to be created back into .cct files that the Habbo client will support.

    It's best to just use recover-cct, unprotect them yourself and paste back in the scripts and fix them.

    Also remember to use the Lingo from here: https://github.com/Quackster/habbo_src

  3. #28
    Member killerheath is offline
    MemberRank
    Mar 2008 Join Date
    66Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Yep I did, made it much easier. No more issues with comparing "me" with stuff. But still some undefined things, and also it doesn't seem to like if statements with "or", so was missing a load of them.

    for example, it was like:

    if something <> somethingelse then
    if something <> somethingelse then
    if something = somethingelse then

    when it should have been like:

    if something = somethingelse or something = somethingelse or something = somethingelse then

  4. #29

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Finally someone achieved this! Very interesting seeing some of the techniques Sulake used to use to block us debugging crypto / client functions....
    Code:
    if _player.traceScript then
    return(0)
    end if
    end if

  5. #30
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Quote Originally Posted by office.boy View Post
    Finally someone achieved this! Very interesting seeing some of the techniques Sulake used to use to block us debugging crypto / client functions....
    Code:
    if _player.traceScript then
    return(0)
    end if
    end if
    Yup! I knew you had something sort of working but I didn't hear anything more? Anyways, I'm glad I finally did it but the issue is that it's kind of late into Shockwave's lifespan, after all it's declared as end of life now - it doesn't mean it's totally useless though.

  6. #31
    Newbie natedog2246 is offline
    MemberRank
    Sep 2009 Join Date
    7Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Wow. I am at loss for words. Just wow. thank you so much

  7. #32
    Grand Master Moogly is offline
    Grand MasterRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,321Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Quote Originally Posted by office.boy View Post
    Finally someone achieved this! Very interesting seeing some of the techniques Sulake used to use to block us debugging crypto / client functions....
    Code:
    if _player.traceScript then
    return(0)
    end if
    end if
    There may or may not be a Discord server from which vast knowledge of Shockwave bytecode and other Habbo ramblings occur.

    Great release @Quackster, dont forget to give a shoutout to our loving friend ThuGie. ;)

  8. #33
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    The decompilation process has been improved slightly to fix order of operations decompilation.

    Sums that do division/modulo/multiplication will now put brackets around such statements to indicate the correct way to interpret these statements.

    Lets say you decompile "5 + (10 * 30)" it would decompile as:

    5 + 10 * 30 which could give the result:

    15 * 30 = 450

    When it's actually 5 + (10 * 30) which is 5 + 300 which gives you 305 instead, this is why order of operations is important!

    Commit: https://github.com/Quackster/habbo_s...e13b76cf7dfc82


  9. #34
    Not My Daddy Joorren XD is online now
    LegendRank
    Feb 2010 Join Date
    1,558Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Quote Originally Posted by Quackster View Post
    The decompilation process has been improved slightly to fix order of operations decompilation.

    Sums that do division/modulo/multiplication will now put brackets around such statements to indicate the correct way to interpret these statements.

    Lets say you decompile "5 + (10 * 30)" it would decompile as:

    5 + 10 * 30 which could give the result:

    15 * 30 = 450

    When it's actually 5 + (10 * 30) which is 5 + 300 which gives you 305 instead, this is why order of operations is important!

    Commit: https://github.com/Quackster/habbo_s...e13b76cf7dfc82
    You went a bit overkill on some of them, but hey ... :D

    Code:
     tTemp = ((1 * pTempPercent + pLoadedSoFar) / pCastcount)

  10. #35
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Quote Originally Posted by Joorren View Post
    You went a bit overkill on some of them, but hey ... :D

    Code:
     tTemp = ((1 * pTempPercent + pLoadedSoFar) / pCastcount)
    Sigh, I need to update it again, in theory it should be instead:

    Code:
     tTemp = ((1 * (pTempPercent + pLoadedSoFar)) / pCastcount)
    And yes they are overkill, but that's one of the downsides of reinterpreting bytecode to ensure the sums are the same.

    I have other bytecode fixes shortly, fixing more 'undefined' variables etc.

  11. #36
    Not My Daddy Joorren XD is online now
    LegendRank
    Feb 2010 Join Date
    1,558Posts

    Re: [REL] [v5-v39] Decompiled Lingo from Shockwave Habbo

    Quote Originally Posted by Quackster View Post
    Sigh, I need to update it again, in theory it should be instead:

    Code:
     tTemp = ((1 * (pTempPercent + pLoadedSoFar)) / pCastcount)
    And yes they are overkill, but that's one of the downsides of reinterpreting bytecode to ensure the sums are the same.

    I have other bytecode fixes shortly, fixing more 'undefined' variables etc.
    Aue, you’re working hard!
    Soon we’ll be able to customise everything ❤️❤️
    Last edited by Joorren XD; 21-10-19 at 02:48 PM.

  12. #37
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts
    I'm going to redo all of the source code for every Habbo version with ProjectorRays as there's been improvements over my own decompiler.

    Not to mention, of the improvements was a pull request recently by me as well! https://github.com/ProjectorRays/ProjectorRays/pull/28

    Stay tuned.
    Last edited by Quackster; 18-08-22 at 01:02 PM.

  13. #38
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,486Posts
    Quote Originally Posted by Quackster View Post
    I'm going to redo all of the source code for every Habbo version with ProjectorRays as there's been improvements over my own decompiler.

    Not to mention, of the improvements was a pull request recently by me as well! https://github.com/ProjectorRays/ProjectorRays/pull/28

    Stay tuned.
    Apologies for the double post, but every single Habbo version has now been updated with the new decompiler.

    Link for those who aren't aware: https://github.com/Quackster/habbo_src

    Enjoy!
    Last edited by Quackster; 23-08-22 at 04:47 AM.

  14. #39
    Ball like Wall oddzag is offline
    [VIP] MemberRank
    Aug 2009 Join Date
    AnusLocation
    433Posts
    That first scripting reference link doesn't work, not for me anyway. I think this is the same file
    Director Scripting Dictionary 11.5

  15. #40
    Thanks for the memories! Nillus is offline
    Grand MasterRank
    Feb 2007 Join Date
    The NetherlandsLocation
    2,627Posts
    Absolutely fascinating.



Page 2 of 2 FirstFirst 12

Advertisement