Jump to content

Recommended Posts

  • 3 years later...
  • 4 years later...
Posted (edited)
47 minutes ago, cryptonakos4444 said:

is it possible to make zone not allowed mass aggro or hit monster from another player? 


To cut a long story short - yes, it is very much possible to do whatever you like, as long as you know what you are doing or at the very least know how to code.

This guide is more of a general one on how to use what is already there, at that particular point in time, 9 YEARS AGO, and on a non-specified build on the Acis platform.

It does not delve into the inner workings of the server core, kernel, or however else you wanna call it. It does not list what the available zone types are nor how the different zone types are handled in the core. These could differ not only from project to project and developer to developer, but also from the version to version by the same developer/project.

As such, the guide won't be much of a help for your particular case, unless your source supports the features you are asking for.

To this end, you should search for explanations on how each zone type is handled, or even better - look for yourself.

1. Download and open the source, preferably with IntelliJ due to its user-friendliness.
2. Locate the Zone and ZoneType classes.
3. Look where and how they are used until you find the "PARSER", which takes the info from the XML and stores it on the running server.
4. Follow the crumbs trail from there until you discover the file(s) handling each individual zone type or the info of all of their available options, also known as "HOLDER".
5. Once there, you would have to create and implement the new option(s) for your particular use-case.
6. From there, you have to back-track your steps all the way back to the PARSER class and add the new options there too.
7. Then you would have to check if the XML file in your datapack is linked to an XSD file, and you would want to add the new option(s) within the XSD too, branding them as OPTIONAL so that they are not considered mandatory in all entries.

Although the list might look lengthy, and scarry, at first, it is actually an extremely easy thing to do.

Regarding point №5, namely creation and implementation, you either know how to do it by yourself or you dont. If you cannot do it and you are not willing to learn java/coding/programming, pay someone to do it for you, but be EXTREMELY vigilant and adamant about NEVER paying up-front, especially in full!

Have a nice one, and most importantly, enjoy the process!
 

Edited by Salty Mike
typo.. :X

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.




×
×
  • Create New...