Start Item Change +
#2


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.

 



Messages In This Thread
[No subject] - by TheReturnOfMagic - 01-27-2021, 11:45 AM
[No subject] - by cooldude - 01-27-2021, 11:56 AM
[No subject] - by TheReturnOfMagic - 01-27-2021, 12:16 PM
[No subject] - by Desarija - 01-27-2021, 12:56 PM
[No subject] - by cooldude - 01-27-2021, 01:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)