Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Source 5.2 BASE  (Visto 10867 veces)

notengo and 2 Guests are viewing this topic.

Offline Mineiro #60 Posteado: December 27, 2025, 02:55:09 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 16
  • Gracias recibida: 487
  • br
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


Em config.ini no cliente, mude para: font-conf-index = -1

Gracias:


Offline GODZ1LLA #61 Posteado: December 27, 2025, 06:08:48 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 14
  • Gracias recibida: 1
  • br
Alguien tiene un anti-hack para esta versión?


Offline zhangjianle865 #62 Posteado: December 27, 2025, 07:16:37 AM

  • 0 puntos por ventas
  • *
  • Rank: Heroe
  • Posts: 172
  • Gracias recibida: 333
  • 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


Em config.ini no cliente, mude para: font-conf-index = -1

Title: ScaleForm.dll cannot read config.ini when client is installed in a Chinese path

Description:

I’m encountering an issue where config.ini cannot be read when the client is located in a Chinese (non-ASCII) directory path.

When the game is installed in a path containing Chinese characters, any modification to config.ini has no effect at all.

When the exact same client is moved to a pure English/ASCII path (e.g. D:\MUClient\), everything works perfectly and all configuration changes take effect immediately.

Because of this behavior, it strongly appears that ScaleForm.dll does not support Unicode / non-ASCII file paths, and is likely using ANSI APIs internally (such as LoadFile, fopen, or CreateFileA) instead of wide-character versions.

What I have confirmed:

The config file exists and is correctly formatted.

The client logic itself is unchanged.

Only the installation path (Chinese vs English) affects whether config.ini is read.

Other resources behave similarly when accessed through ScaleForm.

Conclusion:

This seems to be a ScaleForm.dll path encoding limitation, not a configuration or logic error.

Question:

Is there a known workaround for ScaleForm with Unicode paths?

Is there a patched or rebuilt version of ScaleForm.dll that supports wide-character paths?

Or is the only solution to force the game to run from an ASCII-only directory?

Any guidance or experience would be greatly appreciated.
Thank you for your help.


Offline skinmuonline #63 Posteado: December 27, 2025, 08:11:01 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 154
  • Gracias recibida: 506
  • br
programa ler bmd?


Offline zhangjianle865 #64 Posteado: December 27, 2025, 08:54:36 AM

  • 0 puntos por ventas
  • *
  • Rank: Heroe
  • Posts: 172
  • Gracias recibida: 333
  • ca
Is the  jewel in CustomJewel.txt not working, or is it a problem with my configuration? Please help.


Offline Kapocha33 #65 Posteado: December 27, 2025, 01:15:29 PM | Modificado: December 27, 2025, 01:25:55 PM by Kapocha33

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • 3D Maker
  • 0 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 818
  • Gracias recibida: 101542
  • ar
Me sonaba algunas texturas cool22


Consultas al Discord: Kapocha33

Gracias:


Offline Mineiro #66 Posteado: December 27, 2025, 01:29:42 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 16
  • Gracias recibida: 487
  • br
[POR]
Alguma correção para o problema abaixo?
Problema ao converter Item.xml para Item.bmd através do Tools -> Export BMD do GameServer.exe.
O problema ocorre no nome de alguns itens ao serem dropados no chão. Se alguém tiver a correção e puder compartilhar, agradeço!

[ENG]
Any fix for the problem below?
Issue converting Item.xml to Item.bmd via Tools -> Export BMD in GameServer.exe.
The problem occurs with the name of some items when they are dropped on the ground. If anyone has the correction and can share it, I'd appreciate it!

[SPN]
¿Alguna corrección para el problema a continuación?
Problema al convertir Item.xml a Item.bmd mediante Tools -> Export BMD en GameServer.exe.
El problema ocurre en el nombre de algunos ítems cuando son droppeados en el suelo. Si alguien tiene la corrección y puede compartirla, ¡se lo agradezco!



Offline Malkom99 #67 Posteado: December 27, 2025, 05:25:30 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 71
  • Gracias recibida: 640
  • br
fix pets and mounts

use slot for muun pets  237 and slot for mounts SLOT 8. IN ITEM SERVER FILES AND MAIN ITEMS FILES.

Gracias:


