Noticed that the #setadventurepoints command wasn't working correctly, so thought I'd take a shot at fixing it. Compiled and built, then ran EQEmu using the new zone.exe. Tested in-game, and appears to work correctly. You can assign X points to a particular theme (1 thru 5). Or choose theme 0, and then X points will be distributed across all themes.
Code:
void command_set_adventure_points(Client *c, const Seperator *sep)
{
Client *t=c;
if(c->GetTarget() && c->GetTarget()->IsClient())
t=c->GetTarget()->CastToClient();
if(!sep->arg[2][0])
{
c->Message(0, "Usage: #setadventurepoints [points] [theme]");
return;
}
c->Message(0, "Updating adventure points for %s", t->GetName());
t->UpdateLDoNPoints(atoi(sep->arg[1]),atoi(sep->arg[2]));
}
Basically, the command now expects 2 arguments instead of 1. And the call to UpdateLDoNPoints will pass these arguments. Previously, it was passing (0,1) which always assigned 0 points to the LGuk theme. Essentially doing nothing at all.