Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Share Myext64 - My New Opensource Gracia Final/epilogue Extender


Recommended Posts

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

Share this post


Link to post
Share on other sites
  • Replies 411
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

I'm writing a brand new Gracia Final/Epilogue extender, if you want to try it or have a look at sources, I'll put some development versions here: it's hosted on bitbucket.   https://osamelahora.cz/MyExt64/ https://bitbucket.org/l2shrine/extender-public   Now it does almost nothing but I'll add some new stuff over time... I'm adding new stuff over time :)   MyExt64 What is MyExt64 MyExt64 is new opensource extender for l2off Gracia Final server (l2_off_gracia_

Hi, please try it and let me know if it works, I don't have enough time to test it now :/ https://bitbucket.org/l2shrine/extender-public/commits/d45cf9fa0126fb02bc4f4ae2c89d1cc78a2aedb4

Guytis it is sorta amazing how butthurt you appear to be, continously making useless troll or trash talk posts. I'm impressed you appear to hate MasterToma so much. Hats off to him really for causing you to look like such an emo jackass.   You sir are one of a kind, exactly the kind of person Maxcheaters needs around here...    Really though, are there any moderators here to help take out the trash arond here?  This thread hijacking nonsense is a little silly.

Posted Images

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...

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
  • 3 weeks later...

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.