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

    • L2 DEVS - HTML DESIGN (ALL NPC'S)    
    • I only share for free what they are reselling 🙂 You keep crying in all the publications, and if you are looking for h5 or gd wait for 5 or 6 years... cheers.... GENERAL Cached Extended to 8192kb IOBuffer Hair2SlotCache ItemBidAuctioner Clan Hall Current Olympiad Season Rank pages System (Shows Points/Games - Fully Configurable) Automatic Flag Around Raidboss System Offline Shop & Buffers Restore After Restart (Fixed location) Offline Buffer System PvP Auto Announce System Rebuilt with Extra Addons (Fully Configurable, Name, Zones, Rewards) Automatic Announce System Rebuilt with Extra Addons (Fully Configurable) ALT+B Augmentation House Shift+Click Droplist/Spoil List Epic Items Rank RB points Rank ChangeColorName ChangeColorTitle Change Skin (Race) Change Gender Custom Subclass (Acumulative) Achievements Item Delivery System  Augmentations/Enchants Automatic Announce System Auto Learn Skills PvP Reward Pk Reward War Reward Scheme buffer GlobalChatTrade Trade Augment Items Castle Announce Time Castle Standby Time Fix Spiritshots delay SpellbooksDrop Enable/Disable Drop custom Fully configurable, lvl min max allmobs, allrb, individual New cancel effect min,max BlessedarmorEnchantRate BlessedmagicWeaponEnchantRate BlessednormalWeaponEnchantRate MaxSlosChars MaxSlotsDwarfs Enable or disable all commands Fix fast loading npc OlympiadRestoreStatsOnFightStart OlympiadSystemSecondTimeEnabled OlympiadEnterLast10Minute OlympiadThirdClassSummons MinLevelTrade AnnounceSubClassMsg1 AnnounceSubClassMsg2 AnnounceSubClassMsg3 LimitedSubClassRace NoSellItems Change ID SealStones for AA NoPrivateBuyItems NoDropPlayerOnDie DisableSkillEnchantData Show Level Mobs Show npc clan flag DespawnSummonEnBattle SummonPetEnBattle RideSummonPetEnBattle DitanceToTargetMove EnterWorld_Undying EnterWorld_UnHide BlockWhispMessagePlayerToGM UseItemsWithHide CriticalSkillDamageBonusPer=4.0 Disable SSQSystem OnCastle Siege End Use any dyes Buy halls directly in auctioneer without waiting for the auction, configuration to change the item you consume MensajeEnterWorldServer Command .hero enable/disable hero aura Config vip global chat character, chat by systemsg Soulshots: NoSendSystemMessageUse Panel //admin Global vote reward Agathions system Anti Interface, control all patch files by md5 Command .menu configurable, last restart, name, maxusers, privatestores Spawn protection activate deactivate consume items to activate  Activate or deactivate autoloot for vip characters EVENTS Happy Hour Event reworked Configurable by announcements or systemsg Team VS Team Capture The Flag Death Match Last Man Standing Destroy The Base Korean Style Castle Siege Check if the player is inside the tvt event due to disconnection/critical error Top 1/5 killer reward/announce TimeAfk ResetReuseSkills ResetBuffsOnFinish Firework effect Reward win/lost Add Team Location Title custom Red/blue Open Door/Wall System BalanceBishops Show kills in title Invest positions Show Death To Top Delete Non-Subclass Skills     RELOADS Reload Enterworld Html Option Reload Faction System Reload Donate Shop Reload OfflineBuffer Reload Champion NPC Reload CliExt Reload AntiBot Reload Vip System Reload Auction Reload AutoLoot Reload CastleSiegeManager Reload CharacterLock Reload ClanPvPStatus Reload AutoLearn Reload ClanReputationRank Reload ClanSystem Reload CreatureAction Reload Customs.ini Reload L2server.ini Reload SkillData.txt Reload doordata.txt Reload decodata.txt Reload Multisell Reload DropList   Extender tested for more than 3 years. Assured stability. Possibility of adding MOD's upon request. (Not included, consult).
    • some peoples trash is another mans treasure, is that your treasure?   people might like the content but you are still the rat in the room     thats the community judging you.  
    • Keep reselling what I publish here for free!!! 🙂 GG  
  • Topics

×
×
  • Create New...