Issue information

Issue ID
#8620
Status
Fixed
Severity
None
Started
Beret
Apr 11, 2015 20:17
Last Post
malufett
Apr 13, 2015 23:12
Confirmation
N/A

Beret - Apr 11, 2015 20:17

[color=rgb(68,68,68)][font='Segoe UI']Some mistakes[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']are appearing on[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']my[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']emulator,[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']the error[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']points to[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']line[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']int_quest[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']line[/font][/color][color=rgb(68,68,68)][font='Segoe UI'] [/font][/color][color=rgb(68,68,68)][font='Segoe UI']249.[/font][/color]

[color=rgb(68,68,68)][font='Segoe UI']code:[/font][/color]


[code=auto:0] void mapif_send_quests(int fd, int char_id, struct quest *tmp_questlog, int num_quests) { nullpo_retv(tmp_questlog); WFIFOHEAD(fd,num_quests*sizeof(struct quest)+8); WFIFOW(fd,0) = 0x3860; WFIFOW(fd,2) = num_quests*sizeof(struct quest)+8; WFIFOL(fd,4) = char_id; if (num_quests > 0) memcpy(WFIFOP(fd,8), tmp_questlog, sizeof(struct quest)*num_quests); WFIFOSET(fd,num_quests*sizeof(struct quest)+8);} [/code]

error:

[code=auto:0] nullpo_retv(tmp_questlog); [/code]

4144 - Apr 11, 2015 21:56

here is fix [url="https://github.com/HerculesWS/Hercules/pull/496"]https://github.com/HerculesWS/Hercules/pull/496[/url]

malufett - Apr 13, 2015 23:12

[quote name="4144" timestamp="1428789382"]
here is fix [url="https://github.com/HerculesWS/Hercules/pull/496"]https://github.com/HerculesWS/Hercules/pull/496[/url][/quote]
Thanks..

:meow: