Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Source 5.2 Pegasus/Mudream  (Visto 18477 veces)

GameNet, bond2012, Dexign, trungpv, nujd00, xpzinho and 6 Guests are viewing this topic.

Online Malkom99 #240 Posteado: December 08, 2025, 06:48:36 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 47
  • Gracias recibida: 320
  • br
were disable orange button? in character inventory

https://imgur.com/a/2Lbmc5l


Offline zHammer #241 Posteado: December 08, 2025, 10:02:35 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es
bug : command "/post" No message displayed

A mi me funciona perfecto.


Can you tell me about the fix?
 pleas3


Online Dexign #242 Posteado: December 08, 2025, 10:38:13 PM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 309
  • Gracias recibida: 1263
  • ve
bug : command "/post" No message displayed

A mi me funciona perfecto.


Can you tell me about the fix?
 pleas3

comparti la solucion arriba

Gracias:


Offline mkslep #243 Posteado: December 08, 2025, 10:46:42 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 48
  • Gracias recibida: 1128
  • br

Offline zHammer #244 Posteado: December 08, 2025, 10:59:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es
bug : command "/post" No message displayed

A mi me funciona perfecto.


Can you tell me about the fix?
 pleas3

comparti la solucion arriba

thank my bro. Could you please fix the character name in the middle for me?
 pleas3 pleas3


Offline zHammer #245 Posteado: December 08, 2025, 11:23:22 PM | Modificado: December 08, 2025, 11:40:19 PM by zHammer

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es

Offline luckianm #246 Posteado: December 09, 2025, 10:04:09 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 40
  • Gracias recibida: 1172
  • br
https://imgur.com/a/AVmDdIk
interface mulegends

 
Compartilha o codigo desse menu de resoluçoes, por favor.


Offline Evangelio #247 Posteado: December 09, 2025, 01:34:25 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 280
  • Gracias recibida: 2282
  • ar
i find a little bug, if any have soluction or were solution it can share info

if use entrance for chaos castle in expanded inventory client crash. but if you use in normal inventory work fine.

El cliente Crashea cuando queres usar la entrada del chaos castle con el inventario expandido.


Alguien pudo fixear esto?


Offline Odisk #248 Posteado: December 09, 2025, 10:03:38 PM | Modificado: December 09, 2025, 10:06:35 PM by Odisk

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 937
  • Gracias recibida: 15035
  • pr
i find a little bug, if any have soluction or were solution it can share info

if use entrance for chaos castle in expanded inventory client crash. but if you use in normal inventory work fine.

El cliente Crashea cuando queres usar la entrada del chaos castle con el inventario expandido.


Alguien pudo fixear esto?


one day

Offline coolgepds #249 Posteado: December 09, 2025, 10:23:46 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 94
  • Gracias recibida: 41
  • cn
i find a little bug, if any have soluction or were solution it can share info

if use entrance for chaos castle in expanded inventory client crash. but if you use in normal inventory work fine.

El cliente Crashea cuando queres usar la entrada del chaos castle con el inventario expandido.


Alguien pudo fixear esto?


Símbolo externo não resolvido "public: class SEASON3B::CNewUIInventoryCtrl * __thiscall SEASON3B::CNewUIInventoryExtension::GetInventoryCtrl(int)const " (?GetInventoryCtrl@CNewUIInventoryExtension@SEASON3B@@QBEPAVCNewUIInventoryCtrl@2@H@Z),函数 "public: static enum SEASON3B::CALLBACK_RESULT __cdecl SEASON3B::CChaosCastleTimeCheckMsgBoxLayout::OkBtnDown(class SEASON3B::CNewUIMessageBoxBase *,class leaf::xstreambuf const &)" (?OkBtnDown@CChaosCastleTimeCheckMsgBoxLayout@SEASON3B@@sa?AW4CALLBACK_RESULT@2@PAVCNewUIMessageBoxBase@2@ABVxstreambuf@leaf@@@Z) O símbolo foi referenciado no código.1 comando externo não resolvido.


