Jump to content

Question

8 answers to this question

Recommended Posts

  • 0
Posted

Para aquellas personas que tengan un error en el escalado como antiguamente me pasaba ami la solucion es: Vayan al InstanceBase.cpp de su Server Cliente y lo abren, Una vez abierto buscan la siguiente linea

#ifdef ENABLE_OBJ_SCALLING y en esa funcion deberan de encontrar la siguiente linea

if (dwSex En esta linea si el numero les sale en 0 solo ponganle un 100 y compilen, con eso deberia de haberse solucionado el error

ย 

Aqui un ejemploย 

#ifdef ENABLE_OBJ_SCALLING
ย ย  ย DWORD dwRace = GetRace(), dwPos = RaceToJob(dwRace), dwSex = RaceToSex(dwRace);
ย ย  ย dwPos += 1;
ย ย  ย if (dwSex == 115)
ย ย  ย ย ย  ย dwPos += 5;

ย ย  ย float fScaleX, fScaleY, fScaleZ, fPositionX, fPositionY, fPositionZ;
ย ย  ย if (pItemData && pItemData->GetItemScale(dwPos, fScaleX, fScaleY, fScaleZ, fPositionX, fPositionY, fPositionZ))
ย ย  ย {
ย ย  ย ย ย  ย m_GraphicThingInstance.SetScale(fScaleX, fScaleY, fScaleZ, true);
ย ย  ย ย ย  ย if (m_kHorse.IsMounting())
ย ย  ย ย ย  ย {
ย ย  ย ย ย  ย ย ย  ย fPositionZ += 10.0f; ---- En esta linea tambien se modifica para aquellas personas que tengan problemas en el escalado a la hora de subirse en una montura.
ย ย  ย ย ย  ย ย ย  ย auto pHorse = m_kHorse.GetActorPtr();
ย ย  ย ย ย  ย ย ย  ย if (pHorse && pHorse->GetRace())
ย ย  ย ย ย  ย ย ย  ย ย ย  ย fPositionZ += GetMountAccePosPlushZ(pHorse->GetRace(), dwRace);
ย ย  ย ย ย  ย }

ย ย  ย ย ย  ย m_GraphicThingInstance.SetScalePosition(fPositionX, fPositionY, fPositionZ);
ย ย  ย }
#endif

ย 

ย 

Espero que os sea de gran ayuda

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.