local rate = Game.getExperienceStage(Player(cid):getLevel())
local newRate = rate * 2.0
Player(cid):setExperienceStage(newRate)
i said i didn't know if that existed but you could try xdis there even a "setExperienceStage(newRate)" function, not listed in any 1.0 notation of function iv seen.
http://pastebin.com/pYWXTGBc
http://pastebin.com/s5b4yVa7
http://pastebin.com/bgpNHax2
Theres other posts on otlnad.net iv searched threw trying to figure this out, and never seen that function.
None the less ill try and use it, and ill post the results.
int32_t LuaScriptInterface::luaPartyAddMember(lua_State* L)
{
// party:addMember(player)
Player* player = getPlayer(L, 2);
Party* party = getUserdata<Party>(L, 1);
if (party && player) {
pushBoolean(L, party->joinParty(*player));
} else {
lua_pushnil(L);
}
return 1;
}