Jump to content

Recommended Posts

Posted (edited)

If you're ever bored for something to do eressea, L2NPC from GF contains the fully functioning lexer/parser for NASC compilation, just doesn't have the init procedures/constructors

 

for compiling the hole ai.nasc you would need to do it with the built in compiler in npc.exe like someone already pointed out.

 

Ok, I'm going to try it.

 

I'm working with l2npc - extending it and calling code that invokes compilation instead of loading AI and spawning NPCs :)

 

So far:

  • Allocated some space for the lexer/parser instance
  • Called constructor @ 0x5C9980 on parser instance
  • Called function @ 0x5BE2B4 on parser instance with parameter L"citizen.nasc" (prepares input file, returns true which means ok)
  • Called function @ 0x419D84 with parameter "ai.obj" (creates output file)
  • Called function @ 0x419E40 with parameters sizeof(void*), 69, 79, 2, 2, 0 (writes header)
  • NOW I'M MISSING SOMETHING HERE
  • Called function @ 0x5D7F70 on parser instance (compiles the program, returns 0 which means ok)
  • Checked UINT32 @ 0x37886C0 (error count, is 0 now)
  • Now it would have been done if I didn't miss the step I'm still missing

... work in progress ...

 

If anyone has any additional info, let me know :)

 

If I manage to make functional compiler for GF, I'll make it part of MyExt64 (so it will be open source).

Edited by eressea
Posted

Tell me what you can edit the AI? Decompile and compile?

 

You can either edit it manually in ai.obj (it's not easy but it works if you do it well) or decompile and recompile it.

At the moment there is probably only one REALLY working decompiler made by Sauron as mentioned here http://www.maxcheaters.com/topic/203399-myext64-my-new-opensource-gracia-finalepilogue-extender/page-12?do=findComment&comment=2609299 and one working compiler that can be bought from AdvExt.

I'm currently trying to implement the compiler too so it would be free for anyone...

Posted (edited)

Got it! https://bitbucket.org/l2shrine/extender-public/commits/5292c28a57e8ee4b4eba641c4692be6afa203f46

Is this really what guys from AdvExt sell for $100 with key lock?

 

I'll try to add support for constants like PSTATE_IDLE soon...

 

Also I'll write new topic about the compiler soon (with how to use etc)

Edited by eressea
Posted

Got it! https://bitbucket.org/l2shrine/extender-public/commits/5292c28a57e8ee4b4eba641c4692be6afa203f46

Is this really what guys from AdvExt sell for $100 with key lock?

 

I'll try to add support for constants like PSTATE_IDLE soon...

 

Also I'll write new topic about the compiler soon (with how to use etc)

It would be very good! And the script to file for epilog is impossible. And much more. Thank you for your efforts!

Posted

So new gf bug! in ncsoft's infinite wisdom they aren't checking on private store setup whether the items you're trying to buy/sell are actually tradeable, so phx send up the object id of an untradeable in private store packet and boom you can now trade untradeables

Posted

So new gf bug! in ncsoft's infinite wisdom they aren't checking on private store setup whether the items you're trying to buy/sell are actually tradeable, so phx send up the object id of an untradeable in private store packet and boom you can now trade untradeables

 

Thanks for info! Going to fix this when I have some time for it...

Posted

another one i remember is agro bug, if you will target person who cast agro on you before he ends his cast, you will be able to change target once cast is finished even with debuff on - target lock will not work. Widely scripted back in times, still not fixed in most packs.

  • 3 weeks later...
Posted

another one i remember is agro bug, if you will target person who cast agro on you before he ends his cast, you will be able to change target once cast is finished even with debuff on - target lock will not work. Widely scripted back in times, still not fixed in most packs.

 

I'm not able to reproduce it, maybe I'm doing it wrong. What should I do? :)

 

Also we've found another bug, this time it's race condition. When player logs in and something triggers character save to database before fame points are loaded (it's loaded asynchronously), there is very small chance of resetting the points to zero. I have it already fixed and will push the fix to bitbucket soon.

Posted

I'm not able to reproduce it, maybe I'm doing it wrong. What should I do? :)

 

