LCKB
Start Item Change + - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+------ Forum: Solved topics (https://lckb.dev/forum/forumdisplay.php?fid=158)
+------ Thread: Start Item Change + (/showthread.php?tid=4713)



- TheReturnOfMagic - 01-27-2021


Hello ?

i have a question where can i change the start item + to +15 in my DBProcess_createChar.cpp

i found a_plus in sql3 but idk what i have to change ?

and where can i change the row for the start items they are in the last row but i want them in the first row ?

thank you in advance

 




- cooldude - 01-27-2021



11 minutes ago, TheReturnOfMagic said:




Hello ?


i have a question where can i change the start item + to +15 in my DBProcess_createChar.cpp



i found a_plus in sql3 but idk what i have to change ?



and where can i change the row for the start items they are in the last row but i want them in the first row ?



thank you in advance



 




Find this:

if (itemproto->getItemWearing() >= 0)
{
wearInven_sql2 += boost:Confusedtr(boost::format(" (%d, %d, %d, %d, %d, '%s', %d, %d), ") % char_index % itemproto->getItemWearing() % itemidx[i] % 0 % 0 % serial % used % 0);
}

Chage to this:

if (itemproto->getItemWearing() >= 0)
{
wearInven_sql2 += boost:Confusedtr(boost::format(" (%d, %d, %d, %d, %d, '%s', %d, %d), ") % char_index % itemproto->getItemWearing() % itemidx[i] % 15 % 0 % serial % used % 0);
}

 

Where I put 15 is where the start item + goes.

 




- TheReturnOfMagic - 01-27-2021


Thank you it worked ?

and do you know where i can change the start item position from bag 1 row 5 to row 1 ?Smile

 




- Desarija - 01-27-2021


   DBProcess_CreateChar.cpp

             nItemCount = 4;

#endif // #if defined(LC_BILA)

                pItemIndex = nItemList[0];

                pItemCount = nItemList[1];

            }

            itab = icol = 0;

            irow = 4;        // 나이트 쉐도우 아이템이 많아서 4로 수정

 

change irow = 4 into irow = 0




- cooldude - 01-27-2021

Hi there.As your topic has been answered, and from this topic you can solve your problem or already have I am going to move this topic into our Solved section database.Thankyou,-LCKB Staff