eressea Posted January 11, 2017 Author Posted January 11, 2017 (edited) Sorry for my english, here you have screenshott when i am to running l2npc server for load npcs (without arguments). I am doing double click on l2npcmyext64.exe and then happen it. http://www66.zippyshare.com/v/q2FOTSji/file.html Bt iif i run from command prompt then l2npc work (load ai.obj and npcpos.txt). Fixed, it was wrong parsing of command line parameters (you have a space in path to directory where you try to run it). Also added advext functions from newer version of their compiler (where they renamed UnBlockTimer to UnblockTimer - hihi, my compiler takes both) so we're now fully compatible with vanilla gracia final and 2 different advext compiler versions :)) http://download.l2shrine.com/compiler.zip Edited January 11, 2017 by eressea Quote
eressea Posted January 12, 2017 Author Posted January 12, 2017 I've uploaded new version - the download URL is the same, http://download.l2shrine.com/compiler.zip Changes: removed some npcd log messages when in compile mode fstrings are now stored in std::map<UINT32, std::wstring> instead of stupid wchar_t* array (with limited index) Quote
ArgentinoHemano Posted January 26, 2017 Posted January 26, 2017 New version woking like a charm, tks for your work Quote
eressea Posted January 26, 2017 Author Posted January 26, 2017 This version works with interlude? Nope, but similar thing can be probably achieved using C4 l2npc.exe (but someone has to "backport" it) Quote
martynasr08 Posted August 3, 2017 Posted August 3, 2017 f.e. i have ai.obj how to compile to nasc and decompile againt to obj ? Quote
mwn Posted August 3, 2017 Posted August 3, 2017 f.e. i have ai.obj how to compile to nasc and decompile againt to obj ? actually ai.obj is compiled from ai.nasc (witch is source) you compile ai.nasc trought l2npc.exe (witch is npc server(is like "virtual machine")) you can use already decompiled an manually fixed version of GF ai.obj(witch is decompiled by sauron decompiler for c4(and manualy fixed to work like a charm..)) you need just to edit and compile the ai.nasc, you dont need to decompile it again... to run l2npc.exe just launch you cmd -> then switch to your l2npc dir (via chdir command) and then type : l2npc.exe -c -e Quote
Hitcher Posted August 6, 2019 Posted August 6, 2019 (edited) Endless gratitude to Eressea ... for work, generosity, help, openness, responsiveness ... I adore her ...) (lvl 0) Сompiler application guide (for gremlins like me :) 1. Version Python no higher than 2.7 (syntax errors may occur in newer versions) 2. Open a command prompt: 3. cd C: \ l2 // directory where the Compiler is located. In my case, C: \ l2 4. make.py all // execute the .py script with the command line parameter all done! get three big compilations: ai.nasc ai.obj ai folder ----- To compile one big ai.nasc into ai.obj: 1. put ai.nasc in the folder with l2npc.exe (in my case C: \ l2 \ nasc \ l2npc) 2. Open a command prompt: 3. cd C: \ l2 \ nasc \ l2npc // again specify the directory) 4. l2npc.exe -c ai.nasc done! Compiler: http://download.l2shrine.com/nasc.tar.gz Edited August 6, 2019 by Hitcher 1 Quote
sandeagle Posted November 17, 2019 Posted November 17, 2019 anybody know how to decompile Advext's H5 ai.obj ???i try to decompile it ,but some classes will trigger errors. Quote
girogius Posted January 25, 2021 Posted January 25, 2021 (edited) On 1/7/2017 at 7:52 PM, eressea said: Hi everyone, I've made a brand new AI compiler for Gracia Final based servers (based on l2npc.exe) Download: http://download.l2shrine.com/compiler.zip Source: https://bitbucket.org/l2shrine/extender-public (the compiler is part of MyExt64 open source extender) Some basic info it uses the official NASC syntax for Gracia Final, so use class a : b, not class 0 a : b and define set_compiler_opt base_event_type(@NTYPE_NPC_EVENT) or set_compiler_opt base_event_type(@NTYPE_MAKER_EVENT) use UTF-16LE input files use myself.something, not myself::something it should work the very same way as AdvExt compiler including all new functions, variables, handlers and types they've added it also accepts PSTATE_, MSTATE_ ... constants if you run l2npc.exe without command line parameters, it runs as a standard l2npc.exe (with MyExt64 extender) if you run l2npc.exe with command line parameters, it runs as a compiler Enjoy! how can i compile nasc file? Edit: never mind. i did it. Edited January 25, 2021 by girogius Quote
Recommended Posts
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.