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.



  • Posts

    • i had sent you in discord i think already the link seen you asking in mobius forum  anyway here you go  https://www.mediafire.com/folder/6oh7l7hf34xr9/C1
    • Hello all.   I have some strange errors on server side and the right bar of Open Beta STORE is not showing anymore after changing server ip.   Errors: [11:34:12] TriggerParser: Exception: l2.gameserver.data.xml.parser.exception.InvalidAttributeValueException: Bypass trigger is calling "classMaster#tryShowIcon" action which is missing! l2.gameserver.data.xml.parser.exception.InvalidAttributeValueException: Bypass trigger is calling "classMaster#tryShowIcon" action which is missing! at l2.gameserver.data.xml.parser.TriggerParser.parseBypasses(Unknown Source) ~[server.jar:?] at l2.gameserver.data.xml.parser.TriggerParser.parseTrigger(Unknown Source) ~[server.jar:?] at l2.gameserver.data.xml.parser.TriggerParser.readData(Unknown Source) ~[server.jar:?] at l2.commons.data.xml.AbstractParser.parseDocument(Unknown Source) ~[server.jar:?] at l2.commons.data.xml.AbstractFileParser.parse(Unknown Source) [server.jar:?] at l2.commons.data.xml.AbstractParser.load(Unknown Source) [server.jar:?] at l2.gameserver.data.xml.Parsers.parseAll(Unknown Source) [server.jar:?] at l2.gameserver.GameServer.<init>(Unknown Source) [server.jar:?] at l2.gameserver.GameServer.main(Unknown Source) [server.jar:?]   java.lang.IllegalArgumentException: Couldn't find Config "closedBeta" in file "shop" at l2.commons.config.ConfigManager.getConfigValue(Unknown Source) ~[server.jar:?] at l2.commons.config.ConfigManager.getObjectValue(Unknown Source) ~[server.jar:?] at l2.ext.closedbeta.ClosedBeta.isBetaTester(ClosedBeta.java:32) ~[?:?] at l2.ext.closedbeta.ClosedBeta$OnEnterWorld.onEnterWorld(ClosedBeta.java:23) ~[?:?] at l2.gameserver.model.actor.listener.PlayerListenerList.onEnterWorld(Unknown Source) ~[server.jar:?] at l2.gameserver.network.l2.c2s.EnterWorld.runImpl(Unknown Source) [server.jar:?] at l2.gameserver.utils.ExecutionRecorder.wrapInPacketExecution(Unknown Source) [server.jar:?] at l2.gameserver.network.l2.c2s.L2GameClientPacket.run(Unknown Source) [server.jar:?] at l2.commons.net.nio.impl.MMOExecutableQueue.run(Unknown Source) [server.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:840) [?:?] Caught at: l2.gameserver.network.l2.c2s.EnterWorld.runImpl(Unknown Source)   I am using lucera files, Ertheia version.   Any help would be gladly appreciated. Thank you.
    • u cant change anything in facebook without a password, so my tiktok case wasnt a hijack.
    • Exactly, if somebody hijacks ur sessions, then u wont see a new device in your "Devices List". And with that hijacked session you are able to change whatever you want unless you have 2FA enabled. And I believe changing a group owner doesn't trigger 2FA.
  • 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