(R39-6) 'invalid row index ('0')'
#7

When your debug message gets sent ("Your SQL id is ...") then nothing has been assigned yet so obviously that will show 0. Then you call LoadPlayerData and since we just established that the the id is 0 you also query for id 0. Control then transfers to SQL_OnLoadAccount where you try to fetch a row that doesn't exist.

You need to actually fetch the id before sending the message and before calling LoadPlayerData.
Reply


Messages In This Thread
(R39-6) 'invalid row index ('0')' - by DevHarden - 23.04.2017, 02:10
Re: (R39-6) 'invalid row index ('0')' - by Sew_Sumi - 23.04.2017, 02:53
Re: (R39-6) 'invalid row index ('0')' - by khRamin78 - 23.04.2017, 03:32
Re: (R39-6) 'invalid row index ('0')' - by DevHarden - 23.04.2017, 04:08
Re: (R39-6) 'invalid row index ('0')' - by Sew_Sumi - 23.04.2017, 06:04
Re: (R39-6) 'invalid row index ('0')' - by khRamin78 - 23.04.2017, 06:23
Re: (R39-6) 'invalid row index ('0')' - by Vince - 23.04.2017, 08:33
Re: (R39-6) 'invalid row index ('0')' - by DevHarden - 23.04.2017, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)