Thread: setguild::HELP
View Single Post
  #1  
Old 04-07-2008, 08:44 PM
Ven-elexver1
Sarnak
 
Join Date: Dec 2007
Posts: 60
Default setguild::HELP

sill not got setguild working i know they are a way yo make a npc auto join you to a guild i have sen it done . but as how they did it I'm not sure all i can find is this fix but i don't know how or where to run it ...............................

XS(XS__setguild);
XS(XS__setguild)
{
dXSARGS;
if (items != 2)
Perl_croak(aTHX_ "Usage: setguild(new_guild_id, new_rank)");

unsigned long new_guild_id = (unsigned long)SvUV(ST(0));
int new_rank = (int)SvIV(ST(1));

quest_manager.setguild(new_guild_id, new_rank);

XSRETURN_EMPTY;
}

Its all Greek to me!
Reply With Quote