Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Source 5.2 BASE  (Visto 2706 veces)

goodsfire, mugloves99, joseall, jeangdr, bigrealtk92, PaidaMorte, xianwen, GODZ1LLA, baojianyang, HaPKoTuK and 1 Guest are viewing this topic.

Online GODZ1LLA #30 Posteado: December 23, 2025, 11:39:08 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 0
  • br
Cómo hago para que mi servidor de juegos lea el archivo item.txt? Solo puede leer el archivo item.xml


Online GODZ1LLA #31 Posteado: December 24, 2025, 05:07:14 AM | Modificado: December 24, 2025, 05:08:53 AM by GODZ1LLA

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 0
  • br
 sueno No todo son flores. Hay un bug: al desequipar y volver a equipar el set, se pierde el glow desde la visión de otra pantalla (otros jugadores). En mi propia pantalla se ve normal, pero para los demás queda sin brillo.
¿Alguien ya corrigió esto? Si es así, comparta dónde está el error y cómo solucionarlo. https://ibb.co/6RQ9jZ0v


Offline muccone #32 Posteado: December 24, 2025, 10:54:41 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 59
  • Gracias recibida: 190
  • tw

void CGMItemMng::OpenFile(char* FileName)
{
   char filename[256];
   sprintf_s(filename, ".\\Data\\Local\\%s\\ItemList.xml", g_strSelectedML.c_str());
   pugi::xml_document file;
   pugi::xml_parse_result res = file.load_file(filename);

   if (res.status != pugi::status_ok)
   {
      return;
   }

   

   pugi::xml_node ItemList = file.child("ItemList");
   int index = 0;
   for (pugi::xml_node Section = ItemList.child("Section"); Section; Section = Section.next_sibling())
   {
      for (pugi::xml_node Item = Section.child("Item"); Item; Item = Item.next_sibling())
      {
         

         
         Script_Item info ;

         std::string text_name = Item.attribute("Name").as_string();
         strcpy_s(info.Name, text_name.c_str());
         info.Type = Section.attribute("Index").as_int();
         info.m_byItemSlot = Item.attribute("Slot").as_int();
         info.Index = Item.attribute("Index").as_int();
         info.m_wSkillIndex = Item.attribute("SkillIndex").as_int();
         info.TwoHand = Item.attribute("TwoHand").as_int();
         info.Width = Item.attribute("Width").as_int();
         info.Height = Item.attribute("Height").as_int();
         info.Drop = Item.attribute("Drop").as_int();
         info.PowerATTK = Item.attribute("CombatPower").as_int();
         info.RequireLevel = Item.attribute("ReqLevel").as_int();
         info.DamageMin = Item.attribute("DamageMin").as_int();
         info.DamageMax = Item.attribute("DamageMax").as_int();
         info.WeaponSpeed = Item.attribute("AttackSpeed").as_int();
         info.Durability = Item.attribute("Durability").as_int();
         info.MagicDur = Item.attribute("MagicDurability").as_int();
         info.MagicPower = Item.attribute("MagicPower").as_int();
         info.RequireStrength = Item.attribute("ReqStrength").as_int();
         info.RequireDexterity = Item.attribute("ReqDexterity").as_int();
         info.RequireEnergy = Item.attribute("ReqEnergy").as_int();
         info.RequireVitality = Item.attribute("ReqVitality").as_int();
         info.RequireCharisma = Item.attribute("ReqCommand").as_int();
         info.AttType = Item.attribute("SetAttrib").as_int();
         info.RequireClass[0] = Item.attribute("DarkWizard").as_int();
         info.RequireClass[1] = Item.attribute("DarkKnight").as_int();
         info.RequireClass[2] = Item.attribute("FairyElf").as_int();
         info.RequireClass[3] = Item.attribute("MagicGladiator").as_int();
         info.RequireClass[4] = Item.attribute("DarkLord").as_int();
         info.RequireClass[5] = Item.attribute("Summoner").as_int();
         info.RequireClass[6] = Item.attribute("RageFighter").as_int();
         info.RequireClass[7] = Item.attribute("GrowLancer").as_int();
         info.RequireClass[8] = Item.attribute("RuneWizard").as_int();
         info.RequireClass[9] = Item.attribute("Slayer").as_int();
         info.RequireClass[10] = Item.attribute("GunCrusher").as_int();
         info.RequireClass[11] = Item.attribute("LightWizard").as_int();
         info.RequireClass[12] = Item.attribute("LemuriaMage").as_int();
         info.RequireClass[13] = Item.attribute("IllusionKnight").as_int();
         info.RequireClass[14] = Item.attribute("DarkWizard").as_int();
      
         info.Type = Item.attribute("Type").as_int();
         info.Drop = Item.attribute("Dump").as_int();
         info.Trade = Item.attribute("Transaction").as_int();
         info.StorePersonal = Item.attribute("PersonalStore").as_int();
         info.WhareHouse = Item.attribute("StoreWarehouse").as_int();
         info.SellNpc = Item.attribute("SellToNPC").as_int();
         info.Expensive = Item.attribute("ExpensiveItem").as_int();
         info.Repair = Item.attribute("Repair").as_int();
         info.Kind1 = Item.attribute("KindA").as_int();
         info.Kind2 = Item.attribute("KindB").as_int();
         info.Overlap = Item.attribute("Overlap").as_int();
         info.MasteryGrade = Item.attribute("MasteryGrade").as_int();

         std::string ModelPath = Item.attribute("ModelPath").as_string();
         strcpy_s(info.ModelPath, ModelPath.c_str());
         std::string ModelFile = Item.attribute("ModelFile").as_string();
         strcpy_s(info.ModelFile, ModelFile.c_str());
         ItemMemory[index] = info;
      }
      

      
   }

   return;
}
Modified the item loading method to directly use the latest item files from IGC-Network. Thanks to IGC.ItemList.xml

