Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #004066

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (0)No (0)
Photo

Doesn't adopt existe any more?

Posted by Hercules Bot on 22 February 2010 - 03:16 AM

Originally posted by M1dN1ght
http://www.eathena.w...er&showbug=4066

Hi, I don't know if here is the correct session, but...
The script command 'adopt' only exists in the documentation, I searched it on script.c and it doesn't exist any more, I didn't try to use it in game, but I guess if the command doesn't exists in the script.c it doesn't exists on emulator...

Adopt's Documentation:
CODE
*adopt "<parent name>","<parent name>","<novice name>";
*adopt("<parent name>","<parent name>","<novice name>")

This command will set up a novice as a baby of a married couple. All three are
referred to by character name. The correct variables are set on all three
characters in the same call. The command will unequip anything the novice has
equipped and make them a Job_Baby class, as well as send them a 'your job has
been changed' message.

Beware of calling this from inside a 'callfunc' function, cause upon successful
adoption, this command returns a zero, as if it were a function. This is likely
to screw up execution of a 'return' command. You may try to call it as a
function instead, but it doesn't return anything upon an error, which may also
cause script execution to throw up errors.

Nothing will happen (and nothing will be returned either) if either future
parent is below base level 70 and/or if any of the three characters is not found
online.


This post has been edited by M1dN1ght: Feb 21 2010, 07:17 PM