• 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!

Compiling Devland 0.97b (8.0)

andre miles

I don't remember my first Dragon.
Joined
Aug 29, 2012
Messages
8
Reaction score
0
Location
Brazil, Rio de Janeiro
Hello OtLand! :D

I will go directly to the point. I have some minor problems with Devland 0.97b XML (like level 350 max because of int32), and they are driving me crazy so I want to fix.

First at all, I downloaded dev-cpp from the official site and opened Devland with NO modifications on the source. Then I try to compile, just to be sure that's working, it can't find -lregex.
So I chance it to -lboost_regex and when I try to compile like this, it get a billion of errors involving DB.

Anyone can help me there?
(I can't use another console, must be Devland)

Thank you guys!
 
The level limit probably comes from experience points limit.
Yeah, its because of that.
Devland uses this formula to calc the next level:

int32_t percent = (100*(experience - currentExpLevel)) / std::max((int32_t)1, (int32_t)(getExpForLv(level + 1) - currentExpLevel));

and I suppose int32 can't handle this...
 
Back
Top