Telegram Account :@mucone    develop Mu

Gracias:


Offline erickmalfoy #33 Posteado: December 24, 2025, 02:46:20 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 697
  • Gracias recibida: 849
  • ar
sueno No todo son flores. Hay un bug: al desequipar y volver a equipar el set, se pierde el glow desde la visión de otra pantalla (otros jugadores). En mi propia pantalla se ve normal, pero para los demás queda sin brillo.
¿Alguien ya corrigió esto? Si es así, comparta dónde está el error y cómo solucionarlo. https://ibb.co/6RQ9jZ0v

Busca por CreateEquippingEffect 

Gracias:


Online GODZ1LLA #34 Posteado: December 24, 2025, 03:20:13 PM | Modificado: December 24, 2025, 03:30:11 PM by GODZ1LLA

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 0
  • br
sueno No todo son flores. Hay un bug: al desequipar y volver a equipar el set, se pierde el glow desde la visión de otra pantalla (otros jugadores). En mi propia pantalla se ve normal, pero para los demás queda sin brillo.
¿Alguien ya corrigió esto? Si es así, comparta dónde está el error y cómo solucionarlo. https://ibb.co/6RQ9jZ0v

Busca por CreateEquippingEffect
   Esa es una función local solo funciona dentro del mismo juego/cliente.
No se expande a otros jugadores


Offline Odisk #35 Posteado: December 24, 2025, 05:13:09 PM | Modificado: December 24, 2025, 05:21:21 PM by Odisk

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 950
  • Gracias recibida: 15302
  • pr
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.

one day

Offline erickmalfoy #36 Posteado: December 24, 2025, 08:53:15 PM | Modificado: December 24, 2025, 09:07:05 PM by erickmalfoy

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 697
  • Gracias recibida: 849
  • ar
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 
lo que hace el codigo solo es Refreshar de manera interna el Juego asi como lo hace el anillo del panda es viable si pero el personaje refreshea todo lo recomendable es que este como estaba antes osea el original creo que esta en la parte del main


Offline erickmalfoy #37 Posteado: December 24, 2025, 09:50:44 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 697
  • Gracias recibida: 849
  • ar
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 

La solucion Real Es esta xD ^^ 
Caballo Caballo


Offline muccone #38 Posteado: December 24, 2025, 10:32:08 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 59
  • Gracias recibida: 190
  • tw
