• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How do i adjust this!

Jgarder

Tprogramming Ex-Adm|n
Premium User
Joined
Jun 7, 2007
Messages
355
Reaction score
3
Location
Michigan
hey guys, what do i change in the source so that vocations 6-9 are not Premium only -.-


Restateing :anything i can switch around in the sources so that you DO NOT need premium to become Promoted (and keep it)


Request 2, what can i change to make it compile in console.. i tried -d__Console__ but it just made it so i couldnt open the server at all
 
am i safe to assume it may be this part of code from
game.cpp, i beleive that its only the saving code.. but not the loading code

Code:
if(player->isPremium())
		{
			uint64_t value;
			player->getStorageValue(30018, value);
			if(player->isPromoted() && value != 1)
				player->addStorageValue(30018, 1);
			else if(!player->isPromoted() && value == 1)
				player->setVocation(g_vocations.getPromotedVocation(player->getVocationId()));
		}
		else if(player->isPromoted())
			player->setVocation(player->vocation->getFromVocation());
	}
	return true;
 
Back
Top