Jump to content

Recommended Posts

Posted (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 by eressea
Posted

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)
  • 2 weeks later...
Posted

This version works with interlude?

 

Nope, but similar thing can be probably achieved using C4 l2npc.exe (but someone has to "backport" it)

  • 6 months later...
Posted

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

  • 2 years later...
Posted (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 by Hitcher
  • Like 1
  • 3 months later...
  • 1 year later...
Posted (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 by girogius

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

    • interlude: l2acis uber alles
    • New Dragon-Network Server – Vote Now!   We’re launching a new Dragon-Network (Multiskill) server under a new domain, created by the original Classic-Interlude team. We no longer have access to the old domain, but this is the official continuation — not a scam, just a new home. The new domain will host: A main migrated server (nothing lost – all chars/items kept) Plus seasonal servers (voted by players) All seasonal progress will be merged into the main realm Help shape the new server – vote now: https://dragon-network.eu/   Let’s build the future of DN – together.
    • Hello there, Im beyond confused and dont know what path to take. I want to start working on a L2 server, changing some stuff here and there and finally in the future if  im happy with the results, to launch the server, but... L2j or L2off? After all this years, is there a Interlude L2j close to off?   Ive spent some time lookin over this forum, searching what would be better and what files to take but I ain't near to a clear answer.  Most of the time everyone is trowing stones at everyone, "your filles are trash, my filles are good" and viceversa. Therefore, Im reaching out to a knowledge guy, hopefully from a neutral position to all this drama, that can pin point me in a direction.    To explain what I want for a base start is an Interlude with a classic interface (features), low rate. Mostly what this guy TravorJ is describing in his post TravorJ post , and to do some reworks on it, ex: mobs drop, rethink the augment system/interface, rethink learning skills/enchant skills, create some custom potions/buff effects, siege mechanics... Is that possible on off files? or is better to go with L2j? I also want to mention that I have little to none L2 dev experince (13-15yrs ago I had an L2j server running  for a month where I made some basics changes), but I have coding background so Im used to that and more than willing to learn.   So in conclusion, I dont want to get some free shared files without any support, that I need to wrap my head around and fix stuff for long time to make them work, stuff thats already fixed buy someone else. Instead im looking to buy something thats more updated and start working from there. Question is what and from whom? Kinda sux when you go and buy something and u dont know what the hell are you buying (need some guidance here)   Is L2j Orion a good choice? I saw that is regularly updated. Lucera2 I dont think is something that I want cuz they dont sell soruce, prefer to have control and not to be dependent on someone to much...   Big thanks in advance!   
    • L2 INSIDE - HTML DESIGN     Portfolio - protojahdesigns.com You can also join Protojah Designs Discord
  • 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