Originally posted by [b]Koca[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2078
Hello, with new mapreg, there's a serious bug. Indexes aren't saved right, it's all baaaad (IMG:
style_emoticons/default/smile.gif)
in mapreg_sql.c replace all
CODE
int i = uid & 0xff000000 >> 24;
with
CODE
int i = (uid & 0xff000000) >> 24;
... please don't ignore parenthesis..
CODE
int i = (key.i & 0xff000000) >> 24;
in script_save_mapreg function too