Jump to content
  • 0

How do I modify MOBS, add sciripts etc. (acis)


Question

Posted

Hello everybody.

 

I'm using the latest free acis source.

 

How can I insert a script on my server?

  e.g this  https://maxcheaters.com/topic/165825-offline-shop-craft-309-rev/

  the offline trader from SweetS share.

 

Where do i put the code? How do I install it in my server?

 

Also, the name and droplist of monsters cannot be altered.

XML npc modified and saved, reloaded but still it just won't change.

 

I have several questions, if anyone is willing to invest some of their time in assisting a newbie it would be much appreciated.

 

PS: I've searched on this forum but it seems I'm very inexperienced to understand virtually anything.

3 answers to this question

Recommended Posts

  • 0
Posted

It's not a script, but a .diff patch. A script in L2J world is basically an AI script, editing behaviors using listeners (onKill, onTalk, etc), mostly used by quests, grandbosses, etc.

 

If you got the good revision, you can normally automatically apply a .diff patch but virtually, it almost never happens due to numerous facts (you either edited sources, you use another revision, etc) so you have to edit your sources at hand.

 

On the diff patch, "index" is the file to edit. Lines to add got a +, lines to remove got a -. To help you, you got also line numbers under @@ numbers @@.

 

If you don't see any +/-, it means that line already existed on the file, at the time of the patch. So you can easily copy paste it to find it and find back on an easy way where other modified lines can be added/removed.

  • 0
Posted

Thank you very much for your time and explanation (even though I'm still baffled).

 

Tryskel, since you are experienced in this subject, would you share a source with tutorials for beginners by your judgment? 

 

If it's beyond your time schedule to do so, it's okay, I will solely continue my research.

 

Thanks again and thanks in advance.

  • 0
Posted

About diff patches specifically, there's probably multiple hundreds of tutorials for Java, simply search on google.

 

About L2J in general, you can either search on MxC, on aCis forums (I explain some concepts), and probably on youtube.

 

Unfortunately, I doubt someone would make such tutorials, I invite you to test to apply a lighter diff patch with less lines first if you feel unable to handle such a diff patch.

 

It's really about copy and pasting things, reading which file and around which place to copy-paste. Not even what I could call "developement".

  • Upvote 1

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
Answer this question...

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



×
×
  • Create New...