PDA

View Full Version : Just not seeing it...


ghanja
01-30-2015, 12:46 AM
sub EVENT_ENTERZONE {
if (plugin::check_hasitem($client,36492)) {
plugin::SEV($client, "timehere", "2");
}
else {
plugin::SEV($client, "timehere", "1");
quest::spawn2(999542,0,0,68,249,-134);
}
}


It's choking on this and I cannot tell where exactly. #logs quest is ineffective as it appears to get disabled upon zoning and since it is an EVENT_ENTERZONE it has already choked on it before I can possibly do another #logs quest.

#questerrors displays nothing but high ASCII boxes for me, so I've come to rely on the #logs

Having stared at this for an hour or so, I'm hoping another set of eyes will see it.

Kingly_Krab
01-30-2015, 02:03 PM
Check your plugins file, I changed the way a lot of the plugins worked on Sanctuary.

ghanja
01-30-2015, 03:33 PM
Check your plugins file, I changed the way a lot of the plugins worked on Sanctuary.


sub SEV{
$ent = $_[0];
$var_n = $_[1];
$var_v = $_[2];
$ent->SetEntityVariable($var_n, $var_v);
}


Is the code for my utility.pl, not quite sure what an entirely different server has to do with it. Just an assumption I suppose? Though I appreciate the read of the post.

Kingly_Krab
01-30-2015, 04:06 PM
Ah, your first post didn't give me any information as to which plugin was causing the issue, I was actually referring to checking your check_hasitem possibly being a different syntax or being differently named altogether.

ghanja
01-30-2015, 04:11 PM
Ah, your first post didn't give me any information as to which plugin was causing the issue, I was actually referring to checking your check_hasitem possibly being a different syntax or being differently named altogether.

It's ok bud. I found the issue.

Seems spawn2 expects a -heading-, as crazy as that is. <grin> I suppose my mind was simply warped around that time of night.

Problem resolved.

Kingly_Krab
01-30-2015, 04:33 PM
Ah yeah, I was confused about what your issue was, didn't realize you were missing the heading from spawn2, glad it's resolved.