Jump to content

Recommended Posts

Posted (edited)

BTW tree splitting produces too long paths in Windows, so it can't handle it properly =/
Max path length in Windows is 260 or something, so I'll limit tree depth.

Edited by verbrannt
Posted
1 minute ago, verbrannt said:

BTW tree splitting produces too long paths in Windows, so it can't handle it properly =/
Max path length in Windows is 260 or something.

 

It works for me on Windows 10 with PHP 7.2.7, I just had to enable Win32 long paths - see https://www.ryadel.com/en/enable-ntfs-win32-long-paths-policy-remove-255-260-characters-limit-windows-10/

 

Also I've seen you haven't applied UTF-16le decoding part from the patch and still drop all non-ASCII characters, what's the reason for it?

Posted
1 minute ago, eressea said:

Also I've seen you haven't applied UTF-16le decoding part from the patch and still drop all non-ASCII characters, what's the reason for it?

 

I'm refactoring main.php right now thats the reason :)

Posted

There is 3 functions missing from eressea's compiler.

Quote

"235078277": {
        "name": "SetLocalMap",
        "arguments": [
            "int",
            "int",
            "int"        ],
        "type": "void"
    }

"235012742": {
        "name": "GetLocalMap",
        "arguments": [
            "int",
            "int"        ],
        "type": "int"
    }

"268828804": {
        "name": "DebugLog",
        "arguments": [
            "string",
            "string",
            "string",            "int",
            "int",
            "int"        ],
        "type": "void"
    }

 

 

Posted
4 minutes ago, zconll said:

There is 3 functions missing from eressea's compiler.

 

Because they're custom and unique for MyExt64... Maybe add data/gf-myext? :)

Posted

Problem with empty string in "MakeFString" function.

After descompiler:

Quote

Say(MakeFString(1000452, , __blankblank, _blank, _blank, _blank));

 

Should be:

 

Quote

Say(MakeFString(1000452, "", "", "", "", ""));

 

 

class  warrior_parameter affected and some more.

Posted
2 minutes ago, zconll said:

Problem with empty string in "MakeFString" function.

After descompiler:

 

Should be:

 

 

class  warrior_parameter affected and some more.

 

_blank is a property defined in the default_npc class.

string  _blank = "";

 

Posted

ok, I never has seen this parameter in GF/freya ai.obj, i need add this parameter to  "default_npc" class, but there a problem after descompiled.

Quote

Say(MakeFString(1000452, , __blankblank, _blank, _blank, _blank));

 

How you can to see second and third parameter show both together, when should be:

 

Quote

Say(MakeFString(1000452, , __blank, _blank, _blank, _blank, _blank));

 

Posted (edited)
5 minutes ago, zconll said:

ok, I never has seen this parameter in GF/freya ai.obj, i need add this parameter to  "default_npc" class, but there a problem after descompiled.

This parameter is from another AI (not default GF/Freya). AdvExt uses it, for example.

 

5 minutes ago, zconll said:

How you can to see second and third parameter show both together, when should be:

 

Please provide part of the ai.obj where this happens.

Edited by verbrannt
Posted (edited)

New release: https://github.com/madyanov/nasc-decompiler/releases/tag/v1.4

 

  • HF Support by Eressea
  • GD Support by @ChaosPaladin
  • Many NASC generator fixes
  • Split result classes into tree
  • Non-ASCII symbols support by Eressea

 

Edited by verbrannt
  • Like 1
  • Thanks 1
Posted (edited)

Are you sure that GM_... aren't global map IDs?

 

EDIT: For example antharas uses global map ID of 10 which is same as gm_antaras_max... On the other side, it's usually defined as a parameter so it can't get resolved nevertheless...

Edited by eressea

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • Lol good joke.   If I'd be the one contacting yo then I'd say at least 50% in advance because you can basically just fuck off when things doesn't go your way, and then you as a developer just wasted days or even weeks of time with development.
    • "Just make your own game!" sounds simple until you’ve tried it. I did, with Epic Dragon World and learned the hard way that "open source" often means "free labor for resellers." The MIT license became a buffet for people to grab code, rebrand it and ghost the project. Even basic collaboration collapsed because everyone wanted their vision, not *a* vision. NCSoft’s lawyers aren’t theoretical. They’re a sword of Damocles. Even if you rebuild a client from scratch, if it feels like Lineage 2, they’ll come knocking. Ask the Chrono Trigger fangame corpses how that goes. MMOs are hospice care. The genre’s on life support, kept alive by whales and nostalgia. Look at Throne and Liberty, NCSoft’s own "successor" to L2, flopping harder than a 2004 PKer in ToI. Classic reboots (WoW, L2) are bandaids, not resurrections. This is the hobby. Optimizing old systems, reverse-engineering spaghetti code and preserving janky mechanics is the fun part. Monetizing it turns it into customer service hell. No thanks. Community? What community? The L2 scene is 90% resellers, 10% players who’ll quit the second they don’t get +16 on day one. Both asking how to install Java and why running the uncompiled server does not work.
    • Dear players, Open beta test for C3 begins today at 19:00 server time (GMT +2). 💰 All participants who find bugs during OBT will be rewarded with Coin of Luck (CoL): - 1 CoL for each staticmesh issue found — e.g., walking through textures, etc., - 2 CoL or more for server-side issues, depending on their severity., We strongly recommend reviewing the quest list - when switching to Chronicle 3, the total number of quests should match the number shown in the upper right corner of the window and correspond to the quest count from Chronicle 2. To log into the game, use the same data you use to access the Airin server. 📌 Download client: Google Drive
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock