Issue information

Issue ID
#320
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Oct 27, 2007 18:06
Last Post
Hercules Elf Bot
Oct 27, 2007 18:06
Confirmation
N/A

Hercules Elf Bot - Oct 27, 2007 18:06

Originally posted by [b]gonhunter[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=320

[Warning]: itemdb_search: Item ID 1 does not exists in the item_db. Using dummy
data.

So if you send a mail to an offline character without an item, for some reason an item is being sent.

Also if the name is too long I get these errors.

[SQL]: DB error - Out of range value adjusted for column 'nameid' at row 1
[Debug]: at ..\src\char_sql\int_mail.c:131 - INSERT INTO `mail` (`send_name`, `s
end_id`, `dest_name`, `dest_id`, `title`, `message`, `time`, `status`, `zeny`, `
amount`, `nameid`, `refine`, `attribute`, `identify`, `card0`, `card1`, `card2`,
`card3`) VALUES (?, '150000', ?, '150021', ?, ?, '1193501072', '-1', '0', '23',
'-16744', '0', '-126', '18', '29120', '10035', '0', '1564')

*Not just offline chars, even online chars get an item #1 which doesnt exist thus the itemdb error comes up

This post has been edited by gonhunter: Oct 27 2007, 11:10 AM