bool CMoveCommandData::Create(const std::string& filename)
{

   char filepatm[256];
   sprintf_s(filepatm, ".\\Data\\Local\\%s\\MoveReq.xml", g_strSelectedML.c_str());
   pugi::xml_document file;
   pugi::xml_parse_result res = file.load_file(filepatm);

   if (res.status != pugi::status_ok)
   {
      return false;
   }



   pugi::xml_node WarpSettings = file.child("WarpSettings");
   int index = 0;
   for (pugi::xml_node Warp = WarpSettings.child("Warp"); Warp; Warp = Warp.next_sibling())
   {
      MOVEINFODATA* pMoveInfoData = new MOVEINFODATA;
      std::string ServerName = Warp.attribute("ServerName").as_string();
      strcpy_s(pMoveInfoData->_ReqInfo.szSubMapName, ServerName.c_str());

      std::string ClientName = Warp.attribute("ClientName").as_string();
      strcpy_s(pMoveInfoData->_ReqInfo.szMainMapName, ClientName.c_str());

      pMoveInfoData->_ReqInfo.index = Warp.attribute("Index").as_int();
      pMoveInfoData->_ReqInfo.iReqLevel = Warp.attribute("MinLevel").as_int();
      pMoveInfoData->_ReqInfo.m_iReqMaxLevel = Warp.attribute("MaxLevel").as_int();
      pMoveInfoData->_ReqInfo.iReqZen = Warp.attribute("ReqMoney").as_int();
      pMoveInfoData->_ReqInfo.iGateNum = Warp.attribute("GateNumber").as_int();
      pMoveInfoData->_ReqInfo.ReqVipLevel = Warp.attribute("ReqVipLevel").as_int();
      pMoveInfoData->_ReqInfo.DifficultyOrder = Warp.attribute("DifficultyOrder").as_int();
      pMoveInfoData->_ReqInfo.AlphabetOrder = Warp.attribute("AlphabetOrder").as_int();
      pMoveInfoData->_ReqInfo.MonsterClassification = Warp.attribute("MonsterClassification").as_int();
      m_listMoveInfoData.push_back(pMoveInfoData);
   }
   return true;
}
Modify MoveReq.xml to use Moveeq.bmd in preparation for later packaging.

Telegram Account :@mucone    develop Mu

Offline Odisk #39 Posteado: December 24, 2025, 10:35:42 PM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 950
  • Gracias recibida: 15302
  • pr
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 

La solucion Real Es esta xD ^^ 
Caballo Caballo


es un problema de viewport que no se actualiza esta es parte del gameserver ya que muchas cosas fueron reectrutada o cambiadas por lo tanto esta seria la solucion para los glow o otras cosas.

one day

Offline erickmalfoy #40 Posteado: December 24, 2025, 10:44:54 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 697
  • Gracias recibida: 849
  • ar
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 

La solucion Real Es esta xD ^^ 
Caballo Caballo


es un problema de viewport que no se actualiza esta es parte del gameserver ya que muchas cosas fueron reectrutada o cambiadas por lo tanto esta seria la solucion para los glow o otras cosas.

Claro es el winport pero si haces  gObjViewportListProtocolCreate(lpObj);  estas que refreschas todo y se entiende es una solucion pero Takumi12 le da asco esas soluciones xDDDDDD  no es por ofender pero pero debes mandarlo de buena manera asi como mostre en el video y gracias por tu apoyo ayudas bastante .. !!! Todo el codigo funciona Perfecto solo debemos estudiarlo mas para saber como funciona ya que fue restructurado muchas cosas son diferentes es un mundo nuevo... !!   VIVA @takumi12  Muy Groxo xD

Gracias:


Online mugloves99 #41 Posteado: Today at 01:41:53 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 77
  • Gracias recibida: 18
  • jp

Offline Odisk #42 Posteado: Today at 02:03:30 AM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 950
  • Gracias recibida: 15302
  • pr
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 

La solucion Real Es esta xD ^^ 
Caballo Caballo


es un problema de viewport que no se actualiza esta es parte del gameserver ya que muchas cosas fueron reectrutada o cambiadas por lo tanto esta seria la solucion para los glow o otras cosas.

Claro es el winport pero si haces  gObjViewportListProtocolCreate(lpObj);  estas que refreschas todo y se entiende es una solucion pero Takumi12 le da asco esas soluciones xDDDDDD  no es por ofender pero pero debes mandarlo de buena manera asi como mostre en el video y gracias por tu apoyo ayudas bastante .. !!! Todo el codigo funciona Perfecto solo debemos estudiarlo mas para saber como funciona ya que fue restructurado muchas cosas son diferentes es un mundo nuevo... !!   VIVA @takumi12  Muy Groxo xD

