• 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 to enable Extended?

jestem pro

That is the question
Joined
Apr 20, 2013
Messages
650
Solutions
14
Reaction score
87
Hi. I compiled .dat and .spr files from version 10.41 to 8.6 with function "Extended", because otherwise it would not work. But now I can't load .dat and .spr When I'm logging. So what line should I add?
 
I am not sure what "extended" is.
If you are refering to alpha channel for sprites, then add
Code:
enableFeature(Otc::GameSpritesAlphaChannel);
in Game::setClientVersion (game.cpp).
 
Oh my mistake. Yes it's for sprites. I had to enable it in ObjectBuilder cause otherwise it wouldn't be compatibile with low version. I have the similar line in modules:
Code:
g_game.enableFeature(GameSpritesAlphaChannel)
When I made transparency, but it's probably doesn't work with Extended. Do you think that it change something when I'll add it to game.cpp?
 
Back
Top