Offline multipleer #250 Posteado: December 10, 2025, 02:22:02 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 32
  • Gracias recibida: 77
  • az

Offline zHammer #251 Posteado: December 11, 2025, 03:25:45 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es

The Earthshaker skill of the Dark Lord class pet sometimes displays and sometimes does not.
Help me fix
 pleas3 pleas3 pleas3

Gracias:


Offline bigrealtk92 #252 Posteado: December 11, 2025, 03:59:21 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 86
  • Gracias recibida: 22
  • vn

The Earthshaker skill of the Dark Lord class pet sometimes displays and sometimes does not.
Help me fix
 pleas3 pleas3 pleas3

can u share code post item???


Online nhantac #253 Posteado: December 11, 2025, 04:47:17 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 92
  • Gracias recibida: 143
  • vn

The Earthshaker skill of the Dark Lord class pet sometimes displays and sometimes does not.
Help me fix
 pleas3 pleas3 pleas3

can u share code post item???
có bài share r, trang 7 8 gì đó. chỉnh ở gs

Gracias:


Offline welison14 #254 Posteado: December 11, 2025, 08:51:53 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 3
  • br
i find a little bug, if any have soluction or were solution it can share info

if use entrance for chaos castle in expanded inventory client crash. but if you use in normal inventory work fine.

El cliente Crashea cuando queres usar la entrada del chaos castle con el inventario expandido.


Alguien pudo fixear esto?


Símbolo externo não resolvido "public: class SEASON3B::CNewUIInventoryCtrl * __thiscall SEASON3B::CNewUIInventoryExtension::GetInventoryCtrl(int)const " (?GetInventoryCtrl@CNewUIInventoryExtension@SEASON3B@@QBEPAVCNewUIInventoryCtrl@2@H@Z),函数 "public: static enum SEASON3B::CALLBACK_RESULT __cdecl SEASON3B::CChaosCastleTimeCheckMsgBoxLayout::OkBtnDown(class SEASON3B::CNewUIMessageBoxBase *,class leaf::xstreambuf const &)" (?OkBtnDown@CChaosCastleTimeCheckMsgBoxLayout@SEASON3B@@sa?AW4CALLBACK_RESULT@2@PAVCNewUIMessageBoxBase@2@ABVxstreambuf@leaf@@@Z) O símbolo foi referenciado no código.1 comando externo não resolvido.


so adicionar esse codigo no final do arquivo NewUiInventoryExtension.cpp

Code: [Select]
CNewUIInventoryCtrl* SEASON3B::CNewUIInventoryExtension::GetInventoryCtrl(int i) const
{
    if (i < 0 || i >= MAX_INVENTORY_EXT_COUNT)
        return nullptr;

    return m_extensions[i];
}

Gracias:


Offline zHammer #255 Posteado: December 11, 2025, 10:49:49 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es
i find a little bug, if any have soluction or were solution it can share info

if use entrance for chaos castle in expanded inventory client crash. but if you use in normal inventory work fine.

El cliente Crashea cuando queres usar la entrada del chaos castle con el inventario expandido.


Alguien pudo fixear esto?


Símbolo externo não resolvido "public: class SEASON3B::CNewUIInventoryCtrl * __thiscall SEASON3B::CNewUIInventoryExtension::GetInventoryCtrl(int)const " (?GetInventoryCtrl@CNewUIInventoryExtension@SEASON3B@@QBEPAVCNewUIInventoryCtrl@2@H@Z),函数 "public: static enum SEASON3B::CALLBACK_RESULT __cdecl SEASON3B::CChaosCastleTimeCheckMsgBoxLayout::OkBtnDown(class SEASON3B::CNewUIMessageBoxBase *,class leaf::xstreambuf const &)" (?OkBtnDown@CChaosCastleTimeCheckMsgBoxLayout@SEASON3B@@sa?AW4CALLBACK_RESULT@2@PAVCNewUIMessageBoxBase@2@ABVxstreambuf@leaf@@@Z) O símbolo foi referenciado no código.1 comando externo não resolvido.