Also we've found another bug, this time it's race condition. When player logs in and something triggers character save to database before fame points are loaded (it's loaded asynchronously), there is very small chance of resetting the points to zero. I have it already fixed and will push the fix to bitbucket soon.

 

 

waiting for bitbucket update!

Posted (edited)

waiting for bitbucket update!

 

Pushed fix for disappearing Fame points, showing offline trade player count in status window and another fix for hide skill (in fact I'm starting to hate that skill) https://bitbucket.org/l2shrine/extender-public/commits/all

Edited by eressea
Posted

Pushed fix for disappearing Fame points, showing offline trade player count in status window and another fix for hide skill (in fact I'm starting to hate that skill) https://bitbucket.org/l2shrine/extender-public/commits/all

 

WOW! tks for update it, keep this amazing work up ! please :)

Posted

Pushed fix for disappearing Fame points, showing offline trade player count in status window and another fix for hide skill (in fact I'm starting to hate that skill) https://bitbucket.org/l2shrine/extender-public/commits/all

 

Just a question, this extender is the same used into your live server?  https://l2shrine.com/

And tks for your amazing work

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

    • Done. Thanks for your choose and trust us, we are the only and LAST, authentic L2OFF Service.
    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4.7 dollars E-Global x Lu4 - 1kk = 2.7 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO
    • Hello send me on discord to receive the files source packages you order fron team, thanks you.
    • 亲爱的 SocNet 用户! 我们想向您介绍我们平台当前的促销和特惠活动列表: 1. 在 9 月使用优惠码 SEPTEMBER2025(9 折优惠)即可在我们的商店(网站、机器人)购物!您还可以在首次购买时使用优惠码:SOCNET(85 折优惠) 2. 获得 $1 商店余额或 10-20% 折扣,只需在我们网站注册后按照以下模板填写您的用户名: "SEND ME BONUS, MY USERNAME IS..." ——需要在我们的论坛主题帖中发布! 3. 获得 $1 用于首次试用 SMM 面板:只需在我们网站(支持中心)提交一个主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道和机器人中每周都会赠送 Telegram Stars! 当前链接: 数字商品商店(网站):前往 购买 Telegram Stars 的 Telegram 机器人:前往 SMM 面板:前往 – 推广您的社交媒体账号。 商店 Telegram 机器人:前往 新闻资源: Telegram 频道: https://t.me/accsforyou_shop WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord 服务器: https://discord.gg/y9AStFFsrh 我们正在积极寻找以下商品类别的供应商: — Snapchat 新旧账号 | 带积分 (snapscores) | 地区: 欧洲/美国 | 邮箱/手机号完全访问权限 — Reddit 老账号(暴力破解或被盗来源,自注册)| 帖子和评论业力值 100 至 100,000+ | 含邮箱完全访问权限 — LinkedIn 老账号 | 拥有真实连接 (connections) | 地区: 欧洲/美国 | 邮箱完全访问权限 + 活跃的 2FA 密码 — Instagram 老账号 (2010-2023 年) | 邮箱完全访问权限(可能包含活跃的 2FA 密码) — Facebook 老账号 (2010-2023 年) | 邮箱完全访问权限(可能包含活跃的 2FA 密码)| 有好友或无好友 | 地区: 欧洲/美国/亚洲 — Threads 账号 | 邮箱完全访问权限(可能包含活跃的 2FA 密码) — TikTok/Facebook/Google ADS 代理广告账号 请通过以下联系方式联系我们 —— 我们来讨论合作条件! 我们也随时欢迎其他合作机会。 联系方式和支持: Telegram: https://t.me/socnet_support WhatsApp: https://wa.me/79051904467 Discord: socnet_support 邮箱: solomonbog@socnet.store 通过这些联系方式您还可以: — 咨询批量采购 — 建立合作伙伴关系(现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商
  • 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