View Single Post
  #4  
Old 08-28-2019, 07:48 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 188
Default

Ok, if I change the last field value to an empty string, rather than int: 28, the last two field values get corrupted.

(error with)
INSERT INTO npc_types (name, level, race, class, hp, gender, texture, helmtexture, size, loottable_id, merchant_id, face, runspeed, prim_melee_type, sec_melee_type)
VALUES("a", 1, 1, 1, 11, 0, 0, 0, 6.000000, 0, 0, 0, 0.000000, 34383726, -2100638871)

So I'm guessing there's a trailing character on the query string that is being incorrectly handled by the c_type function.
Reply With Quote