Jump to content

Moooooon-Aisha

Members
  • Posts

    116
  • Joined

  • Last visited

Posts posted by Moooooon-Aisha

  1. Hi, is there any way to include X% of target's max hp as heal amount?

    For example:

    Max HP of target is 100, and I want Heal to additionally heal the target for 25% of his max HP, so that would come to 25 extra HP healed.

  2. *gettimetick(<tick type>)
    
    This function will return a tick depending on <tick type>:
     0: The server's tick, a measurement in milliseconds used by the server's timer
        system. This tick is an unsigned int which loops every ~50 days.
     1: The time, in seconds, since the start of the current day.
     2: The system time in UNIX epoch time, or the number of seconds elapsed since
        January 1st, 1970. Useful for reliably measuring time intervals.

     

    • Upvote 1
  3. Add a check on your OnPCStatCalcEvent so it won't trigger again if it already triggered once.

    Sample

    -	script	Test12312	-1,{
    	OnPCStatCalcEvent:
    		if(@skill_added == 0){
    			add skills here
    			@skill_added = 1;
    		}
    	end;
    }

    What this does is it only allows it to run once every time.

  4. On 1/19/2018 at 8:20 PM, meyraw said:

    Not sure what to write in the tutorial. These basic steps are quite intuitive but ok:

     

    1. Set up a working rA/Herc and a PC RO client to connect to your server, check if it's working

    2. Modify <version> tag to your client's clientinfo.xml to your packet version YYYYMMDD, check if the PC client is still working

    3. Copy PC RO client to the phone/tablet

    4. Launch AndRO and select your client directory

    Having issues with it such as "Disconnected from Resource Server"

  5. For instance I am using a level 10 Cold Bolt spell, it casts normally, however, when I add in a card that makes it a level 13 Cold Bolt, it will interfere with the range and make my character walk right next to the character to cast the skill. How do I fix this?

  6. Greed Hoarder - Item Collection NPC


    This is one of the first few scripts that I will be releasing. Hopefully server owners and players will enjoy these.

    Things to edit:

    OnInit:
    	/* these are the items that will be collected */
    	setarray .normal_items$,"501|502|503|504";
    	setarray .special_items$,"505|506";
    	.points = 1; // 1 = 1x, 2 = 2x, 3 = 3x and so on
    	/* example
    		- Player brings 10 Red Potion, and you set this to 3, the points for that Red Potion is 30 in total, if it's a special item, its 60
    	*/
    	
    	/* rewards */
    	setarray .rank1_rewards$,"501|1|502|2|503|3|504|4|505|5";
    	setarray .rank2_rewards$,"501|5|502|4|503|3|504|2";
    	setarray .rank3_rewards$,"501|5|502|4|503|3";
    	setarray .rank4_rewards$,"501|5|502|4";
    	setarray .rank5_rewards$,"501|1";
    	setarray .rank_rewards$,"501|1";
    	setarray .consolation_rewards$,"501|1";

    Greed Item Hoarding NPC

    • Allows you to set what items you want the NPC to accept
    • Offers rewards to all players who participated (They will require to reach a certain number of points to be qualified)
    • Provides rewards to the Top 10 players in the ranking board

    Why Buy this?

    • This helps you control Zeny by letting players choose to whether sell the items or trade them in for points
    • Gives you more options on how to reward players that are very active and is very hard-working
    • Gives you players something to work for, keeping them busy and entertained

    How to edit rewards and what items will the NPC accept? Everything's included in the files.

    Suggestions or questions? Feel free to drop a message or add me on Discord. Discord ID is present inside the file.

    Need help installing the script? Or any clarifications on how it works? Feel free to approach me and I'll assist you along the way!

    Video: 

     


    • Submitter
    • Submitted
      10/31/2017
    • Category
    • Video
      https://www.youtube.com/watch?v=JcF6LWJUvY4&feature=youtu.be
    • Content Author
      Rin

     

  7. What are the cons of this service, aside from the high fee that is asked from initial set up.

    I am running a slightly modified source, and has a lot of "paid" content in it, so is it safe to provide the files over to the AndRO handler and see if he can get it working? Also are the resources client-side safe? Are the files encrypted or is it available for everyone to nitpick through when it is repacked into an APK?

  8. Hi, I am having issues trying to run a 2015 client. I have diffed it with only the "recommended" patches, however it would still not read my GRF. The GRF is already on my DATA.INI file and I am sure it is correct. However, if I diff the client to read data folder first, it would log in normally and run perfectly. (my data folder has the same files inside my GRF)

    Does anyone have any solution for this one? I have been trying to fix this since yesterday and since I can not solve the problem anymore, have to turn to the forums for assistance.

  9. Trying this script. Somehow the mob is not registering the initial HP.

    setunitdata .gid,UMOB_MAXHP,.hp;

    I managed to make a previous script work, almost same as above using dynamic method, but the one above is not working properly

    dynamic method: (old script)

    	for(set .@i,0;.@i < .monster_count; .@i++){
    		setarray .@GID[.@i],$@mobid[.@i];
    		setunitdata .@GID[.@i],UMOB_MAXHP,getd(".mob_hp"+.rand+"["+.round+"]");
    	}

     

  10. Hello everyone, you may call me Eir. i Just joined the community and wish to have a good relationship to most of the tenants of this forum.

    With that said, looking forward to a good year.

    On a side note, please let me invite you to view my offer here~, hopefully some of you will be interested! Thank you, and more power to the community.

×
×
  • Create New...