Offline erickmalfoy #68 Posteado: December 27, 2025, 06:45:55 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 714
  • Gracias recibida: 899
  • ar
El servidor funciona perfecto Solo es configuraciones y si hay algun error lo pueden solucionar mediate SRC pero hasta ahora no tengo errores todo me funciona bien uno que otro que me dijeron y lo fixie es muy facil la verdad con este main xD lo tedioso es cuando lo estoy estudiando como programa @takumi12 eso se me dificulta xD bueno hay vamos.. !


Offline Odisk #69 Posteado: December 27, 2025, 07:35:55 PM

  • MAESTRO

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 954
  • Gracias recibida: 15504
  • pr
one day

Offline Kapocha33 #70 Posteado: December 27, 2025, 08:29:54 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • 3D Maker
  • 0 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 818
  • Gracias recibida: 101542
  • ar
Consultas al Discord: Kapocha33

Gracias:


Offline Dexign #71 Posteado: December 27, 2025, 08:41:18 PM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 314
  • Gracias recibida: 1358
  • ve

REGISTRO INGAME MULTILENGUAJE
Bueno dejo un pequeño aporte para el que sea detallista como yo JAJAJAJJA






Offline Malkom99 #72 Posteado: December 27, 2025, 09:37:26 PM | Modificado: December 28, 2025, 07:09:41 AM by Malkom99

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 71
  • Gracias recibida: 640
  • br
fix configuration for muun slot 237 if move the other maps muun dispair (desaparecer)

https://imgur.com/a/vXDwZ21



Offline erickmalfoy #73 Posteado: December 28, 2025, 12:13:28 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 714
  • Gracias recibida: 899
  • ar

REGISTRO INGAME MULTILENGUAJE
Bueno dejo un pequeño aporte para el que sea detallista como yo JAJAJAJJA



yo sigo pensando que mejor es crear un mensaje.txt en el encoder en este caso donde puedas encriptarlo asi no pueden cambiar los usuarios es muy facil de hacer ^^ aun no llego a esa parte pero lo are xD


Offline CezarMaster #74 Posteado: December 28, 2025, 02:42:22 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 208
  • Gracias recibida: 2739
  • it
Alguien tendra los scr con los fix hasta la fecha porfa lo podria resubir seria de mucha ayuda


Offline qixar #75 Posteado: December 28, 2025, 05:34:55 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 4
  • Gracias recibida: 43
  • pl

Does anyone have an XML editor?

There's a lot of cleanup involved.


BUG.

1 EventTime : on Reopen not change Page , and Render first of on cached Page

2. Sometimes Window MB_OK not render Text

Gracias:


Offline nhantac #76 Posteado: December 28, 2025, 07:05:29 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 100
  • Gracias recibida: 146
  • vn
fix configuration for muun slot 236 if move the other maps muun dispair (desaparecer)

https://imgur.com/a/vXDwZ21
 
slot 238 bị lỗi khi move


Offline Dexign #77 Posteado: December 28, 2025, 07:52:30 AM

  • Diseñador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 314
  • Gracias recibida: 1358
  • ve

REGISTRO INGAME MULTILENGUAJE
Bueno dejo un pequeño aporte para el que sea detallista como yo JAJAJAJJA



yo sigo pensando que mejor es crear un mensaje.txt en el encoder en este caso donde puedas encriptarlo asi no pueden cambiar los usuarios es muy facil de hacer ^^ aun no llego a esa parte pero lo are xD




Yo la verdad no le di importancia a cambiarlo ya que solo maneja texto y solo agregue ese extra ya que igual hasta para el info del pj usan eso

Gracias:


Offline guiespi #78 Posteado: December 28, 2025, 10:02:42 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 6
  • Gracias recibida: 0
  • br
Alguien tendra los scr con los fix hasta la fecha porfa lo podria resubir seria de mucha ayuda



https://www.mediafire.com/file/j8nmlk4olxrpjdo/SRC_CORRIGIDA_5.2.rar/file            E so baixar!


Offline positive #79 Posteado: December 28, 2025, 10:18:34 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 3
  • Gracias recibida: 0
  • lv
Hi,

Can someone share ENG client patch for this ?


