Advertisement
RaffaeL_RsK

level max

Dec 29th, 2018
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. Intra in common/length.h si cauta :
  2.  
  3. PLAYER_EXP_TABLE_MAX = xx,
  4. PLAYER_MAX_LEVEL_CONST = xx,
  5.  
  6.  
  7. xx= nivelul setat in prezent
  8.  
  9. Dupa care:
  10.  
  11. Intra in game/src/constant.cpp si cauta :
  12.  
  13.  
  14. const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] =
  15.  
  16. const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] =
  17.  
  18. const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] =
  19.  
  20. Modifici exp sub fiecare dintre ele.
  21. Inca ceva:  Valoarea maxima acceptata ca "signed value" este 2100000000;
  22. Daca setezi exp peste acea valoare, ca sa nu ai warn-uri la compilare pe tema asta,
  23. pune "u"(=unsigned) dupa valorile adaugate. Ex.: 2500000000u
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement