@waldek0131 depends om which version you are using but go to tutorials and follow a tutorial, do NOT skip anything!!!
http://otland.net/threads/compiling-windows-how-to-set-up-a-compiler-noob-friendly-tutorial.193878/i do but all tutorials i find are for linux i cant find them for windows
it worked for till this level
(04:58 You advanced from Level 1029782 to Level 1032569.)
but how evolera got till 5 millions ?
I can help you, send me a pm with Skype or something i can contact you withPLS PLS PLS!!!!! can you send over the sources! it did not work for me! i beg you
I Have Already Posted this before
in player.h
Change This Function:
ToCode:static uint64_t getExpForLevel(uint32_t lv)
Code:static uint64_t getExpForLevel(uint32_t lv) { static std::map<uint32_t, uint64_t> cache; lv--; std::map<uint32_t, uint64_t>::iterator it = cache.find(lv); if(it != cache.end()) return it->second; uint64_t exp = ((50ULL * (lv+1ULL) / 3ULL - 100ULL) * (lv+1ULL) + 850ULL / 3ULL) * (lv+1ULL) - 200ULL; cache[lv] = exp; return exp; }
Change this in protocolgame.cpp
ToCode:if(experience > 0x7FFFFFFF) // client debugs after 2,147,483,647 exp msg->put<uint32_t>(0x7FFFFFFF);
Code:if(experience > 2147483647) // client debugs after 2,147,483,647 exp msg->put<uint32_t>(2147483647);
Am i dreaming?!!?!?!?!?!As it's question nr 100000 about exp formula I decide to write short tutorial about this problem:
https://otland.net/threads/c-how-to-increase-maximum-level-on-server.230364/
I will post link to PHP script that can 'verify', if your new formula is 'right' soon.
What is right formula?
1. Gives value over ZERO for every level.
2. Value for '$level + 1' is always higher then for '$level'.