quest::setguild(x,y) not working...
Does anyone see anything wrong in the following quest code?
sub EVENT_SAY { if ($text=~/hail/i) { quest::say("Check"); } if ($text=~/yes/i) { quest::say("bindcheck on $name $userid"); quest::rebind(2,118.03,282.64,3.13); quest::say("guildcheck"); quest::setguild(3,0); } } Everything executes except for the setguild. I've checked and double-checked. I have a guild with ID 3 and my guild_ranks db is in good order. Any ideas? |
Bump
I'm still trying to puzzle this out. |
In the guilds table there's (or used to be) both an "id" field and an "eqid" field (or something like that). Don't know for sure which one setguild is using, have you tried it both ways?
|
In the guilds table, I only see "id". :\
|
eqid was removed... however, the quest command does exactly the same thing as #guild set, does it work for you?
|
#guild set works properly. The perl command is still not working correctly, however.
|
Sorry to bump this again - this is the last time.
I'm still trying to figure out what the problem is here. This is driving me nuts. :-\ Any help would be greatly appreciated. I'm using quest::setguild(1,0); in the midst of a bunch of debug code, all of which executes fine. (I've used variations of that line with quote marks around the parameters with no luck, so I guess that's not the problem. Heh) Thanks. |
All times are GMT -4. The time now is 10:36 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.