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.




  • Posts

    • You always find a way to lower the bar. Consistency matters. I admire your dedication to being completely unaware of how little you matter.     at least you are not entirely useless you can always serve as a bad example
    • hahahahahahahahahahahaha this says more about MaxCheaters than about me xD
    • I already finished my panel for change name and gender, anyway need restart, im used schema  $stmt = $conn->prepare("EXEC lin_ChangeCharacterName2 ?, ?, ?"); for change name... also for change gender i used if ($race == 5) // Kamael race ID; modify this value as per your database { $error = "Gender change is not allowed for Kamael race characters."; } else { $stmt = $conn->prepare(" UPDATE user_data SET gender = ?, face_index = 0, hair_shape_index = 0, hair_color_index = 0 WHERE char_id = ? AND account_name = ? "); Sorry no idea how to add cached update in myext64 about, not have any  solution for this yet compatible to myext64 code. This is my panel make in php http://177.73.143.43:8080/account/ Cool panel for me, without experience in any code. Without help from any people here 🙄
    • Don't listen to that idiot @Nightw0lf — he doesn't know or understand anything... he just talks nonsense. Here's the solution, just to prove that they're the useless ones giving you meaningless and useless answers.   function disableCharacter($charId){ $buf = pack("cVV", 0x14, $charId, 1); return $this->Send($buf); } function enableCharacter($charId, $accountId){ $buf = pack("cVV", 0x15, $charId, $accountId); return $this->Send($buf); } function kickCharacter($charId) { $buf = pack("cV", 0x05, $charId); $tmp = $this->Send($buf); sleep(2); return $tmp; } //-------------------------------------------------------------------------------- if ($func==7)//DESHABILITAR PERSONAJE { $char_id = $var1; $CACHED->kickCharacter($char_id); $respuesta = $CACHED->disableCharacter($char_id); RegistrarActividad("disableCharacter",$respuesta,GetCharNameByCharId($char_id)."(".$char_id.")",0,0,0,0); } else if ($func==8)//HABILITAR PERSONAJE { $char_id = $var1; $account_id = $var2; $CACHED->kickCharacter($char_id); $respuesta = $CACHED->enableCharacter($char_id,$account_id); RegistrarActividad("enableCharacter",$respuesta,GetCharNameByCharId($char_id)."(".$char_id.")",$account_id,0,0,0); } //-------------------------------------------------------------------------------- $CACHED->disableCharacter($char_id); $tabla = sqlsrv_query($conexion_lin2world, "UPDATE user_data SET xxxxxxxxxxxx WHERE char_id=".$char_id.""); $CACHED->enableCharacter($char_id,$account_id); Now just compare the stupidity said by that imbecile @Nightw0lf with the answer I gave you... Thanks to people like this, MaxCheaters is in the state it's in... They keep following useless people who are good for nothing 😉  
    • A new template is available: Mystical-World - Responsive HTML Template    
  • 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