so adicionar esse codigo no final do arquivo NewUiInventoryExtension.cpp

Code: [Select]
CNewUIInventoryCtrl* SEASON3B::CNewUIInventoryExtension::GetInventoryCtrl(int i) const
{
    if (i < 0 || i >= MAX_INVENTORY_EXT_COUNT)
        return nullptr;

    return m_extensions[i];
}

I tried following the advice, but I still get kicked out of the game.
 pleas3 pleas3 pleas3


Offline zHammer #256 Posteado: December 11, 2025, 11:14:39 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es

The Earthshaker skill of the Dark Lord class pet sometimes displays and sometimes does not.
Help me fix
 pleas3 pleas3 pleas3

can u share code post item???
có bài share r, trang 7 8 gì đó. chỉnh ở gs

I can't find it. Can someone share it with me?
 pleas3 pleas3 pleas3 pleas3


Offline samsunggon #257 Posteado: December 11, 2025, 07:34:55 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 472
  • Gracias recibida: 2969
  • ph

Gracias:


Offline welison14 #258 Posteado: December 11, 2025, 11:25:00 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 3
  • br
Alguem ja corrigiu a SKILL do fenrir que nao esta funcionando?


Online Dexign #259 Posteado: December 12, 2025, 12:04:17 AM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 309
  • Gracias recibida: 1263
  • ve
Fix + add Nuevas opciones Panel de OPTIONS

Codigos:


Se Hace lo que se puede (sigo en aprendizaje)



Offline bigrealtk92 #260 Posteado: December 12, 2025, 02:08:39 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 86
  • Gracias recibida: 22
  • vn
Fix + add Nuevas opciones Panel de OPTIONS

Codigos:
 
Se Hace lo que se puede (sigo en aprendizaje)

nice - can u share code post sell item?

Gracias:


Offline coolgepds #261 Posteado: December 12, 2025, 02:38:59 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 94
  • Gracias recibida: 41
  • cn
Alguém conseguiu resolver o problema que fazia o cliente de comando do GM travar?


Offline zHammer #262 Posteado: December 12, 2025, 10:22:26 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es
Fix + add Nuevas opciones Panel de OPTIONS

Codigos:
 
Se Hace lo que se puede (sigo en aprendizaje)

Could you please keep me informed of these changes?

https://tuservermu.com.ve/index.php?topic=94754.msg394779#msg394779

Gracias:


Offline spartacus #263 Posteado: December 12, 2025, 11:41:38 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 274
  • Gracias recibida: 132
  • cl
FIX SHOP TITLE

https://imgur.com/a/4ssgGdp
 


Podrías explicarme cómo debería verse la función `void CPersonalShopTitleImp::CShopTitleDrawObj::Draw(int iPkLevel)`?

Porque intenté añadir tu solución y no funciona.


Online Dexign #264 Posteado: December 12, 2025, 12:03:37 PM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 309
  • Gracias recibida: 1263
  • ve
FIX SHOP TITLE

https://imgur.com/a/4ssgGdp
 


Podrías explicarme cómo debería verse la función `void CPersonalShopTitleImp::CShopTitleDrawObj::Draw(int iPkLevel)`?

Porque intenté añadir tu solución y no funciona.


yo allí luego de eso publiqué otra solución, capaz te ayude

Gracias:


Offline spartacus #265 Posteado: December 12, 2025, 01:23:48 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 274
  • Gracias recibida: 132
  • cl
FIX SHOP TITLE

https://imgur.com/a/4ssgGdp
 


Podrías explicarme cómo debería verse la función `void CPersonalShopTitleImp::CShopTitleDrawObj::Draw(int iPkLevel)`?

Porque intenté añadir tu solución y no funciona.


yo allí luego de eso publiqué otra solución, capaz te ayude

