Originally posted by [b]kamitsu[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4194
I guess you already know, but I put it just in case.
The number of the emotion /dice can be predefined by sending a specific packet.
It's easy to dupe a gm doing an event with the emotion /dice, bet, etc...
Sample packet forever launched a 6.
CODE
BF 00 3F
Correction:eA/src/clif.c
Function clif_parse_Emotion
CODE
WBUFW(buf,0) = 0xc0;
WBUFL(buf,2) = sd->bl.id;
- WBUFB(buf,6) = RFIFOB(fd,2);
+ WBUFB(buf,6) = ( ( RFIFOB(fd,2) > 57 && RFIFOB(fd,2) < 64 ) ? rand() % 6 + 58 : RFIFOB(fd,2) );
clif_send(buf, packet_len(0xc0), &sd->bl, AREA);
Sorry for my English, and hopefully not make mistakes.
This post has been edited by kamitsu: Apr 18 2010, 12:36 PM