iluminanos.

one day

Offline zhangjianle865 #43 Posteado: Today at 03:54:12 AM | Modificado: Today at 04:49:10 AM by zhangjianle865

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 164
  • Gracias recibida: 285
  • ca

Body:

Hello everyone,
I’m having a persistent issue with ScaleForm (GFx) resource loading and I’m hoping someone with ScaleForm experience can help.

My client works correctly when installed in an English-only path, but fails when the installation path contains Chinese characters.
In the Chinese-path case, Chinese text becomes garbled or rendered as squares, even though the same text displays correctly in an English path.

What works

Text encoding has been verified:

Client strings are converted from GBK / ANSI to UTF-8 before being passed to ScaleForm.

In an English directory, Chinese text displays correctly.

Fonts are correctly configured:

$NormalFont is mapped to Arial Unicode MS

The font files load and render correctly in non-Chinese paths.

fontconfig.txt and font libraries are valid.

What fails

When the client is installed in a directory containing Chinese characters, ScaleForm fails to load resources correctly:

.gfx files

fontconfig.txt

fontlib (.swf) files

images referenced by ScaleForm

As a result:

Fonts fall back or fail to load

Chinese text appears as garbled characters or squares

Using GetShortPathNameW does not produce an ASCII short path (8.3 names appear to be disabled on the disk).

Loading resources via absolute UTF-8 paths also fails.

ScaleForm appears to rely on ANSI file APIs or relative paths internally, which do not handle non-ASCII paths.

Key observation

If I temporarily change the current working directory to the ScaleForm resource folder, loading may succeed —
but this breaks other parts of the client that rely on the working directory (e.g. UI textures loaded via relative paths).

My understanding so far

It seems that ScaleForm.dll internally uses ANSI file access (e.g. fopen, CreateFileA) and relative paths, which causes all resource loading to fail when the base path contains non-ASCII characters.

What I’m asking for

Is there a proper way to set a resource root / content path in ScaleForm so that it can load files using Unicode paths?

Is there a documented or recommended way to make ScaleForm fully Unicode-path safe?

Or is the only reliable solution to ensure all ScaleForm resources are accessed through ASCII-only paths (e.g. via a virtual drive or external resource directory)?

Any guidance, documentation, or experience with this issue would be greatly appreciated.
Thank you very much for your time and help!



https://ibb.co/YBz6C1NW
https://ibb.co/b5R94GqZ


Offline zhangjianle865 #44 Posteado: Today at 04:43:42 AM | Modificado: Today at 04:50:47 AM by zhangjianle865

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 164
  • Gracias recibida: 285
  • ca
Hi everyone,

I’m working on a MU Online client that uses ScaleForm.dll for UI (gfx / swf / fonts).

