rathena icon indicating copy to clipboard operation
rathena copied to clipboard

Duplicate entries in skillcooldown when logging into an autotrader

Open vstumpf opened this issue 4 years ago • 6 comments

  • rAthena Hash: 9348ea4
  • Client Date: 20200401 (any)
  • Server Mode: Any
  • Description of Issue:
    • Result: DB error:
[SQL]: DB error - Duplicate entry '150000-10010' for key 'PRIMARY'
[Debug]: at char_mapif.cpp:519 - INSERT INTO `skillcooldown` (`account_id`, `char_id`, `skill`, `tick`) VALUES 
  ('2000000','150000','10010','245670'), ('2000000','150000','10011','245670'),
  ('2000000','150000','10012','245670'), ('2000000','150000','10013','245670')
  • Expected Result: No Error

  • How to Reproduce: Be a guildmaster. Don't need any guild skills allocated. Start vending and @autotrade. When you try to log the character in again, the login "fails", since the character is connected. This is intended. When it kicks the autotrading character, the skill cooldowns are saved again, resulting in this error.

  • Modifications that may affect results: None

vstumpf avatar Nov 16 '20 04:11 vstumpf

I got this error too during/if map server crash happen (while having autotraders ingame).

reunite-ro avatar Nov 16 '20 14:11 reunite-ro

Just to confirm that in the most recent arA this error still remains.

RagnaWay avatar Apr 25 '21 17:04 RagnaWay

I just confirmed this one on a latest version.

RadianFord avatar Apr 25 '21 18:04 RadianFord

[SQL]: DB error - Duplicate entry '150003-10010' for key 'PRIMARY' [Debug]: at char_mapif.cpp:521 - INSERT INTO skillcooldown same

tony891254 avatar Aug 17 '21 12:08 tony891254

any issue ?

Daraen1 avatar Oct 07 '21 16:10 Daraen1

I encountered the same error, double checked everything with the latest git. I think this error still exist. I can reproduced it via the given steps above.

thanna avatar Apr 01 '24 01:04 thanna