Función de reemplazo:
void CPersonalShopTitleImp::CalculateBooleanPos(IN CHARACTER* pPlayer, IN const SIZE& size, OUT POINT& pos)
{
vec3_t posTemp;

OBJETO* pObjeto = &pPlayer->Objeto;

Vector(pObjeto->Posición[0], pObjeto->Posición[1], pObjeto->Posición[2] + pObjeto->BoundingBoxMax[2] + 60.f, posTemp);

PUNTO ptFloating;

Proyección(posTemp, (int*)&ptFloating.x, (int*)&ptFloating.y);

pos.x = (ptFloating.x*(int)WindowWidth/ DisplayWin)-size.cx/2; pos.y = (ptFloating.y*(int)WindowHeight/480)-(12*7*(int)WindowHeight/480);

}

La función que compartiste no funcionó



Gracias:


Online Dexign #266 Posteado: December 12, 2025, 01:42:29 PM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 309
  • Gracias recibida: 1263
  • ve
void CPersonalShopTitleImp::CalculateBooleanPos(IN CHARACTER* pPlayer, IN const SIZE& size, OUT POINT& pos)
{
   vec3_t posTemp;
   OBJECT* pObject = &pPlayer->Object;

   // Calculamos el ratio de altura para escalado
   float heightRatio = (float)WindowHeight / 480.0f;

   
   float verticalOffset3D;
   if (WindowHeight <= 360) {        // Resoluciones muy bajas
      verticalOffset3D = 50.0f;     // Menos altura
   }
   else if (WindowHeight <= 480) { // 480p estándar
      verticalOffset3D = 60.0f;     // Altura original
   }
   else if (WindowHeight <= 720) { // 720p
      verticalOffset3D = 70.0f;     // Un poco más alto
   }
   else if (WindowHeight <= 1080) { // 1080p
      verticalOffset3D = 80.0f;     // Más alto
   }
   else {                          // 4K o superior
      verticalOffset3D = 90.0f;     // Mucho más alto
   }


   Vector(pObject->Position[0], pObject->Position[1],
      pObject->Position[2] + pObject->BoundingBoxMax[2] + verticalOffset3D, posTemp);

   POINT ptFloating;
   Projection(posTemp, (int*)&ptFloating.x, (int*)&ptFloating.y);

   // Posición horizontal centrada
   pos.x = (ptFloating.x * (int)WindowWidth / DisplayWin) - size.cx / 2;


   int projectedY = ptFloating.y * (int)WindowHeight / 480;
   int engineOffset = 12 * 3 * (int)WindowHeight / 480;


   int additionalOffset;
   if (WindowHeight <= 360) {
      additionalOffset = 4;  // Pequeño ajuste para pantallas muy pequeñas
   }
   else if (WindowHeight <= 480) {
      additionalOffset = 5;  // Ajuste original para 480p
   }
   else if (WindowHeight <= 720) {
      additionalOffset = 15;  // Ajuste para 720p
   }
   else if (WindowHeight <= 1024) {
      additionalOffset = 10;  // Ajuste para 10240p
   }
   else if (WindowHeight <= 1080) {
      additionalOffset = 55;  // Ajuste para 1080p
   }



   additionalOffset = (int)(additionalOffset * heightRatio);

   // Posición final
   pos.y = projectedY - engineOffset - additionalOffset;
}

Gracias:


Offline spartacus #267 Posteado: December 12, 2025, 02:27:51 PM | Modificado: December 12, 2025, 02:30:34 PM by spartacus

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 274
  • Gracias recibida: 132
  • cl