Offline zHammer #80 Posteado: December 28, 2025, 12:07:36 PM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 106
  • Gracias recibida: 84
  • es


The Setitem function does not display details, and the ItemSetOption.bmd file cannot be edited.
 pleas3 pleas3 pleas3


Offline qixar #81 Posteado: December 28, 2025, 01:35:39 PM | Modificado: December 28, 2025, 01:37:39 PM by qixar

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 4
  • Gracias recibida: 43
  • pl
Hi,

Can someone share ENG client patch for this ?

Not Full ENG ,but working :)




Offline qixar #82 Posteado: December 28, 2025, 01:45:47 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 4
  • Gracias recibida: 43
  • pl


The Setitem function does not display details, and the ItemSetOption.bmd file cannot be edited.
 pleas3 pleas3 pleas3

I managed to figure it out roughly.

Not whole groups, but item by item...

If I find a solution, I'll share it.

Code: [Select]
//====Item
0
//IndexMin IndexMax LevelMin LevelMax Exc Anc "NAME"                                                    Color       Index1 Color1    Level1  Index2  Color2  Lvel2   Index3  Color3  Lvel3   Index4  Color4  Lvel4 Index5 Color5   Lvel5   Index6  Color6  Lvel6   Index7  Color7  Lvel7 Index8 Color8   Lvel8 Index9   Color9   Lvel9  Index10 Color10 Lvel10 Index11 Color11 Lvel11 Index12 Color12 Lvel12 Index13 Color13 Lvel13 Index14 Color14 Lvel14 Index15 Color15 Lvel15
////== VK classic
// 0000 3590        0 15 1 -1   "[Full ++]"       4 1       3     13   2   6 14   3   2 15 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 2002 8 -1 2000 8 -1
6656 6656 0 15 -1 -1 "PET EFFECT"   3             3001      4         -1   3002    4      -1       3003    4      -1     3004    4       -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1          -1      -1           
end

//==== Set Item
1
////IndexMin IndexMax    Exc     Name   ColorName       Index1   Color1 Level1 Index2 Color2 Leve2 Index3 Color3 Leve3 Index4 Color4 Level4 Index5 Color5 Level5 Index6 Color6 Level6 Index7 Color7 Level7 Index8 Color8 Level8 Index9 Color9 Level9 Index10 Color10 Level10 Index11 Color11 Level11 Index12 Color12 Level12 Index13 Color13 Level13 Index14 Color14 Level14 Index15 Color15 Level15
// 0 65 1 "[Set++]"   7   1   3     -1 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 2003 8 -1 2000 8 -1
end



uncoment and see



Gracias:


Offline Ryzenn #83 Posteado: December 28, 2025, 07:03:42 PM

  • Colaborador
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 283
  • Gracias recibida: 5085
  • ar

REGISTRO INGAME MULTILENGUAJE
Bueno dejo un pequeño aporte para el que sea detallista como yo JAJAJAJJA



yo sigo pensando que mejor es crear un mensaje.txt en el encoder en este caso donde puedas encriptarlo asi no pueden cambiar los usuarios es muy facil de hacer ^^ aun no llego a esa parte pero lo are xD

Increíble que quieran agregar un sistema de textos cuando ya existe el text.bmd, tan fácil es agregar los mensajes en los 3 Lang y listo, y si no les gusta el bmd, pásenlo a XML como algunas configuraciones y listo, no se ahoguen en un vaso de agua tratando de crear cosas cuando tienes todo a mano

Se tu mismo, lo demás lo vas aprendiendo por el camino.

Offline takumi12 #84 Posteado: December 28, 2025, 08:48:06 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.078
  • Gracias recibida: 47840
  • mx
Me sonaba algunas texturas cool22



aun tienes las del aguila?, jajaja, recuerdo que tiene como 4 años que lo hiciste, una lastima que sin compartirlas terminaron fuera, lol, jajaja


Las offset no se crea, ni se destruye, solo se transforma

Gracias:


Offline Malkom99 #85 Posteado: December 28, 2025, 09:59:33 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 71
  • Gracias recibida: 640
  • br
this code create one effect of reset to unequip items any have solution for it?