I have confirmed that when the client is installed in a directory with Chinese characters
(e.g. "F:\游戏\MU\"), ScaleForm fails to load gfx, fonts or bitmaps correctly.
When installed in a pure ASCII path (e.g. "D:\MU\"), everything works fine.

After debugging, I found that:
- The main.exe already passes correct paths
- But ScaleForm.dll itself seems to use ANSI (A-version) file APIs
  or does not properly support Unicode paths

So modifying the client exe alone does not fully solve the issue.

👉 I would like to ask:
Does anyone have a ScaleForm.dll that supports Unicode / Chinese paths
(or one compiled with wide-character file APIs)?

If possible, I would really appreciate it.
Thank you very much for your help.
   
http://ibb.co/YBz6C1NW
http://ibb.co/b5R94GqZ

@tcbaoanh

@takumi12


Offline zhujianhui #45 Posteado: Today at 08:57:38 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 9
  • Gracias recibida: 3
  • cn
Hi everyone,

I’m working on a MU Online client that uses ScaleForm.dll for UI (gfx / swf / fonts).

I have confirmed that when the client is installed in a directory with Chinese characters
(e.g. "F:\游戏\MU\"), ScaleForm fails to load gfx, fonts or bitmaps correctly.
When installed in a pure ASCII path (e.g. "D:\MU\"), everything works fine.

After debugging, I found that:
- The main.exe already passes correct paths
- But ScaleForm.dll itself seems to use ANSI (A-version) file APIs
  or does not properly support Unicode paths

So modifying the client exe alone does not fully solve the issue.

👉 I would like to ask:
Does anyone have a ScaleForm.dll that supports Unicode / Chinese paths
(or one compiled with wide-character file APIs)?

If possible, I would really appreciate it.
Thank you very much for your help.
   
http://ibb.co/YBz6C1NW
http://ibb.co/b5R94GqZ

@tcbaoanh

@takumi12
请问兄弟你是如何支持文名称创建角色显示 我数据库排序过 但是还是不能正常中文名称创建  请问需要修改哪里支持!


Offline zhangjianle865 #46 Posteado: Today at 09:01:06 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 164
  • Gracias recibida: 285
  • ca
Hi everyone,

I’m working on a MU Online client that uses ScaleForm.dll for UI (gfx / swf / fonts).

I have confirmed that when the client is installed in a directory with Chinese characters
(e.g. "F:\游戏\MU\"), ScaleForm fails to load gfx, fonts or bitmaps correctly.
When installed in a pure ASCII path (e.g. "D:\MU\"), everything works fine.

After debugging, I found that:
- The main.exe already passes correct paths
- But ScaleForm.dll itself seems to use ANSI (A-version) file APIs
  or does not properly support Unicode paths

So modifying the client exe alone does not fully solve the issue.

👉 I would like to ask:
Does anyone have a ScaleForm.dll that supports Unicode / Chinese paths
(or one compiled with wide-character file APIs)?

If possible, I would really appreciate it.
Thank you very much for your help.
   
http://ibb.co/YBz6C1NW
http://ibb.co/b5R94GqZ

@tcbaoanh

@takumi12


https://ibb.co/V0GCSWKh

NICE aplausos aplausos


Offline zhangjianle865 #47 Posteado: Today at 09:02:20 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 164
  • Gracias recibida: 285
  • ca
Hi everyone,

I’m working on a MU Online client that uses ScaleForm.dll for UI (gfx / swf / fonts).

I have confirmed that when the client is installed in a directory with Chinese characters
(e.g. "F:\游戏\MU\"), ScaleForm fails to load gfx, fonts or bitmaps correctly.
When installed in a pure ASCII path (e.g. "D:\MU\"), everything works fine.

After debugging, I found that:
- The main.exe already passes correct paths
- But ScaleForm.dll itself seems to use ANSI (A-version) file APIs
  or does not properly support Unicode paths

So modifying the client exe alone does not fully solve the issue.

👉 I would like to ask:
Does anyone have a ScaleForm.dll that supports Unicode / Chinese paths
(or one compiled with wide-character file APIs)?

If possible, I would really appreciate it.
Thank you very much for your help.
   
http://ibb.co/YBz6C1NW
http://ibb.co/b5R94GqZ

@tcbaoanh

@takumi12
请问兄弟你是如何支持文名称创建角色显示 我数据库排序过 但是还是不能正常中文名称创建  请问需要修改哪里支持!

要修改客户端源码让它支持中文,有多个位置


Offline ukvayha #48 Posteado: Today at 12:38:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 7
  • Gracias recibida: 0
  • vn
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 Could you please share the code fix?


Offline ukvayha #49 Posteado: Today at 12:41:58 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 7
  • Gracias recibida: 0
  • vn
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 

La solucion Real Es esta xD ^^ 
Caballo Caballo

Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 



Could you please share the code fix?


Offline ukvayha #50 Posteado: Today at 12:44:16 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 7
  • Gracias recibida: 0
  • vn
Espero que todos ayuden xd



Fix VisualBug Glow item In other Character.
 

La solucion Real Es esta xD ^^ 
Caballo Caballo


Could you please share the code fix?


Online GODZ1LLA #51 Posteado: Today at 05:14:50 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 0
  • br
Alguien sabe cómo resolver esto? Cuando voy a reset lv 400 pide 10b, quiero dejar solo por Zen.
https://ibb.co/MxVJN9mW


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
16 Replies
8352 Views
Last post September 14, 2025, 07:15:51 AM
by soulofwind
46 Replies
17280 Views
Last post June 03, 2025, 12:53:24 AM
by ZabiinoOo
1 Replies
1910 Views
Last post July 18, 2024, 10:26:43 AM
by RAGNAR111
38 Replies
9109 Views
Last post June 14, 2025, 12:08:22 AM
by Eureka26
20 Replies
5223 Views
Last post April 11, 2025, 12:03:23 AM
by Nexus