Jump to content

  •  

icabit

Member Since 17 Jan 2013
Offline Last Active Oct 17 2016 12:44 AM
-----

#14689 Self Map Announce

Posted by icabit on 05 September 2013 - 06:05 PM

i saw this post on rathena http://rathena.org/b...-self-announce/
i wonder why no one every released one
 
I was bored and i was thinking of making something
so i remembered that eamod has this feature
so i made one for us Posted Image
i don't know how eamod did it but i just do it via script Posted Image
 
i know theres like 123123 maps out there
but it was easy to get them all to work once you know a little bit of programming LOL
 
it will announce to yourself where you are currently
this will announce the map listed on mapindex in data folder Posted Image
so it wont announce something like iz_dun01
it will announce it as undersea tunnel Posted Image
works on every map that is enabled by default in hercules
but the script is quite simple and i suppose it will work with rathena and eathena too
 
note: if you will encounter errors on your map server just simply look for it in the script and comment them or delete them. if you know how to enable those maps then do so. its yours to decide what you do
note 2: i will only support major problems of the script
note 3: you may modify it but don't remove the header
 
check the attached picture for an example Posted Image
 
[font="'Helvetica Neue', Arial, Verdana, sans-serif;"]screenComplexRO002.jpg [/font]
[font="'Helvetica Neue', Arial, Verdana, sans-serif;"]Attached File  mapannounce.txt   112.2K   167 downloads[/font]


#4653 refine func

Posted by icabit on 17 May 2013 - 06:30 AM

 
setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";	set .@menu$,"";	for( set .@i,1; .@i <= 10; set .@i,.@i+1 )	{		if( getequipisequiped(.@i) )			set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";		 set .@menu$, .@menu$ + ":";	}	set .@part,select(.@menu$);	 if(!getequipisenableref(.@part)) { // checks the item if not refine-able		mes "[" + getarg(0) + "]";		mes "I don't think I can";		mes "refine this item at all...";		close;	}// write the lines you want to execute if the item is refine-able below this this line 



#2866 Making MAgic Crasher never miss?

Posted by icabit on 14 April 2013 - 10:36 AM

i haven't downloaded hercules but if it uses skill_db with these format
 

 //id,range,hit,inf,element,nk,splash,max,list_num,castcancel,cast_defence_rate,inf2,maxcount,skill_type,blow_count,name,description// 01 ID// 02 range (combo skills do not check for range when used,//           if range is < 5, the skill is considered melee-range)// 03 hit (8- repeated hitting, 6- single-hit)// 04 inf (0- passive, 1- enemy, 2- place, 4- self, 16- friend, 32- trap)// 05 element (0 - neutral, 1 - water, 2 - earth, 3 - fire, 4 - wind, 5 - poison,//             6 - holy, 7 - dark, 8 - ghost, 9 - undead, -1 - use weapon element//             -2 - use endowed element, -3 - use random element.)// 06 nk (skill damage properties)://    0x01 - No damage skill//    0x02 - Has splash area//    0x04 - Damage should be split among targets//    0x08 - Skill ignores caster's % damage cards (misc type always ignores)//    0x10 - Skill ignores elemental adjustments//    0x20 - Skill ignores target's defense (misc type always ignores)//    0x40 - Skill ignores target's flee (magic type always ignores)//    0x80 - Skill ignores target's def cards

0x40 - Skill ignores target's flee (magic type always ignores)

 

i hope this helps and enjoy