if (pMsg.SubCode != 0xFF && lpMsg->SourceFlag == REQUEST_EQUIPMENT_INVENTORY && lpMsg->TargetFlag == REQUEST_EQUIPMENT_INVENTORY)
   {

      if (lpMsg->SourceSlot < MAX_EQUIPMENT_INDEX || lpMsg->TargetSlot < MAX_EQUIPMENT_INDEX)
      {
         gObjViewportListProtocolCreate(lpObj);
      }
   }


Offline erickmalfoy #86 Posteado: December 28, 2025, 10:46:14 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 714
  • Gracias recibida: 899
  • ar
this code create one effect of reset to unequip items any have solution for it?

if (pMsg.SubCode != 0xFF && lpMsg->SourceFlag == REQUEST_EQUIPMENT_INVENTORY && lpMsg->TargetFlag == REQUEST_EQUIPMENT_INVENTORY)
   {

      if (lpMsg->SourceSlot < MAX_EQUIPMENT_INDEX || lpMsg->TargetSlot < MAX_EQUIPMENT_INDEX)
      {
         gObjViewportListProtocolCreate(lpObj);
      }
   }
bad

Gracias:


Offline zHammer #87 Posteado: December 29, 2025, 07:24:37 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 106
  • Gracias recibida: 84
  • es


The Setitem function does not display details, and the ItemSetOption.bmd file cannot be edited.
 pleas3 pleas3 pleas3

I managed to figure it out roughly.

Not whole groups, but item by item...

If I find a solution, I'll share it.

Code: [Select]
//====Item
0
//IndexMin IndexMax LevelMin LevelMax Exc Anc "NAME"                                                    Color       Index1 Color1    Level1  Index2  Color2  Lvel2   Index3  Color3  Lvel3   Index4  Color4  Lvel4 Index5 Color5   Lvel5   Index6  Color6  Lvel6   Index7  Color7  Lvel7 Index8 Color8   Lvel8 Index9   Color9   Lvel9  Index10 Color10 Lvel10 Index11 Color11 Lvel11 Index12 Color12 Lvel12 Index13 Color13 Lvel13 Index14 Color14 Lvel14 Index15 Color15 Lvel15
////== VK classic
// 0000 3590        0 15 1 -1   "[Full ++]"       4 1       3     13   2   6 14   3   2 15 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 2002 8 -1 2000 8 -1
6656 6656 0 15 -1 -1 "PET EFFECT"   3             3001      4         -1   3002    4      -1       3003    4      -1     3004    4       -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1      -1          -1      -1           
end

//==== Set Item
1
////IndexMin IndexMax    Exc     Name   ColorName       Index1   Color1 Level1 Index2 Color2 Leve2 Index3 Color3 Leve3 Index4 Color4 Level4 Index5 Color5 Level5 Index6 Color6 Level6 Index7 Color7 Level7 Index8 Color8 Level8 Index9 Color9 Level9 Index10 Color10 Level10 Index11 Color11 Level11 Index12 Color12 Level12 Index13 Color13 Level13 Index14 Color14 Level14 Index15 Color15 Level15
// 0 65 1 "[Set++]"   7   1   3     -1 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 2003 8 -1 2000 8 -1
end



uncoment and see

Thank you so much pleas3 pleas3 pleas3


Offline nhantac #88 Posteado: December 29, 2025, 11:24:42 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 100
  • Gracias recibida: 146
  • vn
https://ibb.co/pvYjgq6y
có ai gặp lỗi này không, khi vào nhân vật DL thì sẽ bị ấn item


Offline zHammer #89 Posteado: December 29, 2025, 11:54:38 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 106
  • Gracias recibida: 84
  • es
https://ibb.co/pvYjgq6y
có ai gặp lỗi này không, khi vào nhân vật DL thì sẽ bị ấn item

Up  pleas3 pleas3


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
46 Replies
17661 Views
Last post June 03, 2025, 12:53:24 AM
by ZabiinoOo
1 Replies
1955 Views
Last post July 18, 2024, 10:26:43 AM
by RAGNAR111
38 Replies
9374 Views
Last post June 14, 2025, 12:08:22 AM
by Eureka26
20 Replies
5451 Views
Last post April 11, 2025, 12:03:23 AM
by Nexus
16 Replies
1672 Views
Last post January 08, 2026, 09:45:43 PM
by Malkom99