Jump to content

  •  

kairu

Member Since 14 Jul 2014
Offline Last Active Jun 03 2017 11:22 AM
-----

Topics I've Started

Heal over Time

17 May 2017 - 10:38 AM

does anyone have a src code for heal over time like Renovatio skill on Arch bishop does? however the tick rate is configurable so maybe it'll work like an item bonus code like bonus3 bHealOverTime,x,y,z; where x= hp; y= sp; z= tick rate;

 

Also does this increase the server load? i feel like ticks plays a heavy role on it.


failed npc->checknear test.

25 April 2017 - 10:16 AM

I made an item call a function which have player interaction to choose on a menu but it gets the error npc_scriptcont: failed npc->checknear test.

 

Heres an example of it:

Item id of Knife -> 1202

with script on it as:

callfunc "getSkill";

 

and the gist of the function of:

function	script	getSkill	{
	attachrid(getcharid(3));
			retryRK:
					dispbottom "Select a Skill you want.";
					switch(select("Enchant Blade:Sonic Wave:Death Bound")){
						case 1: 
							.@r = 1;
							break;
						case 2: 
							.@r = 2;
							break;
						case 3: 
							.@r = 3;
							break;
						default:
							goto(retryRK);
					}
					close;
<More code...>

 

I'm just wondering if there's any fix to this http://herc.ws/board...equip-function/

or any work around it.

would greatly appreciate it!


Delete a custom Table in database.

04 March 2017 - 10:02 AM

So im using this script:

http://herc.ws/board...5-random-bonus/

 

i'd like to know how to delete the entries in the database from an npc.

For example:

if i refine the item and it gets destroyed i like it to delete the unique ID from the database also.

 

thanks for your time :D