void CPersonalShopTitleImp::CalculateBooleanPos(IN CHARACTER* pPlayer, IN const SIZE& size, OUT POINT& pos)
{
   vec3_t posTemp;
   OBJECT* pObject = &pPlayer->Object;

   // Calculamos el ratio de altura para escalado
   float heightRatio = (float)WindowHeight / 480.0f;

   
   float verticalOffset3D;
   if (WindowHeight <= 360) {        // Resoluciones muy bajas
      verticalOffset3D = 50.0f;     // Menos altura
   }
   else if (WindowHeight <= 480) { // 480p estándar
      verticalOffset3D = 60.0f;     // Altura original
   }
   else if (WindowHeight <= 720) { // 720p
      verticalOffset3D = 70.0f;     // Un poco más alto
   }
   else if (WindowHeight <= 1080) { // 1080p
      verticalOffset3D = 80.0f;     // Más alto
   }
   else {                          // 4K o superior
      verticalOffset3D = 90.0f;     // Mucho más alto
   }


   Vector(pObject->Position[0], pObject->Position[1],
      pObject->Position[2] + pObject->BoundingBoxMax[2] + verticalOffset3D, posTemp);

   POINT ptFloating;
   Projection(posTemp, (int*)&ptFloating.x, (int*)&ptFloating.y);

   // Posición horizontal centrada
   pos.x = (ptFloating.x * (int)WindowWidth / DisplayWin) - size.cx / 2;


   int projectedY = ptFloating.y * (int)WindowHeight / 480;
   int engineOffset = 12 * 3 * (int)WindowHeight / 480;


   int additionalOffset;
   if (WindowHeight <= 360) {
      additionalOffset = 4;  // Pequeño ajuste para pantallas muy pequeñas
   }
   else if (WindowHeight <= 480) {
      additionalOffset = 5;  // Ajuste original para 480p
   }
   else if (WindowHeight <= 720) {
      additionalOffset = 15;  // Ajuste para 720p
   }
   else if (WindowHeight <= 1024) {
      additionalOffset = 10;  // Ajuste para 10240p
   }
   else if (WindowHeight <= 1080) {
      additionalOffset = 55;  // Ajuste para 1080p
   }



   additionalOffset = (int)(additionalOffset * heightRatio);

   // Posición final
   pos.y = projectedY - engineOffset - additionalOffset;
}

Seguí el procedimiento, pero, al menos en mi caso, el problema no se solucionó.

Logré usar la solución que publicó Malkom99 y ahora funciona perfectamente.

Aun así, muchas gracias por tu ayuda.  cool2



Otro problema que noté es que las habilidades de ataque de estos mobs no se muestran... No sé si es un problema de configuración o un problema con el código fuente.



Online Dexign #268 Posteado: December 12, 2025, 02:42:13 PM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 309
  • Gracias recibida: 1263
  • ve
void CPersonalShopTitleImp::CalculateBooleanPos(IN CHARACTER* pPlayer, IN const SIZE& size, OUT POINT& pos)
{
   vec3_t posTemp;
   OBJECT* pObject = &pPlayer->Object;

   // Calculamos el ratio de altura para escalado
   float heightRatio = (float)WindowHeight / 480.0f;

   
   float verticalOffset3D;
   if (WindowHeight <= 360) {        // Resoluciones muy bajas
      verticalOffset3D = 50.0f;     // Menos altura
   }
   else if (WindowHeight <= 480) { // 480p estándar
      verticalOffset3D = 60.0f;     // Altura original
   }
   else if (WindowHeight <= 720) { // 720p
      verticalOffset3D = 70.0f;     // Un poco más alto
   }
   else if (WindowHeight <= 1080) { // 1080p
      verticalOffset3D = 80.0f;     // Más alto
   }
   else {                          // 4K o superior
      verticalOffset3D = 90.0f;     // Mucho más alto
   }


   Vector(pObject->Position[0], pObject->Position[1],
      pObject->Position[2] + pObject->BoundingBoxMax[2] + verticalOffset3D, posTemp);

   POINT ptFloating;
   Projection(posTemp, (int*)&ptFloating.x, (int*)&ptFloating.y);

   // Posición horizontal centrada
   pos.x = (ptFloating.x * (int)WindowWidth / DisplayWin) - size.cx / 2;


   int projectedY = ptFloating.y * (int)WindowHeight / 480;
   int engineOffset = 12 * 3 * (int)WindowHeight / 480;


   int additionalOffset;
   if (WindowHeight <= 360) {
      additionalOffset = 4;  // Pequeño ajuste para pantallas muy pequeñas
   }
   else if (WindowHeight <= 480) {
      additionalOffset = 5;  // Ajuste original para 480p
   }
   else if (WindowHeight <= 720) {
      additionalOffset = 15;  // Ajuste para 720p
   }
   else if (WindowHeight <= 1024) {
      additionalOffset = 10;  // Ajuste para 10240p
   }
   else if (WindowHeight <= 1080) {
      additionalOffset = 55;  // Ajuste para 1080p
   }



   additionalOffset = (int)(additionalOffset * heightRatio);

   // Posición final
   pos.y = projectedY - engineOffset - additionalOffset;
}

