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

Issue Confirmations

  • Yes (0)No (0)
Photo

instance_check_party( ) - fail to pass variable parameter.

Posted by Emistry on 12 April 2014 - 05:06 AM

instance_check_party( getcharid(1),1,1,99 );   <---  WORK
.@min_level = 1;
.@max_level = 99;
instance_check_party( getcharid(1),1,.@min_level,.@max_level );  <--- FAILED
this script command didnt work properly if passing the value of parameter using a variable .....

Ind 
changed status to: Started

Ind 
changed status to: Unable To Reproduce

Any more info there? I was unable to reproduce, used:
prontera,150,150,6	script	TestA	952,{
dispbottom "Hi1:"+instance_check_party( getcharid(1),1,1,99 );
end;
}
prontera,150,151,6	script	tESTb	952,{
.@min_level = 1;
.@max_level = 99;
dispbottom "Hi2:"+instance_check_party( getcharid(1),1,.@min_level,.@max_level );
end;
}