Seguí el procedimiento, pero, al menos en mi caso, el problema no se solucionó.

Logré usar la solución que publicó Malkom99 y ahora funciona perfectamente.

Aun así, muchas gracias por tu ayuda.  cool2



Otro problema que noté es que las habilidades de ataque de estos mobs no se muestran... No sé si es un problema de configuración o un problema con el código fuente.



En el código tienes un manejador de la altura, solo lo ajustas según lo quieres, más lo deje pensado para verse un poquito alto

Gracias:


Offline zHammer #269 Posteado: December 13, 2025, 12:08:06 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 93
  • Gracias recibida: 81
  • es
void CPersonalShopTitleImp::CalculateBooleanPos(IN CHARACTER* pPlayer, IN const SIZE& size, OUT POINT& pos)
{
   vec3_t posTemp;
   OBJECT* pObject = &pPlayer->Object;

   // Calculamos el ratio de altura para escalado
   float heightRatio = (float)WindowHeight / 480.0f;

   
   float verticalOffset3D;
   if (WindowHeight <= 360) {        // Resoluciones muy bajas
      verticalOffset3D = 50.0f;     // Menos altura
   }
   else if (WindowHeight <= 480) { // 480p estándar
      verticalOffset3D = 60.0f;     // Altura original
   }
   else if (WindowHeight <= 720) { // 720p
      verticalOffset3D = 70.0f;     // Un poco más alto
   }
   else if (WindowHeight <= 1080) { // 1080p
      verticalOffset3D = 80.0f;     // Más alto
   }
   else {                          // 4K o superior
      verticalOffset3D = 90.0f;     // Mucho más alto
   }


   Vector(pObject->Position[0], pObject->Position[1],
      pObject->Position[2] + pObject->BoundingBoxMax[2] + verticalOffset3D, posTemp);

   POINT ptFloating;
   Projection(posTemp, (int*)&ptFloating.x, (int*)&ptFloating.y);

   // Posición horizontal centrada
   pos.x = (ptFloating.x * (int)WindowWidth / DisplayWin) - size.cx / 2;


   int projectedY = ptFloating.y * (int)WindowHeight / 480;
   int engineOffset = 12 * 3 * (int)WindowHeight / 480;


   int additionalOffset;
   if (WindowHeight <= 360) {
      additionalOffset = 4;  // Pequeño ajuste para pantallas muy pequeñas
   }
   else if (WindowHeight <= 480) {
      additionalOffset = 5;  // Ajuste original para 480p
   }
   else if (WindowHeight <= 720) {
      additionalOffset = 15;  // Ajuste para 720p
   }
   else if (WindowHeight <= 1024) {
      additionalOffset = 10;  // Ajuste para 10240p
   }
   else if (WindowHeight <= 1080) {
      additionalOffset = 55;  // Ajuste para 1080p
   }



   additionalOffset = (int)(additionalOffset * heightRatio);

   // Posición final
   pos.y = projectedY - engineOffset - additionalOffset;
}

Why isn't it working even though I've followed all the instructions? What could be the reason?
 pleas3 pleas3


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2811 Views
Last post December 26, 2017, 01:11:36 PM
by Santi
15 Replies
4133 Views
Last post December 14, 2020, 02:55:43 AM
by h3yShOk
0 Replies
4099 Views
Last post August 06, 2020, 05:47:16 PM
by Santi
12 Replies
2177 Views
Last post November 27, 2025, 05:22:52 AM
by finalfts24
0 Replies
23 Views
Last post Today at 07:06:28 AM
by zhujianhui