TUServerMU

MuOnline => Files MU => Sources Generales => Tema comenzado por: louis on December 10, 2021, 07:24:28 AM

Titulo: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 07:24:28 AM
Fala galera

Estive trabalhando com o Andrews(Ogocx) por um tempo na source do main 5.2 para estudos e melhorias dos nossos emuladores então fizemos uma organização/limpeza nessa source e estamos disponibilizando para vocês. Foi muito trabalho limpa-la por completo.

Não está boa o suficiente para colocar um servidor online, use para estudos ou para iniciar um novo projeto corrigindo o que for necessário.

Incluso:
- Souce MuServer Update 15 louis emulator.
- Source Main 5.2 limpa.
- Muserver/cliente compátiveis.

Pricipais características:
- Todos os arquivos atualizados para visual studio 2019.
- Novo protocolo ASIO (Liga/Desliga incluido).
- CashShop incluido direto na soure, sem LIB.
- Main Scene atualizado para season 6(FPS)
- Compilação no modo Debug e Release funcionando.
- Removidos todos idiomas deixando apenas inglês.
- Removidas todos idiomas de compilação deixando apenas o global.
- Removidos todo texto/comentário "chines".
- Removidos 90% dos defines, deixando apenas Cashshop(on/off), Gens System(On/OFF) e alguns outros.
- Sistema pronto para começar a codar RageFighter (S6)
- Sistema pronto para começar a codar Right click equiped item(S6)
- Sistema pronto para começar a codar Lucky Items(S6)
- Sistema pronto para começar a codar Karutan Map(S6)
- Novas classes criadas como MapManager/ItemManager/Loaddata (Apenas começo)
- Remvido todo o lixo.
- Vários fix.

Sistemas season 6 não inclusos:
- Nova Master Skill tree.
- Mu Helper
- Baú extendido
- Inventory extendido

English:
Hey guys

I've been working with Andrews(Ogocx) for a while on the main 5.2 source to study and improve our emulators so we've done some sorting/cleaning up on this source and we're making it available to you. It was a lot of work to clean it completely.

It's not good enough to put a server online, use it for studies or start a new project by correcting and adding as needed.

Included in:
- Souce MuServer Update 15 louis emulator.
- Source Main 5.2 clean.
- Muserver/client compatible.

Main features:
- All files updated for visual studio 2019.
- New ASIO protocol (On/Off included).
- CashShop included direct to the soure, without LIB.
- Compilation in Debug and Release mode working.
- Removed all languages ​​leaving only English.
- Removed all build languages ​​leaving only the global one.
- Removed all "Chinese" text/comment.
- Removed 90% of defines, leaving only Cashshop(on/off), Gens System(On/OFF) and a few others.
- System ready to start coding RageFighter (S6)
- System ready to start coding Right click equiped item(S6)
- System ready to start coding Lucky Items(S6)
- System ready to start coding Karutan Map(S6)
- New classes created as MapManager/ItemManager/Loaddata (Starting only)
- Removed all the garbage.
- Several fixes.

Season 6 systems not included:
- New Master Skill tree.
- Mu Helper
- Extended chest
- Extended inventory

Imagens:
(https://i.imgur.com/obPRXDR.png)
(https://i.imgur.com/BugcqnV.png)
(https://i.imgur.com/btDI8S7.jpg)
(https://i.imgur.com/sy8JZs8.jpg)
(https://i.imgur.com/9zB9zSI.jpg)
(https://i.imgur.com/6yIfM40.jpg)
(https://i.imgur.com/pyxdbIC.jpg)
(https://i.imgur.com/PqDQz5X.jpg)
(https://i.imgur.com/g8CMH3I.jpg)
(https://i.imgur.com/trcKhHO.jpg)
(https://i.imgur.com/RruUKU0.jpg)
(https://i.imgur.com/HBfRCT6.jpg)
(https://i.imgur.com/1UMAUxt.jpg)

Github:
(http://i.imgur.com/Z9MYwwl.png)

Créditos:
Webzen
@Louis
Andrews(@OgoCx)
@myheart(Cashshop files)
@kayito
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: lunaticodeveloper on December 10, 2021, 07:48:25 AM
Estos si son aportes no mamadas :D
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: universalmu4 on December 10, 2021, 07:56:04 AM
Thank you appreciate it.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Marcela on December 10, 2021, 08:48:17 AM
muito obrigado
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Alexander on December 10, 2021, 09:09:32 AM
Gracias Louis, Eres un crack.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 10, 2021, 11:54:01 AM
alfin algo bueno nada de esas cosas que dejan por la mitad
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Rindy on December 10, 2021, 01:14:53 PM
This file is missing afxres.h, @louis  help please please
(https://files.fm/f/hdzgsduy5)
https://files.fm/f/hdzgsduy5
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 01:16:42 PM
Updated.

removed unnecessary files and added backup of compatible database.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 01:19:54 PM
This file is missing afxres.h, @louis  help please please
(https://files.fm/f/hdzgsduy5)
https://files.fm/f/hdzgsduy5

https://community.developers.refinitiv.com/questions/8225/fatal-error-rc1015-cannot-open-include-file-afxres.html
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Rindy on December 10, 2021, 01:29:54 PM
This file is missing afxres.h, @louis  help please please
(https://files.fm/f/hdzgsduy5)
https://files.fm/f/hdzgsduy5

https://community.developers.refinitiv.com/questions/8225/fatal-error-rc1015-cannot-open-include-file-afxres.html

 cool2 cool2 tks you
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Rindy on December 10, 2021, 01:47:33 PM
This file is missing afxres.h, @louis  help please please
(https://files.fm/f/hdzgsduy5)
https://files.fm/f/hdzgsduy5

https://community.developers.refinitiv.com/questions/8225/fatal-error-rc1015-cannot-open-include-file-afxres.html

share client test !  please please please
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 01:53:41 PM
This file is missing afxres.h, @louis  help please please
(https://files.fm/f/hdzgsduy5)
https://files.fm/f/hdzgsduy5

https://community.developers.refinitiv.com/questions/8225/fatal-error-rc1015-cannot-open-include-file-afxres.html

share client test !  please please please

everything is on the link
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Alexander on December 10, 2021, 02:02:50 PM
alfin algo bueno nada de esas cosas que dejan por la mitad
Ni como esa porqueria del Tuki.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on December 10, 2021, 02:53:06 PM
Muy buen aporte louis ! Yo hice exactamente lo mismo pero lo mantuve en VS2010 en lugar de upgradearlo a vs2019.

Esperemos que alguien haga algo interesante con esto porque con la base liberada aún no hicieron nada interesante así que espero que el trabajo no sea en vano.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 03:26:06 PM
Muy buen aporte louis ! Yo hice exactamente lo mismo pero lo mantuve en VS2010 en lugar de upgradearlo a vs2019.

Esperemos que alguien haga algo interesante con esto porque con la base liberada aún no hicieron nada interesante así que espero que el trabajo no sea en vano.

gracias, 2010 también funciona bien, hice más para aprender
y 2019 funciona mejor con github
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on December 10, 2021, 03:37:45 PM
Muy buen aporte louis ! Yo hice exactamente lo mismo pero lo mantuve en VS2010 en lugar de upgradearlo a vs2019.

Esperemos que alguien haga algo interesante con esto porque con la base liberada aún no hicieron nada interesante así que espero que el trabajo no sea en vano.

gracias, 2010 también funciona bien, hice más para aprender
y 2019 funciona mejor con github

Puedes abrir proyecto de VS2010 usando VS2019 pero sin modificar el target version del proyecto, incluso puedes compilarlo de esa manera. Esto te da los beneficios de usar el VS2019 pero compilando en 2010 (yo uso así sólo por el Dark Theme xD)

(https://i.imgur.com/UrW55rS.png)

En fin, buen trabajo. Sólo faltaría agregar Rage Fighter y Mu Helper y ya tendríamos una buena base de S6 para manejar  :D
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: aemoscon on December 10, 2021, 03:49:11 PM
Voce e o cara Louis, uma duvida voce tem como colocar o muhelper ou ñao tem como ? Obg
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 03:57:57 PM
Muy buen aporte louis ! Yo hice exactamente lo mismo pero lo mantuve en VS2010 en lugar de upgradearlo a vs2019.

Esperemos que alguien haga algo interesante con esto porque con la base liberada aún no hicieron nada interesante así que espero que el trabajo no sea en vano.

gracias, 2010 también funciona bien, hice más para aprender
y 2019 funciona mejor con github

Puedes abrir proyecto de VS2010 usando VS2019 pero sin modificar el target version del proyecto, incluso puedes compilarlo de esa manera. Esto te da los beneficios de usar el VS2019 pero compilando en 2010 (yo uso así sólo por el Dark Theme xD)

(https://i.imgur.com/UrW55rS.png)

En fin, buen trabajo. Sólo faltaría agregar Rage Fighter y Mu Helper y ya tendríamos una buena base de S6 para manejar  :D

Si si, pero estaba a probar las optimizacionesen la compilacion con 2019

Ragefighter creo que es solo activar y cambiar alguns archivos como item.bmd, etc , ese item.bmd ya esta con rf. lo cambié.

ahora el helper tiene que empezar de cero jaja

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 10, 2021, 04:02:01 PM
Muy buen aporte louis ! Yo hice exactamente lo mismo pero lo mantuve en VS2010 en lugar de upgradearlo a vs2019.

Esperemos que alguien haga algo interesante con esto porque con la base liberada aún no hicieron nada interesante así que espero que el trabajo no sea en vano.

gracias, 2010 también funciona bien, hice más para aprender
y 2019 funciona mejor con github

Puedes abrir proyecto de VS2010 usando VS2019 pero sin modificar el target version del proyecto, incluso puedes compilarlo de esa manera. Esto te da los beneficios de usar el VS2019 pero compilando en 2010 (yo uso así sólo por el Dark Theme xD)

(https://i.imgur.com/UrW55rS.png)

En fin, buen trabajo. Sólo faltaría agregar Rage Fighter y Mu Helper y ya tendríamos una buena base de S6 para manejar  :D
estamos igual pase todo a vs2019 es mas comodo si abres proyecto en otro lado te lo deja con las ventanas igual abiertas como las dejaste xd
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 04:11:33 PM
Voce e o cara Louis, uma duvida voce tem como colocar o muhelper ou ñao tem como ? Obg

A source ta ai, você mesmo pode colocar haha
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 10, 2021, 04:46:44 PM
Voce e o cara Louis, uma duvida voce tem como colocar o muhelper ou ñao tem como ? Obg

A source ta ai, você mesmo pode colocar haha
Code: [Select]
//windows
#include <WinSock2.h>
#include <mmsystem.h>
#include <shellapi.h>

//c runtime
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <assert.h>
#include <mbstring.h>
#include <time.h>
#include <math.h>
#include <stdarg.h>
#include <conio.h>

estas librerias donde las consigos por que tengo el vs2019 full instalado
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on December 10, 2021, 04:50:25 PM
Voce e o cara Louis, uma duvida voce tem como colocar o muhelper ou ñao tem como ? Obg

A source ta ai, você mesmo pode colocar haha
Code: [Select]
//windows
#include <WinSock2.h>
#include <mmsystem.h>
#include <shellapi.h>

//c runtime
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <assert.h>
#include <mbstring.h>
#include <time.h>
#include <math.h>
#include <stdarg.h>
#include <conio.h>

estas librerias donde las consigos por que tengo el vs2019 full instalado

Esas son librerías default de windows xD fijate si tenés bien instalado el VS2019.

Pd: Fix del icono en la ventana

En la función: HWND StartWindow(HINSTANCE hCurrentInst, int nCmdShow)

Code: [Select]
wndClass.hIcon = LoadIcon(hCurrentInst, (LPCTSTR)IDI_ICON1);
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 10, 2021, 05:17:46 PM
Voce e o cara Louis, uma duvida voce tem como colocar o muhelper ou ñao tem como ? Obg

A source ta ai, você mesmo pode colocar haha
Code: [Select]
//windows
#include <WinSock2.h>
#include <mmsystem.h>
#include <shellapi.h>

//c runtime
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <assert.h>
#include <mbstring.h>
#include <time.h>
#include <math.h>
#include <stdarg.h>
#include <conio.h>

estas librerias donde las consigos por que tengo el vs2019 full instalado

Esas son librerías default de windows xD fijate si tenés bien instalado el VS2019.

Pd: Fix del icono en la ventana

En la función: HWND StartWindow(HINSTANCE hCurrentInst, int nCmdShow)

Code: [Select]
wndClass.hIcon = LoadIcon(hCurrentInst, (LPCTSTR)IDI_ICON1);

listo ya lo solucione reinstalando xD
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Rindy on December 10, 2021, 08:16:50 PM
open game it shows Skill_Eng.bmd message while client it is already available.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 10, 2021, 09:04:31 PM
open game it shows Skill_Eng.bmd message while client it is already available.

Use the client inside bin folder.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on December 10, 2021, 10:21:33 PM
Es posible eliminar muchas cosas que no se usan.

Todo lo relacionado al Chillkat se puede eliminar tranquilamente.

También acomodar los includes del proyecto:

(https://i.imgur.com/PBYinet.png)

Y limpiar librerías innecesarias:

(https://i.imgur.com/imhII8T.png)

:DDD

(https://i.imgur.com/ZKi06nM.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on December 10, 2021, 10:46:26 PM
Después esto ya es cosa mía jaja yo separo el ejecutable de compilación y todos los archivos generados de salida para que me quede una carpetita con Release y el ejecutable y en otra carpeta en otra ubicación, todos los resultados de compilación (cuestión de prolijidad para mi).

(http://i.imgur.com/Z9MYwwl.png)

Resultado:

Carpeta con Ejecutable, PDB y MAP:
(https://i.imgur.com/PqSBJ9g.png)

Carpeta con todos los demás archivos de salida de compilación:
(https://i.imgur.com/EL4sFnR.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 11, 2021, 07:52:15 AM
@kayito pronto voy agregar tus sugerencias
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Marcela on December 11, 2021, 08:00:52 AM
@kayito pronto voy agregar tus sugerencias
  aplausos   Obrigado   magia2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 11, 2021, 01:03:38 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 11, 2021, 01:55:42 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)

en todas las pruebas que hice, nunca surgió, no sé qué es.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 11, 2021, 03:10:02 PM
new update

Añadidas sugerencias de @kayito
y solucionó el problema al enviar el artículo al cofre.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Marcela on December 11, 2021, 03:22:15 PM
new update

Añadidas sugerencias de @kayito
y solucionó el problema al enviar el artículo al cofre.

 cool2  aplausos  magia2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 11, 2021, 06:03:37 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)

en todas las pruebas que hice, nunca surgió, no sé qué es.

no se que estoy haciendo mal solo cambie ip tanto del main como del MuServer pero me parece algo raro. incluso lo monte un vps por si acaso es que no aceptaba conexiones locales. tampoco se que es ya sera cuando le dedique xd salu2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 11, 2021, 07:24:31 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)

en todas las pruebas que hice, nunca surgió, no sé qué es.

no se que estoy haciendo mal solo cambie ip tanto del main como del MuServer pero me parece algo raro. incluso lo monte un vps por si acaso es que no aceptaba conexiones locales. tampoco se que es ya sera cuando le dedique xd salu2

en lo main desativa el #define NEW_PROTOCOL_SYSTEM

e coloca en lo gs #define NEW_PROTOCOL_SYSTEM 0

para probar
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: lunaticodeveloper on December 11, 2021, 07:35:34 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)

en todas las pruebas que hice, nunca surgió, no sé qué es.

no se que estoy haciendo mal solo cambie ip tanto del main como del MuServer pero me parece algo raro. incluso lo monte un vps por si acaso es que no aceptaba conexiones locales. tampoco se que es ya sera cuando le dedique xd salu2

a estas alturas ni levantar un muserver F
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 11, 2021, 11:16:51 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)

en todas las pruebas que hice, nunca surgió, no sé qué es.

no se que estoy haciendo mal solo cambie ip tanto del main como del MuServer pero me parece algo raro. incluso lo monte un vps por si acaso es que no aceptaba conexiones locales. tampoco se que es ya sera cuando le dedique xd salu2

en lo main desativa el #define NEW_PROTOCOL_SYSTEM

e coloca en lo gs #define NEW_PROTOCOL_SYSTEM 0

para probar

en si lo estaba probando el gs ya venia del mismo Muserver ya habia echo esa modalidad de quitar el new protocol yo antes de consultar algo aqui es por que ya intente las anteriores 
aqui dejo los protect faltante del GS

https://www.mediafire.com/file/9ivqgd64jthgb0v/Protect.zip/file (https://www.mediafire.com/file/9ivqgd64jthgb0v/Protect.zip/file)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 11, 2021, 11:18:46 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)

en todas las pruebas que hice, nunca surgió, no sé qué es.

no se que estoy haciendo mal solo cambie ip tanto del main como del MuServer pero me parece algo raro. incluso lo monte un vps por si acaso es que no aceptaba conexiones locales. tampoco se que es ya sera cuando le dedique xd salu2

a estas alturas ni levantar un muserver F

Lo que pasaba ando en otra mano ando vendiendo vps para luego dejar de pagar el dedicate  sorry  aplausos magia2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: osvaldo1811 on December 12, 2021, 02:36:14 AM
me costo pero lo pude compilar  :D. creo que va un poco rápido todo dentro del juego



gracias a todos lo que comparten su trabajo.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 12, 2021, 07:34:55 AM
me costo pero lo pude compilar  :D. creo que va un poco rápido todo dentro del juego



gracias a todos lo que comparten su trabajo.

creo que cambiaste algo, jaja

main está actualizado con el sistema Fps de la s6
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: zhangjianle865 on December 12, 2021, 07:52:10 AM
Mr. Louis is still so handsome!
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on December 12, 2021, 05:38:44 PM
@louis

revisen que esta source es tomada por virus por Microsoft: https://www.virustotal.com/gui/file/32f0bdc7a0c78ff211ad929d6a0825dc026d59c75d60bc9ab47890ee19a9ddf5?nocache=1

en cambio la original no:
https://www.virustotal.com/gui/file/2fd27f3810da40e6dfed58266ffb8786a515fd53e5fc99338636c678b01c7b1b?nocache=1

si usas windows 7 o el antivirus "microsoft security essentials" te lo borra directamente, al contrario la source original sin problemas. OJO con eso

(https://i.ibb.co/rGTYVzL/Sin-t-tulo.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 12, 2021, 05:46:05 PM
@RinOv microsoft siempre acusa virus, incluso dll limpia jaja
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on December 12, 2021, 05:47:31 PM
@RinOv microsoft siempre acusa virus, incluso dll limpia jaja

pero la source original no lo detecta por virus, por algo deje los 2 virus total

(https://i.ibb.co/PttF2Nd/Sin-t-tulo.png)

solo digo para que lo revises, no se alla metido algo sin querer y no te diste cuenta xD
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 13, 2021, 12:42:45 PM
Excelente source para estudar programação na prática e desenvolver coisas incríveis no Mu online, faltou o MuServer e qual versão de servidor é pra compilar? 403 ou 603? no mais isso é incrível, falta mais pessoas focadas nessa source pra trazer novidades livres pra todos.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 13, 2021, 12:47:32 PM
Visual Studio 2022 funcionando perfeitamente!
Enviem uma lista de bugs que encontrarem, eu vou corrigir alguns.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 13, 2021, 12:54:50 PM
@louis

revisen que esta source es tomada por virus por Microsoft: https://www.virustotal.com/gui/file/32f0bdc7a0c78ff211ad929d6a0825dc026d59c75d60bc9ab47890ee19a9ddf5?nocache=1

en cambio la original no:
https://www.virustotal.com/gui/file/2fd27f3810da40e6dfed58266ffb8786a515fd53e5fc99338636c678b01c7b1b?nocache=1

si usas windows 7 o el antivirus "microsoft security essentials" te lo borra directamente, al contrario la source original sin problemas. OJO con eso

(https://i.ibb.co/rGTYVzL/Sin-t-tulo.png)

É trojam, ou um falso positivo.. wacatac.b ml é um adware.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on December 13, 2021, 01:05:26 PM
@louis

revisen que esta source es tomada por virus por Microsoft: https://www.virustotal.com/gui/file/32f0bdc7a0c78ff211ad929d6a0825dc026d59c75d60bc9ab47890ee19a9ddf5?nocache=1

en cambio la original no:
https://www.virustotal.com/gui/file/2fd27f3810da40e6dfed58266ffb8786a515fd53e5fc99338636c678b01c7b1b?nocache=1

si usas windows 7 o el antivirus "microsoft security essentials" te lo borra directamente, al contrario la source original sin problemas. OJO con eso

(https://i.ibb.co/rGTYVzL/Sin-t-tulo.png)

Es posible que sea alguna optimización de compilación tal vez.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Tester1838a on December 15, 2021, 10:51:01 AM
2 bugs founded:

1. Data/World74/EncTerrain74.obj is missing from uploaded client and client crashes on startup
2. Even if you are disconnected at server select you can still get to account/password box
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 16, 2021, 06:56:39 PM
Bugs:
itém no iventário/personalshop/baú bugados, tamanho dos itens no iventário está sendo carregado de forma errada.
Animações erradas, sentar/encostar etc...
Personagem não dão dano em monstros com "tapa", e algumas skills também não.

Nenhum destes bugs tinham na versão que lunático postou, se puder corrigir vai dá pra abrir um server normal.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Ryuno on December 17, 2021, 10:14:29 PM
Buenas Hace Tiempo no Muestro nada, no uso esta base de louis pero Mostrare Los Avances que realizo cuando me queda tiempo

Ahorita Mismo correr a programar cosas de la season6 no me preocupa sin tener una base totalmente ordenada y entendible yo que estoy o estaba acostumbrado a trabajar  con base xteam o mu emu. puede que esto me tome meses pero a su vez se aprende a como funciona el main comparto cosas que podria los que quieran ordenar

los extern hacer los llamados en  cada archivo para su uso  conociendo que si hallan su lugar de origen su inicializacion pueden hacer el llamado una sola vez y hacer el llamado del header para su uso.
 
por gusto personal estoy reconstruyendo los archivos en parámetro de clases me parece que es mejor siempre lo he trabajado de esa forma  es complejo hacerlo con archivos grandes como el sistema scena forzandome a entender como funciona (lo que interesa)

Creo que Todos los que esten interesados en aprender a programar pueden agarrar este codigo primitivo y entender muchas cosas no corran por custom si no a entender como hacerla y que material tienen para hacerlo. Saludos y Espero que sigan mostrado sus avances asi nos motivamos entre todos y seguimos aprendiendo

(https://i.imgur.com/yNfE5T1.png)

(https://i.imgur.com/quADlF1.png)
 
 
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: donciukas14 on December 19, 2021, 03:04:18 PM
Yeah it looks very organised and clean.

Client is in \Source Main 5.2\bin folder

Main will be in \Source Main 5.2\Global Release folder (after building)

EncTerrain74.obj is the only thing not letting the client to start properly. You can get it from here: https://mega.nz/file/IIhTxYLT#uxbQ_VOmE1lmJIBRz--UXde_qnuBrCJp2SrUjVN5nYI (https://mega.nz/file/IIhTxYLT#uxbQ_VOmE1lmJIBRz--UXde_qnuBrCJp2SrUjVN5nYI)

Looks like there is something wrong with select server/login scene. Even if you don't launch the server, you open main.exe, and after you get disconnected - Login Box pops up. it wasn't like this with original source.
https://streamable.com/p14a0m (https://streamable.com/p14a0m)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on December 19, 2021, 08:29:45 PM
Yeah it looks very organised and clean.

Client is in \Source Main 5.2\bin folder

Main will be in \Source Main 5.2\Global Release folder (after building)

EncTerrain74.obj is the only thing not letting the client to start properly. You can get it from here: https://mega.nz/file/IIhTxYLT#uxbQ_VOmE1lmJIBRz--UXde_qnuBrCJp2SrUjVN5nYI (https://mega.nz/file/IIhTxYLT#uxbQ_VOmE1lmJIBRz--UXde_qnuBrCJp2SrUjVN5nYI)

Looks like there is something wrong with select server/login scene. Even if you don't launch the server, you open main.exe, and after you get disconnected - Login Box pops up. it wasn't like this with original source.
https://streamable.com/p14a0m (https://streamable.com/p14a0m)

for login boxz. disable  gs and main -->  NEW_PROTOCOL_SYSTEM
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: donciukas14 on December 20, 2021, 05:28:22 AM
What does this NEW_PROTOCOL_SYSTEM exactly do?

https://prnt.sc/23p1uw5 (https://prnt.sc/23p1uw5)

https://prnt.sc/23p1xlp (https://prnt.sc/23p1xlp)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on December 20, 2021, 06:04:51 AM
What does this NEW_PROTOCOL_SYSTEM exactly do?

https://prnt.sc/23p1uw5 (https://prnt.sc/23p1uw5)

https://prnt.sc/23p1xlp (https://prnt.sc/23p1xlp)

search in Defined_Global.h   -->   #define NEW_PROTOCOL_SYSTEM
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 20, 2021, 07:27:44 AM
What does this NEW_PROTOCOL_SYSTEM exactly do?

https://prnt.sc/23p1uw5 (https://prnt.sc/23p1uw5)

https://prnt.sc/23p1xlp (https://prnt.sc/23p1xlp)

This is a new protocol type using Asio source,I was studying it and I decided to put

you can use webzen default protocol:

Disable in Main:
#define NEW_PROTOCOL_SYSTEM

Disable in gameserver:
#define NEW_PROTOCOL_SYSTEM 0
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 4goTTen21 on December 20, 2021, 07:45:05 AM
Trata de escalar privilegios con una rutina q secuestra el instalador de Windows.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 20, 2021, 08:09:38 AM
Trata de escalar privilegios con una rutina q secuestra el instalador de Windows.

???
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 4goTTen21 on December 20, 2021, 08:19:07 AM
Trata de escalar privilegios con una rutina q secuestra el instalador de Windows.

???

Check your working environment. You may be the one infected
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 20, 2021, 08:23:25 AM
Trata de escalar privilegios con una rutina q secuestra el instalador de Windows.

???

Check your working environment. You may be the one infected

if you said about main.exe it's a false-positive bro.

Delete it the main.exe e compile by yourself.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: onlinezajzaj on December 20, 2021, 03:10:58 PM
 aplausos aplausos aplausos
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 20, 2021, 10:37:40 PM
Visual Studio 2022

Fixes:

(http://i.imgur.com/Z9MYwwl.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 20, 2021, 11:27:03 PM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video


changelog bug fix.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: zhangjianle865 on December 21, 2021, 12:24:31 AM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video

Hello, can I use Visual Studio 2010 to compile
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 21, 2021, 03:54:41 AM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video
[/list]
 
Hello, can I use Visual Studio 2010 to compile

I didn't do a test, but I don't think so because I also used intellisense in visual studio 2022 to fix some defines, and the generated codes are normally updated to recent rules and standards
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on December 21, 2021, 04:10:18 AM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video


changelog bug fix.

as bug fixes I made was for visual errors and improved particle effects and textures as well as object lighting, now everything on the map reacts to global skill lighting etc.

I'm going to release another version with even more noticeable improvements in the graphics part.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on December 26, 2021, 03:37:08 PM
Para resolver el problema de el login cuando se desconecta, agreagar a MsgWin.cpp
en la funcion CMsgWin::ManageOKClick()
Luego de case RECEIVE_LOG_IN_FAIL_VERSION:
Lo siguiente:
Code: [Select]
::PostMessage(g_hWnd, WM_CLOSE, 0, 0);
break;
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: melo920 on December 26, 2021, 04:08:08 PM
Para resolver el problema de el login cuando se desconecta, agreagar a MsgWin.cpp
en la funcion CMsgWin::ManageOKClick()
Luego de case RECEIVE_LOG_IN_FAIL_VERSION:
Lo siguiente:
Code: [Select]
::PostMessage(g_hWnd, WM_CLOSE, 0, 0);
break;

bacán gracias por el fix, yo apenas ando test la source y lo había solucionado así:

Code: [Select]
::PostMessage(g_hWnd, WM_DESTROY, 0, 0);
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 28, 2021, 09:36:09 AM
To fix common shop buy

erase this lines in the Custom.dat

;==================================================
; Custom Shop MessageBox
;==================================================
; Types:
; 0: Disabled
; 1: Only for coins
; 2: All purchases
;==================================================
CustomShopMessageBox = 2

or change this to 0

CustomShopMessageBox = 0
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 28, 2021, 09:42:26 AM
Para resolver el problema de el login cuando se desconecta, agreagar a MsgWin.cpp
en la funcion CMsgWin::ManageOKClick()
Luego de case RECEIVE_LOG_IN_FAIL_VERSION:
Lo siguiente:
Code: [Select]
::PostMessage(g_hWnd, WM_CLOSE, 0, 0);
break;

I added your fix
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on December 28, 2021, 09:58:16 AM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video


If you tell me the changes I can add them directly to the git source. thanks
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: victorrz17 on December 28, 2021, 12:17:38 PM
al querer descargar los archivos me sale error al extraer los archivos ayuda el winrar no esta malo la descarga de cancela alguien podria subir los archivos a mediafire o mega gracias
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on December 29, 2021, 10:55:07 PM
Para resolver el problema de el login cuando se desconecta, agreagar a MsgWin.cpp
en la funcion CMsgWin::ManageOKClick()
Luego de case RECEIVE_LOG_IN_FAIL_VERSION:
Lo siguiente:
Code: [Select]
::PostMessage(g_hWnd, WM_CLOSE, 0, 0);
break;

I added your fix

Fijate que hay algo mal, deberia quedar de la siguiente manera:
Code: [Select]
switch (m_nMsgCode)
{
case MESSAGE_SERVER_LOST:
case MESSAGE_VERSION:
case RECEIVE_LOG_IN_FAIL_ERROR:
case RECEIVE_LOG_IN_FAIL_VERSION:
::PostMessage(g_hWnd, WM_CLOSE, 0, 0);
break;
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on December 29, 2021, 11:01:10 PM
Personal store it does not work correctly. I still can't find why. but if I find it I'll post it here.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on January 02, 2022, 07:47:59 AM
Personal store: add in gs config:
;==================================================
; Personal Shop Settings
;==================================================
PersonalShopSwitch = 1
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on January 02, 2022, 09:50:32 AM
Fix Animations:
_enum.h

AI Enum

Code: [Select]
enum
{
PLAYER_SET,
PLAYER_STOP_MALE,
PLAYER_STOP_FEMALE,
PLAYER_STOP_SUMMONER, // Summoner's Place
PLAYER_STOP_SWORD,
PLAYER_STOP_TWO_HAND_SWORD,
PLAYER_STOP_SPEAR,
PLAYER_STOP_SCYTHE,
PLAYER_STOP_BOW,
PLAYER_STOP_CROSSBOW,
PLAYER_STOP_WAND, // Holding wand in place
PLAYER_STOP_FLY,
PLAYER_STOP_FLY_CROSSBOW,
PLAYER_STOP_RIDE,
PLAYER_STOP_RIDE_WEAPON,

PLAYER_WALK_MALE,
PLAYER_WALK_FEMALE,
PLAYER_WALK_SWORD,
PLAYER_WALK_TWO_HAND_SWORD,
PLAYER_WALK_SPEAR,
PLAYER_WALK_SCYTHE,
PLAYER_WALK_BOW,
PLAYER_WALK_CROSSBOW,
PLAYER_WALK_WAND, // Walking with wand
PLAYER_WALK_SWIM,
PLAYER_RUN,
PLAYER_RUN_SWORD,
PLAYER_RUN_TWO_SWORD,
PLAYER_RUN_TWO_HAND_SWORD,
PLAYER_RUN_SPEAR,
PLAYER_RUN_BOW,
PLAYER_RUN_CROSSBOW,
PLAYER_RUN_WAND, // Wand running
PLAYER_RUN_SWIM,
PLAYER_FLY,
PLAYER_FLY_CROSSBOW,
PLAYER_RUN_RIDE,
PLAYER_RUN_RIDE_WEAPON,

PLAYER_ATTACK_FIST, // Fist animation
PLAYER_ATTACK_SWORD_RIGHT1,
PLAYER_ATTACK_SWORD_RIGHT2,
PLAYER_ATTACK_SWORD_LEFT1,
PLAYER_ATTACK_SWORD_LEFT2,
PLAYER_ATTACK_TWO_HAND_SWORD1,
PLAYER_ATTACK_TWO_HAND_SWORD2,
PLAYER_ATTACK_TWO_HAND_SWORD3,
PLAYER_ATTACK_SPEAR1,
PLAYER_ATTACK_SCYTHE1,
PLAYER_ATTACK_SCYTHE2,
PLAYER_ATTACK_SCYTHE3,
PLAYER_ATTACK_BOW,
PLAYER_ATTACK_CROSSBOW,
PLAYER_ATTACK_FLY_BOW,
PLAYER_ATTACK_FLY_CROSSBOW,
PLAYER_ATTACK_RIDE_SWORD,
PLAYER_ATTACK_RIDE_TWO_HAND_SWORD,
PLAYER_ATTACK_RIDE_SPEAR,
PLAYER_ATTACK_RIDE_SCYTHE,
PLAYER_ATTACK_RIDE_BOW,
PLAYER_ATTACK_RIDE_CROSSBOW,

PLAYER_ATTACK_SKILL_SWORD1,
PLAYER_ATTACK_SKILL_SWORD2,
PLAYER_ATTACK_SKILL_SWORD3,
PLAYER_ATTACK_SKILL_SWORD4,
PLAYER_ATTACK_SKILL_SWORD5,

PLAYER_ATTACK_SKILL_WHEEL,
PLAYER_ATTACK_SKILL_FURY_STRIKE,
PLAYER_SKILL_VITALITY,
PLAYER_SKILL_RIDER,
PLAYER_SKILL_RIDER_FLY,
PLAYER_ATTACK_SKILL_SPEAR,
PLAYER_ATTACK_ONETOONE,
PLAYER_SKILL_HELL_BEGIN,
PLAYER_SKILL_HELL_START,

PLAYER_ATTACK_END,

PLAYER_FLY_RIDE = PLAYER_ATTACK_END,
PLAYER_FLY_RIDE_WEAPON,
PLAYER_DARKLORD_STAND,   //  Dark Lord Stand with Dark Spirits.
PLAYER_DARKLORD_WALK,   //  Dark Lord Walking with Dark Spirits.
PLAYER_STOP_RIDE_HORSE,   //  Dark Lord attack ( sting ).        (●)
PLAYER_RUN_RIDE_HORSE,   //  Dark Lord Party Summon.             (●)
PLAYER_ATTACK_STRIKE,   //  Stop riding the Dark Horse.          (●)
PLAYER_ATTACK_TELEPORT,   //  Dark Horse Run.                       
PLAYER_ATTACK_RIDE_STRIKE,   //  Attack (stabbing) riding a dark horse.
PLAYER_ATTACK_RIDE_TELEPORT,   //  Summon a party by riding the Dark Horse.
PLAYER_ATTACK_RIDE_HORSE_SWORD,   //  One-handed attack while riding a Dark Horse.
PLAYER_ATTACK_RIDE_ATTACK_FLASH,   //  Thunderstrike on Dark Horse.
PLAYER_ATTACK_RIDE_ATTACK_MAGIC,   //  Magic attack on the Dark Horse.
PLAYER_ATTACK_DARKHORSE,   //  Dark Horse skill.
PLAYER_IDLE1_DARKHORSE,   //  (For login scene) Ride the Dark Horse and wield the Scepter
PLAYER_IDLE2_DARKHORSE,   //  (For login scene) Raise your legs over the Dark Horse
PLAYER_FENRIR_ATTACK, // Normal attack - with nothing
PLAYER_FENRIR_ATTACK_DARKLORD_AQUA, // Normal Attack - Disabled
PLAYER_FENRIR_ATTACK_DARKLORD_STRIKE, // Normal Attack - Dark Rod Stab
PLAYER_FENRIR_ATTACK_DARKLORD_SWORD, // Normal Attack - Dark Lord Strike (one-handed attack)
PLAYER_FENRIR_ATTACK_DARKLORD_TELEPORT, // Normal Attack - Summon Dark Lord Party
PLAYER_FENRIR_ATTACK_DARKLORD_FLASH, // Normal Attack - Dark Lord Aqua Flash
PLAYER_FENRIR_ATTACK_TWO_SWORD, // Normal Attack - Two-handed sword attack (Knight)
PLAYER_FENRIR_ATTACK_MAGIC, // Normal Attack - Magic Attack (Mage)
PLAYER_FENRIR_ATTACK_CROSSBOW, // Normal Attack - Crossbow Attack (Fairy)
PLAYER_FENRIR_ATTACK_SPEAR, // Normal Attack - Spear Attack (Knight)
PLAYER_FENRIR_ATTACK_ONE_SWORD, // Normal Attack - One-handed sword attack (Knight)
PLAYER_FENRIR_ATTACK_BOW, //  Normal Attack - Bow Attack (Fairy)
PLAYER_FENRIR_SKILL, // Skill Attack - Bare Hand
PLAYER_FENRIR_SKILL_TWO_SWORD, // Skill Attack - Two-Handed Knife
PLAYER_FENRIR_SKILL_ONE_RIGHT, // Skill Attack - One Hand Right (100)
PLAYER_FENRIR_SKILL_ONE_LEFT, // Skill Attack - One Hand Left
PLAYER_FENRIR_DAMAGE, // damage - bare hands
PLAYER_FENRIR_DAMAGE_TWO_SWORD, // Damage - Two-Handed Knife
PLAYER_FENRIR_DAMAGE_ONE_RIGHT, // Damage - One Hand Right
PLAYER_FENRIR_DAMAGE_ONE_LEFT, // Damage - one hand left
PLAYER_FENRIR_RUN, // Running - Bare Hands (110)
PLAYER_FENRIR_RUN_TWO_SWORD, // Running - two-handed sword
PLAYER_FENRIR_RUN_ONE_RIGHT, // Running - One Hand Right
PLAYER_FENRIR_RUN_ONE_LEFT, // Running - One Hand Left
PLAYER_FENRIR_RUN_MAGOM, // Running - Bare Hand_Magic Sword(114)
PLAYER_FENRIR_RUN_TWO_SWORD_MAGOM, // Running - Two-Handed_Magic Sword
PLAYER_FENRIR_RUN_ONE_RIGHT_MAGOM, // Running - Right Hand_Magic Sword
PLAYER_FENRIR_RUN_ONE_LEFT_MAGOM, // Running - Left Hand_Magic Sword
PLAYER_FENRIR_RUN_ELF, // Running - bare hands_elf
PLAYER_FENRIR_RUN_TWO_SWORD_ELF, // Running - Two Hands_Elf
PLAYER_FENRIR_RUN_ONE_RIGHT_ELF, // Running - right hand_elf
PLAYER_FENRIR_RUN_ONE_LEFT_ELF, // Running - left hand_elf
PLAYER_FENRIR_STAND, //  stop - bare hands
PLAYER_FENRIR_STAND_TWO_SWORD, // stop - two-handed sword
PLAYER_FENRIR_STAND_ONE_RIGHT, // stop - one hand right
PLAYER_FENRIR_STAND_ONE_LEFT, //  stop - one hand left
PLAYER_FENRIR_WALK, // walking - bare hands
PLAYER_FENRIR_WALK_TWO_SWORD, // walking - two-handed sword
PLAYER_FENRIR_WALK_ONE_RIGHT, // walking - one hand right
PLAYER_FENRIR_WALK_ONE_LEFT, // Walking - One Hand Left (129)

PLAYER_ATTACK_BOW_UP,   //  Attack towards the sky with a bow
PLAYER_ATTACK_CROSSBOW_UP,   //  Attack towards the sky with a crossbow
PLAYER_ATTACK_FLY_BOW_UP,   //  Attack the sky with wings and bow
PLAYER_ATTACK_FLY_CROSSBOW_UP,   //  Attack the sky with wings and crossbow
PLAYER_ATTACK_RIDE_BOW_UP,   //  Riding a horse and aiming at the sky with a bow
PLAYER_ATTACK_RIDE_CROSSBOW_UP,   //  Attack the sky with a crossbow on horseback
PLAYER_ATTACK_ONE_FLASH,   //  A one-shot attack with a mounted sword.
PLAYER_ATTACK_RUSH,   //  Knight charge attack.
PLAYER_ATTACK_DEATH_CANNON,   //  Magic Sword Magic Flash.
PLAYER_ATTACK_REMOVAL,   //  Master skill removal magic.
PLAYER_ATTACK_STUN,   //  Sten off
PLAYER_HIGH_SHOCK,   //  Severe Shock Effect. (142)

// Added two-handed weapon animation.
PLAYER_STOP_TWO_HAND_SWORD_TWO,
PLAYER_WALK_TWO_HAND_SWORD_TWO,
PLAYER_RUN_TWO_HAND_SWORD_TWO,
PLAYER_ATTACK_TWO_HAND_SWORD_TWO,

PLAYER_SKILL_HAND1,
PLAYER_SKILL_HAND2,
PLAYER_SKILL_WEAPON1,
PLAYER_SKILL_WEAPON2, //(150)
PLAYER_SKILL_ELF1, // Elf: Attack Up/Defense Up/Healing
PLAYER_SKILL_TELEPORT,
PLAYER_SKILL_FLASH,
PLAYER_SKILL_INFERNO,
PLAYER_SKILL_HELL,
PLAYER_RIDE_SKILL,
// Summoner's exclusive skill.
PLAYER_SKILL_SLEEP,
PLAYER_SKILL_SLEEP_UNI,
PLAYER_SKILL_SLEEP_DINO,
PLAYER_SKILL_SLEEP_FENRIR,
PLAYER_SKILL_CHAIN_LIGHTNING,
PLAYER_SKILL_CHAIN_LIGHTNING_UNI,
PLAYER_SKILL_CHAIN_LIGHTNING_DINO,
PLAYER_SKILL_CHAIN_LIGHTNING_FENRIR,
PLAYER_SKILL_LIGHTNING_ORB,
PLAYER_SKILL_LIGHTNING_ORB_UNI,
PLAYER_SKILL_LIGHTNING_ORB_DINO,
PLAYER_SKILL_LIGHTNING_ORB_FENRIR,
PLAYER_SKILL_DRAIN_LIFE, // Summoner: Drain Life
PLAYER_SKILL_DRAIN_LIFE_UNI,
PLAYER_SKILL_DRAIN_LIFE_DINO,
PLAYER_SKILL_DRAIN_LIFE_FENRIR,
// Summoner summoning action.
PLAYER_SKILL_SUMMON,
PLAYER_SKILL_SUMMON_UNI,
PLAYER_SKILL_SUMMON_DINO,
PLAYER_SKILL_SUMMON_FENRIR,

PLAYER_SKILL_BLOW_OF_DESTRUCTION, // Strike of Destruction
PLAYER_SKILL_SWELL_OF_MP, // horsepower increase
PLAYER_SKILL_MULTISHOT_BOW_STAND, // multi shot
PLAYER_SKILL_MULTISHOT_BOW_FLYING,
PLAYER_SKILL_MULTISHOT_CROSSBOW_STAND,
PLAYER_SKILL_MULTISHOT_CROSSBOW_FLYING,
PLAYER_SKILL_RECOVERY, // Increase shield recovery
PLAYER_SKILL_GIGANTICSTORM, // Gigantic Storm
PLAYER_SKILL_FLAMESTRIKE, // flame strike
PLAYER_SKILL_LIGHTNING_SHOCK, // lightning shock
#ifdef YDG_ADD_SKILL_RIDING_ANIMATIONS
PLAYER_SKILL_GIGANTICSTORM_UNI, // Added Gigantic Storm boarding
PLAYER_SKILL_GIGANTICSTORM_DINO,
PLAYER_SKILL_GIGANTICSTORM_FENRIR,
PLAYER_ATTACK_SKILL_WHEEL_UNI, // Addition of tornado blood attack boarding
PLAYER_ATTACK_SKILL_WHEEL_DINO,
PLAYER_ATTACK_SKILL_WHEEL_FENRIR,
#endif // YDG_ADD_SKILL_RIDING_ANIMATIONS
PLAYER_DEFENSE1,
PLAYER_GREETING1,
PLAYER_GREETING_FEMALE1,
PLAYER_GOODBYE1, //(160)
PLAYER_GOODBYE_FEMALE1,
PLAYER_CLAP1,//applause
PLAYER_CLAP_FEMALE1,
PLAYER_CHEER1,//cheer
PLAYER_CHEER_FEMALE1,
PLAYER_DIRECTION1,
PLAYER_DIRECTION_FEMALE1,
PLAYER_GESTURE1,
PLAYER_GESTURE_FEMALE1,
PLAYER_UNKNOWN1, //(170)
PLAYER_UNKNOWN_FEMALE1,
PLAYER_CRY1,//
PLAYER_CRY_FEMALE1,
PLAYER_AWKWARD1,//awkward
PLAYER_AWKWARD_FEMALE1,
PLAYER_SEE1,
PLAYER_SEE_FEMALE1,
PLAYER_WIN1,
PLAYER_WIN_FEMALE1,
PLAYER_SMILE1, //(180)
PLAYER_SMILE_FEMALE1,
PLAYER_SLEEP1,
PLAYER_SLEEP_FEMALE1,
PLAYER_COLD1,
PLAYER_COLD_FEMALE1,
PLAYER_AGAIN1,
PLAYER_AGAIN_FEMALE1,
PLAYER_RESPECT1,//Respect
PLAYER_SALUTE1,// salute
PLAYER_SCISSORS, // Scissors (refer to SetActionClass() if the action order is out of order) (190)
PLAYER_ROCK, // Rock (add above PLAYER_SHOCK to keep loop from looping)
PLAYER_PAPER, // Paper
PLAYER_HUSTLE, // Japanese wrestler moves -_-
PLAYER_PROVOCATION,
PLAYER_LOOK_AROUND,
PLAYER_CHEERS,
PLAYER_KOREA_HANDCLAP,
PLAYER_POINT_DANCE,

PLAYER_RUSH1,
PLAYER_COME_UP,
PLAYER_SHOCK,
PLAYER_DIE1,
PLAYER_DIE2,
PLAYER_SIT1,
PLAYER_SIT2,
PLAYER_SIT_FEMALE1,
PLAYER_SIT_FEMALE2,
PLAYER_HEALING1,
PLAYER_HEALING_FEMALE1,
PLAYER_POSE1,
PLAYER_POSE_FEMALE1,
PLAYER_JACK_1, // Crazy action1
PLAYER_JACK_2, // Crazy action2
PLAYER_SANTA_1, // Jump action
PLAYER_SANTA_2, // Turn action
PLAYER_CHANGE_UP,
PLAYER_RECOVER_SKILL,
#ifdef PBG_ADD_NEWCHAR_MONK_SKILL
PLAYER_SKILL_THRUST ,
PLAYER_SKILL_STAMP ,
PLAYER_SKILL_GIANTSWING ,
PLAYER_SKILL_DARKSIDE_READY ,
PLAYER_SKILL_DARKSIDE_ATTACK ,
PLAYER_SKILL_DRAGONKICK ,
PLAYER_SKILL_DRAGONLORE ,
PLAYER_SKILL_ATT_UP_OURFORCES ,
PLAYER_SKILL_HP_UP_OURFORCES ,
// 레이지 파이터 관련 애니
PLAYER_RAGE_UNI_ATTACK ,
PLAYER_RAGE_UNI_ATTACK_ONE_RIGHT,
PLAYER_RAGE_UNI_RUN ,
PLAYER_RAGE_UNI_RUN_ONE_RIGHT ,
PLAYER_RAGE_UNI_STOP_ONE_RIGHT ,
PLAYER_RAGE_FENRIR ,
PLAYER_RAGE_FENRIR_TWO_SWORD ,
PLAYER_RAGE_FENRIR_ONE_RIGHT ,
PLAYER_RAGE_FENRIR_ONE_LEFT ,
PLAYER_RAGE_FENRIR_WALK ,
PLAYER_RAGE_FENRIR_WALK_ONE_RIGHT,
PLAYER_RAGE_FENRIR_WALK_ONE_LEFT,
PLAYER_RAGE_FENRIR_WALK_TWO_SWORD,
PLAYER_RAGE_FENRIR_RUN ,
PLAYER_RAGE_FENRIR_RUN_TWO_SWORD,
PLAYER_RAGE_FENRIR_RUN_ONE_RIGHT,
PLAYER_RAGE_FENRIR_RUN_ONE_LEFT ,
PLAYER_RAGE_FENRIR_STAND ,
PLAYER_RAGE_FENRIR_STAND_TWO_SWORD,
PLAYER_RAGE_FENRIR_STAND_ONE_RIGHT,
PLAYER_RAGE_FENRIR_STAND_ONE_LEFT,
PLAYER_RAGE_FENRIR_DAMAGE ,
PLAYER_RAGE_FENRIR_DAMAGE_TWO_SWORD,
PLAYER_RAGE_FENRIR_DAMAGE_ONE_RIGHT,
PLAYER_RAGE_FENRIR_DAMAGE_ONE_LEFT,
PLAYER_RAGE_FENRIR_ATTACK_RIGHT ,
PLAYER_STOP_RAGEFIGHTER ,
#endif //PBG_ADD_NEWCHAR_MONK_SKILL
MAX_PLAYER_ACTION,
};
//ai end
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on January 02, 2022, 10:35:43 AM
Fix Visual ingameshop items.

NewUIInGameShop.cpp
Code: [Select]
void CNewUIInGameShop::RenderDisplayItems()
{
EndBitmap();

glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glViewport2(0,0,WindowWidth,WindowHeight);
gluPerspective2(2.0f, (float)(WindowWidth)/(float)(WindowHeight), RENDER_ITEMVIEW_NEAR, RENDER_ITEMVIEW_FAR);
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
GetOpenGLMatrix(CameraMatrix);
EnableDepthTest();
EnableDepthMask();

glClear(GL_DEPTH_BUFFER_BIT);

for(int i=0 ; i<g_InGameShopSystem->GetSizePackageAsDisplayPackage() ; i++ )
{
  int iPosX = IGS_ITEMRENDER_POS_X_STANDAD+(IMAGE_IGS_VIEWDETAIL_BTN_DISTANCE_X*(i%IGS_NUM_ITEMS_WIDTH));
  int iPosY = IGS_ITEMRENDER_POS_Y_STANDAD+(IMAGE_IGS_VIEWDETAIL_BTN_DISTANCE_Y*(i/IGS_NUM_ITEMS_HEIGHT));
RenderItem3D(iPosX, iPosY, IGS_ITEMRENDER_POS_WIDTH, IGS_ITEMRENDER_POS_HEIGHT, g_InGameShopSystem->GetPackageItemCode(i), 0, 0, 0, true);
}

UpdateMousePositionn();

glMatrixMode(GL_MODELVIEW);
glPopMatrix();
glMatrixMode(GL_PROJECTION);
glPopMatrix();

BeginBitmap();
}

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: LTP Team on January 02, 2022, 11:02:12 AM
fixed animations for S6EP3 client (Added phoenix shot animation to enum)

Code: [Select]
//ai start

enum
{
PLAYER_SET,
PLAYER_STOP_MALE,
PLAYER_STOP_FEMALE,
PLAYER_STOP_SUMMONER, // јТИЇјъ»з Б¦АЪё®
PLAYER_STOP_SWORD,
PLAYER_STOP_TWO_HAND_SWORD,
PLAYER_STOP_SPEAR,
PLAYER_STOP_SCYTHE,
PLAYER_STOP_BOW,
PLAYER_STOP_CROSSBOW,
PLAYER_STOP_WAND, // їПµе µй°н Б¦АЪё®
PLAYER_STOP_FLY,
PLAYER_STOP_FLY_CROSSBOW,
PLAYER_STOP_RIDE,
PLAYER_STOP_RIDE_WEAPON,

PLAYER_WALK_MALE,
PLAYER_WALK_FEMALE,
PLAYER_WALK_SWORD,
PLAYER_WALK_TWO_HAND_SWORD,
PLAYER_WALK_SPEAR,
PLAYER_WALK_SCYTHE,
PLAYER_WALK_BOW,
PLAYER_WALK_CROSSBOW,
PLAYER_WALK_WAND, // їПµе µй°н °И±в
PLAYER_WALK_SWIM,
PLAYER_RUN,
PLAYER_RUN_SWORD,
PLAYER_RUN_TWO_SWORD,
PLAYER_RUN_TWO_HAND_SWORD,
PLAYER_RUN_SPEAR,
PLAYER_RUN_BOW,
PLAYER_RUN_CROSSBOW,
PLAYER_RUN_WAND, // їПµе µй°н ¶Щ±в
PLAYER_RUN_SWIM,
PLAYER_FLY,
PLAYER_FLY_CROSSBOW,
PLAYER_RUN_RIDE,
PLAYER_RUN_RIDE_WEAPON,

PLAYER_ATTACK_FIST, // БЦёФ їЎґПёЮАМјЗ
PLAYER_ATTACK_SWORD_RIGHT1,
PLAYER_ATTACK_SWORD_RIGHT2,
PLAYER_ATTACK_SWORD_LEFT1,
PLAYER_ATTACK_SWORD_LEFT2,
PLAYER_ATTACK_TWO_HAND_SWORD1,
PLAYER_ATTACK_TWO_HAND_SWORD2,
PLAYER_ATTACK_TWO_HAND_SWORD3,
PLAYER_ATTACK_SPEAR1,
PLAYER_ATTACK_SCYTHE1,
PLAYER_ATTACK_SCYTHE2,
PLAYER_ATTACK_SCYTHE3,
PLAYER_ATTACK_BOW,
PLAYER_ATTACK_CROSSBOW,
PLAYER_ATTACK_FLY_BOW,
PLAYER_ATTACK_FLY_CROSSBOW,
PLAYER_ATTACK_RIDE_SWORD,
PLAYER_ATTACK_RIDE_TWO_HAND_SWORD,
PLAYER_ATTACK_RIDE_SPEAR,
PLAYER_ATTACK_RIDE_SCYTHE,
PLAYER_ATTACK_RIDE_BOW,
PLAYER_ATTACK_RIDE_CROSSBOW,

PLAYER_ATTACK_SKILL_SWORD1,
PLAYER_ATTACK_SKILL_SWORD2,
PLAYER_ATTACK_SKILL_SWORD3,
PLAYER_ATTACK_SKILL_SWORD4,
PLAYER_ATTACK_SKILL_SWORD5,

PLAYER_ATTACK_SKILL_WHEEL,
PLAYER_ATTACK_SKILL_FURY_STRIKE,
PLAYER_SKILL_VITALITY,
PLAYER_SKILL_RIDER,
PLAYER_SKILL_RIDER_FLY,
PLAYER_ATTACK_SKILL_SPEAR,
PLAYER_ATTACK_ONETOONE,
PLAYER_SKILL_HELL_BEGIN,
PLAYER_SKILL_HELL_START,

PLAYER_ATTACK_END,

PLAYER_FLY_RIDE                 = PLAYER_ATTACK_END,
PLAYER_FLY_RIDE_WEAPON          ,
PLAYER_DARKLORD_STAND           ,   //  ґЩЕ©·Оµе ґЩЕ©ЅєЗЗёґµй°н ј­±в.
PLAYER_DARKLORD_WALK            ,   //  ґЩЕ©·Оµе ґЩЕ©ЅєЗЗёґµй°н °И±в.
PLAYER_STOP_RIDE_HORSE          ,   //  ґЩЕ©·Оµе °ш°Э ( ВоёЈґВ °Н ).        (ЎЬ)
PLAYER_RUN_RIDE_HORSE           ,   //  ґЩЕ©·Оµе ЖДЖј јТИЇ.                 (ЎЬ)
PLAYER_ATTACK_STRIKE            ,   //  ґЩЕ©И¦Ѕє Её°н Б¤Бц.                 (ЎЬ)
PLAYER_ATTACK_TELEPORT          ,   //  ґЩЕ©И¦Ѕє ґЮё®±в.                       
PLAYER_ATTACK_RIDE_STRIKE       ,   //  ґЩЕ©И¦Ѕє Её°н °ш°Э ( ВоёЈґВ °Н ).
PLAYER_ATTACK_RIDE_TELEPORT     ,   //  ґЩЕ©И¦Ѕє Её°н  ЖДЖј јТИЇ.
PLAYER_ATTACK_RIDE_HORSE_SWORD  ,   //  ґЩЕ©И¦Ѕє Её°н ЗСјХ °ш°Э.
PLAYER_ATTACK_RIDE_ATTACK_FLASH ,   //  ґЩЕ©И¦Ѕє Её°н ј±ЕНљАЖ®¶уАМЕ©.
PLAYER_ATTACK_RIDE_ATTACK_MAGIC ,   //  ґЩЕ©И¦Ѕє Её°н ё¶№э °ш°Э.
PLAYER_ATTACK_DARKHORSE         ,   //  ґЩЕ©И¦Ѕє ЅєЕі.
PLAYER_IDLE1_DARKHORSE ,   //  (·О±ЧАОѕАїл)ґЩЕ©И¦Ѕє Её°н јБЕН ИЦµОёЈ±в
PLAYER_IDLE2_DARKHORSE ,   //  (·О±ЧАОѕАїл)ґЩЕ©И¦Ѕє А§·О ґЩё® µй±в
PLAYER_FENRIR_ATTACK , // АП№Э°ш°Э - ѕЖ№«°Нµµ ѕИµз »уЕВ
PLAYER_FENRIR_ATTACK_DARKLORD_AQUA, // АП№Э°ш°Э - »зїлѕИЗФ
PLAYER_FENRIR_ATTACK_DARKLORD_STRIKE, // АП№Э°ш°Э - ґЩЕ©·Оµе ВоёЈ±в
PLAYER_FENRIR_ATTACK_DARKLORD_SWORD, // АП№Э°ш°Э - ґЩЕ©·Оµе Её°Э(ЗСјХ °ш°Э)
PLAYER_FENRIR_ATTACK_DARKLORD_TELEPORT, // АП№Э°ш°Э - ґЩЕ©·Оµе ЖДЖј јТИЇ
PLAYER_FENRIR_ATTACK_DARKLORD_FLASH, // АП№Э°ш°Э - ґЩЕ©·Оµе ѕЖДнѕЖЗГ·ЎЅ¬
PLAYER_FENRIR_ATTACK_TWO_SWORD, // АП№Э°ш°Э - µОјХД® °ш°Э(±в»з)
PLAYER_FENRIR_ATTACK_MAGIC, // АП№Э°ш°Э - ё¶№э °ш°Э(ё¶№э»з)
PLAYER_FENRIR_ATTACK_CROSSBOW, // АП№Э°ш°Э - ј®±Г °ш°Э(їдБ¤)
PLAYER_FENRIR_ATTACK_SPEAR, // АП№Э°ш°Э - Гў °ш°Э(±в»з)
PLAYER_FENRIR_ATTACK_ONE_SWORD, // АП№Э°ш°Э - ЗСјХД® °ш°Э(±в»з)
PLAYER_FENRIR_ATTACK_BOW, //  АП№Э°ш°Э - И° °ш°Э(їдБ¤)
PLAYER_FENRIR_SKILL, // ЅєЕі°ш°Э - ёЗјХ
PLAYER_FENRIR_SKILL_TWO_SWORD, // ЅєЕі°ш°Э - ѕзјХД®
PLAYER_FENRIR_SKILL_ONE_RIGHT, // ЅєЕі°ш°Э - ЗСјХ їАёҐВК(100)
PLAYER_FENRIR_SKILL_ONE_LEFT, // ЅєЕі°ш°Э - ЗСјХ їЮВК
PLAYER_FENRIR_DAMAGE, // µҐ№МБц - ёЗјХ
PLAYER_FENRIR_DAMAGE_TWO_SWORD, // µҐ№МБц - ѕзјХД®
PLAYER_FENRIR_DAMAGE_ONE_RIGHT, // µҐ№МБц - ЗСјХ їАёҐВК
PLAYER_FENRIR_DAMAGE_ONE_LEFT, // µҐ№МБц - ЗСјХ їЮВК
PLAYER_FENRIR_RUN, // ґЮё®±в - ёЗјХ(110)
PLAYER_FENRIR_RUN_TWO_SWORD, // ґЮё®±в - ѕзјХД®
PLAYER_FENRIR_RUN_ONE_RIGHT, // ґЮё®±в - ЗСјХ їАёҐВК
PLAYER_FENRIR_RUN_ONE_LEFT, // ґЮё®±в - ЗСјХ їЮВК
PLAYER_FENRIR_RUN_MAGOM, // ґЮё®±в - ёЗјХ_ё¶°Л(114)
PLAYER_FENRIR_RUN_TWO_SWORD_MAGOM, // ґЮё®±в - ѕзјХ_ё¶°Л
PLAYER_FENRIR_RUN_ONE_RIGHT_MAGOM, // ґЮё®±в - їАёҐјХ_ё¶°Л
PLAYER_FENRIR_RUN_ONE_LEFT_MAGOM, // ґЮё®±в - їЮјХ_ё¶°Л
PLAYER_FENRIR_RUN_ELF, // ґЮё®±в - ёЗјХ_ї¤ЗБ
PLAYER_FENRIR_RUN_TWO_SWORD_ELF, // ґЮё®±в - ѕзјХ_ї¤ЗБ
PLAYER_FENRIR_RUN_ONE_RIGHT_ELF, // ґЮё®±в - їАёҐјХ_ї¤ЗБ
PLAYER_FENRIR_RUN_ONE_LEFT_ELF, // ґЮё®±в - їЮјХ_ї¤ЗБ
PLAYER_FENRIR_STAND, //  Б¤Бц - ёЗјХ
PLAYER_FENRIR_STAND_TWO_SWORD, // Б¤Бц - ѕзјХД®
PLAYER_FENRIR_STAND_ONE_RIGHT, // Б¤Бц - ЗСјХ їАёҐВК
PLAYER_FENRIR_STAND_ONE_LEFT, //  Б¤Бц - ЗСјХ їЮВК
PLAYER_FENRIR_WALK, // °И±в - ёЗјХ
PLAYER_FENRIR_WALK_TWO_SWORD, // °И±в - ѕзјХД®
PLAYER_FENRIR_WALK_ONE_RIGHT, // °И±в - ЗСјХ їАёҐВК
PLAYER_FENRIR_WALK_ONE_LEFT, // °И±в - ЗСјХ їЮВК(129)

PLAYER_ATTACK_BOW_UP ,   //  И°·О ЗПґГ·О ЗвЗШј­ °ш°Э
PLAYER_ATTACK_CROSSBOW_UP       ,   //  ј®±ГАё·О ЗПґГ·О ЗвЗШј­ °ш°Э
PLAYER_ATTACK_FLY_BOW_UP ,   //  іЇ°і ґЮ°н И°·О ЗПґГ·О ЗвЗШј­ °ш°Э
PLAYER_ATTACK_FLY_CROSSBOW_UP   ,   //  іЇ°і ґЮ°н ј®±ГАё·О ЗПґГ·О ЗвЗШј­ °ш°Э
PLAYER_ATTACK_RIDE_BOW_UP       ,   //  ё»Её°н И°·О ЗПґГ·О ЗвЗШј­ °ш°Э
PLAYER_ATTACK_RIDE_CROSSBOW_UP  ,   //  ё»Её°н ј®±ГАё·О ЗПґГ·О ЗвЗШј­ °ш°Э
PLAYER_ATTACK_ONE_FLASH         ,   //  ±вё¶°Л АПј¶°ш°Э.
PLAYER_ATTACK_RUSH              ,   //  ±в»з µ№°Э °ш°Э.
PLAYER_ATTACK_DEATH_CANNON      ,   //  №эё¶°Л ё¶ј¶±¤.
PLAYER_ATTACK_REMOVAL           ,   //  ё¶ЅєЕН ЅєЕі Б¦°Е ё¶№э.
PLAYER_ATTACK_STUN              ,   //  ЅєЕЩ ЗШБ¦
PLAYER_HIGH_SHOCK               ,   //  ЅЙ°ўЗС Гж°Э Иї°ъ.(142)

// ГЯ°ЎµЗґВ µОјХ №«±в ѕЦґПёЮАМјЗ.
PLAYER_STOP_TWO_HAND_SWORD_TWO ,
PLAYER_WALK_TWO_HAND_SWORD_TWO ,
PLAYER_RUN_TWO_HAND_SWORD_TWO ,
PLAYER_ATTACK_TWO_HAND_SWORD_TWO,

PLAYER_SKILL_HAND1              ,
PLAYER_SKILL_HAND2 ,
PLAYER_SKILL_WEAPON1    ,
PLAYER_SKILL_WEAPON2     , //(150)
PLAYER_SKILL_ELF1 , // ї¤ЗБ : °ш°Э·Вѕч/№Яѕо·Вѕч/Иъёµ
PLAYER_SKILL_TELEPORT      ,
PLAYER_SKILL_FLASH          ,
PLAYER_SKILL_INFERNO            ,
PLAYER_SKILL_HELL          ,
PLAYER_RIDE_SKILL               ,
// јТИЇјъ»з Аьїл ЅєЕі.
PLAYER_SKILL_SLEEP ,
PLAYER_SKILL_SLEEP_UNI ,
PLAYER_SKILL_SLEEP_DINO ,
PLAYER_SKILL_SLEEP_FENRIR ,
PLAYER_SKILL_CHAIN_LIGHTNING ,
PLAYER_SKILL_CHAIN_LIGHTNING_UNI,
PLAYER_SKILL_CHAIN_LIGHTNING_DINO,
PLAYER_SKILL_CHAIN_LIGHTNING_FENRIR,
PLAYER_SKILL_LIGHTNING_ORB ,
PLAYER_SKILL_LIGHTNING_ORB_UNI ,
PLAYER_SKILL_LIGHTNING_ORB_DINO ,
PLAYER_SKILL_LIGHTNING_ORB_FENRIR,
PLAYER_SKILL_DRAIN_LIFE , // јТИЇјъ»з : µе·№АО¶уАМЗБ
PLAYER_SKILL_DRAIN_LIFE_UNI ,
PLAYER_SKILL_DRAIN_LIFE_DINO ,
PLAYER_SKILL_DRAIN_LIFE_FENRIR ,
// јТИЇјъ»з јТИЇ µїАЫ.
PLAYER_SKILL_SUMMON ,
PLAYER_SKILL_SUMMON_UNI ,
PLAYER_SKILL_SUMMON_DINO ,
PLAYER_SKILL_SUMMON_FENRIR ,

#ifdef ADD_NEW_SKILL_SEASON4
PLAYER_SKILL_BLOW_OF_DESTRUCTION, // ЖД±«АЗ АП°Э
PLAYER_SKILL_SWELL_OF_MP , // ё¶·В Бхґл
PLAYER_SKILL_MULTISHOT_BOW_STAND, // ёЦЖјј¦
PLAYER_SKILL_MULTISHOT_BOW_FLYING,
PLAYER_SKILL_MULTISHOT_CROSSBOW_STAND,
PLAYER_SKILL_MULTISHOT_CROSSBOW_FLYING,
PLAYER_SKILL_RECOVERY , // ЅЗµе Иёє№ Бхґл
PLAYER_SKILL_GIGANTICSTORM , // ±в°ЈЖЅЅєЕи
PLAYER_SKILL_FLAMESTRIKE , // ЗГ·ЎАУЅєЖ®¶уАМЕ©
PLAYER_SKILL_LIGHTNING_SHOCK , // ¶уАМЖ®ґЧјоЕ©
#endif // ADD_NEW_SKILL_SEASON4
#ifdef YDG_ADD_SKILL_RIDING_ANIMATIONS
PLAYER_SKILL_GIGANTICSTORM_UNI , // ±в°ЈЖЅЅєЕи ЕѕЅВГЯ°Ў
PLAYER_SKILL_GIGANTICSTORM_DINO ,
PLAYER_SKILL_GIGANTICSTORM_FENRIR ,
PLAYER_ATTACK_SKILL_WHEEL_UNI , // ИёїАё®єЈ±в єн·ЇµеѕоЕГ ЕѕЅВГЯ°Ў
PLAYER_ATTACK_SKILL_WHEEL_DINO ,
PLAYER_ATTACK_SKILL_WHEEL_FENRIR ,
#endif // YDG_ADD_SKILL_RIDING_ANIMATIONS
PLAYER_DEFENSE1                 ,
PLAYER_GREETING1                ,
PLAYER_GREETING_FEMALE1        ,
PLAYER_GOODBYE1                , //(160)
PLAYER_GOODBYE_FEMALE1          ,
PLAYER_CLAP1                  ,//№Ъјц
PLAYER_CLAP_FEMALE1             ,
PLAYER_CHEER1                   ,//ИЇИЈ
PLAYER_CHEER_FEMALE1            ,
PLAYER_DIRECTION1               ,
PLAYER_DIRECTION_FEMALE1        ,
PLAYER_GESTURE1                 ,
PLAYER_GESTURE_FEMALE1        ,
PLAYER_UNKNOWN1                , //(170)
PLAYER_UNKNOWN_FEMALE1          ,
PLAYER_CRY1                    ,//
PLAYER_CRY_FEMALE1              ,
PLAYER_AWKWARD1                 ,//ѕо»ц
PLAYER_AWKWARD_FEMALE1          ,
PLAYER_SEE1                     ,
PLAYER_SEE_FEMALE1              ,
PLAYER_WIN1                     ,
PLAYER_WIN_FEMALE1            ,
PLAYER_SMILE1                  , //(180)
PLAYER_SMILE_FEMALE1            ,
PLAYER_SLEEP1                  ,
PLAYER_SLEEP_FEMALE1            ,
PLAYER_COLD1                    ,
PLAYER_COLD_FEMALE1             ,
PLAYER_AGAIN1                   ,
PLAYER_AGAIN_FEMALE1            ,
PLAYER_RESPECT1                 ,//°жАЗ
PLAYER_SALUTE1                ,//°ж·К
PLAYER_SCISSORS   , // °ЎА§ (µїАЫ јшј­ ѕИёВАёёй SetActionClass() Вь°н) (190)
PLAYER_ROCK     , // №ЩА§ (°ијУ ·зЗБ ѕИµЗ°Ф ЗП·Бёй PLAYER_SHOCKА§їЎ ГЯ°Ў)
PLAYER_PAPER   , // єё
PLAYER_HUSTLE , // АПє» ·№ЅЅ·Ї µїАЫ -_-
PLAYER_PROVOCATION ,
PLAYER_LOOK_AROUND ,
PLAYER_CHEERS ,
#ifdef WORLDCUP_ADD
PLAYER_KOREA_HANDCLAP ,
PLAYER_POINT_DANCE ,
#endif //WORLDCUP_ADD
PLAYER_RUSH1                    ,
PLAYER_COME_UP                  ,
PLAYER_SHOCK                    ,
PLAYER_DIE1                     ,
PLAYER_DIE2                     ,
PLAYER_SIT1                    ,
PLAYER_SIT2                    ,
PLAYER_SIT_FEMALE1              ,
PLAYER_SIT_FEMALE2            ,
PLAYER_HEALING1                 ,
PLAYER_HEALING_FEMALE1          ,
PLAYER_POSE1                    ,
PLAYER_POSE_FEMALE1             ,
PLAYER_JACK_1 , // ё¶єэАМ µїАЫ1
PLAYER_JACK_2 , // ё¶єэАМ µїАЫ2
PLAYER_SANTA_1 , // БЎЗБ µїАЫ
PLAYER_SANTA_2 , // ЕП µїАЫ
PLAYER_CHANGE_UP ,
#ifdef PJH_SEASON4_SPRITE_NEW_SKILL_RECOVER
PLAYER_RECOVER_SKILL ,
#endif //PJH_SEASON4_SPRITE_NEW_SKILL_RECOVER
#ifdef PBG_ADD_NEWCHAR_MONK_SKILL
PLAYER_SKILL_THRUST ,
PLAYER_SKILL_STAMP ,
PLAYER_SKILL_GIANTSWING ,
PLAYER_SKILL_DARKSIDE_READY ,
PLAYER_SKILL_DARKSIDE_ATTACK ,
PLAYER_SKILL_DRAGONKICK ,
PLAYER_SKILL_DRAGONLORE ,
PLAYER_SKILL_PHOENIX_SHOT ,
PLAYER_SKILL_ATT_UP_OURFORCES ,
PLAYER_SKILL_HP_UP_OURFORCES ,
// ·№АМБц ЖДАМЕН °ь·Г ѕЦґП
PLAYER_RAGE_UNI_ATTACK ,
PLAYER_RAGE_UNI_ATTACK_ONE_RIGHT,
PLAYER_RAGE_UNI_RUN ,
PLAYER_RAGE_UNI_RUN_ONE_RIGHT ,
PLAYER_RAGE_UNI_STOP_ONE_RIGHT ,
PLAYER_RAGE_FENRIR ,
PLAYER_RAGE_FENRIR_TWO_SWORD ,
PLAYER_RAGE_FENRIR_ONE_RIGHT ,
PLAYER_RAGE_FENRIR_ONE_LEFT ,
PLAYER_RAGE_FENRIR_WALK ,
PLAYER_RAGE_FENRIR_WALK_ONE_RIGHT,
PLAYER_RAGE_FENRIR_WALK_ONE_LEFT,
PLAYER_RAGE_FENRIR_WALK_TWO_SWORD,
PLAYER_RAGE_FENRIR_RUN ,
PLAYER_RAGE_FENRIR_RUN_TWO_SWORD,
PLAYER_RAGE_FENRIR_RUN_ONE_RIGHT,
PLAYER_RAGE_FENRIR_RUN_ONE_LEFT ,
PLAYER_RAGE_FENRIR_STAND ,
PLAYER_RAGE_FENRIR_STAND_TWO_SWORD,
PLAYER_RAGE_FENRIR_STAND_ONE_RIGHT,
PLAYER_RAGE_FENRIR_STAND_ONE_LEFT,
PLAYER_RAGE_FENRIR_DAMAGE ,
PLAYER_RAGE_FENRIR_DAMAGE_TWO_SWORD,
PLAYER_RAGE_FENRIR_DAMAGE_ONE_RIGHT,
PLAYER_RAGE_FENRIR_DAMAGE_ONE_LEFT,
PLAYER_RAGE_FENRIR_ATTACK_RIGHT ,
PLAYER_STOP_RAGEFIGHTER ,
#endif //PBG_ADD_NEWCHAR_MONK_SKILL
MAX_PLAYER_ACTION               ,
};
//ai end
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on January 02, 2022, 01:27:16 PM
Save screenshots in Folder ./ScreenShots

ZzzOpenglUtil.cpp
Code: [Select]
void SaveScreen()
{
GrabFirst = true;

/*if(!GrabFirst)
{
GrabFirst = true;
for(int i=0;i<10000;i++)
{
GrabScreen = i;
if(GrabScreen<10)
sprintf(GrabFileName,"Screen000%d",GrabScreen);
else if(GrabScreen<100)
sprintf(GrabFileName,"Screen00%d",GrabScreen);
else if(GrabScreen<1000)
sprintf(GrabFileName,"Screen0%d",GrabScreen);
else
sprintf(GrabFileName,"Screen%d",GrabScreen);

strcat( GrabFileName, lpszFileName);
FILE *fp = fopen(GrabFileName,"rb");
if(fp==NULL)
break;
else
fclose(fp);
}
}
else
{
if(GrabScreen<10)
sprintf(GrabFileName,"Screen000%d",GrabScreen);
else if(GrabScreen<100)
sprintf(GrabFileName,"Screen00%d",GrabScreen);
else if(GrabScreen<1000)
sprintf(GrabFileName,"Screen0%d",GrabScreen);
else
sprintf(GrabFileName,"Screen%d",GrabScreen);

strcat( GrabFileName, lpszFileName);
}*/

unsigned char *Buffer = new unsigned char [(int)WindowWidth*(int)WindowHeight*3];
glReadPixels(0,0,(int)WindowWidth,(int)WindowHeight,GL_RGB,GL_UNSIGNED_BYTE,Buffer);
char GrabFullPath[MAX_PATH]; // Masio
strcpy(GrabFullPath, "Screenshots\\"); // Masio
strcat(GrabFullPath, GrabFileName); // Masio
WriteJpeg(GrabFullPath, (int)WindowWidth, (int)WindowHeight, Buffer, 100);

SAFE_DELETE_ARRAY(Buffer);

GrabScreen++;
GrabScreen %= 10000;
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: LTP Team on January 02, 2022, 02:18:12 PM
Fix SaveScreen crash on big resolutions

Code: [Select]
void SaveScreen()
{
GrabFirst = true;

auto Buffer = new unsigned char [WindowWidth * WindowHeight * 4];

glReadPixels(0,0,WindowWidth,WindowHeight,GL_RGBA,GL_UNSIGNED_BYTE,&Buffer[0]);

auto BufferNew = new unsigned char[WindowWidth * WindowHeight * 3];

int counter = 0;
for(int i = 0; i < WindowWidth * WindowHeight * 4; i+=4)
{
BufferNew[counter + 0] = Buffer[i + 0];
BufferNew[counter + 1] = Buffer[i + 1];
BufferNew[counter + 2] = Buffer[i + 2];

counter += 3;
}

WriteJpeg(GrabFileName,WindowWidth,WindowHeight,&BufferNew[0],100);

SAFE_DELETE_ARRAY(Buffer);
SAFE_DELETE_ARRAY(BufferNew);

GrabScreen++;
GrabScreen %= 10000;
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on January 03, 2022, 09:21:44 AM
Jewel of Excelent added :D
(https://image.prntscr.com/image/9k66HFVDQUycZXQfPIEAJg.png)

(https://image.prntscr.com/image/JGaFg5q5ShCP1lbjul6d3g.png)

Fixed all error in load images. Check MuError.txt
(https://image.prntscr.com/image/Ou0PBULBTkGWnfuTNV4TbA.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: iramondias on January 04, 2022, 02:22:06 PM
Fix for high FPS ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: LTP Team on January 04, 2022, 02:44:19 PM
Jewel of Excelent added :D
(https://image.prntscr.com/image/9k66HFVDQUycZXQfPIEAJg.png)

(https://image.prntscr.com/image/JGaFg5q5ShCP1lbjul6d3g.png)

Fixed all error in load images. Check MuError.txt
(https://image.prntscr.com/image/Ou0PBULBTkGWnfuTNV4TbA.png)

images dont working
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on January 04, 2022, 02:46:40 PM
Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on January 04, 2022, 03:27:03 PM
Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

The "Developer" right now job custom xDDD  bug + bug = ??
New developer = Nemesis
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on January 04, 2022, 03:50:32 PM
Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

The "Developer" right now job custom xDDD  bug + bug = ??
New developer = Nemesis

wtf si Nemesis se la pasa metiendo nuevos personajes, nuevos skills jaja es más de lo mismo. Nada de fixs, nada de mejoras, sólo custom tras custom. Mejor dejá de chuparle un poco las medias que ya bastante crecidito tiene el ego.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on January 04, 2022, 04:57:13 PM
Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

The "Developer" right now job custom xDDD  bug + bug = ??
New developer = Nemesis


wtf si Nemesis se la pasa metiendo nuevos personajes, nuevos skills jaja es más de lo mismo. Nada de fixs, nada de mejoras, sólo custom tras custom. Mejor dejá de chuparle un poco las medias que ya bastante crecidito tiene el ego.

Nadie le esta chupando la media a nadie xddd si no que ya se parecen a el meten custom y no mejoran nada xddd
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on January 12, 2022, 12:32:53 PM
Mapas Chaos castle y Blood Castle fix
Chaos Castle set fix.

MapManager.cpp
Code: [Select]
bool CMapManager::InChaosCastle(int iMap)
{

if((this->WorldActive >= WD_18CHAOS_CASTLE && this->WorldActive <= WD_18CHAOS_CASTLE_END) || this->WorldActive == WD_53CAOSCASTLE_MASTER_LEVEL)
{
return true;
}

return false;
}

bool CMapManager::InBloodCastle(int iMap)
{
//if (iMap == -1) return false;

if((this->WorldActive >= WD_11BLOODCASTLE1 && this->WorldActive <= WD_11BLOODCASTLE_END)|| this->WorldActive == WD_52BLOODCASTLE_MASTER_LEVEL)
{
return true;
}

return false;
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xXSiniestroXx on January 18, 2022, 12:30:13 PM
Gracias por el aporte @louis

Tienes razón cuando dices que no es suficiente para poner un servidor online, se necesita mucho trabajo y corregir muchos errores pero para aprender esta bien, todo organizado y entendible.

Al cliente que se ha compartido con la fuente le faltan muchos archivos necesarios pero puedes bajarte un cliente de la misma versión he ir incorporando los archivos que faltan.

Un ejemplo de ello es el txt que lleva los nombres de los npc que se encuentra en la ruta \Data\Local\Eng y lleva por nombre "NpcName_eng" con esto se arregla el problema de que al hablar con la NPC que da buff te desconecta o con la que esta en el bar de lorencia.

igual les dejo el contenido de ese .txt de esta manera solo crear un bloc de notas, pegan el texto y le ponen el nombre que ya les mencione

Code: [Select]
// MAX : 512			
//ºí·¯µåij½½
//ºí·¯µåij½½1
84 1 "Chief Skeleton Warrior"
85 1 "Chief Skeleton Archer"
86 1 "Dark Skull Soldier"
87 1 "Giant Ogre"
88 1 "Red Skeleton Knight"
89 1 "Magic Skeleton"
//ºí·¯µåij½½2
90 1 "Chief Skeleton Warrior"
91 1 "Chief Skeleton Archer"
92 1 "Dark Skull Soldier"
93 1 "Giant Ogre"
94 1 "Red Skeleton Knight"
95 1 "Magic Skeleton"
//ºí·¯µåij½½3
96 1 "Chief Skeleton Warrior"
97 1 "Chief Skeleton Archer"
98 1 "Dark Skull Soldier"
99 1 "Giant Ogre"
111 1 "Red Skeleton Knight"
112 1 "Magic Skeleton"
//ºí·¯µåij½½4
113 1 "Chief Skeleton Warrior"
114 1 "Chief Skeleton Archer"
115 1 "Dark Skull Soldier"
116 1 "Giant Ogre"
117 1 "Red Skeleton Knight"
118 1 "Magic Skeleton"
//ºí·¯µåij½½5
119 1 "Chief Skeleton Warrior"
120 1 "Chief Skeleton Archer"
121 1 "Dark Skull Soldier"
122 1 "Giant Ogre"
123 1 "Red Skeleton Knight"
124 1 "Magic Skeleton"
//ºí·¯µåij½½6
125 1 "Chief Skeleton Warrior"
126 1 "Chief Skeleton Archer"
127 1 "Dark Skull Soldier"
128 1 "Giant Ogre"
129 1 "Red Skeleton Knight"
130 1 "Magic Skeleton"
131 1 "Castle Gate"
132 1 "Statue of Saint"
133 1 "Statue of Saint"
134 1 "Statue of Saint"

// ¹ÝÁöÀÇ ÀüÀï
135 1 "White wizard"
136 1 "Destructive ogre soldier"
137 1 "Destructive ogre archer"

//ºí·¯µåij½½7
138 1 "Chief Skeleton Warrior"
139 1 "Chief Skeleton Archer"
140 1 "Dark Skull Soldier"
141 1 "Giant Ogre"
142 1 "Red Skeleton Knight"
143 1 "Magic Skeleton"

//Ä®¸®¸¶_¿ÀÈÄ 7:05 2004-08-25
// 1 Ä®¸®¸¶
147 1 "Aegis"
148 1 "Rogue Centurion"
146 1 "Blood Soldier"
144 1 "Death Angel"
149 1 "Necron"
145 1 "Death Centurion"
160 1 "Schriker"
161 1 "Illusion of Kundun"
// 2 Ä®¸®¸¶
177 1 "Aegis"
178 1 "Rogue Centurion"
176 1 "Blood Soldier"
174 1 "Death Angel"
179 1 "Necron"
175 1 "Death Centurion"
180 1 "Schriker"
181 1 "Illusion of Kundun"
// 3 Ä®¸®¸¶
185 1 "Aegis"
186 1 "Rogue Centurion"
184 1 "Blood Soldier"
182 1 "Death Angel"
187 1 "Necron"
183 1 "Death Centurion"
188 1 "Schriker"
189 1 "Illusion of Kundun"
// 4 Ä®¸®¸¶
193 1 "Aegis"
194 1 "Rogue Centurion"
192 1 "Blood Soldier"
190 1 "Death Angel"
195 1 "Necron"
191 1 "Death Centurion"
196 1 "Schriker"
197 1 "Illusion of Kundun"
 
//Ä«¿À½ºÄ³½½ ¸ó½ºÅÍ.
162 1 "Chaos Castle 1"
163 1 "Chaos Castle 2"
164 1 "Chaos Castle 3"
165 1 "Chaos Castle 4"
166 1 "Chaos Castle 5"
167 1 "Chaos Castle 6"
168 1 "Chaos Castle 7"
169 1 "Chaos Castle 8"
170 1 "Chaos Castle 9"
171 1 "Chaos Castle 10"
172 1 "Chaos Castle 11"
173 1 "Chaos Castle 12"

83 1 "Golden Wheel"
82 1 "Golden Tantalos"
81 1 "Golden Vepar"
80 1 "Golden Lizard King"
79 1 "Golden Derkon"
78 1 "Golden Goblin"

77 1 "Phoenix of Darkness"
76 1 "Phoenix Darkness shield"
75 1 "Great Drakan"
74 1 "Alpha Crust"
73 1 "Drakan"
72 1 "Phantom Knight"
71 1 "Mega Crust"
70 1 "Queen Rainier"
69 1 "Alquamos"
68 1 "Molt"

57 1 "Iron Wheel"
58 1 "Tantalos"
59 1 "Zaikan"
60 1 "Bloody wolf"
61 1 "Beam Knight"
62 1 "Mutant"
63 1 "Death Beam Knight"

64 1 "Ogre archer"
65 1 "Elite Ogre"
66 1 "Cursed king"
67 1 "Metal Balrog"

36 1 "Shadow"
39 1 "Poison Shadow"
34 1 "Cursed Wizard"
41 1 "Death Cow"
37 1 "Devil"
40 1 "Death Knight"
35 1 "Death Gorgon"
38 1 "Balrog"

3 1 "Spider"
26 1 "Goblin"
2 1 "Budge Dragon"
27 1 "Chain Scorpion"
0 1 "Bull Fighter"
33 1 "Elite Goblin"
1 1 "Hound"
28 1 "Beetle Monster"
4 1 "Elite Bull Fighter"
29 1 "Hunter"
6 1 "LIch"
30 1 "Forest Monster"
31 1 "Agon"
7 1 "Giant"
32 1 "Stone Golem"
14 1 "Skeleton"
24 1 "Worm"
22 1 "Ice Monster"
23 1 "Hommerd"
12 1 "Larva"
21 1 "Assassin"
17 1 "Cyclops"
19 1 "Yeti"
11 1 "Ghost"
15 1 "Skeleton Archer"
20 1 "Elite Yeti"
5 1 "Hell Hound"
13 1 "Hell Spider"
16 1 "Chief Skeleton Warrior"
9 1 "Thunder Lich"
8 1 "Poison Bull Fighter"
10 1 "Dark Knight"
25 1 "Ice Queen"
18 1 "Gorgon"

45 1 "Bahamut"
46 1 "Vepar"
47 1 "Valkyrie"
48 1 "Lizard King"
49 1 "Hydra"
50 1 "Sea Worm"
51 1 "Great Bahamut"
52 1 "Silver Valkyrie"

43 1 "Golden Budge Dragon"
44 1 "Dragon"
53 1 "Golden Titan"
54 1 "Golden Soldier"
55 1 "Death King"
56 1 "Death Bone"

150 1 "Bali"
151 1 "Soldier"
152 1 "Magic stone of %s "
153 1 "Magic stone of %s "
154 1 "Magic stone of %s "
155 1 "Magic stone of %s "
156 1 "Magic stone of %s "
157 1 "Magic stone of %s "
158 1 "Magic stone of %s "
//158 1 "Shadow Knight" '- ½¦µµ¿ì³ªÀÌÆ®¶ó´Â ¸÷ÀÌ ¾øÀ¸¹Ç·Î

// ÇÔÁ¤ ( 100 ~ 110 )
100 1 "Lance"
101 1 "Iron Stick"
102 1 "Fire"
103 1 "Meteorite"

// °ø¼ºÆ®·¦.           
104 1 "Trap"
105 1 "Canon Trap"
106 1 "Laser Trap"
200 1 "Soccer Ball"

// Å©¶óÀÌ¿ïÇÁ ·¹À̵å MVP (2005.9.23 ÀÌÇõÀç Ãß°¡)
204 1 "Wolf Status"
205 1 "Wolf Altar1"
206 1 "Wolf Altar2"
207 1 "Wolf Altar3"
208 1 "Wolf Altar4"
209 1 "Wolf Altar5"
215 1 "Shield"
// °ø¼º
216 1 "Crown"
217 1 "Crown Switch2"
218 1 "Crown Switch1"
219 1 "Castle Gate Switch"
220 1 "Gatekeeper"
221 1 "Slingshot attack"
222 1 "Slingshot defense"
//NPC
223 1 "Senior"
224 1 "Guardsman"
226 1 "Trainer"
//227 1 "McDonalds"
//228 1 "Popeyes"
229 1 "Marlon"
230 1 "Wandering Merchant Alex"
231 1 "Thompson Kenel"
232 1 "Archangel"
233 1 "Messenger of Archangel"
234 1 "Pet Trainer"
235 1 "Sebina the Priest"
236 1 "Golden Archer"
237 1 "Charon"
238 1 "Chaos Goblin"
239 1 "Arena Guard"
240 1 "Safety Guardian"
241 1 "Royal Guard Captain Lorence"
242 1 "Elf Lala"
243 1 "Eo the Craftsman"
244 1 "Caren the Barmaid"
245 1 "Wizard Izabel"
246 1 "Weapons Merchant Zienna"
247 1 "Guard"
248 1 "Wandering Merchant Martin"
249 1 "Guard"
250 1 "Wandering Merchant"
251 1 "Hanzo the Blacksmith"
252 1 ""
253 1 "Potion Girl Amy"
254 1 "Pasi the Mage"
255 1 "Lumen the Barmaid"
256 1 "Lahap"
257 1 "Shadow Phantom Soldier"

//Ä®¸®¸¶ ¸ó½ºÅÍ
// 5 Ä®¸®¸¶
263 1 "Aegis"
264 1 "Rogue Centurion"
262 1 "Blood Soldier"
260 1 "Death Angel"
265 1 "Necron"
261 1 "Death Centurion"
266 1 "Schriker"
267 1 "Illusion of Kundun"
// 6 Ä®¸®¸¶
271 1 "Aegis"
272 1 "Rogue Centurion"
270 1 "Blood Soldier"
268 1 "Death Angel"
273 1 "Necron"
269 1 "Death Centurion"
274 1 "Schriker"
275 1 "Kundun"

// °ø¼ºÀü ¸ó½ºÅÍ.
277 1 "Castle Gate"
278 1 "Life Stone"
283 1 "Guardian Statue"
285 1 "Guardian"
286 1 "Archer"
287 1 "Spearman"
288 1 "Canon Tower"

//½Ã·ÃÀÇ ¶¥
290 1 "Lizard Warrior"
291 1 "Fire Golem"
292 1 "Queen Bee"
293 1 "Poison Golem"
294 1 "Ax Warrior"
295 1 "Erohim"
296 1 "Monster7"

// ·Î·£Çù°îÀ̺¥Æ® ¸ó½ºÅÍ.
300 1 "Hero Mutant"
301 1 "Omega Wing"
302 1 "Axl Hero"
303 1 "Gigas Golem"


//¾ÆÀÌ´Ù. Å©¶óÀÌ¿ïÇÁ. ÀÒ¾î¹ö¸° Ä®¸®¸¶ Ãß°¡ ÀÛ¾÷_±âȹ/Á¤µ¿ÀÏ (¿ÀÈÄ 3:18 2005-07-26)

//¾ÆÀÌ´Ù ¸ó½ºÅÍ
308 1 "Death Tree"
307 1 "Forest Orc"
306 1 "Death Rider"
305 1 "Blue Golem"
304 1 "Witch Queen"
309 1 "Hell Maine"

//Å©¶óÀÌ¿ïÇÁ
310 1 "Hammer Scout"
311 1 "Lance Scout"
312 1 "Bow Scout"
313 1 "Werewolf"
314 1 "Scout(Hero)"
315 1 "Werewolf(Hero)"
316 1 "Balram"
317 1 "Soram"

// Å©¶óÀÌ¿ïÇÁ MVP ¸ó½ºÅÍ - Ãß°¡ 2005.11.23 (ÀÌÇõÀç)
340 1 "Dark Elf"
341 1 "Soram"
344 1 "Balram"
345 1 "Death spirit"
348 1 "Tanker"
349 1 "Balgass" //MVP º¸½º

//ÀÒ¾î¹ö¸° Ä®¸®¸¶
331 1 "Aegis"
332 1 "Rogue Centurion"
333 1 "Blood Soldier"
334 1 "Death Angel"
335 1 "Necron"
336 1 "Death Centurion"
337 1 "Schriker"
338 1 "Illusion of Kundun" //Á¦ 6Ä®¸®¸¶ À§Ä¡

// Å©¶óÀÌ¿ïÇÁ ¿ä»õ ¸Ê »óÀÎ _ 8¿ù 8ÀÏ ( ¿À½Â¾ð ) : Å©¶óÀÌ¿ïÇÁ ¿ä»õ Á¶·Ã»ç ¹× ¼¼¸£ºñ½º ¸÷ ¹øÈ£ ¼öÁ¤
// ¾Æ·¡ 2 NPC´Â ÃßÈÄ Ãß°¡
// ÆÖ ½Ã½ºÅÛ ÀÌÈÄ µî·Ï
//344 1 "Summoner"
// ³ë¸®¾ÆÀÇ Á¶ÇÕ °íºí¸°°ú µ¿ÀÏ. Á¶ÇÕ ¼öÁ¤ÇÑ ÀÌÈÄ ¹èÄ¡ ( Çö½ÃÁ¡¿¡¼­´Â Ãß°¡ ±ÝÁö )
//345 1 "Chaos Goblin"

//À̺¥Æ® Àü¿ë NPC Ãß°¡ - 2006.1.23 (À̹ÎÁ¤)
258 1 "Luke the Helper"
//2006.4.17 Ãß°¡ (À̹ÎÁ¤)
259 1 "Oracle Layla"

//Ä­Åõ¸£ ¸ó½ºÅÍ Ãß°¡ - 2006.5.16 (±èº¸°æ)
350 1 "Berserker"
351 1 "Splinter Wolf"
352 1 "Iron Rider"
353 1 "Satyros"
354 1 "Blade Hunter"
355 1 "Kentauros"
356 1 "Gigantis"
357 1 "Genocider"
358 1 "Persona"
359 1 "Twin Tale"
360 1 "Dreadfear"
361 1 "Nightmare"
362 1 "Maya Hand"
363 1 "Maya Hand"
364 1 "Maya"

//Ä­Åõ¸£ npc
367 1 "Gateway Machine"
368 1 "Elpis"
//Á¶È­ÀÇ º¸¼® °ü·Ã npc
369 1 "Osbourne"
370 1 "Jerridon"

//È­ÀÌÆ®¿£Á© À̺¥Æ® ¾ÆÀÌÅÛ Áö±Þ NPC Ãß°¡ - 2006.8.23 À̹ÎÁ¤
371 1 "Leo the Helper"

//¿¤¸®Æ®ÇذñÀü»çº¯½Å¹ÝÁö NPC Ãß°¡ - 2006.9.5 À̹ÎÁ¤
372 1 "Elite Skull Soldier"

//ÇÒ·ÎÀ©À̺¥Æ® NPC Ãß°¡ - 2006.9.12 À̹ÎÁ¤
373 1 "Jack Olantern"

//Å©¸®½º¸¶½º º¯½Å¹ÝÁö¿ë NPC Ãß°¡ - 2006.11.30 À̹ÎÁ¤
374 1 "Santa"

// Ä«¿À½ºÄ«µå ´ã´ç
375 1 "Chaos Card Master"

// °ø¼ºÀü ½Å±Ô ¹°¾à NPC - 2007.1.22 ±èº¸°æ
376 1 "Pamela the Supplier"
377 1 "Angela the Supplier"

// ¼³³¯ º¹ÁÖ¸Ó´Ï À̸§
365 1 "Pouch of Blessing"
378 1 "GameMaster"
379 1 "Natasha the Firecracker Merchant"

//½Å±Ô À̺¥Æ®¸Ê
380 1 "Stone Statue"
381 1 "MU Allies General"
382 1 "Illusion Sorcerer Elder"
383 1 "Alliance Sacred Item Storage"
384 1 "Illusion Castle Sacred Item Storage"
385 1 "Mirage"
// ½Å±Ô À̺¥Æ®¸Ê 1 (·¹º§ 220~270)
386 1 "Illusion Sorcerer Spirit"
387 1 "Illusion Sorcerer Spirit"
388 1 "Illusion Sorcerer Spirit"
// ½Å±Ô À̺¥Æ®¸Ê 2 (·¹º§ 271~320)
389 1 "Illusion Sorcerer Spirit"
390 1 "Illusion Sorcerer Spirit"
391 1 "Illusion Sorcerer Spirit"
// ½Å±Ô À̺¥Æ®¸Ê 3 (·¹º§ 321~350)
392 1 "Illusion Sorcerer Spirit"
393 1 "Illusion Sorcerer Spirit"
394 1 "Illusion Sorcerer Spirit"
// ½Å±Ô À̺¥Æ®¸Ê 4 (·¹º§ 351~380)
395 1 "Illusion Sorcerer Spirit"
396 1 "Illusion Sorcerer Spirit"
397 1 "Illusion Sorcerer Spirit"
// ½Å±Ô À̺¥Æ®¸Ê 5 (·¹º§ 381~399)
398 1 "Illusion Sorcerer Spirit"
399 1 "Illusion Sorcerer Spirit"
400 1 "Illusion Sorcerer Spirit"
// ½Å±Ô À̺¥Æ®¸Ê 6 (·¹º§ 400)
401 1 "Illusion Sorcerer Spirit"
402 1 "Illusion Sorcerer Spirit"
403 1 "Illusion Sorcerer Spirit"
// À̺¥Æ®¸Ê ij¸¯ÅÍ º¯½Å¿ë À妽º
404 1 "MU Allies"
405 1 "Illusion Sorcerer"

// 3Â÷ üÀÎÁö¾÷
406 1 "Apostle Devin"
407 1 "Werewolf Quarel"
408 1 "Gatekeeper"
409 1 "Balram (Trainee Soldier)"
410 1 "Death Spirit (Trainee Soldier)"
411 1 "Soram (Trainee Soldier)"
412 1 "Dark Elf (Trainee Soldier)"

// Ãß¼®(2007)À̺¥Æ®
413 1 "Lunar Rabbit"
414 1 "Helper Ellen"
// ¿¤º£¶õµå  NPC
415 1 "Silvia"
416 1 "Rhea"
417 1 "Marce"
// ¿¤º£¶õµå »ç³ÉÅÍ (2007-09-18 ±èÇöÁö)
418 1 "Strange Rabbit"
419 1 "Hideous Rabbit"
420 1 "Werewolf"
421 1 "Polluted Butterfly"
422 1 "Cursed Lich"
423 1 "Totem Golem"
424 1 "Grizzly"
425 1 "Captain Grizzly"
// À̺¥Æ®¸Ê µî±Þ Ãß°¡·Î ÀÎÇÑ ¸ó½ºÅÍ Ãß°¡(2007.10.16)
//Ä«¿À½ºÄ³½½7_È®Àå
426 1 "Chaos Castle13"
427 1 "Chaos Castle14"
//ºí·¯µåij½½8_È®Àå
428 1 "Chief Skeleton Warrior"
429 1 "Chief Skeleton Archer"
430 1 "Dark Skull Soldier"
431 1 "Giant Ogre"
432 1 "Red Skeleton Knight"
433 1 "Magic Skeleton"
//¾Ç¸¶ÀDZ¤Àå7_È®Àå
434 1 "Gigantis"
435 1 "Berserker"
436 1 "Balram (Trainee Soldier)"
437 1 "Soram (Trainee Soldier)"
438 1 "Persona"
439 1 "Dreadfear"
440 1 "Dark Elf"
// Æò¿ÂÀÇ ´Ë ¸ó½ºÅÍ Ãß°¡
441 1 "Sapi-Unus"
442 1 "Sapi-Duo"
443 1 "Sapi-Tres"
444 1 "Shadow Pawn"
445 1 "Shadow Knight"
446 1 "Shadow Look"
447 1 "Thunder Napin"
448 1 "Ghost Napin"
449 1 "Blaze Napin"
// º¢²ÉÀ̺¥Æ® npc Ãß°¡
450 1 "Cherry Blossom Spirit"
451 1 "Cherry Blossom Tree"
// ¼ÒÄÏ ½Ã½ºÅÛ NPC
452 1 "Seed Master"
453 1 "Seed Researcher"
// ¶óŬ¸®¿Â ¸ó½ºÅÍ Ãß°¡
454 1 "Ice Walker"
455 1 "Giant Mammoth"
456 1 "Ice Giant"
457 1 "Coolutin"
458 1 "Iron Knight"
459 1 "Selupan"
460 1 "Spider Eggs"
461 1 "Spider Eggs"
462 1 "Spider Eggs"
// ºÒ²ÉÁÖ¸Ó´Ï Ãß°¡
463 1 "Fire Flame Ghost"
// üÇè¼­¹ö¿ë NPC Ãß°¡
464 1 "Re-Initialization Helper"
// »ó¿ëÈ­ 7ÁÖ³â À̺¥Æ® NPC Ãß°¡
478 1 "Delgado"
// Å©¸®½º¸¶½ºÀ̺¥Æ® NPC Ãß°¡(±¹³» Àû¿ë Ãß°¡)
465 1 "Santa Claus"
466 1 "Cursed Goblin"
467 1 "Snowman"
468 1 "Dasher"
469 1 "Kermit"
470 1 "Little Santa"
471 1 "Cupid"
472 1 "Prancer"
473 1 "Donner"
474 1 "Vixen"
475 1 "Blitzen"
476 1 "Cursed Santa"
477 1 "Transformed Snowman"
// PKÇÊµå ¸ó½ºÅÍ NPC Ãß°¡
479 1 "Doorkeeper Titus"
480 1 "Zombie Fighter"
481 1 "Zombie Fighter"
482 1 "Resurrected Gladiator"
483 1 "Resurrected Gladiator"
484 1 "Ash Slaughterer"
485 1 "Ash Slaughterer"
486 1 "Blood Assassin"
487 1 "Cruel Blood Assassin"
488 1 "Cruel Blood Assassin"
489 1 "Burning Lava Giant"
490 1 "Ruthless Lava Giant"
491 1 "Ruthless Lava Giant"
// °×ºí NPC Ãß°¡
492 1 "Moss"
// Ȳ±Ý±º´ÜÀ̺¥Æ®(ÀϺ»)
502 1 "Golden Rabbit"
493 1 "Golden Dark Knight"
494 1 "Golden Devil"
495 1 "Golden Stone Golem"
496 1 "Golden Crust"
497 1 "Golden Satyros"
498 1 "Golden Twin Tail"
499 1 "Golden Iron Knight"
500 1 "Golden Napin"
501 1 "Great Golden Dragon"
// 5¿ù ÇÁ¸®¹Ì¾ö ¾ÆÀÌÅÛ (ÆÒ´õº¯½Å¹ÝÁö)
503 1 "Transformed Panda"
// Á¦±¹ ¼öÈ£±º ¸ó½ºÅÍ NPC Ãß°¡
// ¸ó½ºÅÍ
504 1 "Gaion Kharein"
// ¸Ê º¸½º
505 1 "Jerint"
506 1 "Raymond"
507 1 "Erkanne"
508 1 "Destler"
509 1 "Vermont"
510 1 "Kato"
511 1 "Galia"
// Á¸ º¸½º
512 1 "Quartermaster"
513 1 "Combat Instructor"
514 1 "Knight Commander"
515 1 "Grand Wizard"
516 1 "Master Assassin"
517 1 "Cavalry Captain"
// ÀÏ¹Ý ¸ó½ºÅÍ
518 1 "Shield Bearer"
519 1 "Medic"
520 1 "Knights"
521 1 "Bodyguard"
// NPC
522 1 "Jerint the Assistant"
// ¿ÀºêÁ§Æ® NPC
523 1 "Trap"
524 1 "Castle Gate 1" //³»·Á°¡´Â ¼º¹®(ÆòÀÏ)
525 1 "Castle Gate 2" //ÆÄ±«µÇ´Â ¼º¹®(ÆòÀÏ)
526 1 "Stone Statue 1"
527 1 "Castle Gate 3" //³»·Á°¡´Â ¼º¹®(ÁÖ¸»)
528 1 "Castle Gate 4" //ÆÄ±«µÇ´Â ¼º¹®(ÁÖ¸»)
// µµÇð»¾î ¸ó½ºÅÍ NPC Ãß°¡
// ¸ó½ºÅÍ
// º¸½º ¸ó½ºÅÍ
529 1 "Furious Slaughterer"
530 1 "Slaughterer"
// ¹Ì¼Ç ¸ó½ºÅÍ
531 1 "Ice Walker"
// ÀÏ¹Ý ¸ó½ºÅÍ
532 1 "Larva"
533 1 "Doppelganger"
534 1 "Doppelganger Elf"
535 1 "Doppelganger Knight"
536 1 "Doppelganger Wizard"
537 1 "Doppelganger Magic Gladiator"
538 1 "Doppelganger Dark Lord"
539 1 "Doppelganger Summoner"
// NPC
540 1 "Lugard"
541 1 "Interim Reward Chest"
542 1 "Final Reward Chest"
// °Õ½º NPC
543 1 "Gens Duprian Steward"
544 1 "Gens Vanert Steward"
//·Î·£½ÃÀå NPC Ãß°¡ 2009.11.24 È«½Â¿í
545 1 "Christine the Merchant"
546 1 "Jeweler Raul"
547 1 "Market Union Member Julia"
//½ºÄÌ·¹Å溯½Å¹ÝÁö¿ë º¯½Å½ºÄÌ·¹Åæ Ãß°¡
548 1 "Transformed Skeleton"
549 1 "Bloody Orc"
550 1 "Bloody Death Rider"
551 1 "Bloody Golem"
552 1 "Bloody Witch Queen"
553 1 "Berserker Warrior"
554 1 "Kentauros Warrior"
555 1 "Gigantis Warrior"
556 1 "Genocider Warrior"
557 1 "Sapi Queen"
558 1 "Ice Napin"
559 1 "Shadow Master"
560 1 "Sapi Queen"
561 1 "Medusa"
562 1 "Dark Mammoth"
563 1 "Dark Giant"
564 1 "Dark Coolutin"
565 1 "Dark Iron Knight"
end


Tenía muchas ganas de iniciar nuevamente en el mundo del mu con estos archivos pero hay que trabajarlos muchos y creo que no tengo el conocimiento en C++ para solucionar ni el mas mínimo de los problemas pero igual seguiré practicando por si consigo unos archivos que me llamen la atención para crear mi propio servidor.

PD: Les recuerdo que el cliente de estos archivos no esta completo así que tomen sus precauciones a la hora de querer arreglar un "error", no todo será culpa de la source.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: melo920 on January 18, 2022, 05:23:54 PM
Gracias por el aporte @louis

Un ejemplo de ello es el txt que lleva los nombres de los npc que se encuentra en la ruta \Data\Local\Eng y lleva por nombre "NpcName_eng" con esto se arregla el problema de que al hablar con la NPC que da buff te desconecta o con la que esta en el bar de lorencia.




te faltaria del 566 hasta el 579

Para cliente S6 Epi3

Code: [Select]
// MAX : 512			
//블러드캐슬
//블러드캐슬1
84 1 "Chief Skeleton Warrior"
85 1 "Chief Skeleton Archer"
86 1 "Dark Skull Soldier"
87 1 "Giant Ogre"
88 1 "Red Skeleton Knight"
89 1 "Magic Skeleton"
//블러드캐슬2
90 1 "Chief Skeleton Warrior"
91 1 "Chief Skeleton Archer"
92 1 "Dark Skull Soldier"
93 1 "Giant Ogre"
94 1 "Red Skeleton Knight"
95 1 "Magic Skeleton"
//블러드캐슬3
96 1 "Chief Skeleton Warrior"
97 1 "Chief Skeleton Archer"
98 1 "Dark Skull Soldier"
99 1 "Giant Ogre"
111 1 "Red Skeleton Knight"
112 1 "Magic Skeleton"
//블러드캐슬4
113 1 "Chief Skeleton Warrior"
114 1 "Chief Skeleton Archer"
115 1 "Dark Skull Soldier"
116 1 "Giant Ogre"
117 1 "Red Skeleton Knight"
118 1 "Magic Skeleton"
//블러드캐슬5
119 1 "Chief Skeleton Warrior"
120 1 "Chief Skeleton Archer"
121 1 "Dark Skull Soldier"
122 1 "Giant Ogre"
123 1 "Red Skeleton Knight"
124 1 "Magic Skeleton"
//블러드캐슬6
125 1 "Chief Skeleton Warrior"
126 1 "Chief Skeleton Archer"
127 1 "Dark Skull Soldier"
128 1 "Giant Ogre"
129 1 "Red Skeleton Knight"
130 1 "Magic Skeleton"
131 1 "Castle Gate"
132 1 "Statue of Saint"
133 1 "Statue of Saint"
134 1 "Statue of Saint"

// 반지의 전쟁
135 1 "White wizard"
136 1 "Destructive ogre soldier"
137 1 "Destructive ogre archer"

//블러드캐슬7
138 1 "Chief Skeleton Warrior"
139 1 "Chief Skeleton Archer"
140 1 "Dark Skull Soldier"
141 1 "Giant Ogre"
142 1 "Red Skeleton Knight"
143 1 "Magic Skeleton"

//칼리마_오후 7:05 2004-08-25
// 1 칼리마
147 1 "Aegis"
148 1 "Rogue Centurion"
146 1 "Blood Soldier"
144 1 "Death Angel"
149 1 "Necron"
145 1 "Death Centurion"
160 1 "Schriker"
161 1 "Illusion of Kundun"
// 2 칼리마
177 1 "Aegis"
178 1 "Rogue Centurion"
176 1 "Blood Soldier"
174 1 "Death Angel"
179 1 "Necron"
175 1 "Death Centurion"
180 1 "Schriker"
181 1 "Illusion of Kundun"
// 3 칼리마
185 1 "Aegis"
186 1 "Rogue Centurion"
184 1 "Blood Soldier"
182 1 "Death Angel"
187 1 "Necron"
183 1 "Death Centurion"
188 1 "Schriker"
189 1 "Illusion of Kundun"
// 4 칼리마
193 1 "Aegis"
194 1 "Rogue Centurion"
192 1 "Blood Soldier"
190 1 "Death Angel"
195 1 "Necron"
191 1 "Death Centurion"
196 1 "Schriker"
197 1 "Illusion of Kundun"
 
//카오스캐슬 몬스터.
162 1 "Chaos Castle 1"
163 1 "Chaos Castle 2"
164 1 "Chaos Castle 3"
165 1 "Chaos Castle 4"
166 1 "Chaos Castle 5"
167 1 "Chaos Castle 6"
168 1 "Chaos Castle 7"
169 1 "Chaos Castle 8"
170 1 "Chaos Castle 9"
171 1 "Chaos Castle 10"
172 1 "Chaos Castle 11"
173 1 "Chaos Castle 12"

83 1 "Golden Wheel"
82 1 "Golden Tantalos"
81 1 "Golden Vepar"
80 1 "Golden Lizard King"
79 1 "Golden Derkon"
78 1 "Golden Goblin"

77 1 "Phoenix of Darkness"
76 1 "Phoenix Darkness shield"
75 1 "Great Drakan"
74 1 "Alpha Crust"
73 1 "Drakan"
72 1 "Phantom Knight"
71 1 "Mega Crust"
70 1 "Queen Rainier"
69 1 "Alquamos"
68 1 "Molt"

57 1 "Iron Wheel"
58 1 "Tantalos"
59 1 "Zaikan"
60 1 "Bloody wolf"
61 1 "Beam Knight"
62 1 "Mutant"
63 1 "Death Beam Knight"

64 1 "Ogre archer"
65 1 "Elite Ogre"
66 1 "Cursed king"
67 1 "Metal Balrog"

36 1 "Shadow"
39 1 "Poison Shadow"
34 1 "Cursed Wizard"
41 1 "Death Cow"
37 1 "Devil"
40 1 "Death Knight"
35 1 "Death Gorgon"
38 1 "Balrog"

3 1 "Spider"
26 1 "Goblin"
2 1 "Budge Dragon"
27 1 "Chain Scorpion"
0 1 "Bull Fighter"
33 1 "Elite Goblin"
1 1 "Hound"
28 1 "Beetle Monster"
4 1 "Elite Bull Fighter"
29 1 "Hunter"
6 1 "LIch"
30 1 "Forest Monster"
31 1 "Agon"
7 1 "Giant"
32 1 "Stone Golem"
14 1 "Skeleton"
24 1 "Worm"
22 1 "Ice Monster"
23 1 "Hommerd"
12 1 "Larva"
21 1 "Assassin"
17 1 "Cyclops"
19 1 "Yeti"
11 1 "Ghost"
15 1 "Skeleton Archer"
20 1 "Elite Yeti"
5 1 "Hell Hound"
13 1 "Hell Spider"
16 1 "Chief Skeleton Warrior"
9 1 "Thunder Lich"
8 1 "Poison Bull Fighter"
10 1 "Dark Knight"
25 1 "Ice Queen"
18 1 "Gorgon"

45 1 "Bahamut"
46 1 "Vepar"
47 1 "Valkyrie"
48 1 "Lizard King"
49 1 "Hydra"
50 1 "Sea Worm"
51 1 "Great Bahamut"
52 1 "Silver Valkyrie"

43 1 "Golden Budge Dragon"
44 1 "Dragon"
53 1 "Golden Titan"
54 1 "Golden Soldier"
55 1 "Death King"
56 1 "Death Bone"

150 1 "Bali"
151 1 "Soldier"
152 1 "Magic stone of %s "
153 1 "Magic stone of %s "
154 1 "Magic stone of %s "
155 1 "Magic stone of %s "
156 1 "Magic stone of %s "
157 1 "Magic stone of %s "
158 1 "Magic stone of %s "
//158 1 "Shadow Knight" '- 쉐도우나이트라는 몹이 없으므로

// 함정 ( 100 ~ 110 )
100 1 "Lance"
101 1 "Iron Stick"
102 1 "Fire"
103 1 "Meteorite"

// 공성트랩.           
104 1 "Trap"
105 1 "Canon Trap"
106 1 "Laser Trap"
200 1 "Soccer Ball"

// 크라이울프 레이드 MVP (2005.9.23 이혁재 추가)
204 1 "Wolf Status"
205 1 "Wolf Altar1"
206 1 "Wolf Altar2"
207 1 "Wolf Altar3"
208 1 "Wolf Altar4"
209 1 "Wolf Altar5"
215 1 "Shield"
// 공성
216 1 "Crown"
217 1 "Crown Switch2"
218 1 "Crown Switch1"
219 1 "Castle Gate Switch"
220 1 "Gatekeeper"
221 1 "Slingshot attack"
222 1 "Slingshot defense"
//NPC
223 1 "Senior"
224 1 "Guardsman"
226 1 "Trainer"
//227 1 "McDonalds"
//228 1 "Popeyes"
229 1 "Marlon"
230 1 "Wandering Merchant Alex"
231 1 "Thompson Kenel"
232 1 "Archangel"
233 1 "Messenger of Archangel"
234 1 "Pet Trainer"
235 1 "Sebina the Priest"
236 1 "Golden Archer"
237 1 "Charon"
238 1 "Chaos Goblin"
239 1 "Arena Guard"
240 1 "Safety Guardian"
241 1 "Royal Guard Captain Lorence"
242 1 "Elf Lala"
243 1 "Eo the Craftsman"
244 1 "Caren the Barmaid"
245 1 "Wizard Izabel"
246 1 "Weapons Merchant Zienna"
247 1 "Guard"
248 1 "Wandering Merchant Martin"
249 1 "Guard"
250 1 "Wandering Merchant"
251 1 "Hanzo the Blacksmith"
252 1 ""
253 1 "Potion Girl Amy"
254 1 "Pasi the Mage"
255 1 "Lumen the Barmaid"
256 1 "Lahap"
257 1 "Shadow Phantom Soldier"

//칼리마 몬스터
// 5 칼리마
263 1 "Aegis"
264 1 "Rogue Centurion"
262 1 "Blood Soldier"
260 1 "Death Angel"
265 1 "Necron"
261 1 "Death Centurion"
266 1 "Schriker"
267 1 "Illusion of Kundun"
// 6 칼리마
271 1 "Aegis"
272 1 "Rogue Centurion"
270 1 "Blood Soldier"
268 1 "Death Angel"
273 1 "Necron"
269 1 "Death Centurion"
274 1 "Schriker"
275 1 "Kundun"

// 공성전 몬스터.
277 1 "Castle Gate"
278 1 "Life Stone"
283 1 "Guardian Statue"
285 1 "Guardian"
286 1 "Archer"
287 1 "Spearman"
288 1 "Canon Tower"

//시련의 땅
290 1 "Lizard Warrior"
291 1 "Fire Golem"
292 1 "Queen Bee"
293 1 "Poison Golem"
294 1 "Ax Warrior"
295 1 "Erohim"
296 1 "Monster7"

// 로랜협곡이벤트 몬스터.
300 1 "Hero Mutant"
301 1 "Omega Wing"
302 1 "Axl Hero"
303 1 "Gigas Golem"


//아이다. 크라이울프. 잃어버린 칼리마 추가 작업_기획/정동일 (오후 3:18 2005-07-26)

//아이다 몬스터
308 1 "Death Tree"
307 1 "Forest Orc"
306 1 "Death Rider"
305 1 "Blue Golem"
304 1 "Witch Queen"
309 1 "Hell Maine"

//크라이울프
310 1 "Hammer Scout"
311 1 "Lance Scout"
312 1 "Bow Scout"
313 1 "Werewolf"
314 1 "Scout(Hero)"
315 1 "Werewolf(Hero)"
316 1 "Balram"
317 1 "Soram"

// 크라이울프 MVP 몬스터 - 추가 2005.11.23 (이혁재)
340 1 "Dark Elf"
341 1 "Soram"
344 1 "Balram"
345 1 "Death spirit"
348 1 "Tanker"
349 1 "Balgass" //MVP 보스

//잃어버린 칼리마
331 1 "Aegis"
332 1 "Rogue Centurion"
333 1 "Blood Soldier"
334 1 "Death Angel"
335 1 "Necron"
336 1 "Death Centurion"
337 1 "Schriker"
338 1 "Illusion of Kundun" //제 6칼리마 위치

// 크라이울프 요새 맵 상인 _ 8월 8일 ( 오승언 ) : 크라이울프 요새 조련사 및 세르비스 몹 번호 수정
// 아래 2 NPC는 추후 추가
// 팻 시스템 이후 등록
//344 1 "Summoner"
// 노리아의 조합 고블린과 동일. 조합 수정한 이후 배치 ( 현시점에서는 추가 금지 )
//345 1 "Chaos Goblin"

//이벤트 전용 NPC 추가 - 2006.1.23 (이민정)
258 1 "Luke the Helper"
//2006.4.17 추가 (이민정)
259 1 "Oracle Layla"

//칸투르 몬스터 추가 - 2006.5.16 (김보경)
350 1 "Berserker"
351 1 "Splinter Wolf"
352 1 "Iron Rider"
353 1 "Satyros"
354 1 "Blade Hunter"
355 1 "Kentauros"
356 1 "Gigantis"
357 1 "Genocider"
358 1 "Persona"
359 1 "Twin Tale"
360 1 "Dreadfear"
361 1 "Nightmare"
362 1 "Maya Hand"
363 1 "Maya Hand"
364 1 "Maya"

//칸투르 npc
367 1 "Gateway Machine"
368 1 "Elpis"
//조화의 보석 관련 npc
369 1 "Osbourne"
370 1 "Jerridon"

//화이트엔젤 이벤트 아이템 지급 NPC 추가 - 2006.8.23 이민정
371 1 "Leo the Helper"

//엘리트해골전사변신반지 NPC 추가 - 2006.9.5 이민정
372 1 "Elite Skull Soldier"

//할로윈이벤트 NPC 추가 - 2006.9.12 이민정
373 1 "Jack Olantern"

//크리스마스 변신반지용 NPC 추가 - 2006.11.30 이민정
374 1 "Santa"

// 카오스카드 담당
375 1 "Chaos Card Master"

// 공성전 신규 물약 NPC - 2007.1.22 김보경
376 1 "Pamela the Supplier"
377 1 "Angela the Supplier"

// 설날 복주머니 이름
365 1 "Pouch of Blessing"
378 1 "GameMaster"
379 1 "Natasha the Firecracker Merchant"

//신규 이벤트맵
380 1 "Stone Statue"
381 1 "MU Allies General"
382 1 "Illusion Sorcerer Elder"
383 1 "Alliance Sacred Item Storage"
384 1 "Illusion Castle Sacred Item Storage"
385 1 "Mirage"
// 신규 이벤트맵 1 (레벨 220~270)
386 1 "Illusion Sorcerer Spirit"
387 1 "Illusion Sorcerer Spirit"
388 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 2 (레벨 271~320)
389 1 "Illusion Sorcerer Spirit"
390 1 "Illusion Sorcerer Spirit"
391 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 3 (레벨 321~350)
392 1 "Illusion Sorcerer Spirit"
393 1 "Illusion Sorcerer Spirit"
394 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 4 (레벨 351~380)
395 1 "Illusion Sorcerer Spirit"
396 1 "Illusion Sorcerer Spirit"
397 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 5 (레벨 381~399)
398 1 "Illusion Sorcerer Spirit"
399 1 "Illusion Sorcerer Spirit"
400 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 6 (레벨 400)
401 1 "Illusion Sorcerer Spirit"
402 1 "Illusion Sorcerer Spirit"
403 1 "Illusion Sorcerer Spirit"
// 이벤트맵 캐릭터 변신용 인덱스
404 1 "MU Allies"
405 1 "Illusion Sorcerer"

// 3차 체인지업
406 1 "Apostle Devin"
407 1 "Werewolf Quarel"
408 1 "Gatekeeper"
409 1 "Balram (Trainee Soldier)"
410 1 "Death Spirit (Trainee Soldier)"
411 1 "Soram (Trainee Soldier)"
412 1 "Dark Elf (Trainee Soldier)"

// 추석(2007)이벤트
413 1 "Lunar Rabbit"
414 1 "Helper Ellen"
// 엘베란드  NPC
415 1 "Silvia"
416 1 "Rhea"
417 1 "Marce"
// 엘베란드 사냥터 (2007-09-18 김현지)
418 1 "Strange Rabbit"
419 1 "Hideous Rabbit"
420 1 "Werewolf"
421 1 "Polluted Butterfly"
422 1 "Cursed Lich"
423 1 "Totem Golem"
424 1 "Grizzly"
425 1 "Captain Grizzly"
// 이벤트맵 등급 추가로 인한 몬스터 추가(2007.10.16)
//카오스캐슬7_확장
426 1 "Chaos Castle13"
427 1 "Chaos Castle14"
//블러드캐슬8_확장
428 1 "Chief Skeleton Warrior"
429 1 "Chief Skeleton Archer"
430 1 "Dark Skull Soldier"
431 1 "Giant Ogre"
432 1 "Red Skeleton Knight"
433 1 "Magic Skeleton"
//악마의광장7_확장
434 1 "Gigantis"
435 1 "Berserker"
436 1 "Balram (Trainee Soldier)"
437 1 "Soram (Trainee Soldier)"
438 1 "Persona"
439 1 "Dreadfear"
440 1 "Dark Elf"
// 평온의 늪 몬스터 추가
441 1 "Sapi-Unus"
442 1 "Sapi-Duo"
443 1 "Sapi-Tres"
444 1 "Shadow Pawn"
445 1 "Shadow Knight"
446 1 "Shadow Look"
447 1 "Thunder Napin"
448 1 "Ghost Napin"
449 1 "Blaze Napin"
// 벚꽃이벤트 npc 추가
450 1 "Cherry Blossom Spirit"
451 1 "Cherry Blossom Tree"
// 소켓 시스템 NPC
452 1 "Seed Master"
453 1 "Seed Researcher"
// 라클리온 몬스터 추가
454 1 "Ice Walker"
455 1 "Giant Mammoth"
456 1 "Ice Giant"
457 1 "Coolutin"
458 1 "Iron Knight"
459 1 "Selupan"
460 1 "Spider Eggs"
461 1 "Spider Eggs"
462 1 "Spider Eggs"
// 불꽃주머니 추가
463 1 "Fire Flame Ghost"
// 체험서버용 NPC 추가
//464 1 "Re-Initialization Helper"
// 상용화 7주년 이벤트 NPC 추가
478 1 "Delgado"
// 크리스마스이벤트 NPC 추가(국내 적용 추가)
465 1 "Santa Claus"
466 1 "Cursed Goblin"
467 1 "Snowman"
468 1 "Dasher"
469 1 "Kermit"
470 1 "Little Santa"
471 1 "Cupid"
472 1 "Prancer"
473 1 "Donner"
474 1 "Vixen"
475 1 "Blitzen"
476 1 "Cursed Santa"
477 1 "Transformed Snowman"
// PK필드 몬스터 NPC 추가
479 1 "Doorkeeper Titus"
480 1 "Zombie Fighter"
481 1 "Zombie Fighter"
482 1 "Resurrected Gladiator"
483 1 "Resurrected Gladiator"
484 1 "Ash Slaughterer"
485 1 "Ash Slaughterer"
486 1 "Blood Assassin"
487 1 "Cruel Blood Assassin"
488 1 "Cruel Blood Assassin"
489 1 "Burning Lava Giant"
490 1 "Ruthless Lava Giant"
491 1 "Ruthless Lava Giant"
// 겜블 NPC 추가
492 1 "Moss"
// 황금군단이벤트(일본)
502 1 "Golden Rabbit"
493 1 "Golden Dark Knight"
494 1 "Golden Devil"
495 1 "Golden Stone Golem"
496 1 "Golden Crust"
497 1 "Golden Satyros"
498 1 "Golden Twin Tail"
499 1 "Golden Iron Knight"
500 1 "Golden Napin"
501 1 "Great Golden Dragon"
// 5월 프리미엄 아이템 (팬더변신반지)
503 1 "Transformed Panda"
// 제국 수호군 몬스터 NPC 추가
// 몬스터
504 1 "Gaion Kharein"
// 맵 보스
505 1 "Jerint"
506 1 "Raymond"
507 1 "Erkanne"
508 1 "Destler"
509 1 "Vermont"
510 1 "Kato"
511 1 "Galia"
// 존 보스
512 1 "Quartermaster"
513 1 "Combat Instructor"
514 1 "Knight Commander"
515 1 "Grand Wizard"
516 1 "Master Assassin"
517 1 "Cavalry Captain"
// 일반 몬스터
518 1 "Shield Bearer"
519 1 "Medic"
520 1 "Knights"
521 1 "Bodyguard"
// NPC
522 1 "Jerint the Assistant"
// 오브젝트 NPC
523 1 "Trap"
524 1 "Castle Gate 1" //내려가는 성문(평일)
525 1 "Castle Gate 2" //파괴되는 성문(평일)
526 1 "Stone Statue 1"
527 1 "Castle Gate 3" //내려가는 성문(주말)
528 1 "Castle Gate 4" //파괴되는 성문(주말)
// 도플갱어 몬스터 NPC 추가
// 몬스터
// 보스 몬스터
529 1 "Furious Slaughterer"
530 1 "Slaughterer"
// 미션 몬스터
531 1 "Ice Walker"
// 일반 몬스터
532 1 "Larva"
533 1 "Doppelganger"
534 1 "Doppelganger Elf"
535 1 "Doppelganger Knight"
536 1 "Doppelganger Wizard"
537 1 "Doppelganger Magic Gladiator"
538 1 "Doppelganger Dark Lord"
539 1 "Doppelganger Summoner"
// NPC
540 1 "Lugard"
541 1 "Interim Reward Chest"
542 1 "Final Reward Chest"
// 겐스 NPC
543 1 "Gens Duprian Steward"
544 1 "Gens Vanert Steward"
//로랜시장 NPC 추가 2009.11.24 홍승욱
545 1 "Christine the General Goods Merchant"
546 1 "Jeweler Raul"
547 1 "Market Union Member Julia"
//스켈레톤변신반지용 변신스켈레톤 추가
548 1 "Transformed Skeleton"
549 1 "Bloody Orc"
550 1 "Bloody Death Rider"
551 1 "Bloody Golem"
552 1 "Bloody Witch Queen"
553 1 "Berserker Warrior"
554 1 "Kentauros Warrior"
555 1 "Gigantis Warrior"
556 1 "Genocider Warrior"
557 1 "Sapi Queen"
558 1 "Ice Napin"
559 1 "Shadow Master"
560 1 "Sapi Queen"
561 1 "Medusa"
562 1 "Dark Mammoth"
563 1 "Dark Giant"
564 1 "Dark Coolutin"
565 1 "Dark Iron Knight"
566 1 "Mercenary Guild Manager Tercia"
567 1 "Priestess Veina"
568 1 "Wandering Merchant Zyro"
// 칼루탄 몬스터 추가 2010-06-30 홍승욱
569 1 "Venomous Chain Scorpion"
570 1 "Bone Scorpion"
571 1 "Orcus"
572 1 "Gollock"
573 1 "Crypta"
574 1 "Crypos"
575 1 "Condra"
576 1 "Narcondra"
// 칼루탄 NPC 추가 2010-06-30 홍승욱
577 1 "Leina the General Goods Merchant"
578 1 "Weapons Merchant Bolo"
// 럭키아이템 NPC 추가 2010-09-01 이기수
579 1 "David"
end

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on January 18, 2022, 06:35:29 PM
Gracias por el aporte @louis

Un ejemplo de ello es el txt que lleva los nombres de los npc que se encuentra en la ruta \Data\Local\Eng y lleva por nombre "NpcName_eng" con esto se arregla el problema de que al hablar con la NPC que da buff te desconecta o con la que esta en el bar de lorencia.


te faltaria del 566 hasta el 585

Para cliente S6 Epi3

Code: [Select]
// MAX : 512			
//블러드캐슬
//블러드캐슬1
84 1 "Chief Skeleton Warrior"
85 1 "Chief Skeleton Archer"
86 1 "Dark Skull Soldier"
87 1 "Giant Ogre"
88 1 "Red Skeleton Knight"
89 1 "Magic Skeleton"
//블러드캐슬2
90 1 "Chief Skeleton Warrior"
91 1 "Chief Skeleton Archer"
92 1 "Dark Skull Soldier"
93 1 "Giant Ogre"
94 1 "Red Skeleton Knight"
95 1 "Magic Skeleton"
//블러드캐슬3
96 1 "Chief Skeleton Warrior"
97 1 "Chief Skeleton Archer"
98 1 "Dark Skull Soldier"
99 1 "Giant Ogre"
111 1 "Red Skeleton Knight"
112 1 "Magic Skeleton"
//블러드캐슬4
113 1 "Chief Skeleton Warrior"
114 1 "Chief Skeleton Archer"
115 1 "Dark Skull Soldier"
116 1 "Giant Ogre"
117 1 "Red Skeleton Knight"
118 1 "Magic Skeleton"
//블러드캐슬5
119 1 "Chief Skeleton Warrior"
120 1 "Chief Skeleton Archer"
121 1 "Dark Skull Soldier"
122 1 "Giant Ogre"
123 1 "Red Skeleton Knight"
124 1 "Magic Skeleton"
//블러드캐슬6
125 1 "Chief Skeleton Warrior"
126 1 "Chief Skeleton Archer"
127 1 "Dark Skull Soldier"
128 1 "Giant Ogre"
129 1 "Red Skeleton Knight"
130 1 "Magic Skeleton"
131 1 "Castle Gate"
132 1 "Statue of Saint"
133 1 "Statue of Saint"
134 1 "Statue of Saint"

// 반지의 전쟁
135 1 "White wizard"
136 1 "Destructive ogre soldier"
137 1 "Destructive ogre archer"

//블러드캐슬7
138 1 "Chief Skeleton Warrior"
139 1 "Chief Skeleton Archer"
140 1 "Dark Skull Soldier"
141 1 "Giant Ogre"
142 1 "Red Skeleton Knight"
143 1 "Magic Skeleton"

//칼리마_오후 7:05 2004-08-25
// 1 칼리마
147 1 "Aegis"
148 1 "Rogue Centurion"
146 1 "Blood Soldier"
144 1 "Death Angel"
149 1 "Necron"
145 1 "Death Centurion"
160 1 "Schriker"
161 1 "Illusion of Kundun"
// 2 칼리마
177 1 "Aegis"
178 1 "Rogue Centurion"
176 1 "Blood Soldier"
174 1 "Death Angel"
179 1 "Necron"
175 1 "Death Centurion"
180 1 "Schriker"
181 1 "Illusion of Kundun"
// 3 칼리마
185 1 "Aegis"
186 1 "Rogue Centurion"
184 1 "Blood Soldier"
182 1 "Death Angel"
187 1 "Necron"
183 1 "Death Centurion"
188 1 "Schriker"
189 1 "Illusion of Kundun"
// 4 칼리마
193 1 "Aegis"
194 1 "Rogue Centurion"
192 1 "Blood Soldier"
190 1 "Death Angel"
195 1 "Necron"
191 1 "Death Centurion"
196 1 "Schriker"
197 1 "Illusion of Kundun"
 
//카오스캐슬 몬스터.
162 1 "Chaos Castle 1"
163 1 "Chaos Castle 2"
164 1 "Chaos Castle 3"
165 1 "Chaos Castle 4"
166 1 "Chaos Castle 5"
167 1 "Chaos Castle 6"
168 1 "Chaos Castle 7"
169 1 "Chaos Castle 8"
170 1 "Chaos Castle 9"
171 1 "Chaos Castle 10"
172 1 "Chaos Castle 11"
173 1 "Chaos Castle 12"

83 1 "Golden Wheel"
82 1 "Golden Tantalos"
81 1 "Golden Vepar"
80 1 "Golden Lizard King"
79 1 "Golden Derkon"
78 1 "Golden Goblin"

77 1 "Phoenix of Darkness"
76 1 "Phoenix Darkness shield"
75 1 "Great Drakan"
74 1 "Alpha Crust"
73 1 "Drakan"
72 1 "Phantom Knight"
71 1 "Mega Crust"
70 1 "Queen Rainier"
69 1 "Alquamos"
68 1 "Molt"

57 1 "Iron Wheel"
58 1 "Tantalos"
59 1 "Zaikan"
60 1 "Bloody wolf"
61 1 "Beam Knight"
62 1 "Mutant"
63 1 "Death Beam Knight"

64 1 "Ogre archer"
65 1 "Elite Ogre"
66 1 "Cursed king"
67 1 "Metal Balrog"

36 1 "Shadow"
39 1 "Poison Shadow"
34 1 "Cursed Wizard"
41 1 "Death Cow"
37 1 "Devil"
40 1 "Death Knight"
35 1 "Death Gorgon"
38 1 "Balrog"

3 1 "Spider"
26 1 "Goblin"
2 1 "Budge Dragon"
27 1 "Chain Scorpion"
0 1 "Bull Fighter"
33 1 "Elite Goblin"
1 1 "Hound"
28 1 "Beetle Monster"
4 1 "Elite Bull Fighter"
29 1 "Hunter"
6 1 "LIch"
30 1 "Forest Monster"
31 1 "Agon"
7 1 "Giant"
32 1 "Stone Golem"
14 1 "Skeleton"
24 1 "Worm"
22 1 "Ice Monster"
23 1 "Hommerd"
12 1 "Larva"
21 1 "Assassin"
17 1 "Cyclops"
19 1 "Yeti"
11 1 "Ghost"
15 1 "Skeleton Archer"
20 1 "Elite Yeti"
5 1 "Hell Hound"
13 1 "Hell Spider"
16 1 "Chief Skeleton Warrior"
9 1 "Thunder Lich"
8 1 "Poison Bull Fighter"
10 1 "Dark Knight"
25 1 "Ice Queen"
18 1 "Gorgon"

45 1 "Bahamut"
46 1 "Vepar"
47 1 "Valkyrie"
48 1 "Lizard King"
49 1 "Hydra"
50 1 "Sea Worm"
51 1 "Great Bahamut"
52 1 "Silver Valkyrie"

43 1 "Golden Budge Dragon"
44 1 "Dragon"
53 1 "Golden Titan"
54 1 "Golden Soldier"
55 1 "Death King"
56 1 "Death Bone"

150 1 "Bali"
151 1 "Soldier"
152 1 "Magic stone of %s "
153 1 "Magic stone of %s "
154 1 "Magic stone of %s "
155 1 "Magic stone of %s "
156 1 "Magic stone of %s "
157 1 "Magic stone of %s "
158 1 "Magic stone of %s "
//158 1 "Shadow Knight" '- 쉐도우나이트라는 몹이 없으므로

// 함정 ( 100 ~ 110 )
100 1 "Lance"
101 1 "Iron Stick"
102 1 "Fire"
103 1 "Meteorite"

// 공성트랩.           
104 1 "Trap"
105 1 "Canon Trap"
106 1 "Laser Trap"
200 1 "Soccer Ball"

// 크라이울프 레이드 MVP (2005.9.23 이혁재 추가)
204 1 "Wolf Status"
205 1 "Wolf Altar1"
206 1 "Wolf Altar2"
207 1 "Wolf Altar3"
208 1 "Wolf Altar4"
209 1 "Wolf Altar5"
215 1 "Shield"
// 공성
216 1 "Crown"
217 1 "Crown Switch2"
218 1 "Crown Switch1"
219 1 "Castle Gate Switch"
220 1 "Gatekeeper"
221 1 "Slingshot attack"
222 1 "Slingshot defense"
//NPC
223 1 "Senior"
224 1 "Guardsman"
226 1 "Trainer"
//227 1 "McDonalds"
//228 1 "Popeyes"
229 1 "Marlon"
230 1 "Wandering Merchant Alex"
231 1 "Thompson Kenel"
232 1 "Archangel"
233 1 "Messenger of Archangel"
234 1 "Pet Trainer"
235 1 "Sebina the Priest"
236 1 "Golden Archer"
237 1 "Charon"
238 1 "Chaos Goblin"
239 1 "Arena Guard"
240 1 "Safety Guardian"
241 1 "Royal Guard Captain Lorence"
242 1 "Elf Lala"
243 1 "Eo the Craftsman"
244 1 "Caren the Barmaid"
245 1 "Wizard Izabel"
246 1 "Weapons Merchant Zienna"
247 1 "Guard"
248 1 "Wandering Merchant Martin"
249 1 "Guard"
250 1 "Wandering Merchant"
251 1 "Hanzo the Blacksmith"
252 1 ""
253 1 "Potion Girl Amy"
254 1 "Pasi the Mage"
255 1 "Lumen the Barmaid"
256 1 "Lahap"
257 1 "Shadow Phantom Soldier"

//칼리마 몬스터
// 5 칼리마
263 1 "Aegis"
264 1 "Rogue Centurion"
262 1 "Blood Soldier"
260 1 "Death Angel"
265 1 "Necron"
261 1 "Death Centurion"
266 1 "Schriker"
267 1 "Illusion of Kundun"
// 6 칼리마
271 1 "Aegis"
272 1 "Rogue Centurion"
270 1 "Blood Soldier"
268 1 "Death Angel"
273 1 "Necron"
269 1 "Death Centurion"
274 1 "Schriker"
275 1 "Kundun"

// 공성전 몬스터.
277 1 "Castle Gate"
278 1 "Life Stone"
283 1 "Guardian Statue"
285 1 "Guardian"
286 1 "Archer"
287 1 "Spearman"
288 1 "Canon Tower"

//시련의 땅
290 1 "Lizard Warrior"
291 1 "Fire Golem"
292 1 "Queen Bee"
293 1 "Poison Golem"
294 1 "Ax Warrior"
295 1 "Erohim"
296 1 "Monster7"

// 로랜협곡이벤트 몬스터.
300 1 "Hero Mutant"
301 1 "Omega Wing"
302 1 "Axl Hero"
303 1 "Gigas Golem"


//아이다. 크라이울프. 잃어버린 칼리마 추가 작업_기획/정동일 (오후 3:18 2005-07-26)

//아이다 몬스터
308 1 "Death Tree"
307 1 "Forest Orc"
306 1 "Death Rider"
305 1 "Blue Golem"
304 1 "Witch Queen"
309 1 "Hell Maine"

//크라이울프
310 1 "Hammer Scout"
311 1 "Lance Scout"
312 1 "Bow Scout"
313 1 "Werewolf"
314 1 "Scout(Hero)"
315 1 "Werewolf(Hero)"
316 1 "Balram"
317 1 "Soram"

// 크라이울프 MVP 몬스터 - 추가 2005.11.23 (이혁재)
340 1 "Dark Elf"
341 1 "Soram"
344 1 "Balram"
345 1 "Death spirit"
348 1 "Tanker"
349 1 "Balgass" //MVP 보스

//잃어버린 칼리마
331 1 "Aegis"
332 1 "Rogue Centurion"
333 1 "Blood Soldier"
334 1 "Death Angel"
335 1 "Necron"
336 1 "Death Centurion"
337 1 "Schriker"
338 1 "Illusion of Kundun" //제 6칼리마 위치

// 크라이울프 요새 맵 상인 _ 8월 8일 ( 오승언 ) : 크라이울프 요새 조련사 및 세르비스 몹 번호 수정
// 아래 2 NPC는 추후 추가
// 팻 시스템 이후 등록
//344 1 "Summoner"
// 노리아의 조합 고블린과 동일. 조합 수정한 이후 배치 ( 현시점에서는 추가 금지 )
//345 1 "Chaos Goblin"

//이벤트 전용 NPC 추가 - 2006.1.23 (이민정)
258 1 "Luke the Helper"
//2006.4.17 추가 (이민정)
259 1 "Oracle Layla"

//칸투르 몬스터 추가 - 2006.5.16 (김보경)
350 1 "Berserker"
351 1 "Splinter Wolf"
352 1 "Iron Rider"
353 1 "Satyros"
354 1 "Blade Hunter"
355 1 "Kentauros"
356 1 "Gigantis"
357 1 "Genocider"
358 1 "Persona"
359 1 "Twin Tale"
360 1 "Dreadfear"
361 1 "Nightmare"
362 1 "Maya Hand"
363 1 "Maya Hand"
364 1 "Maya"

//칸투르 npc
367 1 "Gateway Machine"
368 1 "Elpis"
//조화의 보석 관련 npc
369 1 "Osbourne"
370 1 "Jerridon"

//화이트엔젤 이벤트 아이템 지급 NPC 추가 - 2006.8.23 이민정
371 1 "Leo the Helper"

//엘리트해골전사변신반지 NPC 추가 - 2006.9.5 이민정
372 1 "Elite Skull Soldier"

//할로윈이벤트 NPC 추가 - 2006.9.12 이민정
373 1 "Jack Olantern"

//크리스마스 변신반지용 NPC 추가 - 2006.11.30 이민정
374 1 "Santa"

// 카오스카드 담당
375 1 "Chaos Card Master"

// 공성전 신규 물약 NPC - 2007.1.22 김보경
376 1 "Pamela the Supplier"
377 1 "Angela the Supplier"

// 설날 복주머니 이름
365 1 "Pouch of Blessing"
378 1 "GameMaster"
379 1 "Natasha the Firecracker Merchant"

//신규 이벤트맵
380 1 "Stone Statue"
381 1 "MU Allies General"
382 1 "Illusion Sorcerer Elder"
383 1 "Alliance Sacred Item Storage"
384 1 "Illusion Castle Sacred Item Storage"
385 1 "Mirage"
// 신규 이벤트맵 1 (레벨 220~270)
386 1 "Illusion Sorcerer Spirit"
387 1 "Illusion Sorcerer Spirit"
388 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 2 (레벨 271~320)
389 1 "Illusion Sorcerer Spirit"
390 1 "Illusion Sorcerer Spirit"
391 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 3 (레벨 321~350)
392 1 "Illusion Sorcerer Spirit"
393 1 "Illusion Sorcerer Spirit"
394 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 4 (레벨 351~380)
395 1 "Illusion Sorcerer Spirit"
396 1 "Illusion Sorcerer Spirit"
397 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 5 (레벨 381~399)
398 1 "Illusion Sorcerer Spirit"
399 1 "Illusion Sorcerer Spirit"
400 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 6 (레벨 400)
401 1 "Illusion Sorcerer Spirit"
402 1 "Illusion Sorcerer Spirit"
403 1 "Illusion Sorcerer Spirit"
// 이벤트맵 캐릭터 변신용 인덱스
404 1 "MU Allies"
405 1 "Illusion Sorcerer"

// 3차 체인지업
406 1 "Apostle Devin"
407 1 "Werewolf Quarel"
408 1 "Gatekeeper"
409 1 "Balram (Trainee Soldier)"
410 1 "Death Spirit (Trainee Soldier)"
411 1 "Soram (Trainee Soldier)"
412 1 "Dark Elf (Trainee Soldier)"

// 추석(2007)이벤트
413 1 "Lunar Rabbit"
414 1 "Helper Ellen"
// 엘베란드  NPC
415 1 "Silvia"
416 1 "Rhea"
417 1 "Marce"
// 엘베란드 사냥터 (2007-09-18 김현지)
418 1 "Strange Rabbit"
419 1 "Hideous Rabbit"
420 1 "Werewolf"
421 1 "Polluted Butterfly"
422 1 "Cursed Lich"
423 1 "Totem Golem"
424 1 "Grizzly"
425 1 "Captain Grizzly"
// 이벤트맵 등급 추가로 인한 몬스터 추가(2007.10.16)
//카오스캐슬7_확장
426 1 "Chaos Castle13"
427 1 "Chaos Castle14"
//블러드캐슬8_확장
428 1 "Chief Skeleton Warrior"
429 1 "Chief Skeleton Archer"
430 1 "Dark Skull Soldier"
431 1 "Giant Ogre"
432 1 "Red Skeleton Knight"
433 1 "Magic Skeleton"
//악마의광장7_확장
434 1 "Gigantis"
435 1 "Berserker"
436 1 "Balram (Trainee Soldier)"
437 1 "Soram (Trainee Soldier)"
438 1 "Persona"
439 1 "Dreadfear"
440 1 "Dark Elf"
// 평온의 늪 몬스터 추가
441 1 "Sapi-Unus"
442 1 "Sapi-Duo"
443 1 "Sapi-Tres"
444 1 "Shadow Pawn"
445 1 "Shadow Knight"
446 1 "Shadow Look"
447 1 "Thunder Napin"
448 1 "Ghost Napin"
449 1 "Blaze Napin"
// 벚꽃이벤트 npc 추가
450 1 "Cherry Blossom Spirit"
451 1 "Cherry Blossom Tree"
// 소켓 시스템 NPC
452 1 "Seed Master"
453 1 "Seed Researcher"
// 라클리온 몬스터 추가
454 1 "Ice Walker"
455 1 "Giant Mammoth"
456 1 "Ice Giant"
457 1 "Coolutin"
458 1 "Iron Knight"
459 1 "Selupan"
460 1 "Spider Eggs"
461 1 "Spider Eggs"
462 1 "Spider Eggs"
// 불꽃주머니 추가
463 1 "Fire Flame Ghost"
// 체험서버용 NPC 추가
//464 1 "Re-Initialization Helper"
// 상용화 7주년 이벤트 NPC 추가
478 1 "Delgado"
// 크리스마스이벤트 NPC 추가(국내 적용 추가)
465 1 "Santa Claus"
466 1 "Cursed Goblin"
467 1 "Snowman"
468 1 "Dasher"
469 1 "Kermit"
470 1 "Little Santa"
471 1 "Cupid"
472 1 "Prancer"
473 1 "Donner"
474 1 "Vixen"
475 1 "Blitzen"
476 1 "Cursed Santa"
477 1 "Transformed Snowman"
// PK필드 몬스터 NPC 추가
479 1 "Doorkeeper Titus"
480 1 "Zombie Fighter"
481 1 "Zombie Fighter"
482 1 "Resurrected Gladiator"
483 1 "Resurrected Gladiator"
484 1 "Ash Slaughterer"
485 1 "Ash Slaughterer"
486 1 "Blood Assassin"
487 1 "Cruel Blood Assassin"
488 1 "Cruel Blood Assassin"
489 1 "Burning Lava Giant"
490 1 "Ruthless Lava Giant"
491 1 "Ruthless Lava Giant"
// 겜블 NPC 추가
492 1 "Moss"
// 황금군단이벤트(일본)
502 1 "Golden Rabbit"
493 1 "Golden Dark Knight"
494 1 "Golden Devil"
495 1 "Golden Stone Golem"
496 1 "Golden Crust"
497 1 "Golden Satyros"
498 1 "Golden Twin Tail"
499 1 "Golden Iron Knight"
500 1 "Golden Napin"
501 1 "Great Golden Dragon"
// 5월 프리미엄 아이템 (팬더변신반지)
503 1 "Transformed Panda"
// 제국 수호군 몬스터 NPC 추가
// 몬스터
504 1 "Gaion Kharein"
// 맵 보스
505 1 "Jerint"
506 1 "Raymond"
507 1 "Erkanne"
508 1 "Destler"
509 1 "Vermont"
510 1 "Kato"
511 1 "Galia"
// 존 보스
512 1 "Quartermaster"
513 1 "Combat Instructor"
514 1 "Knight Commander"
515 1 "Grand Wizard"
516 1 "Master Assassin"
517 1 "Cavalry Captain"
// 일반 몬스터
518 1 "Shield Bearer"
519 1 "Medic"
520 1 "Knights"
521 1 "Bodyguard"
// NPC
522 1 "Jerint the Assistant"
// 오브젝트 NPC
523 1 "Trap"
524 1 "Castle Gate 1" //내려가는 성문(평일)
525 1 "Castle Gate 2" //파괴되는 성문(평일)
526 1 "Stone Statue 1"
527 1 "Castle Gate 3" //내려가는 성문(주말)
528 1 "Castle Gate 4" //파괴되는 성문(주말)
// 도플갱어 몬스터 NPC 추가
// 몬스터
// 보스 몬스터
529 1 "Furious Slaughterer"
530 1 "Slaughterer"
// 미션 몬스터
531 1 "Ice Walker"
// 일반 몬스터
532 1 "Larva"
533 1 "Doppelganger"
534 1 "Doppelganger Elf"
535 1 "Doppelganger Knight"
536 1 "Doppelganger Wizard"
537 1 "Doppelganger Magic Gladiator"
538 1 "Doppelganger Dark Lord"
539 1 "Doppelganger Summoner"
// NPC
540 1 "Lugard"
541 1 "Interim Reward Chest"
542 1 "Final Reward Chest"
// 겐스 NPC
543 1 "Gens Duprian Steward"
544 1 "Gens Vanert Steward"
//로랜시장 NPC 추가 2009.11.24 홍승욱
545 1 "Christine the General Goods Merchant"
546 1 "Jeweler Raul"
547 1 "Market Union Member Julia"
//스켈레톤변신반지용 변신스켈레톤 추가
548 1 "Transformed Skeleton"
549 1 "Bloody Orc"
550 1 "Bloody Death Rider"
551 1 "Bloody Golem"
552 1 "Bloody Witch Queen"
553 1 "Berserker Warrior"
554 1 "Kentauros Warrior"
555 1 "Gigantis Warrior"
556 1 "Genocider Warrior"
557 1 "Sapi Queen"
558 1 "Ice Napin"
559 1 "Shadow Master"
560 1 "Sapi Queen"
561 1 "Medusa"
562 1 "Dark Mammoth"
563 1 "Dark Giant"
564 1 "Dark Coolutin"
565 1 "Dark Iron Knight"
566 1 "Mercenary Guild Manager Tercia"
567 1 "Priestess Veina"
568 1 "Wandering Merchant Zyro"
// 칼루탄 몬스터 추가 2010-06-30 홍승욱
569 1 "Venomous Chain Scorpion"
570 1 "Bone Scorpion"
571 1 "Orcus"
572 1 "Gollock"
573 1 "Crypta"
574 1 "Crypos"
575 1 "Condra"
576 1 "Narcondra"
// 칼루탄 NPC 추가 2010-06-30 홍승욱
577 1 "Leina the General Goods Merchant"
578 1 "Weapons Merchant Bolo"
// 럭키아이템 NPC 추가 2010-09-01 이기수
579 1 "David"
585 1 "Scarecrow"
end

Sería más fácil si usan mi kayito Tools, abren el Monster.txt del muserver y exportan el NPCName(Eng).txt desde ahí directamente. De esa forma les queda sincronizado con los monsters del server :)
En kayito Tools tienen que ir a la opción MONSTER.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: melo920 on January 18, 2022, 06:54:47 PM

Sería más fácil si usan mi kayito Tools, abren el Monster.txt del muserver y exportan el NPCName(Eng).txt desde ahí directamente. De esa forma les queda sincronizado con los monsters del server :)
En kayito Tools tienen que ir a la opción MONSTER.

de hecho es muy util esa herramienta xD pero en mi caso la idea es upgradear al S6 epi 3, puedes hacer la exportación del archivo del S4 al S6 pero igual toca modificar la source para que no salga corrupto, este ejemplo de el NPCname.txt no da problemas por que no chequea el buffer, pero para otros caso no es necesario usar la herramienta

si quisiera usarla para el item.bmd  no serviría sin modificar la source

5.2
#define MAX_CLASS         6

S6 epi 3
#define MAX_CLASS         7



Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on January 18, 2022, 07:09:00 PM

Sería más fácil si usan mi kayito Tools, abren el Monster.txt del muserver y exportan el NPCName(Eng).txt desde ahí directamente. De esa forma les queda sincronizado con los monsters del server :)
En kayito Tools tienen que ir a la opción MONSTER.

de hecho es muy util esa herramienta xD pero en mi caso la idea es upgradear al S6 epi 3, puedes hacer la exportación del archivo del S4 al S6 pero igual toca modificar la source para que no salga corrupto, este ejemplo de el NPCname.txt no da problemas por que no chequea el buffer, pero para otros caso no es necesario usar la herramienta

si quisiera usarla para el item.bmd  no serviría sin modificar la source

5.2
#define MAX_CLASS         6

S6 epi 3
#define MAX_CLASS         7

Yo lo decía simplemente para que puedan sincronizar el Monster.txt de su lado servidor con el NPCName(Eng).txt del lado cliente, ya que el NPCName.txt es lo mismo
que el Monster.txt pero sin todas las columnas de los stats de los monsters.

El resto de los archivos ya es otro tema, mi editor también trae la opción de Season 6 por lo que si quieren upgradear a Season 6, tienen que modificar también las lecturas de los archivos bmd y usar los bmd con el formato del Season 6 (Yo normalmente dejo las struct en el source del editor de cada archivo en particular, así que si abrís el source de mi editor con visual studio y entrás al Manager del archivo que quieras, posiblemente te encuentres con la struct que correspondería a esa versión)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: melo920 on January 19, 2022, 05:38:39 PM
antes de hacer custom o agregar bobadas mejor es enfocarse a reparar los errores asi sean pequeños

FixMasterLevel

(http://i.imgur.com/Z9MYwwl.png)


(https://i.ibb.co/5LYYMWG/Screen-01-19-17-28-0000.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xXSiniestroXx on January 19, 2022, 09:01:19 PM
antes de hacer custom o agregar bobadas mejor es enfocarse a reparar los errores asi sean pequeños

FixMasterLevel
 

(https://i.ibb.co/5LYYMWG/Screen-01-19-17-28-0000.jpg)

Claro, si quieren rescatar estos archivos para que puedan ser usados en un servidor decente deberán primero antes que todo resolver todos los errores posibles, ya después cada quién podrá armar su repack con todos los custom que quieran.

Estos files lo veo más season 4 que season 5, me gusta la versión y con un main "limpio" y con toda su fuente creo que el provecho que se le puede sacar es bastante. 
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on January 20, 2022, 01:47:37 PM
antes de hacer custom o agregar bobadas mejor es enfocarse a reparar los errores asi sean pequeños

FixMasterLevel
 

(https://i.ibb.co/5LYYMWG/Screen-01-19-17-28-0000.jpg)

Claro, si quieren rescatar estos archivos para que puedan ser usados en un servidor decente deberán primero antes que todo resolver todos los errores posibles, ya después cada quién podrá armar su repack con todos los custom que quieran.

Estos files lo veo más season 4 que season 5, me gusta la versión y con un main "limpio" y con toda su fuente creo que el provecho que se le puede sacar es bastante.
lo puedes dejar como una season 4.6 y queda chulo
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on January 23, 2022, 01:55:22 PM
@Zabino borrar este comentario.. gracias
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Neves on February 01, 2022, 07:03:07 PM
Está faltando a source do GetMainInfo  drogado.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on February 01, 2022, 07:22:28 PM
Está faltando a source do GetMainInfo  drogado.

al parecer alguien no entendio que es esto. este es el main.exe original de webzen no usa ningun getmain de xteam. no tienes que cambiar nada ya que lo puedes hacer desde la source directamente, solo busca el string de la ip y cambiala por la tuya

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Neves on February 01, 2022, 07:31:31 PM
Está faltando a source do GetMainInfo  drogado.

al parecer alguien no entendio que es esto. este es el main.exe original de webzen no usa ningun getmain de xteam. no tienes que cambiar nada ya que lo puedes hacer desde la source directamente, solo busca el string de la ip y cambiala por la tuya


Vlw irmão.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on February 01, 2022, 07:59:36 PM
Está faltando a source do GetMainInfo  drogado.

al parecer alguien no entendio que es esto. este es el main.exe original de webzen no usa ningun getmain de xteam. no tienes que cambiar nada ya que lo puedes hacer desde la source directamente, solo busca el string de la ip y cambiala por la tuya
AJJAJAJAJA LA GENTE no lee
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 6atters on February 02, 2022, 02:27:12 PM
please client for files))
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Neves on February 02, 2022, 05:37:48 PM
Galera, estou tendo dois problemas ao compilar o GameServer, primeiro só aparece a Season 5 para compilar, Release_EX502, segundo problema está dando erro ao compilar dando alguns erros e falhando a compilação, alguém pode me ajudar? Vou postar alguns prints.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on February 02, 2022, 05:42:05 PM
please client for files))

siguen sin leer por que tema dice clarmente:

Code: [Select]
Incluso:
- Souce MuServer Update 15 louis emulator.
- Source Main 5.2 limpa.
- Muserver/cliente compátiveis.

solo es buscar Main_Source.rar/bin y esta el cliente

@Neves se compila en visual studio 2019 teniendo algunas lib del 2015
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Neves on February 02, 2022, 05:43:33 PM
Nao achei opção para colocar prints aqui nesse fórum   ^^
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Neves on February 02, 2022, 05:58:17 PM
please client for files))

siguen sin leer por que tema dice clarmente:

Code: [Select]
Incluso:
- Souce MuServer Update 15 louis emulator.
- Source Main 5.2 limpa.
- Muserver/cliente compátiveis.

solo es buscar Main_Source.rar/bin y esta el cliente

@Neves se compila en visual studio 2019 teniendo algunas lib del 2015
Estou usando o vs 2019 Community e não está indo, será que é porque é a versão community ou isso não tem nada haver?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: massironimatias on February 03, 2022, 10:00:56 AM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: wahaha on February 13, 2022, 12:35:33 AM
Con Respuesta-Rapida Puede escribir una publicacion al ver un tema sin cargar una nueva pagina. Todavia puedes usar el codigo del tablon de anuncios y los smileys como lo harias en un post normal.

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on February 13, 2022, 11:00:18 PM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)

hola

busca por CameraViewFar

(https://i.imgur.com/WIQt0SZ.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: melo920 on February 15, 2022, 01:13:38 PM
Está faltando a source do GetMainInfo  drogado.

al parecer alguien no entendio que es esto. este es el main.exe original de webzen no usa ningun getmain de xteam. no tienes que cambiar nada ya que lo puedes hacer desde la source directamente, solo busca el string de la ip y cambiala por la tuya

no necesariamente puedes armar el GetMain de muemu y manajer las cosas con mas facilidad, tampoco es complicado hacerlo, querer es poder xD

(https://i.postimg.cc/BnTNPgF3/Sin-t-tulo.png)

(https://i.postimg.cc/Nf3Bjg6V/Screen-01-25-19-52-0000.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 03, 2022, 07:45:52 PM
Correção animações


(https://i.ibb.co/NV1fcN3/Screen-03-03-21-10-0002.jpg)
(https://i.ibb.co/cNYvC9y/Screen-03-03-21-10-0000.jpg)
(https://i.ibb.co/SQMwnwj/Screen-03-03-21-10-0001.jpg)


(http://i.imgur.com/Z9MYwwl.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Almdar on March 04, 2022, 12:44:15 AM
Fix para resoluciones mas grandes!


HD: 1280x720

(https://i.ibb.co/bWtX9g7/Screen-03-04-02-28-0000.jpg) (https://ibb.co/Rv8cwp7)

Full HD: 1920x1080

(https://i.ibb.co/88s4rPh/Screen-03-04-02-29-0000.jpg) (https://ibb.co/VB9pgMK)

(http://i.imgur.com/Z9MYwwl.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 04, 2022, 05:20:08 AM
Correção NPC Nome
Correção Disconnect Shadow Phantom Soldier

(https://i.ibb.co/Tms6JQT/Screen-03-04-07-12-0002.jpg)
(https://i.ibb.co/b3RbzWy/Screen-03-04-07-12-0003.jpg)
(https://i.ibb.co/TbYvcvT/Screen-03-04-07-24-0008.jpg)


(http://i.imgur.com/Z9MYwwl.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 6atters on March 04, 2022, 03:07:07 PM
Correção NPC Nome
Correção Disconnect Shadow Phantom Soldier

(https://i.ibb.co/Tms6JQT/Screen-03-04-07-12-0002.jpg)
(https://i.ibb.co/b3RbzWy/Screen-03-04-07-12-0003.jpg)
(https://i.ibb.co/TbYvcvT/Screen-03-04-07-24-0008.jpg)


 
link please server+client
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 04, 2022, 08:34:31 PM
Client+Server+Sources
(http://i.imgur.com/Z9MYwwl.png)

Citar
password unzip: tuservermu.com.ve
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Almdar on March 05, 2022, 01:11:28 AM
Fix ítems en el inventario


(https://i.ibb.co/dLcy2q8/Screen-03-05-03-05-0001.jpg) (https://ibb.co/jW5FM2n)


(http://i.imgur.com/Z9MYwwl.png)


Éxitos
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on March 05, 2022, 08:59:35 PM
//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: mantios on March 06, 2022, 02:15:11 PM
(https://postimg.cc/kBDvvVt4)
https://postimg.cc/kBDvvVt4
Using  repair hammer give errror
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: stereo2010 on March 07, 2022, 04:39:31 PM
where's the client?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Almdar on March 07, 2022, 05:14:25 PM
where's the client?

En la carpeta bin de la source
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on March 08, 2022, 01:58:24 AM
(https://i.postimg.cc/Xrt3nf59/20220308145649.png) (https://postimg.cc/Xrt3nf59)


modify UI Main

void BeginOpengl(int x,int y,int Width,int Height )

Height = 480;

(https://i.postimg.cc/xXKLBS8d/20220308170826.png) (https://postimg.cc/xXKLBS8d)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 6atters on March 09, 2022, 01:24:27 AM
Client+Server+Sources
 

Citar
password unzip: tuservermu.com.ve

GetMain??ip config client??
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: backerchen on March 09, 2022, 01:34:52 AM
//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)

BITMAP_MONSTER_HPBAR file ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Alinor on March 09, 2022, 01:40:35 AM
Client+Server+Sources
 

Citar
password unzip: tuservermu.com.ve

GetMain??ip config client??

ip config in source main ZzzScene.cpp
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on May 25, 2022, 01:54:41 AM
@ZabiinoOo  borrar mi post. gracias
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on May 25, 2022, 01:48:41 PM
alguien le sucede que al logearse si la cuenta es:   test  -  test  ,  poniendo de contraseña ( testttt ) o ( testuiii ) lo que sea ingresa igual y no indica " contraseña incorrecta "

si mal no estoy tienes que desactivar el modo dev
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on May 25, 2022, 02:46:50 PM
alguien le sucede que al logearse si la cuenta es:   test  -  test  ,  poniendo de contraseña ( testttt ) o ( testuiii ) lo que sea ingresa igual y no indica " contraseña incorrecta "

si mal no estoy tienes que desactivar el modo dev

@ZabiinoOo borrar mi post gracias
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: mkslep on May 28, 2022, 08:23:42 AM
Como faço para ler outro cliente exemplo um 1.0 ou 2.0 alguém pra dá um help
PS : só mudar o cliente manter o muserver e o main
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: iramondias on July 12, 2022, 12:22:32 PM
Varios bugs quanto ao cavalo de dl após equipado, se passar o mouse da crash, ao corrigir, não desequipa e se permanecer muito tempo com o mouse, ainda da crash.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on July 20, 2022, 03:07:09 PM
Estava tentando otimizar o cliente e conseguir fazer algumas modificações, irei postar em breve os arquivos "faltam revisão"

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.
-Atualização do OpenGL.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Marcela on July 20, 2022, 03:19:08 PM
Estava tentando otimizar o cliente e conseguir fazer algumas modificações, irei postar em breve os arquivos "faltam revisão"

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.
-Atualização do OpenGL.

 aplausos
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Rindy on August 01, 2022, 10:56:27 PM
how to fix that
https://postimg.cc/vxmLCydP
(https://postimg.cc/vxmLCydP)
(https://i.postimg.cc/wMXfyx4d/error-include.png) (https://postimg.cc/vxmLCydP)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: leehenry1208 on August 22, 2022, 06:25:59 AM
Updated.

removed unnecessary files and added backup of compatible database.


can you share your boost_1_75_0 folder ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on August 22, 2022, 01:14:54 PM
Updated.

removed unnecessary files and added backup of compatible database.


can you share your boost_1_75_0 folder ?

Link library boost:  https://drive.google.com/file/d/1oXFo2TlWdor3xt60AsqkVvxwr1oLxyom/view
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on September 15, 2022, 12:41:31 PM
Any update ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on September 16, 2022, 06:32:55 AM
Has someone already separated the chat from the system messages?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on September 16, 2022, 12:41:39 PM
Has someone already separated the chat from the system messages?




(https://i.postimg.cc/N2mHZ2YF/Screen-09-17-00-51-0000.jpg) (https://postimg.cc/N2mHZ2YF)
Code: [Select]
if (MsgType != TYPE_SYSTEM_MESSAGE)
{
CMessageText* pAllMsgText = new CMessageText;
if (!pAllMsgText->Create(strID, strText1, MsgType))
delete pAllMsgText;
else
{
m_vecAllMsgs.push_back(pAllMsgText);
}
}


if (MsgType == TYPE_SYSTEM_MESSAGE)
{
nScrollLinesNew++;
}else
if( (GetCurrentMsgType() == TYPE_ALL_MESSAGE || GetCurrentMsgType() == MsgType) && MsgType != TYPE_SYSTEM_MESSAGE)
{
nScrollLines++;
}

if (MsgType == TYPE_SYSTEM_MESSAGE)
{
pvecMsgs = GetMsgs(MsgType);
if (pvecMsgs == NULL)
{
assert(!"Error chat 4");
return;
}
if (nScrollLinesNew > 0 && ((pvecMsgs->size() - (m_iCurrentRenderEndLineMsg + 1) - nScrollLinesNew) < 3))
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;
else if (!m_bShowFrame)
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;


}

bool SEASON3B::CNewUIChatLogWindow::RenderMessagesNew()
{
float fRenderPosX = m_WndPos.x, fRenderPosY = m_WndPos.y - m_WndSize.cy + SCROLL_TOP_BOTTOM_PART_HEIGHT;

type_vector_msgs* pvecMsgs = GetMsgs(TYPE_SYSTEM_MESSAGE);
if (pvecMsgs == NULL)
{
assert(!"empty chat!");
return false;
}
int iRenderStartLine = 0;
if (GetCurrentRenderEndLineMsg() >= m_nShowingLinesMsg)
{
iRenderStartLine = GetCurrentRenderEndLineMsg() - m_nShowingLinesMsg + 1;
}
else
{
fRenderPosY = fRenderPosY + FONT_LEADING + (SCROLL_MIDDLE_PART_HEIGHT * (m_nShowingLinesMsg - GetCurrentRenderEndLineMsg() - 1));
}
fRenderPosY -= 270;
BYTE byAlpha = 150;
if (m_bShowFrame) byAlpha = 100;
EnableAlphaTest();
for (int i = iRenderStartLine, s = 0; i <= GetCurrentRenderEndLineMsg(); i++, s++)
{
if (i < 0 && i >= (int)pvecMsgs->size()) break;

bool bRenderMessage = true;
g_pRenderText->SetFont(g_hFont);
g_pRenderText->SetBgColor(0, 0, 0, 150);
g_pRenderText->SetTextColor(100, 150, 255, 255);
CMessageText* pMsgText = (*pvecMsgs)[i];
if (bRenderMessage && !pMsgText->GetText().empty())
{
POINT ptRenderPos = { (long)fRenderPosX + (long)WND_LEFT_RIGHT_EDGE, (long)fRenderPosY + (long)FONT_LEADING + ((long)SCROLL_MIDDLE_PART_HEIGHT * (long)s) };


if (!pMsgText->GetID().empty())
{
if (m_bPointedMessage == true && m_iPointedMessageIndex == i)
{
g_pRenderText->SetBgColor(30, 30, 30, 180);
g_pRenderText->SetTextColor(255, 128, 255, 255);
}
std::string strIDUTF8 = "";
g_pMultiLanguage->ConvertANSIToUTF8OrViceVersa(strIDUTF8, (pMsgText->GetID()).c_str());
type_string strLine = strIDUTF8 + " : " + pMsgText->GetText();
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, strLine.c_str());
}
else
{
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, pMsgText->GetText().c_str());
}
}
}
DisableAlphaBlend();

return true;
}



Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on September 16, 2022, 05:36:31 PM
@muccone


thanks, testing.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: assrub on September 21, 2022, 08:49:24 PM
Hola chicos, alguno me da una mano con este error por favor?
tengo entendido que tengo que vincular <boost_path>\stage\lib  pero descargue el boost lo instale y agregue los path y sigue igual.

desde ya, gracias!

(https://i.ibb.co/5BvcmHF/listboost.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on September 21, 2022, 10:23:49 PM
anyone have season 6 masterskill tree for client? I will buy.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on September 23, 2022, 04:23:44 PM
Hello, anyone added Ragefighter, and standarts items for him, I have one problem, maybe anyone know how to fix and help me.

https://youtu.be/aTbIp3l_JJ4
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on September 23, 2022, 06:24:45 PM
Hello, anyone added Ragefighter, and standarts items for him, I have one problem, maybe anyone know how to fix and help me.

https://youtu.be/aTbIp3l_JJ4

the RF this version is not complete.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on September 24, 2022, 05:45:44 PM
(https://i.ibb.co/bXMGKrT/13213123123.png)

alguien que me ayude con esto al activar el SCALEFORM

ya puse las lib las SDK

hay cosas que no entiendo del visual
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on September 24, 2022, 08:19:33 PM
Hola chicos, alguno me da una mano con este error por favor?
tengo entendido que tengo que vincular <boost_path>\stage\lib  pero descargue el boost lo instale y agregue los path y sigue igual.

desde ya, gracias!

(https://i.ibb.co/5BvcmHF/listboost.png)

You need to copy the file "libboost_filesystem-vc142-mt-x32-1_75.lib" located in "C:\Program Files\Boost\stage\lib" to a new local folder and change the file name to: "libboost_filesystem-vc142 -mt-s-x32-1_75.lib" copy and paste this file into the folder "C:\Program Files\Boost\stage\lib".
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Alexander on September 25, 2022, 10:23:26 AM
Hello, anyone added Ragefighter, and standarts items for him, I have one problem, maybe anyone know how to fix and help me.

https://youtu.be/aTbIp3l_JJ4
Serias tan amable de pasarme ese Word Lorencia?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on September 25, 2022, 03:20:21 PM
UPDATE:
Source Main 5.2 (VS2022) + NvAPI + Intel Support

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.

(http://i.imgur.com/Z9MYwwl.png)

- Suporte para Nvidia/AMD/Intel.

Modificados:
WinMain.cpp

Adicionados:
nvapi.h
NvApiDriverSettings.h

- Suporte para processadores Intel mais recentes e melhorias no suporte de sistema operacional.
Modificados:
sysinfo.cpp
sysinfo.h

Adicionados:
intrinsics.h
platform.h
constants.h









Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on September 25, 2022, 03:46:06 PM
Estou colocando DirectX irei postar em breve
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: pulsefire on October 01, 2022, 12:41:55 PM
UPDATE:
Source Main 5.2 (VS2022) + NvAPI + Intel Support

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.

 

- Suporte para Nvidia/AMD/Intel.

Modificados:
WinMain.cpp

Adicionados:
nvapi.h
NvApiDriverSettings.h

- Suporte para processadores Intel mais recentes e melhorias no suporte de sistema operacional.
Modificados:
sysinfo.cpp
sysinfo.h

Adicionados:
intrinsics.h
platform.h
constants.h
poderia compartilhar seu cliente de teste?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Nakamura on October 04, 2022, 10:15:31 AM
How to fix?

tooltip disappeared in inventory

(https://i.imgur.com/9zB9zSI.jpeg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on October 04, 2022, 10:40:41 AM
How to fix?

tooltip disappeared in inventory

(https://i.imgur.com/9zB9zSI.jpeg)

Adicionei a correção á source feita por @Almdar estou focado em otimizar o cliente, más irei fazer correções futuramente e adicionar custom com #define como iventário visual etc... quero pegar tudo que já foi lançado de mu até agora e adicionar a essa source, más isso leva tempo e estou fazendo tudo sozinho....


Correção dos itens por @Almdar

Buscar en _struct.h a ITEM_ATTRIBUTE

remplazan lo que contiene la estructura por esto

Code: [Select]
        char Name[30];
bool TwoHand;
WORD Level;
BYTE m_byItemSlot;
#ifdef PBG_ADD_NEWCHAR_MONK_SKILL
WORD m_wSkillIndex;
#else //PBG_ADD_NEWCHAR_MONK_SKILL
BYTE m_bySkillIndex;
#endif //PBG_ADD_NEWCHAR_MONK_SKILL
BYTE Width;
BYTE Height;
BYTE DamageMin;
BYTE DamageMax;
BYTE SuccessfulBlocking;
BYTE Defense;
BYTE MagicDefense;
BYTE WeaponSpeed;
BYTE WalkSpeed;
BYTE Durability;
BYTE MagicDur;
BYTE MagicPower;
WORD RequireStrength;
WORD RequireDexterity;
WORD RequireEnergy;
WORD  RequireVitality;
WORD RequireCharisma;
WORD RequireLevel;
BYTE Value;
int  iZen;
BYTE  AttType;
BYTE RequireClass[MAX_CLASS];
BYTE Resistance[MAX_RESISTANCE];

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Nakamura on October 04, 2022, 10:42:38 AM
How to fix?

tooltip disappeared in inventory

(https://i.imgur.com/9zB9zSI.jpeg)

Adicionei a correção á source feita por @Almdar estou focado em otimizar o cliente, más irei fazer correções futuramente e adicionar custom com #define como iventário visual etc... quero pegar tudo que já foi lançado de mu até agora e adicionar a essa source, más isso leva tempo e estou fazendo tudo sozinho....


Correção dos itens por @Almdar

Buscar en _struct.h a ITEM_ATTRIBUTE

remplazan lo que contiene la estructura por esto

Code: [Select]
        char Name[30];
bool TwoHand;
WORD Level;
BYTE m_byItemSlot;
#ifdef PBG_ADD_NEWCHAR_MONK_SKILL
WORD m_wSkillIndex;
#else //PBG_ADD_NEWCHAR_MONK_SKILL
BYTE m_bySkillIndex;
#endif //PBG_ADD_NEWCHAR_MONK_SKILL
BYTE Width;
BYTE Height;
BYTE DamageMin;
BYTE DamageMax;
BYTE SuccessfulBlocking;
BYTE Defense;
BYTE MagicDefense;
BYTE WeaponSpeed;
BYTE WalkSpeed;
BYTE Durability;
BYTE MagicDur;
BYTE MagicPower;
WORD RequireStrength;
WORD RequireDexterity;
WORD RequireEnergy;
WORD  RequireVitality;
WORD RequireCharisma;
WORD RequireLevel;
BYTE Value;
int  iZen;
BYTE  AttType;
BYTE RequireClass[MAX_CLASS];
BYTE Resistance[MAX_RESISTANCE];

Gratidão meu querido, forte abraço!
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: assrub on October 08, 2022, 10:46:09 PM
Help T_T
 ... Joinserver "Did you forget to add #include "stdafxh" to your source ?"
(https://i.ibb.co/ncYtrDG/Captura-de-pantalla-2022-10-08-234155.png) (https://ibb.co/Z8F7dhj)



SOLVED  lol

Turn off pre compiled headers:   Project Properties -> C++ -> Precompiled Headers

(https://i.ibb.co/CvLsqR1/2.png) (https://ibb.co/zbdH1qn)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: assrub on October 10, 2022, 09:48:51 AM
Si podes, pasame la herramienta que no la encuentro, gracias!

Gracias por el aporte @louis

Un ejemplo de ello es el txt que lleva los nombres de los npc que se encuentra en la ruta \Data\Local\Eng y lleva por nombre "NpcName_eng" con esto se arregla el problema de que al hablar con la NPC que da buff te desconecta o con la que esta en el bar de lorencia.


te faltaria del 566 hasta el 585

Para cliente S6 Epi3

Code: [Select]
// MAX : 512			
//블러드캐슬
//블러드캐슬1
84 1 "Chief Skeleton Warrior"
85 1 "Chief Skeleton Archer"
86 1 "Dark Skull Soldier"
87 1 "Giant Ogre"
88 1 "Red Skeleton Knight"
89 1 "Magic Skeleton"
//블러드캐슬2
90 1 "Chief Skeleton Warrior"
91 1 "Chief Skeleton Archer"
92 1 "Dark Skull Soldier"
93 1 "Giant Ogre"
94 1 "Red Skeleton Knight"
95 1 "Magic Skeleton"
//블러드캐슬3
96 1 "Chief Skeleton Warrior"
97 1 "Chief Skeleton Archer"
98 1 "Dark Skull Soldier"
99 1 "Giant Ogre"
111 1 "Red Skeleton Knight"
112 1 "Magic Skeleton"
//블러드캐슬4
113 1 "Chief Skeleton Warrior"
114 1 "Chief Skeleton Archer"
115 1 "Dark Skull Soldier"
116 1 "Giant Ogre"
117 1 "Red Skeleton Knight"
118 1 "Magic Skeleton"
//블러드캐슬5
119 1 "Chief Skeleton Warrior"
120 1 "Chief Skeleton Archer"
121 1 "Dark Skull Soldier"
122 1 "Giant Ogre"
123 1 "Red Skeleton Knight"
124 1 "Magic Skeleton"
//블러드캐슬6
125 1 "Chief Skeleton Warrior"
126 1 "Chief Skeleton Archer"
127 1 "Dark Skull Soldier"
128 1 "Giant Ogre"
129 1 "Red Skeleton Knight"
130 1 "Magic Skeleton"
131 1 "Castle Gate"
132 1 "Statue of Saint"
133 1 "Statue of Saint"
134 1 "Statue of Saint"

// 반지의 전쟁
135 1 "White wizard"
136 1 "Destructive ogre soldier"
137 1 "Destructive ogre archer"

//블러드캐슬7
138 1 "Chief Skeleton Warrior"
139 1 "Chief Skeleton Archer"
140 1 "Dark Skull Soldier"
141 1 "Giant Ogre"
142 1 "Red Skeleton Knight"
143 1 "Magic Skeleton"

//칼리마_오후 7:05 2004-08-25
// 1 칼리마
147 1 "Aegis"
148 1 "Rogue Centurion"
146 1 "Blood Soldier"
144 1 "Death Angel"
149 1 "Necron"
145 1 "Death Centurion"
160 1 "Schriker"
161 1 "Illusion of Kundun"
// 2 칼리마
177 1 "Aegis"
178 1 "Rogue Centurion"
176 1 "Blood Soldier"
174 1 "Death Angel"
179 1 "Necron"
175 1 "Death Centurion"
180 1 "Schriker"
181 1 "Illusion of Kundun"
// 3 칼리마
185 1 "Aegis"
186 1 "Rogue Centurion"
184 1 "Blood Soldier"
182 1 "Death Angel"
187 1 "Necron"
183 1 "Death Centurion"
188 1 "Schriker"
189 1 "Illusion of Kundun"
// 4 칼리마
193 1 "Aegis"
194 1 "Rogue Centurion"
192 1 "Blood Soldier"
190 1 "Death Angel"
195 1 "Necron"
191 1 "Death Centurion"
196 1 "Schriker"
197 1 "Illusion of Kundun"
 
//카오스캐슬 몬스터.
162 1 "Chaos Castle 1"
163 1 "Chaos Castle 2"
164 1 "Chaos Castle 3"
165 1 "Chaos Castle 4"
166 1 "Chaos Castle 5"
167 1 "Chaos Castle 6"
168 1 "Chaos Castle 7"
169 1 "Chaos Castle 8"
170 1 "Chaos Castle 9"
171 1 "Chaos Castle 10"
172 1 "Chaos Castle 11"
173 1 "Chaos Castle 12"

83 1 "Golden Wheel"
82 1 "Golden Tantalos"
81 1 "Golden Vepar"
80 1 "Golden Lizard King"
79 1 "Golden Derkon"
78 1 "Golden Goblin"

77 1 "Phoenix of Darkness"
76 1 "Phoenix Darkness shield"
75 1 "Great Drakan"
74 1 "Alpha Crust"
73 1 "Drakan"
72 1 "Phantom Knight"
71 1 "Mega Crust"
70 1 "Queen Rainier"
69 1 "Alquamos"
68 1 "Molt"

57 1 "Iron Wheel"
58 1 "Tantalos"
59 1 "Zaikan"
60 1 "Bloody wolf"
61 1 "Beam Knight"
62 1 "Mutant"
63 1 "Death Beam Knight"

64 1 "Ogre archer"
65 1 "Elite Ogre"
66 1 "Cursed king"
67 1 "Metal Balrog"

36 1 "Shadow"
39 1 "Poison Shadow"
34 1 "Cursed Wizard"
41 1 "Death Cow"
37 1 "Devil"
40 1 "Death Knight"
35 1 "Death Gorgon"
38 1 "Balrog"

3 1 "Spider"
26 1 "Goblin"
2 1 "Budge Dragon"
27 1 "Chain Scorpion"
0 1 "Bull Fighter"
33 1 "Elite Goblin"
1 1 "Hound"
28 1 "Beetle Monster"
4 1 "Elite Bull Fighter"
29 1 "Hunter"
6 1 "LIch"
30 1 "Forest Monster"
31 1 "Agon"
7 1 "Giant"
32 1 "Stone Golem"
14 1 "Skeleton"
24 1 "Worm"
22 1 "Ice Monster"
23 1 "Hommerd"
12 1 "Larva"
21 1 "Assassin"
17 1 "Cyclops"
19 1 "Yeti"
11 1 "Ghost"
15 1 "Skeleton Archer"
20 1 "Elite Yeti"
5 1 "Hell Hound"
13 1 "Hell Spider"
16 1 "Chief Skeleton Warrior"
9 1 "Thunder Lich"
8 1 "Poison Bull Fighter"
10 1 "Dark Knight"
25 1 "Ice Queen"
18 1 "Gorgon"

45 1 "Bahamut"
46 1 "Vepar"
47 1 "Valkyrie"
48 1 "Lizard King"
49 1 "Hydra"
50 1 "Sea Worm"
51 1 "Great Bahamut"
52 1 "Silver Valkyrie"

43 1 "Golden Budge Dragon"
44 1 "Dragon"
53 1 "Golden Titan"
54 1 "Golden Soldier"
55 1 "Death King"
56 1 "Death Bone"

150 1 "Bali"
151 1 "Soldier"
152 1 "Magic stone of %s "
153 1 "Magic stone of %s "
154 1 "Magic stone of %s "
155 1 "Magic stone of %s "
156 1 "Magic stone of %s "
157 1 "Magic stone of %s "
158 1 "Magic stone of %s "
//158 1 "Shadow Knight" '- 쉐도우나이트라는 몹이 없으므로

// 함정 ( 100 ~ 110 )
100 1 "Lance"
101 1 "Iron Stick"
102 1 "Fire"
103 1 "Meteorite"

// 공성트랩.           
104 1 "Trap"
105 1 "Canon Trap"
106 1 "Laser Trap"
200 1 "Soccer Ball"

// 크라이울프 레이드 MVP (2005.9.23 이혁재 추가)
204 1 "Wolf Status"
205 1 "Wolf Altar1"
206 1 "Wolf Altar2"
207 1 "Wolf Altar3"
208 1 "Wolf Altar4"
209 1 "Wolf Altar5"
215 1 "Shield"
// 공성
216 1 "Crown"
217 1 "Crown Switch2"
218 1 "Crown Switch1"
219 1 "Castle Gate Switch"
220 1 "Gatekeeper"
221 1 "Slingshot attack"
222 1 "Slingshot defense"
//NPC
223 1 "Senior"
224 1 "Guardsman"
226 1 "Trainer"
//227 1 "McDonalds"
//228 1 "Popeyes"
229 1 "Marlon"
230 1 "Wandering Merchant Alex"
231 1 "Thompson Kenel"
232 1 "Archangel"
233 1 "Messenger of Archangel"
234 1 "Pet Trainer"
235 1 "Sebina the Priest"
236 1 "Golden Archer"
237 1 "Charon"
238 1 "Chaos Goblin"
239 1 "Arena Guard"
240 1 "Safety Guardian"
241 1 "Royal Guard Captain Lorence"
242 1 "Elf Lala"
243 1 "Eo the Craftsman"
244 1 "Caren the Barmaid"
245 1 "Wizard Izabel"
246 1 "Weapons Merchant Zienna"
247 1 "Guard"
248 1 "Wandering Merchant Martin"
249 1 "Guard"
250 1 "Wandering Merchant"
251 1 "Hanzo the Blacksmith"
252 1 ""
253 1 "Potion Girl Amy"
254 1 "Pasi the Mage"
255 1 "Lumen the Barmaid"
256 1 "Lahap"
257 1 "Shadow Phantom Soldier"

//칼리마 몬스터
// 5 칼리마
263 1 "Aegis"
264 1 "Rogue Centurion"
262 1 "Blood Soldier"
260 1 "Death Angel"
265 1 "Necron"
261 1 "Death Centurion"
266 1 "Schriker"
267 1 "Illusion of Kundun"
// 6 칼리마
271 1 "Aegis"
272 1 "Rogue Centurion"
270 1 "Blood Soldier"
268 1 "Death Angel"
273 1 "Necron"
269 1 "Death Centurion"
274 1 "Schriker"
275 1 "Kundun"

// 공성전 몬스터.
277 1 "Castle Gate"
278 1 "Life Stone"
283 1 "Guardian Statue"
285 1 "Guardian"
286 1 "Archer"
287 1 "Spearman"
288 1 "Canon Tower"

//시련의 땅
290 1 "Lizard Warrior"
291 1 "Fire Golem"
292 1 "Queen Bee"
293 1 "Poison Golem"
294 1 "Ax Warrior"
295 1 "Erohim"
296 1 "Monster7"

// 로랜협곡이벤트 몬스터.
300 1 "Hero Mutant"
301 1 "Omega Wing"
302 1 "Axl Hero"
303 1 "Gigas Golem"


//아이다. 크라이울프. 잃어버린 칼리마 추가 작업_기획/정동일 (오후 3:18 2005-07-26)

//아이다 몬스터
308 1 "Death Tree"
307 1 "Forest Orc"
306 1 "Death Rider"
305 1 "Blue Golem"
304 1 "Witch Queen"
309 1 "Hell Maine"

//크라이울프
310 1 "Hammer Scout"
311 1 "Lance Scout"
312 1 "Bow Scout"
313 1 "Werewolf"
314 1 "Scout(Hero)"
315 1 "Werewolf(Hero)"
316 1 "Balram"
317 1 "Soram"

// 크라이울프 MVP 몬스터 - 추가 2005.11.23 (이혁재)
340 1 "Dark Elf"
341 1 "Soram"
344 1 "Balram"
345 1 "Death spirit"
348 1 "Tanker"
349 1 "Balgass" //MVP 보스

//잃어버린 칼리마
331 1 "Aegis"
332 1 "Rogue Centurion"
333 1 "Blood Soldier"
334 1 "Death Angel"
335 1 "Necron"
336 1 "Death Centurion"
337 1 "Schriker"
338 1 "Illusion of Kundun" //제 6칼리마 위치

// 크라이울프 요새 맵 상인 _ 8월 8일 ( 오승언 ) : 크라이울프 요새 조련사 및 세르비스 몹 번호 수정
// 아래 2 NPC는 추후 추가
// 팻 시스템 이후 등록
//344 1 "Summoner"
// 노리아의 조합 고블린과 동일. 조합 수정한 이후 배치 ( 현시점에서는 추가 금지 )
//345 1 "Chaos Goblin"

//이벤트 전용 NPC 추가 - 2006.1.23 (이민정)
258 1 "Luke the Helper"
//2006.4.17 추가 (이민정)
259 1 "Oracle Layla"

//칸투르 몬스터 추가 - 2006.5.16 (김보경)
350 1 "Berserker"
351 1 "Splinter Wolf"
352 1 "Iron Rider"
353 1 "Satyros"
354 1 "Blade Hunter"
355 1 "Kentauros"
356 1 "Gigantis"
357 1 "Genocider"
358 1 "Persona"
359 1 "Twin Tale"
360 1 "Dreadfear"
361 1 "Nightmare"
362 1 "Maya Hand"
363 1 "Maya Hand"
364 1 "Maya"

//칸투르 npc
367 1 "Gateway Machine"
368 1 "Elpis"
//조화의 보석 관련 npc
369 1 "Osbourne"
370 1 "Jerridon"

//화이트엔젤 이벤트 아이템 지급 NPC 추가 - 2006.8.23 이민정
371 1 "Leo the Helper"

//엘리트해골전사변신반지 NPC 추가 - 2006.9.5 이민정
372 1 "Elite Skull Soldier"

//할로윈이벤트 NPC 추가 - 2006.9.12 이민정
373 1 "Jack Olantern"

//크리스마스 변신반지용 NPC 추가 - 2006.11.30 이민정
374 1 "Santa"

// 카오스카드 담당
375 1 "Chaos Card Master"

// 공성전 신규 물약 NPC - 2007.1.22 김보경
376 1 "Pamela the Supplier"
377 1 "Angela the Supplier"

// 설날 복주머니 이름
365 1 "Pouch of Blessing"
378 1 "GameMaster"
379 1 "Natasha the Firecracker Merchant"

//신규 이벤트맵
380 1 "Stone Statue"
381 1 "MU Allies General"
382 1 "Illusion Sorcerer Elder"
383 1 "Alliance Sacred Item Storage"
384 1 "Illusion Castle Sacred Item Storage"
385 1 "Mirage"
// 신규 이벤트맵 1 (레벨 220~270)
386 1 "Illusion Sorcerer Spirit"
387 1 "Illusion Sorcerer Spirit"
388 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 2 (레벨 271~320)
389 1 "Illusion Sorcerer Spirit"
390 1 "Illusion Sorcerer Spirit"
391 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 3 (레벨 321~350)
392 1 "Illusion Sorcerer Spirit"
393 1 "Illusion Sorcerer Spirit"
394 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 4 (레벨 351~380)
395 1 "Illusion Sorcerer Spirit"
396 1 "Illusion Sorcerer Spirit"
397 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 5 (레벨 381~399)
398 1 "Illusion Sorcerer Spirit"
399 1 "Illusion Sorcerer Spirit"
400 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 6 (레벨 400)
401 1 "Illusion Sorcerer Spirit"
402 1 "Illusion Sorcerer Spirit"
403 1 "Illusion Sorcerer Spirit"
// 이벤트맵 캐릭터 변신용 인덱스
404 1 "MU Allies"
405 1 "Illusion Sorcerer"

// 3차 체인지업
406 1 "Apostle Devin"
407 1 "Werewolf Quarel"
408 1 "Gatekeeper"
409 1 "Balram (Trainee Soldier)"
410 1 "Death Spirit (Trainee Soldier)"
411 1 "Soram (Trainee Soldier)"
412 1 "Dark Elf (Trainee Soldier)"

// 추석(2007)이벤트
413 1 "Lunar Rabbit"
414 1 "Helper Ellen"
// 엘베란드  NPC
415 1 "Silvia"
416 1 "Rhea"
417 1 "Marce"
// 엘베란드 사냥터 (2007-09-18 김현지)
418 1 "Strange Rabbit"
419 1 "Hideous Rabbit"
420 1 "Werewolf"
421 1 "Polluted Butterfly"
422 1 "Cursed Lich"
423 1 "Totem Golem"
424 1 "Grizzly"
425 1 "Captain Grizzly"
// 이벤트맵 등급 추가로 인한 몬스터 추가(2007.10.16)
//카오스캐슬7_확장
426 1 "Chaos Castle13"
427 1 "Chaos Castle14"
//블러드캐슬8_확장
428 1 "Chief Skeleton Warrior"
429 1 "Chief Skeleton Archer"
430 1 "Dark Skull Soldier"
431 1 "Giant Ogre"
432 1 "Red Skeleton Knight"
433 1 "Magic Skeleton"
//악마의광장7_확장
434 1 "Gigantis"
435 1 "Berserker"
436 1 "Balram (Trainee Soldier)"
437 1 "Soram (Trainee Soldier)"
438 1 "Persona"
439 1 "Dreadfear"
440 1 "Dark Elf"
// 평온의 늪 몬스터 추가
441 1 "Sapi-Unus"
442 1 "Sapi-Duo"
443 1 "Sapi-Tres"
444 1 "Shadow Pawn"
445 1 "Shadow Knight"
446 1 "Shadow Look"
447 1 "Thunder Napin"
448 1 "Ghost Napin"
449 1 "Blaze Napin"
// 벚꽃이벤트 npc 추가
450 1 "Cherry Blossom Spirit"
451 1 "Cherry Blossom Tree"
// 소켓 시스템 NPC
452 1 "Seed Master"
453 1 "Seed Researcher"
// 라클리온 몬스터 추가
454 1 "Ice Walker"
455 1 "Giant Mammoth"
456 1 "Ice Giant"
457 1 "Coolutin"
458 1 "Iron Knight"
459 1 "Selupan"
460 1 "Spider Eggs"
461 1 "Spider Eggs"
462 1 "Spider Eggs"
// 불꽃주머니 추가
463 1 "Fire Flame Ghost"
// 체험서버용 NPC 추가
//464 1 "Re-Initialization Helper"
// 상용화 7주년 이벤트 NPC 추가
478 1 "Delgado"
// 크리스마스이벤트 NPC 추가(국내 적용 추가)
465 1 "Santa Claus"
466 1 "Cursed Goblin"
467 1 "Snowman"
468 1 "Dasher"
469 1 "Kermit"
470 1 "Little Santa"
471 1 "Cupid"
472 1 "Prancer"
473 1 "Donner"
474 1 "Vixen"
475 1 "Blitzen"
476 1 "Cursed Santa"
477 1 "Transformed Snowman"
// PK필드 몬스터 NPC 추가
479 1 "Doorkeeper Titus"
480 1 "Zombie Fighter"
481 1 "Zombie Fighter"
482 1 "Resurrected Gladiator"
483 1 "Resurrected Gladiator"
484 1 "Ash Slaughterer"
485 1 "Ash Slaughterer"
486 1 "Blood Assassin"
487 1 "Cruel Blood Assassin"
488 1 "Cruel Blood Assassin"
489 1 "Burning Lava Giant"
490 1 "Ruthless Lava Giant"
491 1 "Ruthless Lava Giant"
// 겜블 NPC 추가
492 1 "Moss"
// 황금군단이벤트(일본)
502 1 "Golden Rabbit"
493 1 "Golden Dark Knight"
494 1 "Golden Devil"
495 1 "Golden Stone Golem"
496 1 "Golden Crust"
497 1 "Golden Satyros"
498 1 "Golden Twin Tail"
499 1 "Golden Iron Knight"
500 1 "Golden Napin"
501 1 "Great Golden Dragon"
// 5월 프리미엄 아이템 (팬더변신반지)
503 1 "Transformed Panda"
// 제국 수호군 몬스터 NPC 추가
// 몬스터
504 1 "Gaion Kharein"
// 맵 보스
505 1 "Jerint"
506 1 "Raymond"
507 1 "Erkanne"
508 1 "Destler"
509 1 "Vermont"
510 1 "Kato"
511 1 "Galia"
// 존 보스
512 1 "Quartermaster"
513 1 "Combat Instructor"
514 1 "Knight Commander"
515 1 "Grand Wizard"
516 1 "Master Assassin"
517 1 "Cavalry Captain"
// 일반 몬스터
518 1 "Shield Bearer"
519 1 "Medic"
520 1 "Knights"
521 1 "Bodyguard"
// NPC
522 1 "Jerint the Assistant"
// 오브젝트 NPC
523 1 "Trap"
524 1 "Castle Gate 1" //내려가는 성문(평일)
525 1 "Castle Gate 2" //파괴되는 성문(평일)
526 1 "Stone Statue 1"
527 1 "Castle Gate 3" //내려가는 성문(주말)
528 1 "Castle Gate 4" //파괴되는 성문(주말)
// 도플갱어 몬스터 NPC 추가
// 몬스터
// 보스 몬스터
529 1 "Furious Slaughterer"
530 1 "Slaughterer"
// 미션 몬스터
531 1 "Ice Walker"
// 일반 몬스터
532 1 "Larva"
533 1 "Doppelganger"
534 1 "Doppelganger Elf"
535 1 "Doppelganger Knight"
536 1 "Doppelganger Wizard"
537 1 "Doppelganger Magic Gladiator"
538 1 "Doppelganger Dark Lord"
539 1 "Doppelganger Summoner"
// NPC
540 1 "Lugard"
541 1 "Interim Reward Chest"
542 1 "Final Reward Chest"
// 겐스 NPC
543 1 "Gens Duprian Steward"
544 1 "Gens Vanert Steward"
//로랜시장 NPC 추가 2009.11.24 홍승욱
545 1 "Christine the General Goods Merchant"
546 1 "Jeweler Raul"
547 1 "Market Union Member Julia"
//스켈레톤변신반지용 변신스켈레톤 추가
548 1 "Transformed Skeleton"
549 1 "Bloody Orc"
550 1 "Bloody Death Rider"
551 1 "Bloody Golem"
552 1 "Bloody Witch Queen"
553 1 "Berserker Warrior"
554 1 "Kentauros Warrior"
555 1 "Gigantis Warrior"
556 1 "Genocider Warrior"
557 1 "Sapi Queen"
558 1 "Ice Napin"
559 1 "Shadow Master"
560 1 "Sapi Queen"
561 1 "Medusa"
562 1 "Dark Mammoth"
563 1 "Dark Giant"
564 1 "Dark Coolutin"
565 1 "Dark Iron Knight"
566 1 "Mercenary Guild Manager Tercia"
567 1 "Priestess Veina"
568 1 "Wandering Merchant Zyro"
// 칼루탄 몬스터 추가 2010-06-30 홍승욱
569 1 "Venomous Chain Scorpion"
570 1 "Bone Scorpion"
571 1 "Orcus"
572 1 "Gollock"
573 1 "Crypta"
574 1 "Crypos"
575 1 "Condra"
576 1 "Narcondra"
// 칼루탄 NPC 추가 2010-06-30 홍승욱
577 1 "Leina the General Goods Merchant"
578 1 "Weapons Merchant Bolo"
// 럭키아이템 NPC 추가 2010-09-01 이기수
579 1 "David"
585 1 "Scarecrow"
end

Sería más fácil si usan mi kayito Tools, abren el Monster.txt del muserver y exportan el NPCName(Eng).txt desde ahí directamente. De esa forma les queda sincronizado con los monsters del server :)
En kayito Tools tienen que ir a la opción MONSTER.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: assrub on October 15, 2022, 03:56:17 PM
Hola gente, estoy como nene con zapatillas nueva con estos sources ... bueno, de seguro que lo que voy a aportar ya lo saben y lo han hecho. Pero capaz que hay gente como yo que recién empieza a ver los source (ya que antes me daba paja) y le sirve esto.

Primero que todo, hay muchos bugs y para solucionarlos creo que lo mejor que podemos hacer es ver como viajan los paquetes desde el cliente al servidor y viceversa. Por eso.. empece a armar la "consola debug log" como niño tonto, para ver los datos entrantes y salientes de la siguiente forma:

(https://i.ibb.co/HqmM82k/consola.png) (https://ibb.co/FzGfTWj)

(https://i.ibb.co/DC49q8h/Packetes-Recibido.png) (https://ibb.co/fpMkcnf)

Creo que esta tarea es muy amplia y lleva mucho tiempo, la cantidad de metodos y funciones son infinitas y una sola persona no creo que lo pueda tarminar de pulirlo. Además, ví mucho codigo que no tiene uso u ejecición.

Bueno, nada más.. ire armando los packetes de esta forma para entender más como matchean los datos y poder recién ahí solucionar errores. Cuando tenga más codigo lo compartire y seria bueno que entre todos armemos algo así.

Saludos y gracias a los de siempre que estan ahí aportando.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on October 16, 2022, 12:05:57 PM
Hola gente, estoy como nene con zapatillas nueva con estos sources ... bueno, de seguro que lo que voy a aportar ya lo saben y lo han hecho. Pero capaz que hay gente como yo que recién empieza a ver los source (ya que antes me daba paja) y le sirve esto.

Primero que todo, hay muchos bugs y para solucionarlos creo que lo mejor que podemos hacer es ver como viajan los paquetes desde el cliente al servidor y viceversa. Por eso.. empece a armar la "consola debug log" como niño tonto, para ver los datos entrantes y salientes de la siguiente forma:

(https://i.ibb.co/HqmM82k/consola.png) (https://ibb.co/FzGfTWj)

(https://i.ibb.co/DC49q8h/Packetes-Recibido.png) (https://ibb.co/fpMkcnf)

Creo que esta tarea es muy amplia y lleva mucho tiempo, la cantidad de metodos y funciones son infinitas y una sola persona no creo que lo pueda tarminar de pulirlo. Además, ví mucho codigo que no tiene uso u ejecición.

Bueno, nada más.. ire armando los packetes de esta forma para entender más como matchean los datos y poder recién ahí solucionar errores. Cuando tenga más codigo lo compartire y seria bueno que entre todos armemos algo así.

Saludos y gracias a los de siempre que estan ahí aportando.

Muito bom! estou portando XML pro servidor... meu foco é otimização...
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: jorge2016 on October 17, 2022, 10:58:30 PM
Source default compilado en vs2008 + ScaleForm activo.

Link:  https://drive.google.com/file/d/1syJeQVDwxvYq3JphLXlla2VBIVrc96N4/view (https://drive.google.com/file/d/1syJeQVDwxvYq3JphLXlla2VBIVrc96N4/view)


PS: Comparti porque varios me pedian ayuda para poner el ScaleForm y lo mas rapido era aportar el source con el scaleform ya compilado..
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on October 18, 2022, 04:40:33 AM
https://youtu.be/BiKlQVxqFeQ
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Daniel@ on October 18, 2022, 04:41:24 PM
Hello, anyone added Ragefighter, and standarts items for him, I have one problem, maybe anyone know how to fix and help me.

https://youtu.be/aTbIp3l_JJ4

esos guantes quieren volar XP
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on October 18, 2022, 08:17:58 PM
Hello, anyone added Ragefighter, and standarts items for him, I have one problem, maybe anyone know how to fix and help me.

https://youtu.be/aTbIp3l_JJ4

esos guantes quieren volar XP

already fixed xD
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: assrub on October 22, 2022, 11:21:43 PM
Bueno... después de una semana con los files pude entender un poco como funciona, paso mi primer aporte y si hay algo que mejorar en el codigo por favor su corrección es bienvenida.



Comando /addpoint sin tener que hacer Switch Character

IN MAIN SOURCES

WSclient.h (yo lo puse abajo de "PRECEIVE_ADD_POINT")
Code: [Select]
typedef struct {
PBMSG_HEADER Header;
WORD Level;
WORD LevelUpPoint;
DWORD Experience;
DWORD NextExperience;
WORD Strength;
WORD Dexterity;
WORD Vitality;
WORD Energy;
WORD Leadership;
WORD Life;
WORD MaxLife;
WORD Mana;
WORD MaxMana;
WORD BP;
WORD MaxBP;
WORD Shield;
WORD MaxShield;
WORD FruitAddPoint;
WORD MaxFruitAddPoint;
WORD FruitSubPoint;
WORD MaxFruitSubPoint;
//EXTRA
DWORD ViewReset;
DWORD ViewPoint;
DWORD ViewCurHP;
DWORD ViewMaxHP;
DWORD ViewCurMP;
DWORD ViewMaxMP;
DWORD ViewCurBP;
DWORD ViewMaxBP;
DWORD ViewCurSD;
DWORD ViewMaxSD;
DWORD ViewStrength;
DWORD ViewDexterity;
DWORD ViewVitality;
DWORD ViewEnergy;
DWORD ViewLeadership;
} PRECEIVE_ADD_POINT_, * LPPRECEIVE_ADD_POINT_;

WSclient.cpp (Yo lo puse abajo de "void ReceiveAddPoint( BYTE *ReceiveBuffer )")
Code: [Select]
void ReceiveAddPoint_(BYTE* ReceiveBuffer)
{
LPPRECEIVE_ADD_POINT_ Data = (LPPRECEIVE_ADD_POINT_)ReceiveBuffer;

CharacterAttribute->LevelUpPoint = Data->LevelUpPoint;
CharacterAttribute->Strength = Data->Strength;
CharacterAttribute->Dexterity = Data->Dexterity;
CharacterAttribute->Vitality = Data->Vitality;
CharacterAttribute->LifeMax = Data->MaxLife;
CharacterAttribute->Energy = Data->Energy;
CharacterAttribute->ManaMax = Data->MaxMana;
CharacterAttribute->Charisma = Data->Leadership;

CharacterAttribute->SkillManaMax = Data->MaxBP;
CharacterAttribute->ShieldMax = Data->MaxShield;

CharacterMachine->CalculateAll();
}


WSclient.cpp

TranslateProtocol --> switch( HeadCode ) ---> case 0xF3:

pongan:
Code: [Select]
                        case 0x52:
Receive_Master_LevelGetSkill(ReceiveBuffer);
break;"
case 0xE0:
ReceiveAddPoint_(ReceiveBuffer);
break;


Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: EaglE on October 24, 2022, 08:33:54 PM
Someone have Season 6 Full MODEL Enum ?

Update:
Thanks Already Emulated.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: EaglE on October 25, 2022, 06:02:12 PM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)

Can you tell us how you fixed it ?

Update:
Thanks Already Fixed.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on October 25, 2022, 10:54:40 PM
 estou criando modificações no inventário

(https://i.ibb.co/DzZ9vxs/editando-ivent-rio.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: gredy on October 29, 2022, 05:02:14 AM
Estou colocando DirectX irei postar em breve

Are you finish this or in progress?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on October 29, 2022, 01:00:03 PM
Estou colocando DirectX irei postar em breve

Are you finish this or in progress?

Preciso converter toda a renderização de imagem de OpenGL pra DirectX, já consegui converter partes da interface porém é um processo demorado pois têm muita coisa pra modificar... estou fazendo progresso.. já consegui por imgui que será util pra administrar eventos e afins.. consegui achar uma forma de colocar iventário de Earings/Auxiliares e afins. tenho planos pra agora no natal liberar essa source, porêm entendo que isso será usado por pessoas que estão abituadas ás maneiras antigas de edição, etc... pretendo adaptar algumas coisas pra ser possível customizar.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on October 29, 2022, 02:05:49 PM
Estou colocando DirectX irei postar em breve

Are you finish this or in progress?

Preciso converter toda a renderização de imagem de OpenGL pra DirectX, já consegui converter partes da interface porém é um processo demorado pois têm muita coisa pra modificar... estou fazendo progresso.. já consegui por imgui que será util pra administrar eventos e afins.. consegui achar uma forma de colocar iventário de Earings/Auxiliares e afins. tenho planos pra agora no natal liberar essa source, porêm entendo que isso será usado por pessoas que estão abituadas ás maneiras antigas de edição, etc... pretendo adaptar algumas coisas pra ser possível customizar.
seria bom ver isso.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 02, 2022, 02:09:43 AM
(https://i.imgur.com/hiiTh5i.png)

downgrade to season 3 with sum
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: backerchen on November 02, 2022, 09:11:27 AM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)

Can you tell us how you fixed it ?

Update:
Thanks Already Fixed.

Can you post the code? thank you
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 02, 2022, 10:05:40 AM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)


(https://i.imgur.com/1Jhwsde.png)

why don't you scroll down below that post to see the answer  sueno

Can you tell us how you fixed it ?

Update:
Thanks Already Fixed.

Can you post the code? thank you
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on November 04, 2022, 09:17:08 AM
Correção de comandos de animação normais e de rings de transformação jack/santa
comandos em English/Spanish/Portugês com base nos comandos de animação do MuAway


(http://i.imgur.com/Z9MYwwl.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 05, 2022, 04:24:35 AM
I found a bug, can't display item info in inventory, has anyone reviewed it yet

(https://i.imgur.com/tf1BN2h.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on November 05, 2022, 05:23:31 PM
Who wants to share the MUHelper code? Or sell it for a reasonable amount.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 09, 2022, 08:07:58 AM
Fix camera on map Valley of Loren


(https://i.imgur.com/Ozuqw29.png)
1600x900

void CreateFrustrum2D(vec3_t Position)
Code: [Select]
            Width = (float)GetScreenWidth()/640.f;// * 0.1f;
            if ( battleCastle::InBattleCastle2( Hero->Object.Position ) && ( Hero->Object.Position[0]<17100.f || Hero->Object.Position[0]>18300.f ) )
            {
                CameraViewFar    = 5100.f;// * 0.1f;
                CameraViewNear   = CameraViewFar*0.19f;//0.22
                CameraViewTarget = CameraViewFar*0.47f;//0.47
                WidthFar  = 2250.f*Width; // 1140.f
                WidthNear = 1840.f*Width; // 540.f
            }
            else
            {
                CameraViewFar    = 3300.f;// * 0.1f;
                CameraViewNear   = CameraViewFar*0.19f;//0.22
                CameraViewTarget = CameraViewFar*0.47f;//0.47
                WidthFar  = 1300.f*Width; // 1140.f
                WidthNear = 1880.f*Width; // 540.f
            }
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Nakamura on November 09, 2022, 10:58:24 AM
Fix camera on map Valley of Loren


(https://i.imgur.com/Ozuqw29.png)
1600x900

void CreateFrustrum2D(vec3_t Position)
Code: [Select]
            Width = (float)GetScreenWidth()/640.f;// * 0.1f;
            if ( battleCastle::InBattleCastle2( Hero->Object.Position ) && ( Hero->Object.Position[0]<17100.f || Hero->Object.Position[0]>18300.f ) )
            {
                CameraViewFar    = 5100.f;// * 0.1f;
                CameraViewNear   = CameraViewFar*0.19f;//0.22
                CameraViewTarget = CameraViewFar*0.47f;//0.47
                WidthFar  = 2250.f*Width; // 1140.f
                WidthNear = 1840.f*Width; // 540.f
            }
            else
            {
                CameraViewFar    = 3300.f;// * 0.1f;
                CameraViewNear   = CameraViewFar*0.19f;//0.22
                CameraViewTarget = CameraViewFar*0.47f;//0.47
                WidthFar  = 1300.f*Width; // 1140.f
                WidthNear = 1880.f*Width; // 540.f
            }

Share skillbar remake s2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 16, 2022, 01:06:44 AM
Dowgrade to Season 3 90%

(https://i.imgur.com/z5vnlEV.png)

https://imgur.com/a/AiuX3VU
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on November 16, 2022, 04:41:47 AM
Dowgrade to Season 3 90%

(https://i.imgur.com/z5vnlEV.png)

https://imgur.com/a/AiuX3VU

Look into every LoadBitmap function and delete the glTexParameter

For example:

Here delete the GL_LINEAR so it can use the default glTexParameter setted in the function LoadBitmap that's GL_NEAREST and GL_CLAMP
Code: [Select]
LoadBitmap( "Interface\\newui_msgbox_back.jpg", IMAGE_COMMAND_BASE_WINDOW_BACK, GL_LINEAR );

And you can get more accurate interfaces to S3. Look at my downgrade

(https://i.imgur.com/rJVTA4K.jpg)

(https://i.imgur.com/EL5uqt7.jpg)

(https://i.imgur.com/MP2erlF.jpg)

(https://i.imgur.com/ImwJpn8.jpg)

(https://i.imgur.com/MSbS995.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 16, 2022, 05:43:24 AM
thank so much @kayito, you can share select server source, I tried resetting the login screen position according to the source and coordinates you shared but no success
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on November 16, 2022, 06:20:20 AM
thank so much @kayito, you can share select server source, I tried resetting the login screen position according to the source and coordinates you shared but no success

Here you have the example on the 1.04e source. You can find the similarities and adapt it to the S5 source

https://tuservermu.com.ve/index.php?topic=52798

And here you have the example for the Select Character

https://tuservermu.com.ve/index.php?topic=52799
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 16, 2022, 06:58:24 AM
thank so much @kayito, you can share select server source, I tried resetting the login screen position according to the source and coordinates you shared but no success

Here you have the example on the 1.04e source. You can find the similarities and adapt it to the S5 source

https://tuservermu.com.ve/index.php?topic=52798

And here you have the example for the Select Character

https://tuservermu.com.ve/index.php?topic=52799

you are right, i also relied on those 2 sources you shared to do it, i had success with the character select screen, but the login screen didn't, sorry i just started learning c++ to can work with sources
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on November 16, 2022, 07:13:52 AM
https://www.youtube.com/watch?v=GGcBuI8jnPA hackspeed fix  caballo
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: gredy on November 27, 2022, 03:15:10 AM
Fix camera on map Valley of Loren


(https://i.imgur.com/Ozuqw29.png)
1600x900

void CreateFrustrum2D(vec3_t Position)
Code: [Select]
            Width = (float)GetScreenWidth()/640.f;// * 0.1f;
            if ( battleCastle::InBattleCastle2( Hero->Object.Position ) && ( Hero->Object.Position[0]<17100.f || Hero->Object.Position[0]>18300.f ) )
            {
                CameraViewFar    = 5100.f;// * 0.1f;
                CameraViewNear   = CameraViewFar*0.19f;//0.22
                CameraViewTarget = CameraViewFar*0.47f;//0.47
                WidthFar  = 2250.f*Width; // 1140.f
                WidthNear = 1840.f*Width; // 540.f
            }
            else
            {
                CameraViewFar    = 3300.f;// * 0.1f;
                CameraViewNear   = CameraViewFar*0.19f;//0.22
                CameraViewTarget = CameraViewFar*0.47f;//0.47
                WidthFar  = 1300.f*Width; // 1140.f
                WidthNear = 1880.f*Width; // 540.f
            }

Can you share .cpp .h with separate chat functions?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: h3yShOk on November 28, 2022, 08:38:20 PM
Hello! I Have a challenge. Maybe someone know what problem:I have source main 5.2 + gameserver 5.2 original source, and have one problem with the attack monsters. Sometime can't attack monsters with some skills, like Multi-Shot, Powerslash, skill who use frustum function

I'm even willing to pay for your time, for that fix.

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on November 30, 2022, 09:16:29 AM
Muy buen aporte louis ! Yo hice exactamente lo mismo pero lo mantuve en VS2010 en lugar de upgradearlo a vs2019.

Esperemos que alguien haga algo interesante con esto porque con la base liberada aún no hicieron nada interesante así que espero que el trabajo no sea en vano.
Hi, brother, how did you run in VS2010?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: EaglE on December 02, 2022, 06:34:48 PM
Anyone Fixed Ancient Items Bug ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on December 02, 2022, 07:39:55 PM
Hi, how do you use vs2010 edited
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on December 03, 2022, 04:48:27 AM
Compartan la source 2010 para los quetienen ordenadores de menos recursos
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 03, 2022, 09:21:09 AM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on December 03, 2022, 02:36:35 PM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.

Si y no mucho usan C y hasta el hack famoso de Valkiria está hecho en delphi y es considerado antiguo, el problema son los recursos que se necesitan para tener 2 o 3 vs en 2019 e incluso la 2022 que compartieron, no todos tienen 6 o mas ram, por qué 4 no debugeas correctamente

Algunos son fuertes en algunas cosas y en otras no, por ejemplo conozco gente que defompilar main.exe y saca offset y no sabes crear funciones optimizadas compilan, si quieres puedes dejar los pasos a seguir para convertir la source en 2010 y lo hago no he visto tuyos de dowgradear la vs, por qué para mí es fácil usar el código original que la de louis

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: MsotoC on December 08, 2022, 08:45:59 PM
https://imgur.com/a/ZpQtvwg
Tengo ese problema del RC.exe q me esta partiendo desde hace mucho uwu
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on December 08, 2022, 09:27:45 PM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
BRO can you share the VS2010 resources?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 08, 2022, 10:23:24 PM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
BRO can you share the VS2010 resources?

the louis version is not supported, I modified everything to work with the vs2019 libraries.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: MsotoC on December 08, 2022, 11:36:18 PM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
BRO can you share the VS2010 resources?

the louis version is not supported, I modified everything to work with the vs2019 libraries.

@Odisk me aparece algo de "afxres.h" no encontrado, sabes como puedo solucionarlo?   llorando2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: LTP Team on December 09, 2022, 03:53:22 AM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
BRO can you share the VS2010 resources?

the louis version is not supported, I modified everything to work with the vs2019 libraries.

@Odisk me aparece algo de "afxres.h" no encontrado, sabes como puedo solucionarlo?   llorando2

Replace afxres.h to Windows.h
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on December 09, 2022, 11:32:04 AM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
BRO can you share the VS2010 resources?

the louis version is not supported, I modified everything to work with the vs2019 libraries.
Thank you
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 09, 2022, 12:07:46 PM
Compartan la source 2010 para los quetienen ordenadores de menos recursos

yo la tengo para el 2010 pero la pase para el 2019

pero tampoco es tan dificil cambiar al 2010 solo deben cambiar ciertas funciones y librerias, aunque creo que la de louis tiene muchas funciones a base del 2019 ya que tiene mucho codigo de nueva librerias, es como volver al al codigo antiguo.
BRO can you share the VS2010 resources?

the louis version is not supported, I modified everything to work with the vs2019 libraries.

@Odisk me aparece algo de "afxres.h" no encontrado, sabes como puedo solucionarlo?   llorando2

edit resoruce afxres.h to windows.h
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on December 16, 2022, 10:25:29 AM
Anyone Fixed Ancient Items Bug ?
name item bug ??
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: EaglE on December 16, 2022, 08:08:35 PM
Anyone Fixed Ancient Items Bug ?
name item bug ??


when wear full set no active set options colored from grey to blue also the option in the top not appear with gold

(https://i.ibb.co/WvPBV6d/Screen-11-23-16-55-0007.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on December 17, 2022, 11:27:02 AM
Anyone Fixed Ancient Items Bug ?
name item bug ??


when wear full set no active set options colored from grey to blue also the option in the top not appear with gold

(https://i.ibb.co/WvPBV6d/Screen-11-23-16-55-0007.jpg)
Setoption not fix , name item fix

 extern char TextList[30][100];
extern int TextListColor[30];
extern int TextBold[30];
extern SIZE Size[30];
 
new fix

extern char TextList[50][100];
extern int TextListColor[50];
extern int TextBold[50];
extern SIZE Size[50];
 aplausos
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: EaglE on December 22, 2022, 02:05:13 PM
Can you Help me with this error ?
(https://i.ibb.co/RCQd0fZ/Screenshot-2.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on December 23, 2022, 10:48:28 PM
 
  magia2 MU helper indev . not webzen
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on December 24, 2022, 12:27:19 AM
  magia2 MU helper indev . not webzen

shared  ??
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: bimaloha on January 10, 2023, 11:38:02 PM
Close to done RF
(https://anhvl.com/images/2023/01/11/Untitled.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: backerchen on January 11, 2023, 04:01:10 AM
Master Skill Tree!
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: bimaloha on January 22, 2023, 01:53:20 PM
Test SKILL_ATTRIBUTE struct to use skill.bmd from client ss6.3 (support RF)
Code: [Select]
typedef struct
{
char Name[32];
BYTE Level;
WORD Damage;
WORD Mana;
WORD AbilityGuage;
BYTE Distance;
int  Delay;

int Energy;

WORD Charisma;
BYTE MasteryType;
BYTE SkillUseType;
BYTE SkillBrand;
BYTE KillCount;
BYTE RequireDutyClass[6]; //MAX_DUTY_CLASS = 6
BYTE RequireClass[7]; //MAX_CLASS = 7
BYTE Magic_Icon;
BYTE unknow1[2];
BYTE TypeSkill;
BYTE unknow2[11];
BYTE Strength;
BYTE Dexterity;
} SKILL_ATTRIBUTE;

change define MAX_SKILLS to 650

(https://anhvl.com/image/Untitled.8scNT)

Wish someone who have source ss6 will share real struct :")

To enable RF, add to Defined_Global.h
Code: [Select]
#ifdef PBG_ADD_NEWCHAR_MONK
#define PBG_ADD_NEWCHAR_MONK_SKILL
#define PBG_ADD_NEWCHAR_MONK_ITEM
#define PBG_ADD_NEWCHAR_MONK_ANI
#define PBG_MOD_NEWCHAR_MONK_WING_2
#define PBG_MOD_RAGEFIGHTERSOUND
#endif
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: takumi12 on January 23, 2023, 01:15:47 AM
Test SKILL_ATTRIBUTE struct to use skill.bmd from client ss6.3 (support RF)
Code: [Select]
typedef struct
{
char Name[32];
BYTE Level;
WORD Damage;
WORD Mana;
WORD AbilityGuage;
BYTE Distance;
int  Delay;

int Energy;

WORD Charisma;
BYTE MasteryType;
BYTE SkillUseType;
BYTE SkillBrand;
BYTE KillCount;
BYTE RequireDutyClass[6]; //MAX_DUTY_CLASS = 6
BYTE RequireClass[7]; //MAX_CLASS = 7
BYTE Magic_Icon;
BYTE unknow1[2];
BYTE TypeSkill;
BYTE unknow2[11];
BYTE Strength;
BYTE Dexterity;
} SKILL_ATTRIBUTE;

change define MAX_SKILLS to 650

(https://anhvl.com/image/Untitled.8scNT)

Wish someone who have source ss6 will share real struct :")

To enable RF, add to Defined_Global.h
Code: [Select]
#ifdef PBG_ADD_NEWCHAR_MONK
#define PBG_ADD_NEWCHAR_MONK_SKILL
#define PBG_ADD_NEWCHAR_MONK_ITEM
#define PBG_ADD_NEWCHAR_MONK_ANI
#define PBG_MOD_NEWCHAR_MONK_WING_2
#define PBG_MOD_RAGEFIGHTERSOUND
#endif

 cool2

struct skill bad

(http://i.imgur.com/Z9MYwwl.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: erickmalfoy on February 03, 2023, 02:14:05 AM
Client+Server+Sources
 

Citar
password unzip: tuservermu.com.ve

VS2019 ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: erickmalfoy on February 03, 2023, 02:55:58 AM
Alguien puedes compartir las SRC ya compiladas por que tengo muchos errores aparte que el main se demora una vida para compilar xD

mucho demora el main para compilar a que se debera y para que al final me salga fallo xD
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: erickmalfoy on February 03, 2023, 01:26:45 PM
UPDATE:
Source Main 5.2 (VS2022) + NvAPI + Intel Support

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.

 

- Suporte para Nvidia/AMD/Intel.

Modificados:
WinMain.cpp

Adicionados:
nvapi.h
NvApiDriverSettings.h

- Suporte para processadores Intel mais recentes e melhorias no suporte de sistema operacional.
Modificados:
sysinfo.cpp
sysinfo.h

Adicionados:
intrinsics.h
platform.h
constants.h

donde consigo
#include <boost/math/tools/precision.hpp> ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: CorsarioDgx on February 03, 2023, 02:12:36 PM
Puedes revisar el tema y fijarte si alguien subió la carpeta boost esa va instalada lado visual bro ! Puedes buscar el error en YouTube un tutorial ;)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Nucanor on February 04, 2023, 05:53:29 PM
Interesante todo ésto. Se armó algún grupo de trabajo para ir desarrollando más todo éste material? Me interesaría sumarme. Gracias!
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: ulrick2023 on February 05, 2023, 02:22:18 AM
buenas noches gente, consulto. Alguno tenga las source main pasadas a vs2010?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on February 28, 2023, 12:35:33 PM
Atualização:  ZzzOpenglUtil.cpp

Changelog
- Atualizado Depth Mask usando o estado atual da máscara de profundidade para determinar se a máscara de profundidade deve ser habilitada ou não.
- Atualizado suporte para texturas múltiplas
- Atualizado suporte para texturas de 16 bits
- Update! removido o if de TestDepthBuffer para melhorar a fluidez do código.
- Update! - Texture Stream: Adicionada uma variável inteira "CachTexture" para armazenar o valor da textura atualmente vinculada.
- Update! - Declarada a variável CachedTexture para evitar que a função seja executada desnecessariamente.
- Update! - Alterado o nome da variável CachTexture para CachedTexture.
- Update! - EndTextureStream: Corrigido bug onde a variável TextureStream não era alterada para false após a chamada de glEnd().
- Update! - EnableCullFace | DisableDepthMask: Melhorias...
- Update! - AlphaBlend otimizações...

28/02/2023 20:32 GMT-3

Code: [Select]
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ZzzOpenglUtil.h"
#include "ZzzTexture.h"
#include "ZzzBMD.h"
#include "ZzzInfomation.h"
#include "zzzObject.h"
#include "zzzcharacter.h"
#include "Zzzinfomation.h"
#include "NewUISystem.h"

int     OpenglWindowX;     
int     OpenglWindowY;     
int     OpenglWindowWidth;
int     OpenglWindowHeight;
bool    CameraTopViewEnable = false;
float   CameraViewNear      = 20.f;
float   CameraViewFar       = 2000.f;
float   CameraFOV           = 55.f;
vec3_t  CameraPosition;
vec3_t  CameraAngle;
float   CameraMatrix[3][4];
vec3_t  MousePosition;
vec3_t  MouseTarget;
float   g_fCameraCustomDistance = 0.f;
bool    FogEnable   = false;
GLfloat FogDensity  = 0.0004f;
GLfloat FogColor[4] = {30/256.f,20/256.f,10/256.f,};

unsigned int WindowWidth  = 1024;
unsigned int WindowHeight = 768;
int          MouseX       = WindowWidth/2;
int          MouseY       = WindowHeight/2;
int          BackMouseX   = MouseX;
int          BackMouseY   = MouseY;
bool         MouseLButton;
bool MouseLButtonPop;
bool MouseLButtonPush;
bool         MouseRButton;
bool MouseRButtonPop;
bool MouseRButtonPush;
bool     MouseLButtonDBClick;
bool         MouseMButton;
bool         MouseMButtonPop;
bool         MouseMButtonPush;
int          MouseWheel;
DWORD MouseRButtonPress = 0;

//bool    showShoppingMall = false;

// ShellExecute updated
void OpenExploper(char* Name, char* para)
{
STARTUPINFO si;
PROCESS_INFORMATION pi;

ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);
ZeroMemory(&pi, sizeof(pi));

if (!CreateProcess(Name, para, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi))
{
// Erro
printf("CreateProcess failed (%d).\n", GetLastError());
return;
}
// Esperar pelo processo
WaitForSingleObject(pi.hProcess, INFINITE);
// Liberar recursos
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
}

bool CheckID_HistoryDay(char* Name, WORD day) {
struct dayHistory {
char ID[MAX_ID_SIZE + 1];
WORD date;
};

FILE* fp;
dayHistory days[100];
WORD num = 0;
bool sameName = false;
bool update = true;

if ((fp = fopen("dconfig.ini", "rb")) != NULL) {
fread(&num, sizeof(WORD), 1, fp);

if (num > 100) {
num = 0;
}
else {
for (int i = 0; i < num; ++i) {
fread(days[i].ID, sizeof(char), MAX_ID_SIZE + 1, fp);
fread(&days[i].date, sizeof(WORD), 1, fp);

if (!strcmp(days[i].ID, Name)) {
sameName = true;
if (days[i].date == day) {
update = false;
break;
}
days[i].date = day;
}
}
}
fclose(fp);
}

if (update) {
if (!sameName) {
memcpy(days[num].ID, Name, (MAX_ID_SIZE + 1) * sizeof(char));
days[num].date = day;
num++;
}

fp = fopen("dconfig.ini", "wb");
fwrite(&num, sizeof(WORD), 1, fp);
for (int i = 0; i < num; ++i) {
fwrite(days[i].ID, sizeof(char), MAX_ID_SIZE + 1, fp);
fwrite(&days[i].date, sizeof(WORD), 1, fp);
}
fclose(fp);
}

// showShoppingMall = update;

return update;
}

bool GrabEnable = false;
char GrabFileName[MAX_PATH];
int  GrabScreen = 0;
bool GrabFirst = false;

void SaveScreen()
{
// Flag para controlar se é a primeira vez que esta função é chamada
static bool GrabFirst = true;

// Cria um buffer para armazenar os pixels
unsigned char* Buffer = new unsigned char[(int)WindowWidth * (int)WindowHeight * 3];

// Copia os pixel da janela para o buffer
glReadPixels(0, 0, (int)WindowWidth, (int)WindowHeight, GL_RGB, GL_UNSIGNED_BYTE, Buffer);

// Escreve a imagem no disco
WriteJpeg(GrabFileName, (int)WindowWidth, (int)WindowHeight, Buffer, 100);

// Libera o buffer
SAFE_DELETE_ARRAY(Buffer);

// Incrementa o contador e aplica módulo
GrabScreen = (GrabScreen + 1) % 10000;
}

float PerspectiveX;
float PerspectiveY;
int   ScreenCenterX;
int   ScreenCenterY;
int   ScreenCenterYFlip;

void GetOpenGLMatrix(float Matrix[3][4])
{
float OpenGLMatrix[16];
glGetFloatv(GL_MODELVIEW_MATRIX,OpenGLMatrix);
for(int i=0;i<3;i++)
{
for(int j=0;j<4;j++)
{
Matrix[i][j] = OpenGLMatrix[j*4+i];
}
}
}

void gluPerspective2(float Fov,float Aspect,float ZNear,float ZFar)
{
    gluPerspective(Fov,Aspect,ZNear,ZFar);

ScreenCenterX      = OpenglWindowX + OpenglWindowWidth/2;
ScreenCenterY      = OpenglWindowY + OpenglWindowHeight/2;
ScreenCenterYFlip  = WindowWidth - ScreenCenterY;

float AspectY = (float)(WindowHeight)/(float)(OpenglWindowHeight);
PerspectiveX = tanf(Fov*0.5f*3.141592f/180.f)/(float)(OpenglWindowWidth /2)*Aspect;
PerspectiveY = tanf(Fov*0.5f*3.141592f/180.f)/(float)(OpenglWindowHeight/2)*AspectY;
}

void CreateScreenVector ( int sx, int sy, vec3_t Target, bool bFixView )
{
sx = sx*WindowWidth/640;
sy = sy*WindowHeight/480;
vec3_t p1,p2;
    if ( bFixView )
    {
    p1[0] =  (float)(sx-ScreenCenterX) * CameraViewFar * PerspectiveX;
    p1[1] = -(float)(sy-ScreenCenterY) * CameraViewFar * PerspectiveY;
    p1[2] = -CameraViewFar;
    }
    else
    {
    p1[0] =  (float)(sx-ScreenCenterX) * RENDER_ITEMVIEW_FAR * PerspectiveX;
    p1[1] = -(float)(sy-ScreenCenterY) * RENDER_ITEMVIEW_FAR * PerspectiveY;
    p1[2] = -RENDER_ITEMVIEW_FAR;
    }

p2[0] = -CameraMatrix[0][3];
p2[1] = -CameraMatrix[1][3];
p2[2] = -CameraMatrix[2][3];
VectorIRotate(p2,CameraMatrix,MousePosition);
VectorIRotate(p1,CameraMatrix,p2);
VectorAdd(MousePosition,p2,Target);
}

void Projection(vec3_t Position, int* sx, int* sy)
{
vec3_t TrasformPosition;
VectorTransform(Position, CameraMatrix, TrasformPosition);
float ratioX = 640.0f / WindowWidth;
float ratioY = 480.0f / WindowHeight;
float PerspectiveX = PerspectiveY * ratioX;
*sx = -(int)(TrasformPosition[0] / PerspectiveX / TrasformPosition[2]) + ScreenCenterX;
*sy = (int)(TrasformPosition[1] / PerspectiveX / TrasformPosition[2]) + ScreenCenterY;
*sx = (int)(*sx * ratioX);
*sy = (int)(*sy * ratioY);
}

void TransformPosition(vec3_t Position, vec3_t WorldPosition, int* x, int* y)
{
vec3_t Temp;
VectorSubtract(Position, CameraPosition, Temp);
VectorRotate(Temp, CameraMatrix, WorldPosition);

float perspectiveX = 1.0f / PerspectiveX;
float perspectiveY = 1.0f / PerspectiveY;

*x = (int)(WorldPosition[0] * perspectiveX / -WorldPosition[2] + ScreenCenterX);
*y = (int)(WorldPosition[1] * perspectiveY / -WorldPosition[2] + ScreenCenterYFlip);
}

bool TestDepthBuffer(vec3_t Position)
{
vec3_t WorldPosition;
int x, y;
TransformPosition(Position, WorldPosition, &x, &y);

// removido o if para melhorar a fluidez
x = (x < OpenglWindowX) ? OpenglWindowX : x;
y = (y < OpenglWindowY) ? OpenglWindowY : y;
x = (x >= (int)OpenglWindowX + OpenglWindowWidth) ? (int)OpenglWindowX + OpenglWindowWidth : x;
y = (y >= (int)OpenglWindowY + OpenglWindowHeight) ? (int)OpenglWindowY + OpenglWindowHeight : y;

GLfloat key[3];
glReadPixels(x, y, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, key);

float z = 1.f - CameraViewNear / -WorldPosition[2] + CameraViewNear / CameraViewFar;
if (key[0] >= z) return true;
return false;
}

///////////////////////////////////////////////////////////////////////////////
// Render Util
///////////////////////////////////////////////////////////////////////////////

int CachTexture = -1;
bool TextureEnable = false;
bool DepthTestEnable = false;
bool CullFaceEnable = false;
bool DepthMaskEnable = false;
bool AlphaTestEnable = false;
int AlphaBlendType = 0;

// Texture Stream
void BindTexture(int tex)
{
if (CachTexture == tex) return;
CachTexture = tex;

if (tex >= 0) {
BITMAP_t* b = &Bitmaps[tex];
glBindTexture(GL_TEXTURE_2D, b->TextureNumber);
}
else {
glBindTexture(GL_TEXTURE_2D, -1 * tex);
}
}

bool TextureStream = false;

extern  int test;
int CachedTexture = -1;

void BindTextureStream(int tex)
{
if (CachedTexture == tex) return;
CachedTexture = tex;
if (TextureStream)
glEnd();
BITMAP_t* b = &Bitmaps[tex];
glBindTexture(GL_TEXTURE_2D, b->TextureNumber);
glBegin(GL_TRIANGLES);
TextureStream = true;
}

void EndTextureStream()
{
if (TextureStream)
{
glEnd();
TextureStream = false;
}
}

void EnableDepthTest()
{
if (!DepthTestEnable)
{
glEnable(GL_DEPTH_TEST);
DepthTestEnable = true;
}
}

void DisableDepthTest()
{
if (DepthTestEnable)
{
glDisable(GL_DEPTH_TEST);
DepthTestEnable = false;
}
}

//Depth Mask
void EnableDepthMask()
{
GLboolean currentState;
glGetBooleanv(GL_DEPTH_WRITEMASK, &currentState);

if (!currentState)
{
glDepthMask(true);
}
}

void DisableDepthMask()
{
glDepthMask(false);
}

void EnableCullFace()
{
glEnable(GL_CULL_FACE);
CullFaceEnable = true;
}

void DisableCullFace()
{
if (CullFaceEnable)
{
CullFaceEnable = false;
glDisable(GL_CULL_FACE);
}
}

void DisableTexture(bool AlphaTest)
{
EnableDepthMask();
if (AlphaTest)
{
AlphaTestEnable = true;
glEnable(GL_ALPHA_TEST);
}
else
{
AlphaTestEnable = false;
glDisable(GL_ALPHA_TEST);
}
TextureEnable = false;
glDisable(GL_TEXTURE_2D);
}

void DisableAlphaBlend()
{
int blendState = AlphaBlendType != 0;
int alphaTestState = AlphaTestEnable;
int textureState = !TextureEnable;
int fogState = FogEnable;

AlphaBlendType = 0;
AlphaTestEnable = false;
TextureEnable = true;
FogEnable = false;

glDisable(GL_BLEND);

if (alphaTestState)
glDisable(GL_ALPHA_TEST);

if (textureState)
glEnable(GL_TEXTURE_2D);

if (fogState)
glEnable(GL_FOG);

EnableCullFace();
EnableDepthMask();
}

void EnableAlphaTest(bool DepthMask)
{
AlphaBlendType = 2;
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
DisableCullFace();
if (DepthMask) EnableDepthMask();
AlphaTestEnable = true;
glEnable(GL_ALPHA_TEST);
TextureEnable = true;
glEnable(GL_TEXTURE_2D);
if (FogEnable) glEnable(GL_FOG);
}

void EnableAlphaBlend()
{
AlphaBlendType = 3;
glEnable(GL_BLEND);
glBlendFunc(GL_ONE, GL_ONE);

DisableCullFace();
DisableDepthMask();

glDisable(GL_ALPHA_TEST);
glEnable(GL_TEXTURE_2D);
glDisable(GL_FOG);
}

void EnableAlphaBlendMinus()
{
GLboolean blendEnabled = glIsEnabled(GL_BLEND);
GLboolean alphaTestEnabled = glIsEnabled(GL_ALPHA_TEST);
GLboolean textureEnabled = glIsEnabled(GL_TEXTURE_2D);
GLboolean fogEnabled = glIsEnabled(GL_FOG);

if (AlphaBlendType != 4)
{
AlphaBlendType = 4;
glEnable(GL_BLEND);
glBlendFunc(GL_ZERO, GL_ONE_MINUS_SRC_COLOR);
}
DisableCullFace();
DisableDepthMask();

if (alphaTestEnabled)
{
AlphaTestEnable = false;
glDisable(GL_ALPHA_TEST);
}
if (!textureEnabled)
{
TextureEnable = true;
glEnable(GL_TEXTURE_2D);
}
if (fogEnabled)
glEnable(GL_FOG);
}

void EnableAlphaBlend2()
{
if (AlphaBlendType != 5)
{
AlphaBlendType = 5;
glEnable(GL_BLEND);
glBlendFunc(GL_ONE_MINUS_SRC_COLOR, GL_ONE);
}

//Evitando execução desnecessária de funções
if (AlphaTestEnable || CullFaceEnable || DepthMaskEnable || !TextureEnable || FogEnable)
{
DisableCullFace();
DisableDepthMask();
if (AlphaTestEnable)
glDisable(GL_ALPHA_TEST);
if (!TextureEnable)
glEnable(GL_TEXTURE_2D);
if (FogEnable)
glEnable(GL_FOG);
}
}

void EnableAlphaBlend3()
{
    if(AlphaBlendType != 6)
{
AlphaBlendType = 6;
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
}
    DisableCullFace();
    DisableDepthMask();
    if(AlphaTestEnable)
{
AlphaTestEnable = false;
    glDisable(GL_ALPHA_TEST);
}
    if(!TextureEnable)
{
TextureEnable = true;
glEnable(GL_TEXTURE_2D);
}
if(FogEnable)
glEnable(GL_FOG);
}

void EnableAlphaBlend4()
{
    if(AlphaBlendType != 7)
{
AlphaBlendType = 7;
glEnable(GL_BLEND);
glBlendFunc(GL_ONE,GL_ONE_MINUS_SRC_COLOR);
}
    DisableCullFace();
    DisableDepthMask();
    if(AlphaTestEnable)
{
AlphaTestEnable = false;
    glDisable(GL_ALPHA_TEST);
}
    if(!TextureEnable)
{
TextureEnable = true;
glEnable(GL_TEXTURE_2D);
}
if(FogEnable)
glEnable(GL_FOG);
}

void EnableLightMap()
{
    if(AlphaBlendType != 1)
{
AlphaBlendType = 1;
glEnable(GL_BLEND);
glBlendFunc(GL_ZERO,GL_SRC_COLOR);
}
    EnableCullFace();
    EnableDepthMask();
    if(AlphaTestEnable)
{
AlphaTestEnable = false;
    glDisable(GL_ALPHA_TEST);
}
    if(!TextureEnable)
{
TextureEnable = true;
glEnable(GL_TEXTURE_2D);
}
if(FogEnable)
glEnable(GL_FOG);
}

void glViewport2(int x,int y,int Width,int Height)
{
    OpenglWindowX      = x;
    OpenglWindowY      = y;
    OpenglWindowWidth  = Width;
    OpenglWindowHeight = Height;
    glViewport(x,WindowHeight-(y+Height),Width,Height);
}

float ConvertX(float x)
{
return x*(float)WindowWidth/640.f;
}

float ConvertY(float y)
{
return y*(float)WindowHeight/480.f;
}

void BeginOpengl(int x,int y,int Width,int Height )
{
x      = x*WindowWidth/640;
y      = y*WindowHeight/480;
Width  = Width*WindowWidth/640;
Height = Height*WindowHeight/480;

    glMatrixMode(GL_PROJECTION);
glPushMatrix();
    glLoadIdentity();
    glViewport2(x,y,Width,Height);

gluPerspective2(CameraFOV,(float)Width/(float)Height,CameraViewNear,CameraViewFar*1.4f);
   
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
    glLoadIdentity();
    glRotatef(CameraAngle[1],0.f,1.f,0.f);
    if(CameraTopViewEnable == false)
glRotatef(CameraAngle[0],1.f,0.f,0.f);
    glRotatef(CameraAngle[2],0.f,0.f,1.f);
    glTranslatef(-CameraPosition[0],-CameraPosition[1],-CameraPosition[2]);

    glDisable(GL_ALPHA_TEST);
    glEnable(GL_TEXTURE_2D);
    glEnable(GL_DEPTH_TEST);
    glEnable(GL_CULL_FACE);
    glDepthMask(true);
    AlphaTestEnable = false;
TextureEnable   = true;
DepthTestEnable = true;
CullFaceEnable  = true;
DepthMaskEnable = true;
    glDepthFunc(GL_LEQUAL);
glAlphaFunc(GL_GREATER,0.25f);
if(FogEnable)
{
glEnable(GL_FOG);
glFogi(GL_FOG_MODE, GL_LINEAR);
glFogf(GL_FOG_DENSITY, FogDensity);
glFogfv(GL_FOG_COLOR, FogColor);
}
else
{
glDisable(GL_FOG);
}

    GetOpenGLMatrix(CameraMatrix);
}

void EndOpengl()
{
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
glMatrixMode(GL_PROJECTION);
glPopMatrix();
}

void UpdateMousePositionn()
{
vec3_t vPos;

glLoadIdentity();
glTranslatef(-CameraPosition[0],-CameraPosition[1],-CameraPosition[2]);
GetOpenGLMatrix(CameraMatrix);

Vector(-CameraMatrix[0][3], -CameraMatrix[1][3], -CameraMatrix[2][3], vPos);
VectorIRotate(vPos, CameraMatrix, MousePosition);
}

#ifdef LDS_ADD_MULTISAMPLEANTIALIASING
BOOL IsGLExtensionSupported(const char *extension)
{
const size_t extlen = strlen(extension);
const char *supported = NULL;

// Try To Use wglGetExtensionStringARB On Current DC, If Possible
PROC wglGetExtString = wglGetProcAddress("wglGetExtensionsStringARB");

if (wglGetExtString)
supported = ((char*(__stdcall*)(HDC))wglGetExtString)(wglGetCurrentDC());

// If That Failed, Try Standard Opengl Extensions String
if (supported == NULL)
supported = (char*)glGetString(GL_EXTENSIONS);

// If That Failed Too, Must Be No Extensions Supported
if (supported == NULL)
return FALSE;

// Begin Examination At Start Of String, Increment By 1 On False Match
for (const char* p = supported; ; p++)
{
// Advance p Up To The Next Possible Match
p = strstr(p, extension);

if (p == NULL)
return FALSE; // No Match

if ((p==supported || p[-1]==' ') && (p[extlen]=='\0' || p[extlen]==' '))
return TRUE; // Match
}
}

BOOL InitGLMultisample(HINSTANCE hInstance,HWND hWnd,PIXELFORMATDESCRIPTOR pfd, int iRequestMSAAValue,int& OutiPixelFormat )
{
BOOL bIsGLMultisampleSupported = FALSE;

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)

// See If The String Exists In WGL!
if (!IsGLExtensionSupported("WGL_ARB_multisample"))
{
bIsGLMultisampleSupported=FALSE;
return FALSE;
}

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)
// Get Our Pixel Format
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)wglGetProcAddress("wglChoosePixelFormatARB");
if (!wglChoosePixelFormatARB)
{
bIsGLMultisampleSupported=FALSE;
return FALSE;
}

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)

// Get Our Current Device Context
HDC hDC = GetDC(hWnd);

int valid;
UINT numFormats;
float fAttributes[] = {0,0};

// These Attributes Are The Bits We Want To Test For In Our Sample
// Everything Is Pretty Standard, The Only One We Want To
// Really Focus On Is The SAMPLE BUFFERS ARB And WGL SAMPLES
// These Two Are Going To Do The Main Testing For Whether Or Not
// We Support Multisampling On This Hardware.
int iAttributes[] =
{
WGL_DRAW_TO_WINDOW_ARB,GL_TRUE,
WGL_SUPPORT_OPENGL_ARB,GL_TRUE,
WGL_ACCELERATION_ARB,WGL_FULL_ACCELERATION_ARB,
WGL_COLOR_BITS_ARB,24,
WGL_ALPHA_BITS_ARB,8,
WGL_DEPTH_BITS_ARB,16,
WGL_STENCIL_BITS_ARB,0,
WGL_DOUBLE_BUFFER_ARB,GL_TRUE,
WGL_SAMPLE_BUFFERS_ARB,GL_TRUE,
WGL_SAMPLES_ARB, iRequestMSAAValue, // xN MultiSampling (N=4,2,1)
0,0
};

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)

// First We Check To See If We Can Get A Pixel Format For 4 Samples
valid = wglChoosePixelFormatARB(hDC,iAttributes,fAttributes,1,&OutiPixelFormat,&numFormats);

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)

// If We Returned True, And Our Format Count Is Greater Than 1
if (valid && numFormats >= 1)
{
bIsGLMultisampleSupported = TRUE;
return bIsGLMultisampleSupported;
}

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)

// Our Pixel Format With 4 Samples Failed, Test For 2 Samples
iAttributes[19] = 2;
valid = wglChoosePixelFormatARB(hDC,iAttributes,fAttributes,1,&OutiPixelFormat,&numFormats);
if (valid && numFormats >= 1)
{
bIsGLMultisampleSupported = TRUE;
return bIsGLMultisampleSupported;
}

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)

// Return The Valid Format
return  bIsGLMultisampleSupported;
}

void SetEnableMultisample()
{
if( TRUE == g_bSupportedMSAA )
{
glEnable(GL_MULTISAMPLE_ARB); // Enable Multisampling
}

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)
}

void SetDisableMultisample()
{
if( TRUE == g_bSupportedMSAA )
{
glDisable(GL_MULTISAMPLE_ARB); // Enable Multisampling
}

#if defined(_DEBUG)
CheckGLError( __FILE__, __LINE__ );
#endif // defined(_DEBUG)
}

#endif // LDS_ADD_MULTISAMPLEANTIALIASING

///////////////////////////////////////////////////////////////////////////////
// render util
///////////////////////////////////////////////////////////////////////////////

inline void TEXCOORD(float *c,float u,float v)
{
c[0] = u;
c[1] = v;
}

void RenderBox(float Matrix[3][4])
{
vec3_t BoundingBoxMin;
vec3_t BoundingBoxMax;
Vector(-10.f,-30.f,-10.f,BoundingBoxMin);
Vector(10.f,0.f,10.f,BoundingBoxMax);

vec3_t BoundingVertices[8];
Vector(BoundingBoxMax[0],BoundingBoxMax[1],BoundingBoxMax[2],BoundingVertices[0]);
Vector(BoundingBoxMax[0],BoundingBoxMax[1],BoundingBoxMin[2],BoundingVertices[1]);
Vector(BoundingBoxMax[0],BoundingBoxMin[1],BoundingBoxMax[2],BoundingVertices[2]);
Vector(BoundingBoxMax[0],BoundingBoxMin[1],BoundingBoxMin[2],BoundingVertices[3]);
Vector(BoundingBoxMin[0],BoundingBoxMax[1],BoundingBoxMax[2],BoundingVertices[4]);
Vector(BoundingBoxMin[0],BoundingBoxMax[1],BoundingBoxMin[2],BoundingVertices[5]);
Vector(BoundingBoxMin[0],BoundingBoxMin[1],BoundingBoxMax[2],BoundingVertices[6]);
Vector(BoundingBoxMin[0],BoundingBoxMin[1],BoundingBoxMin[2],BoundingVertices[7]);

vec3_t TransformVertices[8];
for(int j=0;j<8;j++)
{
    VectorTransform(BoundingVertices[j],Matrix,TransformVertices[j]);
}

glBegin(GL_QUADS);
//glBegin(GL_LINES);
glColor3f(0.2f,0.2f,0.2f);
glTexCoord2f( 1.0F, 1.0F); glVertex3fv(TransformVertices[7]);
glTexCoord2f( 1.0F, 0.0F); glVertex3fv(TransformVertices[6]);
glTexCoord2f( 0.0F, 0.0F); glVertex3fv(TransformVertices[4]);
glTexCoord2f( 0.0F, 1.0F); glVertex3fv(TransformVertices[5]);

glColor3f(0.2f,0.2f,0.2f);
glTexCoord2f( 0.0F, 1.0F); glVertex3fv(TransformVertices[0]);
glTexCoord2f( 1.0F, 1.0F); glVertex3fv(TransformVertices[2]);
glTexCoord2f( 1.0F, 0.0F); glVertex3fv(TransformVertices[3]);
glTexCoord2f( 0.0F, 0.0F); glVertex3fv(TransformVertices[1]);

glColor3f(0.6f,0.6f,0.6f);
glTexCoord2f( 1.0F, 1.0F); glVertex3fv(TransformVertices[7]);
glTexCoord2f( 1.0F, 0.0F); glVertex3fv(TransformVertices[3]);
glTexCoord2f( 0.0F, 0.0F); glVertex3fv(TransformVertices[2]);
glTexCoord2f( 0.0F, 1.0F); glVertex3fv(TransformVertices[6]);

glColor3f(0.6f,0.6f,0.6f);
glTexCoord2f( 0.0F, 1.0F); glVertex3fv(TransformVertices[0]);
glTexCoord2f( 1.0F, 1.0F); glVertex3fv(TransformVertices[1]);
glTexCoord2f( 1.0F, 0.0F); glVertex3fv(TransformVertices[5]);
glTexCoord2f( 0.0F, 0.0F); glVertex3fv(TransformVertices[4]);

glColor3f(0.4f,0.4f,0.4f);
glTexCoord2f( 1.0F, 1.0F); glVertex3fv(TransformVertices[7]);
glTexCoord2f( 1.0F, 0.0F); glVertex3fv(TransformVertices[5]);
glTexCoord2f( 0.0F, 0.0F); glVertex3fv(TransformVertices[1]);
glTexCoord2f( 0.0F, 1.0F); glVertex3fv(TransformVertices[3]);

glColor3f(0.4f,0.4f,0.4f);
glTexCoord2f( 0.0F, 1.0F); glVertex3fv(TransformVertices[0]);
glTexCoord2f( 1.0F, 1.0F); glVertex3fv(TransformVertices[4]);
glTexCoord2f( 1.0F, 0.0F); glVertex3fv(TransformVertices[6]);
glTexCoord2f( 0.0F, 0.0F); glVertex3fv(TransformVertices[2]);
glEnd();
}

void RenderPlane3D(float Width,float Height,float Matrix[3][4])
{
vec3_t BoundingVertices[4];
Vector(-Width,-Width, Height,BoundingVertices[3]);
Vector( Width, Width, Height,BoundingVertices[2]);
Vector( Width, Width,-Height,BoundingVertices[1]);
Vector(-Width,-Width,-Height,BoundingVertices[0]);

vec3_t TransformVertices[4];
for(int j=0;j<4;j++)
{
    VectorTransform(BoundingVertices[j],Matrix,TransformVertices[j]);
}

glBegin(GL_QUADS);
glTexCoord2f( 0.f, 1.f); glVertex3fv(TransformVertices[0]);
glTexCoord2f( 1.f, 1.f); glVertex3fv(TransformVertices[1]);
glTexCoord2f( 1.f, 0.f); glVertex3fv(TransformVertices[2]);
glTexCoord2f( 0.f, 0.f); glVertex3fv(TransformVertices[3]);
glEnd();
}

void BeginSprite()
{
glPushMatrix();
glLoadIdentity();
}

void EndSprite()
{
glPopMatrix();
}

void RenderSprite(int Texture,vec3_t Position,float Width,float Height,vec3_t Light,float Rotation,float u,float v,float uWidth,float vHeight)
{
    BindTexture(Texture);

vec3_t p2;
VectorTransform(Position,CameraMatrix,p2);
//VectorCopy(Position,p2);
float x = p2[0];
float y = p2[1];
float z = p2[2];

Width  *= 0.5f;
Height *= 0.5f;

vec3_t p[4];
if(Rotation==0)
{
Vector(x-Width, y-Height, z, p[0]);
Vector(x+Width, y-Height, z, p[1]);
Vector(x+Width, y+Height, z, p[2]);
Vector(x-Width, y+Height, z, p[3]);
}
else
{
vec3_t p2[4];
Vector(-Width,-Height, z, p2[0]);
Vector( Width,-Height, z, p2[1]);
Vector( Width, Height, z, p2[2]);
Vector(-Width, Height, z, p2[3]);
vec3_t Angle;
Vector(0.f,0.f,Rotation,Angle);
float Matrix[3][4];
AngleMatrix(Angle,Matrix);
for(int i=0;i<4;i++)
{
VectorRotate(p2[i],Matrix,p[i]);
p[i][0] += x;
p[i][1] += y;
}
}

float c[4][2];
TEXCOORD(c[3],u       ,v        );
TEXCOORD(c[2],u+uWidth,v        );
TEXCOORD(c[1],u+uWidth,v+vHeight);
TEXCOORD(c[0],u       ,v+vHeight);

glBegin(GL_QUADS);
    if(Bitmaps[Texture].Components==3)
glColor3fv(Light);
else
{
if(Texture == BITMAP_BLOOD+1 || Texture == BITMAP_FONT_HIT)
    glColor4f(Light[0],Light[1],Light[2],1.f);
else
    glColor4f(Light[0],Light[1],Light[2],Light[0]);
}
for(int i=0;i<4;i++)
{
glTexCoord2f(c[i][0],c[i][1]);
glVertex3fv(p[i]);
}
glEnd();
}

void RenderSpriteUV(int Texture,vec3_t Position,float Width,float Height,float (*UV)[2],vec3_t Light[4],float Alpha)
{
    BindTexture(Texture);

vec3_t p2;
VectorTransform(Position,CameraMatrix,p2);
float x = p2[0];
float y = p2[1];
float z = p2[2];

Width  *= 0.5f;
Height *= 0.5f;
vec3_t p[4];
Vector(x-Width, y-Height, z, p[0]);
Vector(x+Width, y-Height, z, p[1]);
Vector(x+Width, y+Height, z, p[2]);
Vector(x-Width, y+Height, z, p[3]);

glBegin(GL_QUADS);
for(int i=0;i<4;i++)
{
      glColor4f(Light[i][0],Light[i][1],Light[i][2],Alpha);
glTexCoord2f(UV[i][0],UV[i][1]);
glVertex3fv(p[i]);
}
glEnd();
}

void RenderNumber(vec3_t Position,int Num,vec3_t Color,float Alpha,float Scale)
{
vec3_t p;
VectorCopy(Position,p);
vec3_t Light[4];
VectorCopy(Color,Light[0]);
VectorCopy(Color,Light[1]);
VectorCopy(Color,Light[2]);
VectorCopy(Color,Light[3]);
    if(Num == -1)
{
float UV[4][2];
TEXCOORD(UV[0],0.f       ,32.f/32.f);
TEXCOORD(UV[1],32.f/256.f,32.f/32.f);
TEXCOORD(UV[2],32.f/256.f,17.f/32.f);
TEXCOORD(UV[3],0.f       ,17.f/32.f);
RenderSpriteUV(BITMAP_FONT+1,p,45,20,UV,Light,Alpha);
}
else if(Num == -2)
{
RenderSprite(BITMAP_FONT_HIT,p,32*Scale,20*Scale, Light[0], 0.f, 0.f, 0.f, 27.f/32.f, 15.f/16.f);
}
else
{
char Text[32];
itoa(Num,Text,10);
p[0] -= strlen(Text)*5.f;
unsigned int Length = strlen(Text);
p[0] -= Length*Scale*0.125f;
p[1] -= Length*Scale*0.125f;
for(unsigned int i=0;i<Length;i++)
{
float UV[4][2];
float u = (float)(Text[i]-48)*16.f/256.f;
TEXCOORD(UV[0],u           ,16.f/32.f);
TEXCOORD(UV[1],u+16.f/256.f,16.f/32.f);
TEXCOORD(UV[2],u+16.f/256.f,0.f);
TEXCOORD(UV[3],u           ,0.f);
RenderSpriteUV(BITMAP_FONT+1,p,Scale,Scale,UV,Light,Alpha);
p[0] += Scale*0.5f;
p[1] += Scale*0.5f;
}
}
}

float RenderNumber2D(float x,float y,int Num,float Width,float Height)
{
char Text[32];
itoa(Num,Text,10);
int Length = (int)strlen(Text);
x -= Width*Length/2;
for(int i=0;i<Length;i++)
{
float u = (float)(Text[i]-48)*16.f/256.f;
      //glColor3fv(Color);
RenderBitmap(BITMAP_FONT+1,x,y,Width,Height,u,0.f,16.f/256.f,16.f/32.f);
x += Width*0.7f;
}
return x;
}

void BeginBitmap()
{
glMatrixMode(GL_PROJECTION);
glPushMatrix();
    glLoadIdentity();

    glViewport(0,0,WindowWidth,WindowHeight);
    gluPerspective(CameraFOV,(WindowWidth)/((float)WindowHeight),CameraViewNear,CameraViewFar);
   
glLoadIdentity();
    gluOrtho2D(0,WindowWidth,0,WindowHeight);

glMatrixMode(GL_MODELVIEW);
glPushMatrix();

    glLoadIdentity();
DisableDepthTest();
}

void EndBitmap()
{
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
glMatrixMode(GL_PROJECTION);
glPopMatrix();
}

void RenderColor(float x,float y,float Width,float Height,float Alpha,int Flag)
{
    DisableTexture();

x = ConvertX(x);
y = ConvertY(y);
Width  = ConvertX(Width);
Height = ConvertY(Height);

float p[4][2];
y = WindowHeight - y;

p[0][0] = x      ;p[0][1] = y;
p[1][0] = x      ;p[1][1] = y-Height;
p[2][0] = x+Width;p[2][1] = y-Height;
p[3][0] = x+Width;p[3][1] = y;

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
if(Alpha > 0.f)
{
if(Flag == 0)
glColor4f(1.f,1.f,1.f,Alpha);
else
if(Flag == 1)
glColor4f(0.f,0.f,0.f,Alpha);
}
glVertex2f(p[i][0],p[i][1]);
if(Alpha > 0.f)
{
glColor4f(1.f,1.f,1.f,1.f);
}
}
glEnd();
}
void EndRenderColor()
{
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
glEnable(GL_TEXTURE_2D);
}

void RenderColorBitmap(int Texture,float x,float y,float Width,float Height,float u,float v,float uWidth, float vHeight, unsigned int color)
{
x = ConvertX(x);
y = ConvertY(y);

Width = ConvertX(Width);
Height = ConvertY(Height);

    BindTexture(Texture);

float p[4][2];

y = WindowHeight - y;

p[0][0] = x      ;p[0][1] = y;
p[1][0] = x      ;p[1][1] = y-Height;
p[2][0] = x+Width;p[2][1] = y-Height;
p[3][0] = x+Width;p[3][1] = y;

float c[4][2];
TEXCOORD(c[0],u       ,v        );
TEXCOORD(c[3],u+uWidth,v        );
TEXCOORD(c[2],u+uWidth,v+vHeight);
TEXCOORD(c[1],u       ,v+vHeight);

glBegin(GL_TRIANGLE_FAN);

for(int i=0;i<4;i++)
{
glColor4ub( static_cast<GLubyte>((color&0xff)),         //Rad
        static_cast<GLubyte>((color>>8)&0xff),      //Green
static_cast<GLubyte>((color>>16)&0xff),     //Blue
    static_cast<GLubyte>((color>>24)&0xff) );   //Alpha

glTexCoord2f(c[i][0],c[i][1]);
glVertex2f(p[i][0],p[i][1]);

glColor4f(1.f,1.f,1.f,1.f);
}
glEnd();
}

void RenderBitmap(int Texture,float x,float y,float Width,float Height,float u,float v,float uWidth,float vHeight,bool Scale,bool StartScale,float Alpha)
{
if(StartScale)
{
x = ConvertX(x);
y = ConvertY(y);
}
if(Scale)
{
Width = ConvertX(Width);
Height = ConvertY(Height);
}

    BindTexture(Texture);

float p[4][2];

y = WindowHeight - y;

p[0][0] = x      ;p[0][1] = y;
p[1][0] = x      ;p[1][1] = y-Height;
p[2][0] = x+Width;p[2][1] = y-Height;
p[3][0] = x+Width;p[3][1] = y;

float c[4][2];
TEXCOORD(c[0],u       ,v        );
TEXCOORD(c[3],u+uWidth,v        );
TEXCOORD(c[2],u+uWidth,v+vHeight);
TEXCOORD(c[1],u       ,v+vHeight);

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
if(Alpha > 0.f)
{
glColor4f(1.f,1.f,1.f,Alpha);
}
glTexCoord2f(c[i][0],c[i][1]);
glVertex2f(p[i][0],p[i][1]);
if(Alpha > 0.f)
{
glColor4f(1.f,1.f,1.f,1.f);
}
}
glEnd();
}

void RenderBitmapRotate(int Texture,float x,float y,float Width,float Height,float Rotate,float u,float v,float uWidth,float vHeight)
{
x = ConvertX(x);
y = ConvertY(y);
Width = ConvertX(Width);
Height = ConvertY(Height);
//x -= Width *0.5f;
//y -= Height*0.5f;
    BindTexture(Texture);

vec3_t p[4],p2[4];

y = WindowHeight - y;

Vector(-Width*0.5f, Height*0.5f,0.f,p[0]);
Vector(-Width*0.5f,-Height*0.5f,0.f,p[1]);
Vector( Width*0.5f,-Height*0.5f,0.f,p[2]);
Vector( Width*0.5f, Height*0.5f,0.f,p[3]);

vec3_t Angle;
Vector(0.f,0.f,Rotate,Angle);
float Matrix[3][4];
AngleMatrix(Angle,Matrix);

float c[4][2];
TEXCOORD(c[0],u       ,v        );
TEXCOORD(c[3],u+uWidth,v        );
TEXCOORD(c[2],u+uWidth,v+vHeight);
TEXCOORD(c[1],u       ,v+vHeight);

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
glTexCoord2f(c[i][0],c[i][1]);
      VectorRotate(p[i],Matrix,p2[i]);
glVertex2f(p2[i][0]+x,p2[i][1]+y);
}
glEnd();
}

void RenderBitRotate(int Texture,float x,float y,float Width,float Height,float Rotate)
{
x = ConvertX(x);
y = ConvertY(y);
Width = ConvertX(Width);
Height = ConvertY(Height);

    BindTexture(Texture);

vec3_t p[4],p2[4];

y = Height - y;

float cx = (Width/2.f) - (Width - x);
float cy = (Height/2.f) - (Height - y);

float ax = (-Width*0.5f) + cx;
float bx = (Width*0.5f) + cx;
float ay = (-Height*0.5f) + cy;
float by = (Height*0.5f) + cy;

Vector(ax, by, 0.f, p[0]);
Vector(ax, ay, 0.f, p[1]);
Vector(bx, ay, 0.f, p[2]);
Vector(bx, by, 0.f, p[3]);

vec3_t Angle;
Vector(0.f,0.f,Rotate,Angle);
float Matrix[3][4];
AngleMatrix(Angle,Matrix);

float c[4][2];
TEXCOORD(c[0],0.f,0.f);
TEXCOORD(c[3],1.f,0.f);
TEXCOORD(c[2],1.f,1.f);
TEXCOORD(c[1],0.f,1.f);

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
glTexCoord2f(c[i][0],c[i][1]);
VectorRotate(p[i],Matrix,p2[i]);
glVertex2f(p2[i][0]+(WindowWidth/2.f),p2[i][1]+(WindowHeight/2.f));
}
glEnd();
}

void RenderPointRotate(int Texture,float ix,float iy,float iWidth,float iHeight,float x,float y,float Width,float Height,float Rotate,float Rotate_Loc,float uWidth,float vHeight,int Num)
{
int i = 0;
vec3_t p,p2[4],p3,p4[4],Angle;
float c[4][2],Matrix[3][4];

ix = ConvertX(ix);
iy = ConvertY(iy);
x = ConvertX(x);
y = ConvertY(y);
Width = ConvertX(Width);
Height = ConvertY(Height);

    BindTexture(Texture);

y = Height - y;
iy = Height - iy;

Vector((ix - (Width*0.5f)) + ((Width/2.f) - (Width - x)), (iy - (Height*0.5f)) + ((Height/2.f) - (Height - y)), 0.f, p);

Vector(0.f,0.f,Rotate,Angle);
AngleMatrix(Angle,Matrix);

VectorRotate(p,Matrix,p3);

Vector(-(iWidth*0.5f), (iHeight*0.5f), 0.f, p2[0]);
Vector(-(iWidth*0.5f), -(iHeight*0.5f), 0.f, p2[1]);
Vector((iWidth*0.5f), -(iHeight*0.5f), 0.f, p2[2]);
Vector((iWidth*0.5f), (iHeight*0.5f), 0.f, p2[3]);

Vector(0.f,0.f,Rotate_Loc,Angle);
AngleMatrix(Angle,Matrix);

TEXCOORD(c[0],0.f       ,0.f        );
TEXCOORD(c[3],uWidth,0.f       );
TEXCOORD(c[2],uWidth,vHeight);
TEXCOORD(c[1],0.f       ,vHeight);

glBegin(GL_TRIANGLE_FAN);
for(i=0;i<4;i++)
{
glTexCoord2f(c[i][0],c[i][1]);

Matrix[0][3] = p3[0]+25;
Matrix[1][3] = p3[1];
VectorTransform(p2[i], Matrix, p4[i]);

glVertex2f(p4[i][0]+(WindowWidth/2.f),p4[i][1]+(WindowHeight/2.f));
}
glEnd();

if(Num > -1)
{
float dx,dy;
dx = p4[0][0]+(WindowWidth/2.f);
dy = p4[0][1]+(WindowHeight/2.f);
dx = dx * (float)(640.f/WindowWidth);
dy = dy * (float)(480.f/WindowHeight);
if(Num >= 100)
{
g_pNewUIMiniMap->SetBtnPos(Num - 100,dx - (iWidth/2) , (480 - dy) - (iHeight/2), iWidth,iHeight);
}
else
{
g_pNewUIMiniMap->SetBtnPos(Num ,dx, 480 - dy, iWidth/2,iHeight/2);
}
}
}

void RenderBitmapLocalRotate(int Texture,float x,float y,float Width,float Height,float Rotate,float u,float v,float uWidth,float vHeight)
{
    BindTexture(Texture);

vec3_t p[4];
x = ConvertX(x);
y = ConvertY(y);
y = WindowHeight - y;
Width = ConvertX(Width);
Height = ConvertY(Height);

vec3_t vCenter, vDir;
Vector(x, y, 0, vCenter);
Vector(Width*0.5f, -Height*0.5f, 0, vDir);
p[0][0] = vCenter[0] + (vDir[0])*cosf(Rotate);
p[0][1] = vCenter[1] + (vDir[1])*sinf(Rotate);
p[1][0] = vCenter[0] + (vDir[0])*sinf(Rotate);
p[1][1] = vCenter[1] - (vDir[1])*cosf(Rotate);
p[2][0] = vCenter[0] - (vDir[0])*cosf(Rotate);
p[2][1] = vCenter[1] - (vDir[1])*sinf(Rotate);
p[3][0] = vCenter[0] - (vDir[0])*sinf(Rotate);
p[3][1] = vCenter[1] + (vDir[1])*cosf(Rotate);

float c[4][2];
TEXCOORD(c[0],u       ,v        );
TEXCOORD(c[3],u+uWidth,v        );
TEXCOORD(c[2],u+uWidth,v+vHeight);
TEXCOORD(c[1],u       ,v+vHeight);

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
glTexCoord2f(c[i][0],c[i][1]);
glVertex2f(p[i][0],p[i][1]);
}
glEnd();
}

void RenderBitmapAlpha(int Texture,float sx,float sy,float Width,float Height)
{
    EnableAlphaTest();
    BindTexture(Texture);

sy = WindowHeight - sy;
for(int y=0;y<4;y++)
{
for(int x=0;x<4;x++)
{
          float p[4][2];
p[0][0] = sx+((x  )*Width)*0.25f; p[0][1] = sy-((y  )*Height)*0.25f;
p[1][0] = sx+((x  )*Width)*0.25f; p[1][1] = sy-((y+1)*Height)*0.25f;
p[2][0] = sx+((x+1)*Width)*0.25f; p[2][1] = sy-((y+1)*Height)*0.25f;
p[3][0] = sx+((x+1)*Width)*0.25f; p[3][1] = sy-((y  )*Height)*0.25f;

          float c[4][2];
TEXCOORD(c[0],(x  )*0.25f,(y  )*0.25f);
TEXCOORD(c[1],(x  )*0.25f,(y+1)*0.25f);
TEXCOORD(c[2],(x+1)*0.25f,(y+1)*0.25f);
TEXCOORD(c[3],(x+1)*0.25f,(y  )*0.25f);

float Alpha[4] = {1.f,1.f,1.f,1.f};
if(x==0) {Alpha[0] = 0.f;Alpha[1] = 0.f;}
if(x==3) {Alpha[2] = 0.f;Alpha[3] = 0.f;}
if(y==0) {Alpha[0] = 0.f;Alpha[3] = 0.f;}
if(y==3) {Alpha[1] = 0.f;Alpha[2] = 0.f;}
/*if(x==0&&y==0) Alpha[0] = 0.f;
if(x==0&&y==3) Alpha[1] = 0.f;
if(x==3&&y==3) Alpha[2] = 0.f;
if(x==3&&y==0) Alpha[3] = 0.f;*/

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
      glColor4f(1.f,1.f,1.f,Alpha[i]);
glTexCoord2f(c[i][0],c[i][1]);
glVertex2f(p[i][0],p[i][1]);
}
glEnd();
}
}
}

void RenderBitmapUV(int Texture,float x,float y,float Width,float Height,float u,float v,float uWidth,float vHeight)
{
x = ConvertX(x);
y = ConvertY(y);
Width = ConvertX(Width);
Height = ConvertY(Height);
    BindTexture(Texture);

float p[4][2];
y = WindowHeight - y;
p[0][0] = x      ;p[0][1] = y;
p[1][0] = x      ;p[1][1] = y-Height;
p[2][0] = x+Width;p[2][1] = y-Height;
p[3][0] = x+Width;p[3][1] = y;

float c[4][2];
TEXCOORD(c[0],u       ,v        +vHeight*0.25f);
TEXCOORD(c[3],u+uWidth,v        );
TEXCOORD(c[2],u+uWidth,v+vHeight);
TEXCOORD(c[1],u       ,v+vHeight-vHeight*0.25f);

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
glTexCoord2f(c[i][0],c[i][1]);
glVertex2f(p[i][0],p[i][1]);
}
glEnd();
}

///////////////////////////////////////////////////////////////////////////////
// collision detect util
///////////////////////////////////////////////////////////////////////////////

float absf(float a)
{
if(a < 0.f) return -a;
return a;
}

float minf(float a,float b)
{
if(a > b) return b;
return a;
}

float maxf(float a,float b)
{
if(a > b) return a;
return b;
}

int InsideTest(float x,float y,float z,int n,float *v1,float *v2,float *v3,float *v4,int flag,float type)
{
    if(type > 0.f)
flag <<= 3;

    int i;
    vec3_t *vtx[4];
vtx[0] = (vec3_t *)v1;
vtx[1] = (vec3_t *)v2;
vtx[2] = (vec3_t *)v3;
vtx[3] = (vec3_t *)v4;

    int j = n-1;
    switch(flag)
{
case 1:
        for(i=0;i<n;j=i,i++)
{
float d = ((*vtx[i])[1]-y) * ((*vtx[j])[2]-z) - ((*vtx[j])[1]-y) * ((*vtx[i])[2]-z);
if(d <= 0.f)
return false;
}
break;
case 2:
        for(i=0;i<n;j=i,i++)
{
float d = ((*vtx[i])[2]-z) * ((*vtx[j])[0]-x) - ((*vtx[j])[2]-z) * ((*vtx[i])[0]-x);
if(d <= 0.f)
return false;
}
break;
case 4:
        for(i=0;i<n;j=i,i++)
{
float d = ((*vtx[i])[0]-x) * ((*vtx[j])[1]-y) - ((*vtx[j])[0]-x) * ((*vtx[i])[1]-y);
if(d <= 0.f)
return false;
}
break;
case 8:
        for(i=0;i<n;j=i,i++)
{
float d = ((*vtx[i])[1]-y) * ((*vtx[j])[2]-z) - ((*vtx[j])[1]-y) * ((*vtx[i])[2]-z);
if(d >= 0.f)
return false;
}
break;
case 16:
        for(i=0;i<n;j=i,i++)
{
float d = ((*vtx[i])[2]-z) * ((*vtx[j])[0]-x) - ((*vtx[j])[2]-z) * ((*vtx[i])[0]-x);
if(d >= 0.f)
return false;
}
break;
case 32:
        for(i=0;i<n;j=i,i++)
{
float d = ((*vtx[i])[0]-x) * ((*vtx[j])[1]-y) - ((*vtx[j])[0]-x) * ((*vtx[i])[1]-y);
if(d >= 0.f)
return false;
}
break;
}

    return true;
}

float Distance;

void InitCollisionDetectLineToFace()
{
Distance = 9999999.f;
}

vec3_t CollisionPosition;

bool CollisionDetectLineToFace(vec3_t Position,vec3_t Target,int Polygon,float *v1,float *v2,float *v3,float *v4,vec3_t Normal,bool Collision)
{
vec3_t Direction;
VectorSubtract(Target,Position,Direction);
float a = DotProduct(Direction,Normal);
if(a >= 0.f) return false;
float b = DotProduct(Position,Normal) - DotProduct(v1,Normal);
float t = -b/a;
if(t >= 0.f && t <= Distance)
{
float X = Direction[0] * t + Position[0];
float Y = Direction[1] * t + Position[1];
float Z = Direction[2] * t + Position[2];
int Count = 0;
float MIN = minf(minf(absf(Direction[0]),absf(Direction[1])),absf(Direction[2]));
if(MIN == absf(Direction[0]))
{
if( (Y >= minf(Position[1],Target[1]) && Y <= maxf(Position[1],Target[1])) &&
(Z >= minf(Position[2],Target[2]) && Z <= maxf(Position[2],Target[2])) ) Count++;
}
else if(MIN == absf(Direction[1]))
{
if( (Z >= minf(Position[2],Target[2]) && Z <= maxf(Position[2],Target[2])) &&
(X >= minf(Position[0],Target[0]) && X <= maxf(Position[0],Target[0])) ) Count++;
}
else
{
if( (X >= minf(Position[0],Target[0]) && X <= maxf(Position[0],Target[0])) &&
(Y >= minf(Position[1],Target[1]) && Y <= maxf(Position[1],Target[1])) ) Count++;
}
if(Count == 0) return false;
Count = 0;
if(Normal[0]<=-0.5f || Normal[0]>=0.5f)
{
Count += InsideTest(X,Y,Z,Polygon,v1,v2,v3,v4,1,Normal[0]);
}
else if(Normal[1]<=-0.5f || Normal[1]>=0.5f)
{
Count += InsideTest(X,Y,Z,Polygon,v1,v2,v3,v4,2,Normal[1]);
}
else
{
Count += InsideTest(X,Y,Z,Polygon,v1,v2,v3,v4,4,Normal[2]);
}
if(Count == 0) return false;
if(Collision)
{
      Distance = t;
Vector(X,Y,Z,CollisionPosition);
}
return true;
}
return false;
}

bool ProjectLineBox(vec3_t ax, vec3_t p1, vec3_t p2, OBB_t obb)
{
float P1 = DotProduct(ax, p1);
float P2 = DotProduct(ax, p2);

float mx1 = maxf(P1, P2);
float mn1 = minf(P1, P2);

float ST = DotProduct(ax, obb.StartPos);
float Q1 = DotProduct(ax, obb.XAxis);
float Q2 = DotProduct(ax, obb.YAxis);
float Q3 = DotProduct(ax, obb.ZAxis);

float mx2 = ST;
float mn2 = ST;

if (Q1>0) mx2+=Q1; else mn2+=Q1;
if (Q2>0) mx2+=Q2; else mn2+=Q2;
if (Q3>0) mx2+=Q3; else mn2+=Q3;

if (mn1 > mx2) return false;
if (mn2 > mx1) return false;

return true;
}

bool CollisionDetectLineToOBB(vec3_t p1, vec3_t p2, OBB_t obb)
{
vec3_t e1;
vec3_t eq11,eq12,eq13;

VectorSubtract(p2,p1,e1);

CrossProduct( e1, obb.XAxis, eq11);
CrossProduct( e1, obb.YAxis, eq12);
CrossProduct( e1, obb.ZAxis, eq13);

if (!ProjectLineBox(eq11,p1,p2,obb) ) return false;
if (!ProjectLineBox(eq12,p1,p2,obb) ) return false;
if (!ProjectLineBox(eq13,p1,p2,obb) ) return false;

if (!ProjectLineBox(obb.XAxis,p1,p2,obb) ) return false;
if (!ProjectLineBox(obb.YAxis,p1,p2,obb) ) return false;
if (!ProjectLineBox(obb.ZAxis,p1,p2,obb) ) return false;

return true;
}

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Nakamura on March 01, 2023, 03:40:44 AM
alguien con este problema cuando te encuentras en el mapa de Kalima?

(https://i.imgur.com/tLUR7KX.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 02, 2023, 05:48:08 PM
Estou corrigindo os bugs de kalima onde a água não foi projetada.

Antes:
(https://i.ibb.co/CzqV0VB/Screen-03-02-13-23-0000.jpg)
Depois
(https://i.ibb.co/kgmQ0w7/Screen-03-02-19-25-0000.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on March 02, 2023, 07:12:56 PM
(https://i.imgur.com/l5TlGUY.png)

maybe you did something wrong, i use webzen origin and don't get this error
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 02, 2023, 07:53:29 PM
(https://i.imgur.com/l5TlGUY.png)

maybe you did something wrong, i use webzen origin and don't get this error

share CSWaterTerrain.cpp


Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on March 03, 2023, 04:36:59 AM
(https://i.imgur.com/l5TlGUY.png)

maybe you did something wrong, i use webzen origin and don't get this error

share CSWaterTerrain.cpp

My file:
Code: [Select]
//////////////////////////////////////////////////////////////////////////
// 
//  CSWaterTerrain.cpp
// 
//////////////////////////////////////////////////////////////////////////


#include "stdafx.h"
#include "ZzzOpenglUtil.h"
#include "zzzInfomation.h"
#include "zzzBmd.h"
#include "zzzObject.h"
#include "zzztexture.h"
#include "zzzCharacter.h"
#include "zzzscene.h"
#include "zzzInterface.h"
#include "zzzinventory.h"
#include "zzzLodTerrain.h"
#include "CSWaterTerrain.h"
#include "GMHellas.h"

extern  float   WorldTime;
extern  int     MoveSceneFrame;
extern  float   TerrainMappingAlpha[TERRAIN_SIZE*TERRAIN_SIZE];
extern  float   g_chrome[MAX_VERTICES][2];



void    CSWaterTerrain::Init ( void )
{
    Vector ( 1.f, -1.f, 1.f, m_vLightVector );

    memset ( m_iWaveHeight, 0, sizeof( int )*WATER_TERRAIN_SIZE*WATER_TERRAIN_SIZE*4 );
}

void    CSWaterTerrain::Update ( void )
{
    if ( !InHellas(m_iMapIndex) ) return;

    int WaveX;
    int WaveY;
    //int Deep1 = (int)( 1050+sin(WorldTime*0.003f)*100 );

    if ( (MoveSceneFrame%40)==0 )
    {
        WaveX = ((Hero->PositionX)*2)+(rand()%30)-15;
        WaveY = ((Hero->PositionY)*2)+25;
        addSineWave ( WaveX, WaveY, 20, 2, 2000 );
    }

    m_iWaterPage ^= 1;
    calcWave ();
    calcBaseWave ();
}



void    CSWaterTerrain::Render ( void )
{
    if ( !InHellas(m_iMapIndex) ) return;

    //  ¹°ÁöÇüÀ» »ý¼ºÇÑ´Ù.
    CreateTerrain ( (Hero->PositionX)*2, (Hero->PositionY)*2 );

    float alpha;
    int   offset;
    int   i, j;
for ( i=0; i<MAX_WATER_GRID*MAX_WATER_GRID; i++ )
{
float *Normal = m_Normals[i];
g_chrome[i][0] = Normal[2]*0.5f + 0.1f;
g_chrome[i][1] = Normal[1]*0.5f + 0.5f;
}

    EnableAlphaTest ();
BindTexture ( BITMAP_MAPTILE );
glBegin ( GL_TRIANGLES );
    glColor3f ( 0.2f, 0.5f, 0.65f );
for ( j=0; j<m_iTriangleListNum; j++ )
{
        offset = m_iTriangleList[j];
glTexCoord2f ( g_chrome[offset][1], g_chrome[offset][0] );
        glVertex3fv ( m_Vertices[offset] );
}
glEnd();
    EnableAlphaBlend ();
BindTexture ( BITMAP_MAPTILE+1 );
glBegin ( GL_TRIANGLES );
for ( j=0; j<m_iTriangleListNum; j++ )
{
        offset = m_iTriangleList[j];
        alpha = 1.f-DotProduct ( m_Normals[offset], m_vLightVector );
        glColor3f( alpha, alpha*2.5f, alpha*3.f );//, alpha );
glTexCoord2f ( g_chrome[offset][1], g_chrome[offset][0] );
        glVertex3fv ( m_Vertices[offset] );
}
glEnd();
}



void    CSWaterTerrain::CreateTerrain ( int x, int y )
{
    float   fHeight, fHeight1;
    int     offset;
    int     grid = MAX_WATER_GRID/2;

    m_iTriangleListNum = 0;
    for ( int offY=0, i=y-grid+6; offY<MAX_WATER_GRID; ++i, offY++ )
    {
        for ( int offX=0, j=x-grid-4; offX<MAX_WATER_GRID; ++j, offX++ )
        {
            if ( i<0 || j<0 ) fHeight = 350.f;
            else if ( i>=WATER_TERRAIN_SIZE || j>=WATER_TERRAIN_SIZE ) fHeight = 350.f;
            else
            {
                offset = j+(i*WATER_TERRAIN_SIZE);

                fHeight = m_iWaveHeight[m_iWaterPage][offset]+350.f;

                fHeight1 = m_iWaveHeight[2][offset]+350.f;
                fHeight1+= m_iWaveHeight[3][offset]+350.f;

                fHeight = (fHeight+fHeight1/2.f)/2.f;
//                fHeight = fHeight1/2.f;
            }
       
            offset = offX+(offY*MAX_WATER_GRID);
            Vector ( (float)j*WAVE_SCALE, (float)i*WAVE_SCALE, fHeight, m_Vertices[offset] );
            Vector ( 0.f, 0.f, 0.f, m_Normals[offset] );
            if ( offX>=MAX_WATER_GRID-1 || offY>=MAX_WATER_GRID-1 )
            {
                VectorCopy( m_Normals[offset-1], m_Normals[offset] );
                continue;
            }

            //  ¸®½ºÆ® ÀÛ¼º.
            if ( ( (offX%2)==0 && (offY%2)==0 ) || ( (offX%2)==1 && (offY%2)==1 ) )
            {
                m_iTriangleList[m_iTriangleListNum+0] = offset;
                m_iTriangleList[m_iTriangleListNum+1] = offset+1;
                m_iTriangleList[m_iTriangleListNum+2] = offset+1+MAX_WATER_GRID;
 
                m_iTriangleList[m_iTriangleListNum+3] = offset;
                m_iTriangleList[m_iTriangleListNum+4] = offset+1+MAX_WATER_GRID;
                m_iTriangleList[m_iTriangleListNum+5] = offset+MAX_WATER_GRID;
            }
            else
            {
                m_iTriangleList[m_iTriangleListNum+0] = offset;
                m_iTriangleList[m_iTriangleListNum+1] = offset+1;
                m_iTriangleList[m_iTriangleListNum+2] = offset+MAX_WATER_GRID;
 
                m_iTriangleList[m_iTriangleListNum+3] = offset+1;
                m_iTriangleList[m_iTriangleListNum+4] = offset+1+MAX_WATER_GRID;
                m_iTriangleList[m_iTriangleListNum+5] = offset+MAX_WATER_GRID;
            }

            m_iTriangleListNum+=6;
        }
    }

    int     v1, v2, v3;
    vec3_t  normalV;
    int     NormalNum[MAX_WATER_GRID*MAX_WATER_GRID] = { 0, };
for ( int j=0; j<m_iTriangleListNum; j+=3 )
{
        v1 = m_iTriangleList[j+0];
        v2 = m_iTriangleList[j+1];
        v3 = m_iTriangleList[j+2];

        FaceNormalize ( m_Vertices[v1], m_Vertices[v2], m_Vertices[v3], normalV );

        VectorAdd ( normalV, m_Normals[v1], m_Normals[v1] );
        VectorAdd ( normalV, m_Normals[v2], m_Normals[v2] );
        VectorAdd ( normalV, m_Normals[v3], m_Normals[v3] );

        NormalNum[v1]++;
        NormalNum[v2]++;
        NormalNum[v3]++;
}

for (int i=0; i<MAX_WATER_GRID*MAX_WATER_GRID; i++ )
{
        m_Normals[i][0] /= (float)(NormalNum[i]);
        m_Normals[i][1] /= (float)(NormalNum[i]);
        m_Normals[i][2] /= (float)(NormalNum[i]);

        VectorNormalize ( m_Normals[i] );
}
}



void    CSWaterTerrain::addSineWave ( int x, int y, int radiusX, int radiusY, int height )
{
int* p = &m_iWaveHeight[m_iWaterPage][0];

int     cx, cy;
int     left, top, right, bottom;
int     square;
int     radsquare;
float   length = (1024.f/(float)radiusX)*(1024.f/(float)radiusX);

if ( x<0 ) x = 1+radiusX+ rand()%(WATER_TERRAIN_SIZE-2*radiusX-1);
if ( y<0 ) y = 1+radiusY+ rand()%(WATER_TERRAIN_SIZE-2*radiusY-1);

//  radsquare = (radiusX*radiusX) << 8;
radsquare = ( radiusX*radiusY );

//  height /= 8;
left = -radiusX; right  = radiusX;
top  = -radiusY; bottom = radiusY;

// Perform edge clipping...
if ( (x-radiusX)<1 ) left -= ( x-radiusX-1 );
if ( (y-radiusY)<1 ) top  -= ( y-radiusY-1 );
if ( (x+radiusX)>WATER_TERRAIN_SIZE-1 ) right -= ( x+radiusX-WATER_TERRAIN_SIZE+1 );
if ( (y+radiusY)>WATER_TERRAIN_SIZE-1 ) bottom-= ( y+radiusY-WATER_TERRAIN_SIZE+1 );

for ( cy=top; cy<bottom; cy++ )
{
for ( cx=left; cx<right; cx++ )
{
square = cy*cy + cx*cx;
if ( square<radsquare )
{
float dist = sqrtf ( square*length );
                int   sine = (int)(( cos( dist )+0xffff )*height)>>19;
p[WATER_TERRAIN_SIZE*(cy+y)+cx+x] += sine;
}
}
}
}




void    CSWaterTerrain::calcBaseWave ( void )
{
/*
    if ( (rand()%10)==0 )
    {
        m_iSelectWaveX = rand()%WATER_TERRAIN_SIZE;
        m_iSelectWaveY = rand()%WATER_TERRAIN_SIZE;
        m_iAddHeight   = rand()%20+10;
    }
*/
    int MaxHeight;
    int offset;
    int HeroX = ( Hero->PositionX )*2;
    int HeroY = ( Hero->PositionY )*2;
/*
    int HeroX = ( Hero->Object.Position[0]/TERRAIN_SCALE )*2;
    int HeroY = ( Hero->Object.Position[1]/TERRAIN_SCALE )*2;
*/

    int StartX = max ( 0, HeroX-(VIEW_WATER_GRID/2) );
    int StartY = max ( 0, HeroY-(VIEW_WATER_GRID/2) );
    int EndX   = min ( WATER_TERRAIN_SIZE, HeroX+(VIEW_WATER_GRID/2) );
    int EndY   = min ( WATER_TERRAIN_SIZE, HeroY+(VIEW_WATER_GRID/2) );
for ( int i=StartY; i<EndY; i++ )        //  y
    {
        for ( int j=StartX; j<EndX; j++ )    //  x
        {
            offset = j+(i*WATER_TERRAIN_SIZE);

            float alpha = 0.f;//TerrainMappingAlpha[(j/2)+(i/2)*WATER_TERRAIN_SIZE];

            MaxHeight = (int)( sin( (WorldTime*0.005f)+(i*0.1f)+(j*0.1f) )*50*(1+alpha) );
            m_iWaveHeight[2][offset] = (int) ( MaxHeight - sin ( (WorldTime*0.003f)+(j*0.1f)+(i*0.5f) )*50*(1+alpha) );

MaxHeight = (int)( sin( (WorldTime*0.001f)+(i*0.5f)+(j*0.5f) )*25*(1+alpha) );
            m_iWaveHeight[3][offset] = (int) ( MaxHeight - sin ( (WorldTime*0.002f)+(j*1.f)+(i*0.3f) )*25*(1+alpha) );
        }
    }
}



void    CSWaterTerrain::calcWave ( void )
{
int newh;

int* newptr = &m_iWaveHeight[m_iWaterPage][0];
int* oldptr = &m_iWaveHeight[m_iWaterPage^1][0];

int x;
    int y = (WATER_TERRAIN_SIZE-1)*WATER_TERRAIN_SIZE;
for ( int count = WATER_TERRAIN_SIZE+1; count<y; count+=2 )
{
for ( x=count+WATER_TERRAIN_SIZE-2; count<x; count++ )
{
newh = ( ( oldptr[count+WATER_TERRAIN_SIZE]
     + oldptr[count-WATER_TERRAIN_SIZE]
     + oldptr[count+1]
     + oldptr[count-1]
         ) >> 1 )
     - newptr[count];
newptr[count] = newh-( newh>>4 );
}
}
}




float   CSWaterTerrain::GetWaterTerrain ( float xf, float yf )
{
    int x = (int)(xf/TERRAIN_SCALE*2);
    int y = (int)(yf/TERRAIN_SCALE*2);

    float fHeight;
    if ( m_iWaterPage )
    {
        fHeight = m_iWaveHeight[1][x+(y*WATER_TERRAIN_SIZE)]+350.f;
    }
    else
    {
        fHeight = m_iWaveHeight[0][x+(y*WATER_TERRAIN_SIZE)]+350.f;
    }
   
    float fHeight1 = m_iWaveHeight[2][x+(y*WATER_TERRAIN_SIZE)]+350.f;
    fHeight1+= m_iWaveHeight[3][x+(y*WATER_TERRAIN_SIZE)]+350.f;
    fHeight = (fHeight+fHeight1/2.f)/4.f;

    return fHeight;
}




void    CSWaterTerrain::RenderWaterAlphaBitmap ( int Texture, float xf, float yf, float SizeX, float SizeY, vec3_t Light, float Rotation, float Alpha, float Height )
{
if(Alpha==1.f)
      glColor3fv(Light);
else
      glColor4f(Light[0],Light[1],Light[2],Alpha);

vec3_t Angle;
Vector(0.f,0.f,Rotation,Angle);
float Matrix[3][4];
AngleMatrix(Angle,Matrix);

BindTexture(Texture);
float mxf = (xf/TERRAIN_SCALE*2);
float myf = (yf/TERRAIN_SCALE*2);
int   mxi = (int)(mxf);
int   myi = (int)(myf);

float Size;
if(SizeX >= SizeY)
Size = SizeX;
else
Size = SizeY;
float TexU = (((float)mxi-mxf)+0.5f*Size);
float TexV = (((float)myi-myf)+0.5f*Size);
float TexScaleU = 1.f/Size;
float TexScaleV = 1.f/Size;
Size = (float)((int)Size+1);
float Aspect = SizeX/SizeY;
    for(float y=-Size;y<=Size;y+=1.f)
{
for(float x=-Size;x<=Size;x+=1.f)
{
vec3_t p1[4],p2[4];
Vector((TexU+x    )*TexScaleU,(TexV+y    )*TexScaleV,0.f,p1[0]);
Vector((TexU+x+1.f)*TexScaleU,(TexV+y    )*TexScaleV,0.f,p1[1]);
Vector((TexU+x+1.f)*TexScaleU,(TexV+y+1.f)*TexScaleV,0.f,p1[2]);
Vector((TexU+x    )*TexScaleU,(TexV+y+1.f)*TexScaleV,0.f,p1[3]);
//bool Clip = false;
for(int i=0;i<4;i++)
{
p1[i][0] -= 0.5f;
p1[i][1] -= 0.5f;
VectorRotate(p1[i],Matrix,p2[i]);
p2[i][0] *= Aspect;
p2[i][0] += 0.5f;
p2[i][1] += 0.5f;
//if((p2[i][0]>=0.f && p2[i][0]<=1.f) || (p2[i][1]>=0.f && p2[i][1]<=1.f)) Clip = true;
}
//if(Clip==true)
      RenderWaterBitmapTile((float)mxi+x,(float)myi+y,1.f,1,p2,false,Alpha,Height);
}
}
}



void    CSWaterTerrain::RenderWaterBitmapTile(float xf,float yf,float lodf,int lodi,vec3_t c[4],bool LightEnable,float Alpha,float Height)
{
    vec3_t TerrainVertex[4];
int xi = (int)xf;
    int yi = (int)yf;
if(xi<0 || yi<0 || xi>=TERRAIN_SIZE_MASK || yi>=TERRAIN_SIZE_MASK) return;
float TileScale = WAVE_SCALE;
    float sx = xf*WAVE_SCALE;
    float sy = yf*WAVE_SCALE;
int TerrainIndex1 = xi+(yi*WATER_TERRAIN_SIZE);
int TerrainIndex2 = xi+lodi+(yi*WATER_TERRAIN_SIZE);
int TerrainIndex3 = xi+lodi+((yi+lodi)*WATER_TERRAIN_SIZE);
int TerrainIndex4 = xi+((yi+lodi)*WATER_TERRAIN_SIZE);
Vector(sx          ,sy          ,m_iWaveHeight[0][TerrainIndex1]+400.f+Height,TerrainVertex[0]);
Vector(sx+TileScale,sy          ,m_iWaveHeight[0][TerrainIndex2]+400.f+Height,TerrainVertex[1]);
Vector(sx+TileScale,sy+TileScale,m_iWaveHeight[0][TerrainIndex3]+400.f+Height,TerrainVertex[2]);
Vector(sx          ,sy+TileScale,m_iWaveHeight[0][TerrainIndex4]+400.f+Height,TerrainVertex[3]);

vec3_t Light[4];
if(LightEnable)
{
VectorCopy(PrimaryTerrainLight[TerrainIndex1],Light[0]);
VectorCopy(PrimaryTerrainLight[TerrainIndex2],Light[1]);
VectorCopy(PrimaryTerrainLight[TerrainIndex3],Light[2]);
VectorCopy(PrimaryTerrainLight[TerrainIndex4],Light[3]);
}

glBegin(GL_TRIANGLE_FAN);
for(int i=0;i<4;i++)
{
if(LightEnable)
{
if(Alpha==1.f)
glColor3fv(Light[i]);
else
glColor4f(Light[i][0],Light[i][1],Light[i][2],Alpha);
}
glTexCoord2f(c[i][0],c[i][1]);
glVertex3fv(TerrainVertex[i]);
}
glEnd();
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Denis Alves on March 03, 2023, 03:42:02 PM
substitui por essas funções no MapManager.cpp que vai resolver tanto o erro mencionado como também alguns outros relacionados ao mapa de Kalima

Code: [Select]
bool CMapManager::InHellas(int iMap) 
{
return ((this->WorldActive>=WD_24HELLAS && this->WorldActive<=WD_24HELLAS_END) || (this->WorldActive==WD_24HELLAS_7));
}

bool CMapManager::InHiddenHellas(int iMap)
{
return (this->WorldActive==WD_24HELLAS_7) ? true : false;
}

(https://i.imgur.com/P9p0tB9.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: datkool on March 06, 2023, 03:28:45 AM
UPDATE:
Source Main 5.2 (VS2022) + NvAPI + Intel Support

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.

 

- Suporte para Nvidia/AMD/Intel.

Modificados:
WinMain.cpp

Adicionados:
nvapi.h
NvApiDriverSettings.h

- Suporte para processadores Intel mais recentes e melhorias no suporte de sistema operacional.
Modificados:
sysinfo.cpp
sysinfo.h

Adicionados:
intrinsics.h
platform.h
constants.h

What server source code are you using to be able to log into the game? can you share? I use louis up 15 but wrong packet can't log in. Thanks for your sharing
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: bimaloha on March 07, 2023, 03:40:25 AM
UPDATE:
Source Main 5.2 (VS2022) + NvAPI + Intel Support

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.

- Suporte para Nvidia/AMD/Intel.

Modificados:
WinMain.cpp

Adicionados:
nvapi.h
NvApiDriverSettings.h

- Suporte para processadores Intel mais recentes e melhorias no suporte de sistema operacional.
Modificados:
sysinfo.cpp
sysinfo.h

Adicionados:
intrinsics.h
platform.h
constants.h

What server source code are you using to be able to log into the game? can you share? I use louis up 15 but wrong packet can't log in. Thanks for your sharing


 Vào source tìm Defined_Global.h xong xoá cái NEW_PROTOCOL_SYSTEM hoặc // nó đi như này này:
Code: [Select]
//#define NEW_PROTOCOL_SYSTEM
Cả GS lẫn Main nhé.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: datkool on March 07, 2023, 04:46:57 AM
UPDATE:
Source Main 5.2 (VS2022) + NvAPI + Intel Support

-Compatibilidade com windows 7~10 via código.
-Compatibilidade com GPU AMD/NVIDIA.
-Compatibilidade com processadores AMD/INTEL mais recentes.

- Suporte para Nvidia/AMD/Intel.

Modificados:
WinMain.cpp

Adicionados:
nvapi.h
NvApiDriverSettings.h

- Suporte para processadores Intel mais recentes e melhorias no suporte de sistema operacional.
Modificados:
sysinfo.cpp
sysinfo.h

Adicionados:
intrinsics.h
platform.h
constants.h

What server source code are you using to be able to log into the game? can you share? I use louis up 15 but wrong packet can't log in. Thanks for your sharing


 Vào source tìm Defined_Global.h xong xoá cái NEW_PROTOCOL_SYSTEM hoặc // nó đi như này này:
Code: [Select]
//#define NEW_PROTOCOL_SYSTEM
Cả GS lẫn Main nhé.

T sửa đc rồi. Build lại cái gs là được ông ạ.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on March 07, 2023, 09:56:53 AM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 07, 2023, 08:00:48 PM
Algêm ai conseguiu corrigir o modo de tela cheia?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on March 08, 2023, 12:12:50 PM
Algêm ai conseguiu corrigir o modo de tela cheia?

I'm working with auto-attack, with the protocol, it only transmits information from gs -> client  :(
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 08, 2023, 12:14:32 PM
Algêm ai conseguiu corrigir o modo de tela cheia?

I'm working with auto-attack, with the protocol, it only transmits information from gs -> client  :(
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: bimaloha on March 13, 2023, 12:45:24 PM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.

Source client + client RF (Global Debug folder)
RF + set Phoenix, doesn't make Phoenix Shot skill yet.
https://mega.nz/file/lGAClD5B#EXrZJ89FUxY2bj_h6mpa4t5m_A2EEQERZaBUWdR_sR8

GS:
stdafx.h add:
Code: [Select]
#ifndef GAMESERVER_SEASON
#define GAMESERVER_SEASON "CUSTOM"
#endif // !GAMESERVER_SEASON

(https://upanh.tv/image/dlxVHE)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 6atters on March 13, 2023, 03:08:17 PM
please link server+client +source
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: datkool on March 13, 2023, 09:39:43 PM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.

Source client + client RF (Global Debug folder)
RF + set Phoenix, doesn't make Phoenix Shot skill yet.
https://mega.nz/file/lGAClD5B#EXrZJ89FUxY2bj_h6mpa4t5m_A2EEQERZaBUWdR_sR8

GS:
stdafx.h add:
Code: [Select]
#ifndef GAMESERVER_SEASON
#define GAMESERVER_SEASON "CUSTOM"
#endif // !GAMESERVER_SEASON

(https://upanh.tv/image/dlxVHE)

tks ông nhé please
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 13, 2023, 10:39:11 PM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.

Source client + client RF (Global Debug folder)
RF + set Phoenix, doesn't make Phoenix Shot skill yet.
https://mega.nz/file/lGAClD5B#EXrZJ89FUxY2bj_h6mpa4t5m_A2EEQERZaBUWdR_sR8


GS:
stdafx.h add:
Code: [Select]
#ifndef GAMESERVER_SEASON
#define GAMESERVER_SEASON "CUSTOM"
#endif // !GAMESERVER_SEASON

(https://upanh.tv/image/dlxVHE)

tks ông nhé please

Como corrigir?

(https://i.ibb.co/jbNLsXc/zdc1-NFY-world-of-warcraft-backgrounds.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: datkool on March 13, 2023, 11:30:05 PM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.

Source client + client RF (Global Debug folder)
RF + set Phoenix, doesn't make Phoenix Shot skill yet.
https://mega.nz/file/lGAClD5B#EXrZJ89FUxY2bj_h6mpa4t5m_A2EEQERZaBUWdR_sR8

GS:

ông fix các file nào ông có thể bóc code ra đc ko ông @_@ chứ ông gửi về build lại chạy mấy file ko được
stdafx.h add:
Code: [Select]
#ifndef GAMESERVER_SEASON
#define GAMESERVER_SEASON "CUSTOM"
#endif // !GAMESERVER_SEASON

(https://upanh.tv/image/dlxVHE)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on March 14, 2023, 02:13:40 AM
Skill darside crash, any fix?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on March 14, 2023, 02:24:28 AM
RF 100%

(https://i.postimg.cc/1VVTHSXn/Screen-03-14-14-22-0000.jpg) (https://postimg.cc/1VVTHSXn)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on March 14, 2023, 02:41:03 AM
RF 100%

(https://i.postimg.cc/1VVTHSXn/Screen-03-14-14-22-0000.jpg) (https://postimg.cc/1VVTHSXn)
Can share source?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: bimaloha on March 14, 2023, 08:05:51 AM
Build by Global Debug and use client at Global Debug folder
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Sandokan on March 15, 2023, 01:18:08 PM
Excelente aporte Louis. ¿Qué le faltaría a éstos archivos para poder ser usados en un servidor estable?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on March 15, 2023, 01:36:35 PM
Excelente aporte Louis. ¿Qué le faltaría a éstos archivos para poder ser usados en un servidor estable?
Le falta todo para un server estable, actualmente puedes usarlo en s4 y hacerle dowgrade a la versión que quieras sea 99b, s1,S3 por qué si quieres upgradearlos le falta mucho por qué apenas es s5 epi 2, si realmente tienes cocimiento o quieres entrarle bien, se pueden hacer muchísimas cosas con esto
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Sandokan on March 15, 2023, 04:16:14 PM
Excelente aporte Louis. ¿Qué le faltaría a éstos archivos para poder ser usados en un servidor estable?
Le falta todo para un server estable, actualmente puedes usarlo en s4 y hacerle dowgrade a la versión que quieras sea 99b, s1,S3 por qué si quieres upgradearlos le falta mucho por qué apenas es s5 epi 2, si realmente tienes cocimiento o quieres entrarle bien, se pueden hacer muchísimas cosas con esto

Ésta era la data que necesitaba! Gracias RinOv.
Voy a arrancar un downgrade a S3, así que calculo que con todo ésto es más que suficiente. Conocimientos programando tengo, pero nunca me puse a entrarle a un downgrade. Tengo que ver cómo es el tema de interfaces. Veremos qué sale.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Denis Alves on March 15, 2023, 04:21:36 PM
Excelente aporte Louis. ¿Qué le faltaría a éstos archivos para poder ser usados en un servidor estable?
Le falta todo para un server estable, actualmente puedes usarlo en s4 y hacerle dowgrade a la versión que quieras sea 99b, s1,S3 por qué si quieres upgradearlos le falta mucho por qué apenas es s5 epi 2, si realmente tienes cocimiento o quieres entrarle bien, se pueden hacer muchísimas cosas con esto

Ésta era la data que necesitaba! Gracias RinOv.
Voy a arrancar un downgrade a S3, así que calculo que con todo ésto es más que suficiente. Conocimientos programando tengo, pero nunca me puse a entrarle a un downgrade. Tengo que ver cómo es el tema de interfaces. Veremos qué sale.

já me intrometendo...mas uma dica, tenta usar a decompilação de um main dessa versão (1.04j, 1.02p) pois irá ajudar muito, digo isso por experiência.

(https://i.imgur.com/ZeUoSJG.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: datkool on March 15, 2023, 10:28:36 PM
Has anyone synchronized the client-server protocol?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Sandokan on March 20, 2023, 12:48:05 AM
What does this NEW_PROTOCOL_SYSTEM exactly do?

https://prnt.sc/23p1uw5 (https://prnt.sc/23p1uw5)

https://prnt.sc/23p1xlp (https://prnt.sc/23p1xlp)

This is a new protocol type using Asio source,I was studying it and I decided to put

you can use webzen default protocol:

Disable in Main:
#define NEW_PROTOCOL_SYSTEM

Disable in gameserver:
#define NEW_PROTOCOL_SYSTEM 0

Hola Louis. Estoy tratando de compilar en Global Debug. Desactivé el protocolo Asio para usar el de WZ, el problema es que automáticamente el Main me tira éstos errores:

(https://i.ibb.co/8mXvrPn/main-errors.png)

Uso VS 2019 con éstas configs

(https://i.ibb.co/RgmM4pF/main-output.png)

No eliminé ni agregué ningún include, solo comenté ese define. Si activo el #define compila sin problemas. Alguna idea de qué puede ser?

Gracias desde ya.

-------------------------------------------------------------------------------------

SOLUCIONADO
Llamé a #include <thread> en ZzzScene.cpp
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: wildriff66 on March 29, 2023, 03:43:10 PM
Does anyone have the Phoenix Shot skill added to the source?
I will share what I have for Mu Helper for the Phoenix Shot Skill (Added the input boxes, extra item list, ranges for both pickup and attack).
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on March 29, 2023, 10:43:22 PM
Does anyone have the Phoenix Shot skill added to the source?
I will share what I have for Mu Helper for the Phoenix Shot Skill (Added the input boxes, extra item list, ranges for both pickup and attack).

Phoenix Shot skill ID? I can
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on March 31, 2023, 12:27:45 AM
Alguien está trabajando estos files? Voy a comenzar a meterle mano y fix cosas , si tienen bug reporte los y los reparamos

Empezaré con la s4 ya que hay cosas mezcladas del 502 en el 401
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: tangyi90 on March 31, 2023, 01:39:23 AM

where to add?

//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: RinOv on March 31, 2023, 06:23:47 AM

where to add?

//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)

lahpbar ya existe lado files, solo tienes que armarlo cliente, busca cualquier files muemu source main: HealthBar.cpp y HealthBar.h para la base y reemplazar el contenido la funcioon DrawNewHealthBar() por void RenderMonsterHP()

por ultimo busca su referencias ya que debes enviarlo por protocol, en source 5.2 es wsclient en teoria con eso deberia funcionar luego reviso
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 01, 2023, 10:11:24 PM
HOW TO ADD RF:  GS DS and Database
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: tangyi90 on April 02, 2023, 05:48:37 AM
Could not find the function DrawNewHealthBar()


where to add?

//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)

lahpbar ya existe lado files, solo tienes que armarlo cliente, busca cualquier files muemu source main: HealthBar.cpp y HealthBar.h para la base y reemplazar el contenido la funcioon DrawNewHealthBar() por void RenderMonsterHP()

por ultimo busca su referencias ya que debes enviarlo por protocol, en source 5.2 es wsclient en teoria con eso deberia funcionar luego reviso
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on April 02, 2023, 06:27:28 AM
Could not find the function DrawNewHealthBar()


where to add?

//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)

lahpbar ya existe lado files, solo tienes que armarlo cliente, busca cualquier files muemu source main: HealthBar.cpp y HealthBar.h para la base y reemplazar el contenido la funcioon DrawNewHealthBar() por void RenderMonsterHP()

por ultimo busca su referencias ya que debes enviarlo por protocol, en source 5.2 es wsclient en teoria con eso deberia funcionar luego reviso

Don't just copy and paste, understand the tutorial and how to do it
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Sandokan on April 02, 2023, 01:12:14 PM
Alguien está trabajando estos files? Voy a comenzar a meterle mano y fix cosas , si tienen bug reporte los y los reparamos

Empezaré con la s4 ya que hay cosas mezcladas del 502 en el 401

Yo estoy por arrancar, mi idea es bajar a S3 Ep1. Si querés agregame a Discord.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Odisk on April 02, 2023, 03:17:47 PM
Alguien está trabajando estos files? Voy a comenzar a meterle mano y fix cosas , si tienen bug reporte los y los reparamos

Empezaré con la s4 ya que hay cosas mezcladas del 502 en el 401

estamos igual se quedo en s4 y ahora voy a dejarlo en s3
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: tangyi90 on April 02, 2023, 11:08:55 PM
I don't know where there is a tutorial on the principle,I can only learn how to operate through your specific code and position,I can better learn how to operate,


Could not find the function DrawNewHealthBar()


where to add?

//HealthBar 100%
void RenderMonsterHP()
{

   float   Width = 38.f;
   char    Text[100];
   for (int j = 0; j < MAX_CHARACTERS_CLIENT; ++j)
   {
      CHARACTER* c = &CharactersClient[j];
      OBJECT* o = &c->Object;
      vec3_t      Position;
      int         ScreenX, ScreenY;


      if (KIND_MONSTER == c->Object.Kind && MODEL_PLAYER != c->Object.Type && c->Object.Kind != KIND_TRAP)
      {
         BYTE LifePercent = 80;
         


         Vector(o->Position[0], o->Position[1], o->Position[2] + o->BoundingBoxMax[2] + 100.f, Position);
         Projection(Position, &ScreenX, &ScreenY);
         ScreenX -= (int)(Width / 2);
         if (o->Live && KIND_NPC != c->Object.Kind)
         {
         
            
            NEW_HEALTH_BAR* lpNewHealthBar = GetNewHealthBar(c->Key, c->Object.Kind);
         
            if (lpNewHealthBar == NULL)continue;

            int LifePercent = lpNewHealthBar->rate ;
            int ShieldPercent = lpNewHealthBar->rate2 ;
            float iHP = (float)(LifePercent * 72) / 100;
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR_BACK, ScreenX, ScreenY - 5, 75.f, 5.f);
            if(c->Dead != 0)
            {
               iHP -= c->Dead;
               if (iHP <= 0)
               {
                  iHP = 0;
               }
            }
            SEASON3B::RenderImage(BITMAP_MONSTER_HPBAR, ScreenX + 2, ScreenY - 4, iHP, 3.f);
            
            g_pRenderText->SetFont(g_hFont);
            if (c->Dead != 0)
            {
               sprintf(Text, "%s die...", c->ID);
            }
            else
            {
               sprintf(Text, "%s", c->ID);
            }
            g_pRenderText->SetTextColor(255, 230, 210, 255);
            g_pRenderText->RenderText(ScreenX, ScreenY - 13, Text, 75.f, 0, RT3_SORT_CENTER);
            
            
         }
      }
   }
   glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
   DisableAlphaBlend();
   glColor3f(1.f, 1.f, 1.f);
}

(https://i.postimg.cc/ctMJYSS4/20220306100207.png) (https://postimg.cc/ctMJYSS4)

lahpbar ya existe lado files, solo tienes que armarlo cliente, busca cualquier files muemu source main: HealthBar.cpp y HealthBar.h para la base y reemplazar el contenido la funcioon DrawNewHealthBar() por void RenderMonsterHP()

por ultimo busca su referencias ya que debes enviarlo por protocol, en source 5.2 es wsclient en teoria con eso deberia funcionar luego reviso

Don't just copy and paste, understand the tutorial and how to do it
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Hoangsy99 on April 03, 2023, 12:01:42 AM
RF 80% in Process
(https://i.imgur.com/lTjqoeh.jpg)
(https://i.imgur.com/2Rk4e3A.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: tangyi90 on April 04, 2023, 03:51:05 AM
Can someone provide the source code for MU help?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: login1 on April 04, 2023, 08:34:46 AM
Can someone provide the source code for MU help?
+, does anyone have Mu Helper sources ?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on April 04, 2023, 08:43:25 AM
Can someone provide the source code for MU help?
+, does anyone have Mu Helper sources ?

https://tuservermu.com.ve/index.php?topic=55380.0

this is the interface, let's do the rest
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: login1 on April 04, 2023, 05:19:03 PM
from which example is it best to take a reconnect system and add it to these files?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 05, 2023, 06:28:31 AM
(https://img.upanh.tv/2023/04/05/Screen04_05-17_23-0001.jpg) post multi item and all taget , in char , store, chao gobin v..v
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 05, 2023, 09:25:47 AM

có bán source ko bro
llorando2 Toàn coppy pate mà
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Rindy on April 05, 2023, 09:50:05 AM

có bán source ko bro
llorando2 Toàn coppy pate mà

có bán copy paste không vậy
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 06, 2023, 07:52:45 PM
(https://img.upanh.tv/2023/04/07/Screen04_07-06_48-0001.jpg) sell
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 07, 2023, 01:48:00 PM
https://youtu.be/E8G8CBBfHWM Introducing emoij chat feature. post item (vip). if you are interested pm me
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 08, 2023, 07:20:20 AM
thế có bán full source không?
không nha bạn. đây là những gì mình làm cho sv của minh, nó chỉ là chia sẻ ý tưởng
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on April 13, 2023, 08:12:35 PM
Vou postar meus avanços em breve
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on April 14, 2023, 03:02:03 PM
MOD/FIX  golpes

Glow nos fenrir RED/BLUE/BLACK
Bônus correção do comando /trade

(https://i.ibb.co/kmBM2zz/Screen-04-14-15-49-0001.jpg)
(https://i.ibb.co/bP6CchY/Screen-04-14-15-49-0002.jpg)

(http://i.imgur.com/Z9MYwwl.png)

Em breve posto source com várias correções, porém tenho um erro de Personal Shop não abrir se alguém tiver a solução posto imediatamente a source após correção
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 14, 2023, 10:31:15 PM
MOD/FIX  golpes

Glow nos fenrir RED/BLUE/BLACK
Bônus correção do comando /trade

(https://i.ibb.co/kmBM2zz/Screen-04-14-15-49-0001.jpg)
(https://i.ibb.co/bP6CchY/Screen-04-14-15-49-0002.jpg)
 
Em breve posto source com várias correções, porém tenho um erro de Personal Shop não abrir se alguém tiver a solução posto imediatamente a source após correção

did you enable Personal shop?
(https://i.imgur.com/24eIzcY.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on April 16, 2023, 02:07:00 PM
VS2022 Main 5.2 +Client +Server +MuHelper +XML

Cliente:

As informações de hardware foram aprimoradas.
Os erros de limitação no código foram removidos.
A descrição do processador foi melhorada.
Foram realizadas várias correções no código.
Melhorias de desempenho e estabilidade geral.

LINK MOVIDO: https://tuservermu.com.ve/index.php?topic=56655

Changelog
- Corrigido bug visual ao andar do corvo de DL.
- Corrigido bug recusar chat na janela de amigos, friend windows.
- Adicionado equipar item com mouser direito, right click.
- Glow nos fenrir RED/BLUE/BLACK.
- Corrigido Personal Shop.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Hoangsy99 on April 20, 2023, 03:17:05 AM
Full S6.3 :D
https://imgur.com/a/VkysnBt
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on April 20, 2023, 07:52:16 AM
Full S6.3 :D
https://imgur.com/a/VkysnBt
aplausos hello bk109  drogado drogado drogado
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Saige on May 04, 2023, 05:56:05 AM
Looking forward for making a clean season 3 with cashshop and muhelper. :) :D

thanks.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: ZaReL on May 04, 2023, 06:17:58 PM
This Thread is Not updated/updating.

Reason: Louis posted this project to clean & organize the source & client and fix what's inside the source but people here are adding features that will cause more bugs that need to be fixed also, Louis and his team is removing those other features to lessen the bugs but you guys are getting it back to source lols, it will be a waste of time.

My point is, Let's Fix everything here, on what was originally posted. Test everything, make a correction, Let's build a clean and stable server. :D :)

-No RF
-No Master Skill Tree
-No Custom Events
-No Custom NPC
-No Custom Wings
-and No Other ugly stuff lol
Let's stay Original and minimize & fix the bugs, don't do the b@d math here which is BUGs+BUGs lols :D

PS. I'm not a pro coder here, besides I'm just a beginner but I'm ready to learn and contribute here soon. :)

Don't be mad at me, I'm just expressing my thought and understanding about this Thread. :)

Thank You. :)

_____________________________________

Legends says......

Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

The "Developer" right now job custom xDDD  bug + bug = ??
New developer = Nemesis

wtf si Nemesis se la pasa metiendo nuevos personajes, nuevos skills jaja es más de lo mismo. Nada de fixs, nada de mejoras, sólo custom tras custom. Mejor dejá de chuparle un poco las medias que ya bastante crecidito tiene el ego.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: dakosmu on May 04, 2023, 06:35:30 PM
This Thread is Not updated/updating.

Reason: Louis posted this project to clean & organize the source & client and fix what's inside the source but people here are adding features that will cause more bugs that need to be fixed also, Louis and his team is removing those other features to lessen the bugs but you guys are getting it back to source lols, it will be a waste of time.

My point is, Let's Fix everything here, on what was originally posted. Test everything, make a correction, Let's build a clean and stable server. :D :)

-No RF
-No Master Skill Tree
-No Custom Events
-No Custom NPC
-No Custom Wings
-and No Other ugly stuff lol
Let's stay Original and minimize & fix the bugs, don't do the b@d math here which is BUGs+BUGs lols :D

PS. I'm not a pro coder here, besides I'm just a beginner but I'm ready to learn and contribute here soon. :)

Don't be mad at me, I'm just expressing my thought and understanding about this Thread. :)

Thank You. :)
a
a


ajaja no se de que te quejas ajaja

nos toca hacer un enrredo con los files ya que no tenemos mucho conocimiento

si quieres algo organizado como LOUIS

dile que comprata la fuente de su update 34 y alli nosotros continuamos
muy ordenado como dices ajaajajajaja
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kayito on May 04, 2023, 07:47:48 PM
This Thread is Not updated/updating.

Reason: Louis posted this project to clean & organize the source & client and fix what's inside the source but people here are adding features that will cause more bugs that need to be fixed also, Louis and his team is removing those other features to lessen the bugs but you guys are getting it back to source lols, it will be a waste of time.

My point is, Let's Fix everything here, on what was originally posted. Test everything, make a correction, Let's build a clean and stable server. :D :)

-No RF
-No Master Skill Tree
-No Custom Events
-No Custom NPC
-No Custom Wings
-and No Other ugly stuff lol
Let's stay Original and minimize & fix the bugs, don't do the b@d math here which is BUGs+BUGs lols :D

PS. I'm not a pro coder here, besides I'm just a beginner but I'm ready to learn and contribute here soon. :)

Don't be mad at me, I'm just expressing my thought and understanding about this Thread. :)

Thank You. :)
a
a


ajaja no se de que te quejas ajaja

nos toca hacer un enrredo con los files ya que no tenemos mucho conocimiento

si quieres algo organizado como LOUIS

dile que comprata la fuente de su update 34 y alli nosotros continuamos
muy ordenado como dices ajaajajajaja

O mejor te dedicas a aprender en lugar de pretender que te regalen las cosas para que "las continúes".
Ya te upgradearon el proyecto a VS2019, te unificaron librerías para compilar en Global sin problemas, te limpiaron un montón de defines, te acomodaron medio proyecto y te dejaron un MuServer + Cliente compatible para simplemente descargar, compilar y ejecutar.
Qué se supone que vas a continuar si tenés todo a mano y no hicieron nada aún?
A pedir menos y a hacer más...
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on May 06, 2023, 12:38:39 PM
This Thread is Not updated/updating.

Reason: Louis posted this project to clean & organize the source & client and fix what's inside the source but people here are adding features that will cause more bugs that need to be fixed also, Louis and his team is removing those other features to lessen the bugs but you guys are getting it back to source lols, it will be a waste of time.

My point is, Let's Fix everything here, on what was originally posted. Test everything, make a correction, Let's build a clean and stable server. :D :)

-No RF
-No Master Skill Tree
-No Custom Events
-No Custom NPC
-No Custom Wings
-and No Other ugly stuff lol
Let's stay Original and minimize & fix the bugs, don't do the b@d math here which is BUGs+BUGs lols :D

PS. I'm not a pro coder here, besides I'm just a beginner but I'm ready to learn and contribute here soon. :)

Don't be mad at me, I'm just expressing my thought and understanding about this Thread. :)

Thank You. :)

_____________________________________

Legends says......

Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

The "Developer" right now job custom xDDD  bug + bug = ??
New developer = Nemesis

wtf si Nemesis se la pasa metiendo nuevos personajes, nuevos skills jaja es más de lo mismo. Nada de fixs, nada de mejoras, sólo custom tras custom. Mejor dejá de chuparle un poco las medias que ya bastante crecidito tiene el ego.

I am working to fix old errors in this source code and also correcting new ones, including RF and everything else. There is a complete package of bugs included in the version posted by Louis here or in the original version. I am also including new loading technologies, textures, memory, terrain, and correcting interfaces such as *PShop, *Friend, *Events, and so on.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: Qubit on May 06, 2023, 12:44:27 PM
This Thread is Not updated/updating.

Reason: Louis posted this project to clean & organize the source & client and fix what's inside the source but people here are adding features that will cause more bugs that need to be fixed also, Louis and his team is removing those other features to lessen the bugs but you guys are getting it back to source lols, it will be a waste of time.

My point is, Let's Fix everything here, on what was originally posted. Test everything, make a correction, Let's build a clean and stable server. :D :)

-No RF
-No Master Skill Tree
-No Custom Events
-No Custom NPC
-No Custom Wings
-and No Other ugly stuff lol
Let's stay Original and minimize & fix the bugs, don't do the b@d math here which is BUGs+BUGs lols :D

PS. I'm not a pro coder here, besides I'm just a beginner but I'm ready to learn and contribute here soon. :)

Don't be mad at me, I'm just expressing my thought and understanding about this Thread. :)

Thank You. :)

_____________________________________

Legends says......

Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

Before sharing all stupid customs, i think it would be better if we focus on sharing fixes and improvements for the main.

Just saying :)

The "Developer" right now job custom xDDD  bug + bug = ??
New developer = Nemesis

wtf si Nemesis se la pasa metiendo nuevos personajes, nuevos skills jaja es más de lo mismo. Nada de fixs, nada de mejoras, sólo custom tras custom. Mejor dejá de chuparle un poco las medias que ya bastante crecidito tiene el ego.

If you would like a version that is similar to the original but without any bugs or errors, I may be able to create one at some point. However, I think it would be important to update it to Season 6.3 and include options for build the smaller versions without any custom features on future.

I will keep an eye on this post. It mentions that an update will be released in the future with support for smaller seasons such as S4, S3, S2,97d.
https://tuservermu.com.ve/index.php?topic=56655.msg291495;topicseen#msg291495
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on September 28, 2023, 09:31:27 AM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)
Brother, have you solved it yet

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on September 28, 2023, 12:03:25 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)
Brother, have you solved it yet

Please read the posts so far, there are many bugs that have been fixed and posted
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on September 28, 2023, 03:32:51 PM
@louis 

por que pasa esto??  le doy login para que inicie y se queda hay colgado ya pobre todo xd

(https://i.ibb.co/1q3VGds/Screenshot-2.png)
Brother, have you solved it yet

Please read the posts so far, there are many bugs that have been fixed and posted
en lo main desativa el #define NEW_PROTOCOL_SYSTEM

e coloca en lo gs #define NEW_PROTOCOL_SYSTEM 0

para probar
Brother. I modified it according to this. Still can't log in. Do you know what's going on?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on September 28, 2023, 05:07:52 PM
en lo main desativa el #define NEW_PROTOCOL_SYSTEM

e coloca en lo gs #define NEW_PROTOCOL_SYSTEM 0

para probar
Brother. I modified it according to this. Still can't log in. Do you know what's going on?
[/quote]

 magia2 magia2 magia2  can you upload images error of you
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on September 29, 2023, 03:03:47 AM
en lo main desativa el #define NEW_PROTOCOL_SYSTEM

e coloca en lo gs #define NEW_PROTOCOL_SYSTEM 0

para probar
Brother. I modified it according to this. Still can't log in. Do you know what's going on?

 magia2 magia2 magia2  can you upload images error of you
[/quote]
https://imgur.com/4Q28NuX
https://imgur.com/mDJ4FLD
https://imgur.com/qiX9mph
https://imgur.com/6XbXkqe
Brother, this is the image I encountered a problem with

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on September 29, 2023, 05:16:00 PM
I also had a problem with the connection. I completely commented out NEW_PROTOCOL and it didn't solve the problem. Then I started looking for the difference in the 5.2 code with decompiled s6 and found the differences. Maybe this will help you

Code: [Select]
void CLoginWin::ConnectConnectionServer()
{
//Edit
//#ifdef NEW_PROTOCOL_SYSTEM
//gProtocolSend.DisconnectServer();
//#endif
//Edit added s6
SocketClient.Close();

LogIn = 0;
CurrentProtocolState = REQUEST_JOIN_SERVER;
CreateSocket(szServerIpAddress, g_ServerPort);
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on September 30, 2023, 12:37:22 AM
I also had a problem with the connection. I completely commented out NEW_PROTOCOL and it didn't solve the problem. Then I started looking for the difference in the 5.2 code with decompiled s6 and found the differences. Maybe this will help you

Code: [Select]
void CLoginWin::ConnectConnectionServer()
{
//Edit
//#ifdef NEW_PROTOCOL_SYSTEM
//gProtocolSend.DisconnectServer();
//#endif
//Edit added s6
SocketClient.Close();

LogIn = 0;
CurrentProtocolState = REQUEST_JOIN_SERVER;
CreateSocket(szServerIpAddress, g_ServerPort);
}
Brother, have you solved it?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on September 30, 2023, 07:04:06 AM
I also had a problem with the connection. I completely commented out NEW_PROTOCOL and it didn't solve the problem. Then I started looking for the difference in the 5.2 code with decompiled s6 and found the differences. Maybe this will help you

Code: [Select]
void CLoginWin::ConnectConnectionServer()
{
//Edit
//#ifdef NEW_PROTOCOL_SYSTEM
//gProtocolSend.DisconnectServer();
//#endif
//Edit added s6
SocketClient.Close();

LogIn = 0;
CurrentProtocolState = REQUEST_JOIN_SERVER;
CreateSocket(szServerIpAddress, g_ServerPort);
}
Brother, have you solved it?

I decided it a long time ago. Have you tried replacing the code I gave?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on October 03, 2023, 04:46:09 AM
I also had a problem with the connection. I completely commented out NEW_PROTOCOL and it didn't solve the problem. Then I started looking for the difference in the 5.2 code with decompiled s6 and found the differences. Maybe this will help you

Code: [Select]
void CLoginWin::ConnectConnectionServer()
{
//Edit
//#ifdef NEW_PROTOCOL_SYSTEM
//gProtocolSend.DisconnectServer();
//#endif
//Edit added s6
SocketClient.Close();

LogIn = 0;
CurrentProtocolState = REQUEST_JOIN_SERVER;
CreateSocket(szServerIpAddress, g_ServerPort);
}
Brother, have you solved it?

I decided it a long time ago. Have you tried replacing the code I gave?
Brother, I used it. Your code doesn't work either

Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on October 07, 2023, 03:30:04 AM
1
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hieuvt on October 14, 2023, 01:01:44 PM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
how to fixed
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)

Can you tell us how you fixed it ?

Update:
Thanks Already Fixed.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on October 15, 2023, 12:14:50 AM
Estoy agregando las resoluciones HD, pero tengo este problema, no se donde encontrar para arreglarlo, alguien me da una mano o alguna solucion para que no aparezcan los bloues negros?
how to fixed
(https://i.imgur.com/xXniypT.jpg)

Edit: Solucionado!

(https://i.imgur.com/hT1BM1X.png)

Can you tell us how you fixed it ?

Update:
Thanks Already Fixed.
bool TestFrustrum2D(float x, float y, float Range)
{
   if (SceneFlag == SERVER_LIST_SCENE || SceneFlag == WEBZEN_SCENE || SceneFlag == LOADING_SCENE)
      return true;

   int j = 3;
   for (int i = 0; i < 4; j = i, i++)
   {
      float d = (FrustrumX - x) * (FrustrumY[j] - y) -
                     (FrustrumX[j] - x) * (FrustrumY - y);
Range = Range+70;
      if (d <= Range)
      {
         return false;
      }
   }
   return true;
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on October 17, 2023, 08:04:40 PM
(https://i.upanh.org/2023/10/18/Capture3011de6bfc4b87e6.png)
master skill tree complace  cool2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on October 18, 2023, 08:49:56 AM
(https://i.upanh.org/2023/10/18/Capture3011de6bfc4b87e6.png)
master skill tree complace  cool2

Share the code. Otherwise, what's the point of posting this here? Do you want to brag? cheesyy2
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on October 18, 2023, 08:57:46 AM
(https://i.upanh.org/2023/10/18/Capture3011de6bfc4b87e6.png)
master skill tree complace  cool2

Share the code. Otherwise, what's the point of posting this here? Do you want to brag? cheesyy2
Is it forbidden to post photos here?  cool2  and here is the forum for "code" or for copy and paste
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on November 05, 2023, 04:57:40 AM
Hello. When I resize the window all TextInpuBoxes stop displaying text normally. Does anyone know how to fix this?

If I call this function, the chatbox displays the text correctly. But I don't think this is the right solution to this problem. And you need to update all other textboxes they are in Create Guild, Personal Shop

Code: [Select]
g_pChatInputBox->Create(g_pNewUISystem->GetNewUIManager(), g_pNewUISystem->GetUI_NewChatLogWindow(), 0, 382); 



Code: [Select]
void ResizeWindow(int Resolution, int Width, int Height)
{
m_Resolution = Resolution;
WindowWidth = Width;
WindowHeight = Height;
g_fScreenRate_x = (float)Width / 640.0;
g_fScreenRate_y = (float)Height / 480.0;

DWORD window_style;

if (g_bUseWindowMode == TRUE)
window_style = WS_OVERLAPPED | WS_MINIMIZEBOX | WS_CLIPCHILDREN | WS_SYSMENU | WS_CAPTION;
else
window_style = WS_OVERLAPPED | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CLIPCHILDREN | WS_SYSMENU | WS_THICKFRAME | WS_CAPTION;

tagRECT rect;
rect.left = 0;
rect.top = 0;
rect.right = Width;
rect.bottom = Height;
AdjustWindowRect(&rect, window_style, 0);
rect.right -= rect.left;
rect.bottom -= rect.top;

int pos_x = (GetSystemMetrics(SM_CXSCREEN) - rect.right) / 2;
int pos_y = (GetSystemMetrics(SM_CYSCREEN) - rect.bottom) / 2;
SetWindowPos(g_hWnd, HWND_TOP, pos_x, pos_y, rect.right, rect.bottom, /*SWP_NOMOVE | */SWP_SHOWWINDOW | SWP_FRAMECHANGED);
OpenFont();
ClearInput();
}


(https://i.imgur.com/siVfS9G.jpg)
(https://i.imgur.com/U8NGoFp.jpg)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 05, 2023, 06:44:39 AM
Hello. When I resize the window all TextInpuBoxes stop displaying text normally. Does anyone know how to fix this?

If I call this function, the chatbox displays the text correctly. But I don't think this is the right solution to this problem. And you need to update all other textboxes they are in Create Guild, Personal Shop

Code: [Select]
g_pChatInputBox->Create(g_pNewUISystem->GetNewUIManager(), g_pNewUISystem->GetUI_NewChatLogWindow(), 0, 382); 



Code: [Select]
void ResizeWindow(int Resolution, int Width, int Height)
{
m_Resolution = Resolution;
WindowWidth = Width;
WindowHeight = Height;
g_fScreenRate_x = (float)Width / 640.0;
g_fScreenRate_y = (float)Height / 480.0;

DWORD window_style;

if (g_bUseWindowMode == TRUE)
window_style = WS_OVERLAPPED | WS_MINIMIZEBOX | WS_CLIPCHILDREN | WS_SYSMENU | WS_CAPTION;
else
window_style = WS_OVERLAPPED | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CLIPCHILDREN | WS_SYSMENU | WS_THICKFRAME | WS_CAPTION;

tagRECT rect;
rect.left = 0;
rect.top = 0;
rect.right = Width;
rect.bottom = Height;
AdjustWindowRect(&rect, window_style, 0);
rect.right -= rect.left;
rect.bottom -= rect.top;

int pos_x = (GetSystemMetrics(SM_CXSCREEN) - rect.right) / 2;
int pos_y = (GetSystemMetrics(SM_CYSCREEN) - rect.bottom) / 2;
SetWindowPos(g_hWnd, HWND_TOP, pos_x, pos_y, rect.right, rect.bottom, /*SWP_NOMOVE | */SWP_SHOWWINDOW | SWP_FRAMECHANGED);
OpenFont();
ClearInput();
}


(https://i.imgur.com/siVfS9G.jpg)
(https://i.imgur.com/U8NGoFp.jpg)

you need to make it recalculate the font height and width
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on November 06, 2023, 05:46:50 AM
Hello. When I resize the window all TextInpuBoxes stop displaying text normally. Does anyone know how to fix this?

If I call this function, the chatbox displays the text correctly. But I don't think this is the right solution to this problem. And you need to update all other textboxes they are in Create Guild, Personal Shop

Code: [Select]
g_pChatInputBox->Create(g_pNewUISystem->GetNewUIManager(), g_pNewUISystem->GetUI_NewChatLogWindow(), 0, 382); 



Code: [Select]
void ResizeWindow(int Resolution, int Width, int Height)
{
m_Resolution = Resolution;
WindowWidth = Width;
WindowHeight = Height;
g_fScreenRate_x = (float)Width / 640.0;
g_fScreenRate_y = (float)Height / 480.0;

DWORD window_style;

if (g_bUseWindowMode == TRUE)
window_style = WS_OVERLAPPED | WS_MINIMIZEBOX | WS_CLIPCHILDREN | WS_SYSMENU | WS_CAPTION;
else
window_style = WS_OVERLAPPED | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CLIPCHILDREN | WS_SYSMENU | WS_THICKFRAME | WS_CAPTION;

tagRECT rect;
rect.left = 0;
rect.top = 0;
rect.right = Width;
rect.bottom = Height;
AdjustWindowRect(&rect, window_style, 0);
rect.right -= rect.left;
rect.bottom -= rect.top;

int pos_x = (GetSystemMetrics(SM_CXSCREEN) - rect.right) / 2;
int pos_y = (GetSystemMetrics(SM_CYSCREEN) - rect.bottom) / 2;
SetWindowPos(g_hWnd, HWND_TOP, pos_x, pos_y, rect.right, rect.bottom, /*SWP_NOMOVE | */SWP_SHOWWINDOW | SWP_FRAMECHANGED);
OpenFont();
ClearInput();
}


(https://i.imgur.com/siVfS9G.jpg)
(https://i.imgur.com/U8NGoFp.jpg)

you need to make it recalculate the font height and width

I couldn't understand. How to do it.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on November 07, 2023, 02:16:48 PM
@son1xx2
 As I understand it, I need to call these functions when the window size changes. It's right?

Code: [Select]
void CUITextInputBox::SetSize(int iWidth, int iHeight)
{
if(iWidth == 0 || iHeight == 0) return;
//if(iWidth == m_iWidth && iHeight == m_iHeight) return;

m_iWidth = iWidth;
m_iHeight = iHeight;

if (m_hMemDC != NULL)
{
DeleteDC(m_hMemDC);
m_hMemDC = NULL;
m_pFontBuffer = NULL;
}
if (m_hBitmap != NULL)
{
DeleteObject(m_hBitmap);
m_hBitmap = NULL;
}

HDC hDC = GetDC(m_hParentWnd);
BITMAPINFO * DIB_INFO;
DIB_INFO = (BITMAPINFO*)new BYTE[sizeof(BITMAPINFOHEADER) + sizeof(PALETTEENTRY) * 256];
memset( DIB_INFO, 0x00, sizeof(BITMAPINFOHEADER) );
DIB_INFO->bmiHeader.biSize        = sizeof(BITMAPINFOHEADER);
DIB_INFO->bmiHeader.biWidth       = iWidth*g_fScreenRate_x;
DIB_INFO->bmiHeader.biHeight      = -(iHeight*g_fScreenRate_y);
DIB_INFO->bmiHeader.biPlanes      = 1;
DIB_INFO->bmiHeader.biBitCount    = 24;
DIB_INFO->bmiHeader.biCompression = BI_RGB;

m_hBitmap = CreateDIBSection(hDC, DIB_INFO, DIB_RGB_COLORS, (void**)&m_pFontBuffer, NULL, NULL);
m_hMemDC = CreateCompatibleDC(hDC);
SelectObject(m_hMemDC, m_hBitmap);
SetFont(g_hFont);

delete [] DIB_INFO;
g_ConsoleDebug->Write(MCD_NORMAL, "HWND:%d", m_hEditWnd);
if(!m_hMemDC || !m_hBitmap)
{
if(m_hEditWnd != NULL)
{
DestroyWindow(m_hEditWnd);
m_hEditWnd = NULL;
}
if (m_hMemDC != NULL)
{
DeleteDC(m_hMemDC);
m_hMemDC = NULL;
m_pFontBuffer = NULL;
}
if (m_hBitmap != NULL)
{
DeleteObject(m_hBitmap);
m_hBitmap = NULL;
}
return;
}

if (m_hEditWnd != NULL)
{
SetWindowPos(m_hEditWnd, 0, 0, 0, iWidth*g_fScreenRate_x, iHeight*g_fScreenRate_y, SWP_NOMOVE | SWP_NOZORDER);
SendMessageW(m_hEditWnd, EM_SETSEL, (WPARAM)0, (LPARAM)0);
}
}

bool CUIRenderTextOriginal::Create(HDC hDC)
{
BITMAPINFO* DIB_INFO;
    DIB_INFO = (BITMAPINFO*)new BYTE[ sizeof(BITMAPINFOHEADER) + sizeof(PALETTEENTRY) * 256 ];
    memset( DIB_INFO, 0x00, sizeof(BITMAPINFOHEADER) );
    DIB_INFO->bmiHeader.biSize        = sizeof(BITMAPINFOHEADER);
    DIB_INFO->bmiHeader.biWidth       = 640*g_fScreenRate_x; //. 640
DIB_INFO->bmiHeader.biHeight      = -(480*g_fScreenRate_y); //. 480
    DIB_INFO->bmiHeader.biPlanes      = 1;
    DIB_INFO->bmiHeader.biBitCount    = 24;
    DIB_INFO->bmiHeader.biCompression = BI_RGB;

m_hBitmap = CreateDIBSection(hDC, DIB_INFO, DIB_RGB_COLORS, (void**)&m_pFontBuffer, NULL, NULL);
m_hFontDC = CreateCompatibleDC(hDC);
SelectObject(m_hFontDC, m_hBitmap);
SelectObject(m_hFontDC, g_hFont);
m_dwBackColor = 0; //. Default Background Color;
m_dwTextColor = 0xFFFFFFFF; //. Default Text Color

delete [] DIB_INFO;

if(NULL == m_hFontDC || NULL == m_hBitmap)
{
Release();
return false;
}
return true;
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 07, 2023, 09:28:43 PM
@son1xx2
 As I understand it, I need to call these functions when the window size changes. It's right?

Code: [Select]
void CUITextInputBox::SetSize(int iWidth, int iHeight)
{
if(iWidth == 0 || iHeight == 0) return;
//if(iWidth == m_iWidth && iHeight == m_iHeight) return;

m_iWidth = iWidth;
m_iHeight = iHeight;

if (m_hMemDC != NULL)
{
DeleteDC(m_hMemDC);
m_hMemDC = NULL;
m_pFontBuffer = NULL;
}
if (m_hBitmap != NULL)
{
DeleteObject(m_hBitmap);
m_hBitmap = NULL;
}

HDC hDC = GetDC(m_hParentWnd);
BITMAPINFO * DIB_INFO;
DIB_INFO = (BITMAPINFO*)new BYTE[sizeof(BITMAPINFOHEADER) + sizeof(PALETTEENTRY) * 256];
memset( DIB_INFO, 0x00, sizeof(BITMAPINFOHEADER) );
DIB_INFO->bmiHeader.biSize        = sizeof(BITMAPINFOHEADER);
DIB_INFO->bmiHeader.biWidth       = iWidth*g_fScreenRate_x;
DIB_INFO->bmiHeader.biHeight      = -(iHeight*g_fScreenRate_y);
DIB_INFO->bmiHeader.biPlanes      = 1;
DIB_INFO->bmiHeader.biBitCount    = 24;
DIB_INFO->bmiHeader.biCompression = BI_RGB;

m_hBitmap = CreateDIBSection(hDC, DIB_INFO, DIB_RGB_COLORS, (void**)&m_pFontBuffer, NULL, NULL);
m_hMemDC = CreateCompatibleDC(hDC);
SelectObject(m_hMemDC, m_hBitmap);
SetFont(g_hFont);

delete [] DIB_INFO;
g_ConsoleDebug->Write(MCD_NORMAL, "HWND:%d", m_hEditWnd);
if(!m_hMemDC || !m_hBitmap)
{
if(m_hEditWnd != NULL)
{
DestroyWindow(m_hEditWnd);
m_hEditWnd = NULL;
}
if (m_hMemDC != NULL)
{
DeleteDC(m_hMemDC);
m_hMemDC = NULL;
m_pFontBuffer = NULL;
}
if (m_hBitmap != NULL)
{
DeleteObject(m_hBitmap);
m_hBitmap = NULL;
}
return;
}

if (m_hEditWnd != NULL)
{
SetWindowPos(m_hEditWnd, 0, 0, 0, iWidth*g_fScreenRate_x, iHeight*g_fScreenRate_y, SWP_NOMOVE | SWP_NOZORDER);
SendMessageW(m_hEditWnd, EM_SETSEL, (WPARAM)0, (LPARAM)0);
}
}

bool CUIRenderTextOriginal::Create(HDC hDC)
{
BITMAPINFO* DIB_INFO;
    DIB_INFO = (BITMAPINFO*)new BYTE[ sizeof(BITMAPINFOHEADER) + sizeof(PALETTEENTRY) * 256 ];
    memset( DIB_INFO, 0x00, sizeof(BITMAPINFOHEADER) );
    DIB_INFO->bmiHeader.biSize        = sizeof(BITMAPINFOHEADER);
    DIB_INFO->bmiHeader.biWidth       = 640*g_fScreenRate_x; //. 640
DIB_INFO->bmiHeader.biHeight      = -(480*g_fScreenRate_y); //. 480
    DIB_INFO->bmiHeader.biPlanes      = 1;
    DIB_INFO->bmiHeader.biBitCount    = 24;
    DIB_INFO->bmiHeader.biCompression = BI_RGB;

m_hBitmap = CreateDIBSection(hDC, DIB_INFO, DIB_RGB_COLORS, (void**)&m_pFontBuffer, NULL, NULL);
m_hFontDC = CreateCompatibleDC(hDC);
SelectObject(m_hFontDC, m_hBitmap);
SelectObject(m_hFontDC, g_hFont);
m_dwBackColor = 0; //. Default Background Color;
m_dwTextColor = 0xFFFFFFFF; //. Default Text Color

delete [] DIB_INFO;

if(NULL == m_hFontDC || NULL == m_hBitmap)
{
Release();
return false;
}
return true;
}

in Winmain.cpp

   switch(WindowWidth)
   {
   case 640 :FontHeight = 12;break;
   case 800 :FontHeight = 13;break;
   case 1024:FontHeight = 14;break;
   case 1280:FontHeight = 15;break;
   }

You will see that the font height is fixed according to the WindowWidth, you need to add the WindowWidth you want to it or have a formula so it can calculate, that's the way I understand it.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: vcore30 on November 08, 2023, 01:48:17 AM
@son1xx2
 As I understand it, I need to call these functions when the window size changes. It's right?

Code: [Select]
void CUITextInputBox::SetSize(int iWidth, int iHeight)
{
if(iWidth == 0 || iHeight == 0) return;
//if(iWidth == m_iWidth && iHeight == m_iHeight) return;

m_iWidth = iWidth;
m_iHeight = iHeight;

if (m_hMemDC != NULL)
{
DeleteDC(m_hMemDC);
m_hMemDC = NULL;
m_pFontBuffer = NULL;
}
if (m_hBitmap != NULL)
{
DeleteObject(m_hBitmap);
m_hBitmap = NULL;
}

HDC hDC = GetDC(m_hParentWnd);
BITMAPINFO * DIB_INFO;
DIB_INFO = (BITMAPINFO*)new BYTE[sizeof(BITMAPINFOHEADER) + sizeof(PALETTEENTRY) * 256];
memset( DIB_INFO, 0x00, sizeof(BITMAPINFOHEADER) );
DIB_INFO->bmiHeader.biSize        = sizeof(BITMAPINFOHEADER);
DIB_INFO->bmiHeader.biWidth       = iWidth*g_fScreenRate_x;
DIB_INFO->bmiHeader.biHeight      = -(iHeight*g_fScreenRate_y);
DIB_INFO->bmiHeader.biPlanes      = 1;
DIB_INFO->bmiHeader.biBitCount    = 24;
DIB_INFO->bmiHeader.biCompression = BI_RGB;

m_hBitmap = CreateDIBSection(hDC, DIB_INFO, DIB_RGB_COLORS, (void**)&m_pFontBuffer, NULL, NULL);
m_hMemDC = CreateCompatibleDC(hDC);
SelectObject(m_hMemDC, m_hBitmap);
SetFont(g_hFont);

delete [] DIB_INFO;
g_ConsoleDebug->Write(MCD_NORMAL, "HWND:%d", m_hEditWnd);
if(!m_hMemDC || !m_hBitmap)
{
if(m_hEditWnd != NULL)
{
DestroyWindow(m_hEditWnd);
m_hEditWnd = NULL;
}
if (m_hMemDC != NULL)
{
DeleteDC(m_hMemDC);
m_hMemDC = NULL;
m_pFontBuffer = NULL;
}
if (m_hBitmap != NULL)
{
DeleteObject(m_hBitmap);
m_hBitmap = NULL;
}
return;
}

if (m_hEditWnd != NULL)
{
SetWindowPos(m_hEditWnd, 0, 0, 0, iWidth*g_fScreenRate_x, iHeight*g_fScreenRate_y, SWP_NOMOVE | SWP_NOZORDER);
SendMessageW(m_hEditWnd, EM_SETSEL, (WPARAM)0, (LPARAM)0);
}
}

bool CUIRenderTextOriginal::Create(HDC hDC)
{
BITMAPINFO* DIB_INFO;
    DIB_INFO = (BITMAPINFO*)new BYTE[ sizeof(BITMAPINFOHEADER) + sizeof(PALETTEENTRY) * 256 ];
    memset( DIB_INFO, 0x00, sizeof(BITMAPINFOHEADER) );
    DIB_INFO->bmiHeader.biSize        = sizeof(BITMAPINFOHEADER);
    DIB_INFO->bmiHeader.biWidth       = 640*g_fScreenRate_x; //. 640
DIB_INFO->bmiHeader.biHeight      = -(480*g_fScreenRate_y); //. 480
    DIB_INFO->bmiHeader.biPlanes      = 1;
    DIB_INFO->bmiHeader.biBitCount    = 24;
    DIB_INFO->bmiHeader.biCompression = BI_RGB;

m_hBitmap = CreateDIBSection(hDC, DIB_INFO, DIB_RGB_COLORS, (void**)&m_pFontBuffer, NULL, NULL);
m_hFontDC = CreateCompatibleDC(hDC);
SelectObject(m_hFontDC, m_hBitmap);
SelectObject(m_hFontDC, g_hFont);
m_dwBackColor = 0; //. Default Background Color;
m_dwTextColor = 0xFFFFFFFF; //. Default Text Color

delete [] DIB_INFO;

if(NULL == m_hFontDC || NULL == m_hBitmap)
{
Release();
return false;
}
return true;
}

in Winmain.cpp

   switch(WindowWidth)
   {
   case 640 :FontHeight = 12;break;
   case 800 :FontHeight = 13;break;
   case 1024:FontHeight = 14;break;
   case 1280:FontHeight = 15;break;
   }

You will see that the font height is fixed according to the WindowWidth, you need to add the WindowWidth you want to it or have a formula so it can calculate, that's the way I understand it.

This does not correct the display of the text, but only changes its size. sueno
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: son1xx2 on November 08, 2023, 02:33:00 AM
Delete.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hoanmaster on November 11, 2023, 07:29:46 PM
   
Code: [Select]
		case 61:
for (int i = 0; i < 6; i++)
{
int Hand = 0;
if (i >= 3)
Hand = 1;
b->TransformPosition(o->BoneTransform[c->Weapon[Hand].LinkBone], p, Position, true); // ����
Vector(0.f, 0.f, (float)(rand() % 360), Angle);
CreateJoint(BITMAP_JOINT_THUNDER, Position, to->Position, Angle, 2, to, 50.f);
CreateJoint(BITMAP_JOINT_THUNDER, Position, to->Position, Angle, 2, to, 10.f);
}

if (c->AttackTime == 1)
PlayBuffer(SOUND_EVIL);

for (int i = 0; i < 4; i++)
{
int Hand = 0;
if (i >= 2)
Hand = 1;
b->TransformPosition(o->BoneTransform[c->Weapon[Hand].LinkBone], p, Position, true);
Vector(0.f, 0.f, (float)(rand() % 360), Angle);
//CreateJoint(BITMAP_JOINT_LASER + 1, Position, to->Position, Angle, 0, to, 50.f);  // dis
CreateParticle(BITMAP_FIRE, Position, o->Angle, o->Light);
}
break;
fix effect in tarkan monter Beam Knight

   
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: bimaloha on November 13, 2023, 09:08:40 AM
It's too late, but I joined in

(https://i.upanh.org/2023/11/13/Screenshot_273352eff7c56244c.png)
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: hieuvt on December 11, 2023, 12:45:25 AM
any new share ??
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 1732313 on December 31, 2023, 12:48:53 AM
Can someone tell me where to fix the entrance to Vulcan?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on January 23, 2024, 05:34:53 AM
Bueno... después de una semana con los files pude entender un poco como funciona, paso mi primer aporte y si hay algo que mejorar en el codigo por favor su corrección es bienvenida.



Comando /addpoint sin tener que hacer Switch Character

IN MAIN SOURCES

WSclient.h (yo lo puse abajo de "PRECEIVE_ADD_POINT")
Code: [Select]
typedef struct {
PBMSG_HEADER Header;
WORD Level;
WORD LevelUpPoint;
DWORD Experience;
DWORD NextExperience;
WORD Strength;
WORD Dexterity;
WORD Vitality;
WORD Energy;
WORD Leadership;
WORD Life;
WORD MaxLife;
WORD Mana;
WORD MaxMana;
WORD BP;
WORD MaxBP;
WORD Shield;
WORD MaxShield;
WORD FruitAddPoint;
WORD MaxFruitAddPoint;
WORD FruitSubPoint;
WORD MaxFruitSubPoint;
//EXTRA
DWORD ViewReset;
DWORD ViewPoint;
DWORD ViewCurHP;
DWORD ViewMaxHP;
DWORD ViewCurMP;
DWORD ViewMaxMP;
DWORD ViewCurBP;
DWORD ViewMaxBP;
DWORD ViewCurSD;
DWORD ViewMaxSD;
DWORD ViewStrength;
DWORD ViewDexterity;
DWORD ViewVitality;
DWORD ViewEnergy;
DWORD ViewLeadership;
} PRECEIVE_ADD_POINT_, * LPPRECEIVE_ADD_POINT_;

WSclient.cpp (Yo lo puse abajo de "void ReceiveAddPoint( BYTE *ReceiveBuffer )")
Code: [Select]
void ReceiveAddPoint_(BYTE* ReceiveBuffer)
{
LPPRECEIVE_ADD_POINT_ Data = (LPPRECEIVE_ADD_POINT_)ReceiveBuffer;

CharacterAttribute->LevelUpPoint = Data->LevelUpPoint;
CharacterAttribute->Strength = Data->Strength;
CharacterAttribute->Dexterity = Data->Dexterity;
CharacterAttribute->Vitality = Data->Vitality;
CharacterAttribute->LifeMax = Data->MaxLife;
CharacterAttribute->Energy = Data->Energy;
CharacterAttribute->ManaMax = Data->MaxMana;
CharacterAttribute->Charisma = Data->Leadership;

CharacterAttribute->SkillManaMax = Data->MaxBP;
CharacterAttribute->ShieldMax = Data->MaxShield;

CharacterMachine->CalculateAll();
}


WSclient.cpp

TranslateProtocol --> switch( HeadCode ) ---> case 0xF3:

pongan:
Code: [Select]
                        case 0x52:
Receive_Master_LevelGetSkill(ReceiveBuffer);
break;"
case 0xE0:
ReceiveAddPoint_(ReceiveBuffer);
break;
Brother, how do you use the final code?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on January 23, 2024, 05:35:30 AM
Has someone already separated the chat from the system messages?




(https://i.postimg.cc/N2mHZ2YF/Screen-09-17-00-51-0000.jpg) (https://postimg.cc/N2mHZ2YF)
Code: [Select]
if (MsgType != TYPE_SYSTEM_MESSAGE)
{
CMessageText* pAllMsgText = new CMessageText;
if (!pAllMsgText->Create(strID, strText1, MsgType))
delete pAllMsgText;
else
{
m_vecAllMsgs.push_back(pAllMsgText);
}
}


if (MsgType == TYPE_SYSTEM_MESSAGE)
{
nScrollLinesNew++;
}else
if( (GetCurrentMsgType() == TYPE_ALL_MESSAGE || GetCurrentMsgType() == MsgType) && MsgType != TYPE_SYSTEM_MESSAGE)
{
nScrollLines++;
}

if (MsgType == TYPE_SYSTEM_MESSAGE)
{
pvecMsgs = GetMsgs(MsgType);
if (pvecMsgs == NULL)
{
assert(!"Error chat 4");
return;
}
if (nScrollLinesNew > 0 && ((pvecMsgs->size() - (m_iCurrentRenderEndLineMsg + 1) - nScrollLinesNew) < 3))
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;
else if (!m_bShowFrame)
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;


}

bool SEASON3B::CNewUIChatLogWindow::RenderMessagesNew()
{
float fRenderPosX = m_WndPos.x, fRenderPosY = m_WndPos.y - m_WndSize.cy + SCROLL_TOP_BOTTOM_PART_HEIGHT;

type_vector_msgs* pvecMsgs = GetMsgs(TYPE_SYSTEM_MESSAGE);
if (pvecMsgs == NULL)
{
assert(!"empty chat!");
return false;
}
int iRenderStartLine = 0;
if (GetCurrentRenderEndLineMsg() >= m_nShowingLinesMsg)
{
iRenderStartLine = GetCurrentRenderEndLineMsg() - m_nShowingLinesMsg + 1;
}
else
{
fRenderPosY = fRenderPosY + FONT_LEADING + (SCROLL_MIDDLE_PART_HEIGHT * (m_nShowingLinesMsg - GetCurrentRenderEndLineMsg() - 1));
}
fRenderPosY -= 270;
BYTE byAlpha = 150;
if (m_bShowFrame) byAlpha = 100;
EnableAlphaTest();
for (int i = iRenderStartLine, s = 0; i <= GetCurrentRenderEndLineMsg(); i++, s++)
{
if (i < 0 && i >= (int)pvecMsgs->size()) break;

bool bRenderMessage = true;
g_pRenderText->SetFont(g_hFont);
g_pRenderText->SetBgColor(0, 0, 0, 150);
g_pRenderText->SetTextColor(100, 150, 255, 255);
CMessageText* pMsgText = (*pvecMsgs)[i];
if (bRenderMessage && !pMsgText->GetText().empty())
{
POINT ptRenderPos = { (long)fRenderPosX + (long)WND_LEFT_RIGHT_EDGE, (long)fRenderPosY + (long)FONT_LEADING + ((long)SCROLL_MIDDLE_PART_HEIGHT * (long)s) };


if (!pMsgText->GetID().empty())
{
if (m_bPointedMessage == true && m_iPointedMessageIndex == i)
{
g_pRenderText->SetBgColor(30, 30, 30, 180);
g_pRenderText->SetTextColor(255, 128, 255, 255);
}
std::string strIDUTF8 = "";
g_pMultiLanguage->ConvertANSIToUTF8OrViceVersa(strIDUTF8, (pMsgText->GetID()).c_str());
type_string strLine = strIDUTF8 + " : " + pMsgText->GetText();
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, strLine.c_str());
}
else
{
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, pMsgText->GetText().c_str());
}
}
}
DisableAlphaBlend();

return true;
}



Brother, how do you use the final code?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on January 23, 2024, 10:33:09 AM
Has someone already separated the chat from the system messages?




(https://i.postimg.cc/N2mHZ2YF/Screen-09-17-00-51-0000.jpg) (https://postimg.cc/N2mHZ2YF)
Code: [Select]
if (MsgType != TYPE_SYSTEM_MESSAGE)
{
CMessageText* pAllMsgText = new CMessageText;
if (!pAllMsgText->Create(strID, strText1, MsgType))
delete pAllMsgText;
else
{
m_vecAllMsgs.push_back(pAllMsgText);
}
}


if (MsgType == TYPE_SYSTEM_MESSAGE)
{
nScrollLinesNew++;
}else
if( (GetCurrentMsgType() == TYPE_ALL_MESSAGE || GetCurrentMsgType() == MsgType) && MsgType != TYPE_SYSTEM_MESSAGE)
{
nScrollLines++;
}

if (MsgType == TYPE_SYSTEM_MESSAGE)
{
pvecMsgs = GetMsgs(MsgType);
if (pvecMsgs == NULL)
{
assert(!"Error chat 4");
return;
}
if (nScrollLinesNew > 0 && ((pvecMsgs->size() - (m_iCurrentRenderEndLineMsg + 1) - nScrollLinesNew) < 3))
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;
else if (!m_bShowFrame)
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;


}

bool SEASON3B::CNewUIChatLogWindow::RenderMessagesNew()
{
float fRenderPosX = m_WndPos.x, fRenderPosY = m_WndPos.y - m_WndSize.cy + SCROLL_TOP_BOTTOM_PART_HEIGHT;

type_vector_msgs* pvecMsgs = GetMsgs(TYPE_SYSTEM_MESSAGE);
if (pvecMsgs == NULL)
{
assert(!"empty chat!");
return false;
}
int iRenderStartLine = 0;
if (GetCurrentRenderEndLineMsg() >= m_nShowingLinesMsg)
{
iRenderStartLine = GetCurrentRenderEndLineMsg() - m_nShowingLinesMsg + 1;
}
else
{
fRenderPosY = fRenderPosY + FONT_LEADING + (SCROLL_MIDDLE_PART_HEIGHT * (m_nShowingLinesMsg - GetCurrentRenderEndLineMsg() - 1));
}
fRenderPosY -= 270;
BYTE byAlpha = 150;
if (m_bShowFrame) byAlpha = 100;
EnableAlphaTest();
for (int i = iRenderStartLine, s = 0; i <= GetCurrentRenderEndLineMsg(); i++, s++)
{
if (i < 0 && i >= (int)pvecMsgs->size()) break;

bool bRenderMessage = true;
g_pRenderText->SetFont(g_hFont);
g_pRenderText->SetBgColor(0, 0, 0, 150);
g_pRenderText->SetTextColor(100, 150, 255, 255);
CMessageText* pMsgText = (*pvecMsgs)[i];
if (bRenderMessage && !pMsgText->GetText().empty())
{
POINT ptRenderPos = { (long)fRenderPosX + (long)WND_LEFT_RIGHT_EDGE, (long)fRenderPosY + (long)FONT_LEADING + ((long)SCROLL_MIDDLE_PART_HEIGHT * (long)s) };


if (!pMsgText->GetID().empty())
{
if (m_bPointedMessage == true && m_iPointedMessageIndex == i)
{
g_pRenderText->SetBgColor(30, 30, 30, 180);
g_pRenderText->SetTextColor(255, 128, 255, 255);
}
std::string strIDUTF8 = "";
g_pMultiLanguage->ConvertANSIToUTF8OrViceVersa(strIDUTF8, (pMsgText->GetID()).c_str());
type_string strLine = strIDUTF8 + " : " + pMsgText->GetText();
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, strLine.c_str());
}
else
{
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, pMsgText->GetText().c_str());
}
}
}
DisableAlphaBlend();

return true;
}



Brother, how do you use the final code?

只用查找关键位置 就可以替换
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: xiazaipw on January 24, 2024, 01:31:28 AM
Has someone already separated the chat from the system messages?




(https://i.postimg.cc/N2mHZ2YF/Screen-09-17-00-51-0000.jpg) (https://postimg.cc/N2mHZ2YF)
Code: [Select]
if (MsgType != TYPE_SYSTEM_MESSAGE)
{
CMessageText* pAllMsgText = new CMessageText;
if (!pAllMsgText->Create(strID, strText1, MsgType))
delete pAllMsgText;
else
{
m_vecAllMsgs.push_back(pAllMsgText);
}
}


if (MsgType == TYPE_SYSTEM_MESSAGE)
{
nScrollLinesNew++;
}else
if( (GetCurrentMsgType() == TYPE_ALL_MESSAGE || GetCurrentMsgType() == MsgType) && MsgType != TYPE_SYSTEM_MESSAGE)
{
nScrollLines++;
}

if (MsgType == TYPE_SYSTEM_MESSAGE)
{
pvecMsgs = GetMsgs(MsgType);
if (pvecMsgs == NULL)
{
assert(!"Error chat 4");
return;
}
if (nScrollLinesNew > 0 && ((pvecMsgs->size() - (m_iCurrentRenderEndLineMsg + 1) - nScrollLinesNew) < 3))
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;
else if (!m_bShowFrame)
m_iCurrentRenderEndLineMsg = pvecMsgs->size() - 1;


}

bool SEASON3B::CNewUIChatLogWindow::RenderMessagesNew()
{
float fRenderPosX = m_WndPos.x, fRenderPosY = m_WndPos.y - m_WndSize.cy + SCROLL_TOP_BOTTOM_PART_HEIGHT;

type_vector_msgs* pvecMsgs = GetMsgs(TYPE_SYSTEM_MESSAGE);
if (pvecMsgs == NULL)
{
assert(!"empty chat!");
return false;
}
int iRenderStartLine = 0;
if (GetCurrentRenderEndLineMsg() >= m_nShowingLinesMsg)
{
iRenderStartLine = GetCurrentRenderEndLineMsg() - m_nShowingLinesMsg + 1;
}
else
{
fRenderPosY = fRenderPosY + FONT_LEADING + (SCROLL_MIDDLE_PART_HEIGHT * (m_nShowingLinesMsg - GetCurrentRenderEndLineMsg() - 1));
}
fRenderPosY -= 270;
BYTE byAlpha = 150;
if (m_bShowFrame) byAlpha = 100;
EnableAlphaTest();
for (int i = iRenderStartLine, s = 0; i <= GetCurrentRenderEndLineMsg(); i++, s++)
{
if (i < 0 && i >= (int)pvecMsgs->size()) break;

bool bRenderMessage = true;
g_pRenderText->SetFont(g_hFont);
g_pRenderText->SetBgColor(0, 0, 0, 150);
g_pRenderText->SetTextColor(100, 150, 255, 255);
CMessageText* pMsgText = (*pvecMsgs)[i];
if (bRenderMessage && !pMsgText->GetText().empty())
{
POINT ptRenderPos = { (long)fRenderPosX + (long)WND_LEFT_RIGHT_EDGE, (long)fRenderPosY + (long)FONT_LEADING + ((long)SCROLL_MIDDLE_PART_HEIGHT * (long)s) };


if (!pMsgText->GetID().empty())
{
if (m_bPointedMessage == true && m_iPointedMessageIndex == i)
{
g_pRenderText->SetBgColor(30, 30, 30, 180);
g_pRenderText->SetTextColor(255, 128, 255, 255);
}
std::string strIDUTF8 = "";
g_pMultiLanguage->ConvertANSIToUTF8OrViceVersa(strIDUTF8, (pMsgText->GetID()).c_str());
type_string strLine = strIDUTF8 + " : " + pMsgText->GetText();
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, strLine.c_str());
}
else
{
g_pRenderText->RenderText(ptRenderPos.x, ptRenderPos.y, pMsgText->GetText().c_str());
}
}
}
DisableAlphaBlend();

return true;
}



Brother, how do you use the final code?

只用查找关键位置 就可以替换
Thank you very much, brother.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: 1732313 on February 03, 2024, 10:43:55 PM
Hi all!. Can someone share the implementation of Event Time? graphics are not required. I just want to understand how to process the data that comes from the server in the client.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: kelubi1980 on July 23, 2024, 08:13:33 AM
Gracias por el aporte @louis

Un ejemplo de ello es el txt que lleva los nombres de los npc que se encuentra en la ruta \Data\Local\Eng y lleva por nombre "NpcName_eng" con esto se arregla el problema de que al hablar con la NPC que da buff te desconecta o con la que esta en el bar de lorencia.


te faltaria del 566 hasta el 585

Para cliente S6 Epi3

Code: [Select]
// MAX : 512			
//블러드캐슬
//블러드캐슬1
84 1 "Chief Skeleton Warrior"
85 1 "Chief Skeleton Archer"
86 1 "Dark Skull Soldier"
87 1 "Giant Ogre"
88 1 "Red Skeleton Knight"
89 1 "Magic Skeleton"
//블러드캐슬2
90 1 "Chief Skeleton Warrior"
91 1 "Chief Skeleton Archer"
92 1 "Dark Skull Soldier"
93 1 "Giant Ogre"
94 1 "Red Skeleton Knight"
95 1 "Magic Skeleton"
//블러드캐슬3
96 1 "Chief Skeleton Warrior"
97 1 "Chief Skeleton Archer"
98 1 "Dark Skull Soldier"
99 1 "Giant Ogre"
111 1 "Red Skeleton Knight"
112 1 "Magic Skeleton"
//블러드캐슬4
113 1 "Chief Skeleton Warrior"
114 1 "Chief Skeleton Archer"
115 1 "Dark Skull Soldier"
116 1 "Giant Ogre"
117 1 "Red Skeleton Knight"
118 1 "Magic Skeleton"
//블러드캐슬5
119 1 "Chief Skeleton Warrior"
120 1 "Chief Skeleton Archer"
121 1 "Dark Skull Soldier"
122 1 "Giant Ogre"
123 1 "Red Skeleton Knight"
124 1 "Magic Skeleton"
//블러드캐슬6
125 1 "Chief Skeleton Warrior"
126 1 "Chief Skeleton Archer"
127 1 "Dark Skull Soldier"
128 1 "Giant Ogre"
129 1 "Red Skeleton Knight"
130 1 "Magic Skeleton"
131 1 "Castle Gate"
132 1 "Statue of Saint"
133 1 "Statue of Saint"
134 1 "Statue of Saint"

// 반지의 전쟁
135 1 "White wizard"
136 1 "Destructive ogre soldier"
137 1 "Destructive ogre archer"

//블러드캐슬7
138 1 "Chief Skeleton Warrior"
139 1 "Chief Skeleton Archer"
140 1 "Dark Skull Soldier"
141 1 "Giant Ogre"
142 1 "Red Skeleton Knight"
143 1 "Magic Skeleton"

//칼리마_오후 7:05 2004-08-25
// 1 칼리마
147 1 "Aegis"
148 1 "Rogue Centurion"
146 1 "Blood Soldier"
144 1 "Death Angel"
149 1 "Necron"
145 1 "Death Centurion"
160 1 "Schriker"
161 1 "Illusion of Kundun"
// 2 칼리마
177 1 "Aegis"
178 1 "Rogue Centurion"
176 1 "Blood Soldier"
174 1 "Death Angel"
179 1 "Necron"
175 1 "Death Centurion"
180 1 "Schriker"
181 1 "Illusion of Kundun"
// 3 칼리마
185 1 "Aegis"
186 1 "Rogue Centurion"
184 1 "Blood Soldier"
182 1 "Death Angel"
187 1 "Necron"
183 1 "Death Centurion"
188 1 "Schriker"
189 1 "Illusion of Kundun"
// 4 칼리마
193 1 "Aegis"
194 1 "Rogue Centurion"
192 1 "Blood Soldier"
190 1 "Death Angel"
195 1 "Necron"
191 1 "Death Centurion"
196 1 "Schriker"
197 1 "Illusion of Kundun"
 
//카오스캐슬 몬스터.
162 1 "Chaos Castle 1"
163 1 "Chaos Castle 2"
164 1 "Chaos Castle 3"
165 1 "Chaos Castle 4"
166 1 "Chaos Castle 5"
167 1 "Chaos Castle 6"
168 1 "Chaos Castle 7"
169 1 "Chaos Castle 8"
170 1 "Chaos Castle 9"
171 1 "Chaos Castle 10"
172 1 "Chaos Castle 11"
173 1 "Chaos Castle 12"

83 1 "Golden Wheel"
82 1 "Golden Tantalos"
81 1 "Golden Vepar"
80 1 "Golden Lizard King"
79 1 "Golden Derkon"
78 1 "Golden Goblin"

77 1 "Phoenix of Darkness"
76 1 "Phoenix Darkness shield"
75 1 "Great Drakan"
74 1 "Alpha Crust"
73 1 "Drakan"
72 1 "Phantom Knight"
71 1 "Mega Crust"
70 1 "Queen Rainier"
69 1 "Alquamos"
68 1 "Molt"

57 1 "Iron Wheel"
58 1 "Tantalos"
59 1 "Zaikan"
60 1 "Bloody wolf"
61 1 "Beam Knight"
62 1 "Mutant"
63 1 "Death Beam Knight"

64 1 "Ogre archer"
65 1 "Elite Ogre"
66 1 "Cursed king"
67 1 "Metal Balrog"

36 1 "Shadow"
39 1 "Poison Shadow"
34 1 "Cursed Wizard"
41 1 "Death Cow"
37 1 "Devil"
40 1 "Death Knight"
35 1 "Death Gorgon"
38 1 "Balrog"

3 1 "Spider"
26 1 "Goblin"
2 1 "Budge Dragon"
27 1 "Chain Scorpion"
0 1 "Bull Fighter"
33 1 "Elite Goblin"
1 1 "Hound"
28 1 "Beetle Monster"
4 1 "Elite Bull Fighter"
29 1 "Hunter"
6 1 "LIch"
30 1 "Forest Monster"
31 1 "Agon"
7 1 "Giant"
32 1 "Stone Golem"
14 1 "Skeleton"
24 1 "Worm"
22 1 "Ice Monster"
23 1 "Hommerd"
12 1 "Larva"
21 1 "Assassin"
17 1 "Cyclops"
19 1 "Yeti"
11 1 "Ghost"
15 1 "Skeleton Archer"
20 1 "Elite Yeti"
5 1 "Hell Hound"
13 1 "Hell Spider"
16 1 "Chief Skeleton Warrior"
9 1 "Thunder Lich"
8 1 "Poison Bull Fighter"
10 1 "Dark Knight"
25 1 "Ice Queen"
18 1 "Gorgon"

45 1 "Bahamut"
46 1 "Vepar"
47 1 "Valkyrie"
48 1 "Lizard King"
49 1 "Hydra"
50 1 "Sea Worm"
51 1 "Great Bahamut"
52 1 "Silver Valkyrie"

43 1 "Golden Budge Dragon"
44 1 "Dragon"
53 1 "Golden Titan"
54 1 "Golden Soldier"
55 1 "Death King"
56 1 "Death Bone"

150 1 "Bali"
151 1 "Soldier"
152 1 "Magic stone of %s "
153 1 "Magic stone of %s "
154 1 "Magic stone of %s "
155 1 "Magic stone of %s "
156 1 "Magic stone of %s "
157 1 "Magic stone of %s "
158 1 "Magic stone of %s "
//158 1 "Shadow Knight" '- 쉐도우나이트라는 몹이 없으므로

// 함정 ( 100 ~ 110 )
100 1 "Lance"
101 1 "Iron Stick"
102 1 "Fire"
103 1 "Meteorite"

// 공성트랩.           
104 1 "Trap"
105 1 "Canon Trap"
106 1 "Laser Trap"
200 1 "Soccer Ball"

// 크라이울프 레이드 MVP (2005.9.23 이혁재 추가)
204 1 "Wolf Status"
205 1 "Wolf Altar1"
206 1 "Wolf Altar2"
207 1 "Wolf Altar3"
208 1 "Wolf Altar4"
209 1 "Wolf Altar5"
215 1 "Shield"
// 공성
216 1 "Crown"
217 1 "Crown Switch2"
218 1 "Crown Switch1"
219 1 "Castle Gate Switch"
220 1 "Gatekeeper"
221 1 "Slingshot attack"
222 1 "Slingshot defense"
//NPC
223 1 "Senior"
224 1 "Guardsman"
226 1 "Trainer"
//227 1 "McDonalds"
//228 1 "Popeyes"
229 1 "Marlon"
230 1 "Wandering Merchant Alex"
231 1 "Thompson Kenel"
232 1 "Archangel"
233 1 "Messenger of Archangel"
234 1 "Pet Trainer"
235 1 "Sebina the Priest"
236 1 "Golden Archer"
237 1 "Charon"
238 1 "Chaos Goblin"
239 1 "Arena Guard"
240 1 "Safety Guardian"
241 1 "Royal Guard Captain Lorence"
242 1 "Elf Lala"
243 1 "Eo the Craftsman"
244 1 "Caren the Barmaid"
245 1 "Wizard Izabel"
246 1 "Weapons Merchant Zienna"
247 1 "Guard"
248 1 "Wandering Merchant Martin"
249 1 "Guard"
250 1 "Wandering Merchant"
251 1 "Hanzo the Blacksmith"
252 1 ""
253 1 "Potion Girl Amy"
254 1 "Pasi the Mage"
255 1 "Lumen the Barmaid"
256 1 "Lahap"
257 1 "Shadow Phantom Soldier"

//칼리마 몬스터
// 5 칼리마
263 1 "Aegis"
264 1 "Rogue Centurion"
262 1 "Blood Soldier"
260 1 "Death Angel"
265 1 "Necron"
261 1 "Death Centurion"
266 1 "Schriker"
267 1 "Illusion of Kundun"
// 6 칼리마
271 1 "Aegis"
272 1 "Rogue Centurion"
270 1 "Blood Soldier"
268 1 "Death Angel"
273 1 "Necron"
269 1 "Death Centurion"
274 1 "Schriker"
275 1 "Kundun"

// 공성전 몬스터.
277 1 "Castle Gate"
278 1 "Life Stone"
283 1 "Guardian Statue"
285 1 "Guardian"
286 1 "Archer"
287 1 "Spearman"
288 1 "Canon Tower"

//시련의 땅
290 1 "Lizard Warrior"
291 1 "Fire Golem"
292 1 "Queen Bee"
293 1 "Poison Golem"
294 1 "Ax Warrior"
295 1 "Erohim"
296 1 "Monster7"

// 로랜협곡이벤트 몬스터.
300 1 "Hero Mutant"
301 1 "Omega Wing"
302 1 "Axl Hero"
303 1 "Gigas Golem"


//아이다. 크라이울프. 잃어버린 칼리마 추가 작업_기획/정동일 (오후 3:18 2005-07-26)

//아이다 몬스터
308 1 "Death Tree"
307 1 "Forest Orc"
306 1 "Death Rider"
305 1 "Blue Golem"
304 1 "Witch Queen"
309 1 "Hell Maine"

//크라이울프
310 1 "Hammer Scout"
311 1 "Lance Scout"
312 1 "Bow Scout"
313 1 "Werewolf"
314 1 "Scout(Hero)"
315 1 "Werewolf(Hero)"
316 1 "Balram"
317 1 "Soram"

// 크라이울프 MVP 몬스터 - 추가 2005.11.23 (이혁재)
340 1 "Dark Elf"
341 1 "Soram"
344 1 "Balram"
345 1 "Death spirit"
348 1 "Tanker"
349 1 "Balgass" //MVP 보스

//잃어버린 칼리마
331 1 "Aegis"
332 1 "Rogue Centurion"
333 1 "Blood Soldier"
334 1 "Death Angel"
335 1 "Necron"
336 1 "Death Centurion"
337 1 "Schriker"
338 1 "Illusion of Kundun" //제 6칼리마 위치

// 크라이울프 요새 맵 상인 _ 8월 8일 ( 오승언 ) : 크라이울프 요새 조련사 및 세르비스 몹 번호 수정
// 아래 2 NPC는 추후 추가
// 팻 시스템 이후 등록
//344 1 "Summoner"
// 노리아의 조합 고블린과 동일. 조합 수정한 이후 배치 ( 현시점에서는 추가 금지 )
//345 1 "Chaos Goblin"

//이벤트 전용 NPC 추가 - 2006.1.23 (이민정)
258 1 "Luke the Helper"
//2006.4.17 추가 (이민정)
259 1 "Oracle Layla"

//칸투르 몬스터 추가 - 2006.5.16 (김보경)
350 1 "Berserker"
351 1 "Splinter Wolf"
352 1 "Iron Rider"
353 1 "Satyros"
354 1 "Blade Hunter"
355 1 "Kentauros"
356 1 "Gigantis"
357 1 "Genocider"
358 1 "Persona"
359 1 "Twin Tale"
360 1 "Dreadfear"
361 1 "Nightmare"
362 1 "Maya Hand"
363 1 "Maya Hand"
364 1 "Maya"

//칸투르 npc
367 1 "Gateway Machine"
368 1 "Elpis"
//조화의 보석 관련 npc
369 1 "Osbourne"
370 1 "Jerridon"

//화이트엔젤 이벤트 아이템 지급 NPC 추가 - 2006.8.23 이민정
371 1 "Leo the Helper"

//엘리트해골전사변신반지 NPC 추가 - 2006.9.5 이민정
372 1 "Elite Skull Soldier"

//할로윈이벤트 NPC 추가 - 2006.9.12 이민정
373 1 "Jack Olantern"

//크리스마스 변신반지용 NPC 추가 - 2006.11.30 이민정
374 1 "Santa"

// 카오스카드 담당
375 1 "Chaos Card Master"

// 공성전 신규 물약 NPC - 2007.1.22 김보경
376 1 "Pamela the Supplier"
377 1 "Angela the Supplier"

// 설날 복주머니 이름
365 1 "Pouch of Blessing"
378 1 "GameMaster"
379 1 "Natasha the Firecracker Merchant"

//신규 이벤트맵
380 1 "Stone Statue"
381 1 "MU Allies General"
382 1 "Illusion Sorcerer Elder"
383 1 "Alliance Sacred Item Storage"
384 1 "Illusion Castle Sacred Item Storage"
385 1 "Mirage"
// 신규 이벤트맵 1 (레벨 220~270)
386 1 "Illusion Sorcerer Spirit"
387 1 "Illusion Sorcerer Spirit"
388 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 2 (레벨 271~320)
389 1 "Illusion Sorcerer Spirit"
390 1 "Illusion Sorcerer Spirit"
391 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 3 (레벨 321~350)
392 1 "Illusion Sorcerer Spirit"
393 1 "Illusion Sorcerer Spirit"
394 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 4 (레벨 351~380)
395 1 "Illusion Sorcerer Spirit"
396 1 "Illusion Sorcerer Spirit"
397 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 5 (레벨 381~399)
398 1 "Illusion Sorcerer Spirit"
399 1 "Illusion Sorcerer Spirit"
400 1 "Illusion Sorcerer Spirit"
// 신규 이벤트맵 6 (레벨 400)
401 1 "Illusion Sorcerer Spirit"
402 1 "Illusion Sorcerer Spirit"
403 1 "Illusion Sorcerer Spirit"
// 이벤트맵 캐릭터 변신용 인덱스
404 1 "MU Allies"
405 1 "Illusion Sorcerer"

// 3차 체인지업
406 1 "Apostle Devin"
407 1 "Werewolf Quarel"
408 1 "Gatekeeper"
409 1 "Balram (Trainee Soldier)"
410 1 "Death Spirit (Trainee Soldier)"
411 1 "Soram (Trainee Soldier)"
412 1 "Dark Elf (Trainee Soldier)"

// 추석(2007)이벤트
413 1 "Lunar Rabbit"
414 1 "Helper Ellen"
// 엘베란드  NPC
415 1 "Silvia"
416 1 "Rhea"
417 1 "Marce"
// 엘베란드 사냥터 (2007-09-18 김현지)
418 1 "Strange Rabbit"
419 1 "Hideous Rabbit"
420 1 "Werewolf"
421 1 "Polluted Butterfly"
422 1 "Cursed Lich"
423 1 "Totem Golem"
424 1 "Grizzly"
425 1 "Captain Grizzly"
// 이벤트맵 등급 추가로 인한 몬스터 추가(2007.10.16)
//카오스캐슬7_확장
426 1 "Chaos Castle13"
427 1 "Chaos Castle14"
//블러드캐슬8_확장
428 1 "Chief Skeleton Warrior"
429 1 "Chief Skeleton Archer"
430 1 "Dark Skull Soldier"
431 1 "Giant Ogre"
432 1 "Red Skeleton Knight"
433 1 "Magic Skeleton"
//악마의광장7_확장
434 1 "Gigantis"
435 1 "Berserker"
436 1 "Balram (Trainee Soldier)"
437 1 "Soram (Trainee Soldier)"
438 1 "Persona"
439 1 "Dreadfear"
440 1 "Dark Elf"
// 평온의 늪 몬스터 추가
441 1 "Sapi-Unus"
442 1 "Sapi-Duo"
443 1 "Sapi-Tres"
444 1 "Shadow Pawn"
445 1 "Shadow Knight"
446 1 "Shadow Look"
447 1 "Thunder Napin"
448 1 "Ghost Napin"
449 1 "Blaze Napin"
// 벚꽃이벤트 npc 추가
450 1 "Cherry Blossom Spirit"
451 1 "Cherry Blossom Tree"
// 소켓 시스템 NPC
452 1 "Seed Master"
453 1 "Seed Researcher"
// 라클리온 몬스터 추가
454 1 "Ice Walker"
455 1 "Giant Mammoth"
456 1 "Ice Giant"
457 1 "Coolutin"
458 1 "Iron Knight"
459 1 "Selupan"
460 1 "Spider Eggs"
461 1 "Spider Eggs"
462 1 "Spider Eggs"
// 불꽃주머니 추가
463 1 "Fire Flame Ghost"
// 체험서버용 NPC 추가
//464 1 "Re-Initialization Helper"
// 상용화 7주년 이벤트 NPC 추가
478 1 "Delgado"
// 크리스마스이벤트 NPC 추가(국내 적용 추가)
465 1 "Santa Claus"
466 1 "Cursed Goblin"
467 1 "Snowman"
468 1 "Dasher"
469 1 "Kermit"
470 1 "Little Santa"
471 1 "Cupid"
472 1 "Prancer"
473 1 "Donner"
474 1 "Vixen"
475 1 "Blitzen"
476 1 "Cursed Santa"
477 1 "Transformed Snowman"
// PK필드 몬스터 NPC 추가
479 1 "Doorkeeper Titus"
480 1 "Zombie Fighter"
481 1 "Zombie Fighter"
482 1 "Resurrected Gladiator"
483 1 "Resurrected Gladiator"
484 1 "Ash Slaughterer"
485 1 "Ash Slaughterer"
486 1 "Blood Assassin"
487 1 "Cruel Blood Assassin"
488 1 "Cruel Blood Assassin"
489 1 "Burning Lava Giant"
490 1 "Ruthless Lava Giant"
491 1 "Ruthless Lava Giant"
// 겜블 NPC 추가
492 1 "Moss"
// 황금군단이벤트(일본)
502 1 "Golden Rabbit"
493 1 "Golden Dark Knight"
494 1 "Golden Devil"
495 1 "Golden Stone Golem"
496 1 "Golden Crust"
497 1 "Golden Satyros"
498 1 "Golden Twin Tail"
499 1 "Golden Iron Knight"
500 1 "Golden Napin"
501 1 "Great Golden Dragon"
// 5월 프리미엄 아이템 (팬더변신반지)
503 1 "Transformed Panda"
// 제국 수호군 몬스터 NPC 추가
// 몬스터
504 1 "Gaion Kharein"
// 맵 보스
505 1 "Jerint"
506 1 "Raymond"
507 1 "Erkanne"
508 1 "Destler"
509 1 "Vermont"
510 1 "Kato"
511 1 "Galia"
// 존 보스
512 1 "Quartermaster"
513 1 "Combat Instructor"
514 1 "Knight Commander"
515 1 "Grand Wizard"
516 1 "Master Assassin"
517 1 "Cavalry Captain"
// 일반 몬스터
518 1 "Shield Bearer"
519 1 "Medic"
520 1 "Knights"
521 1 "Bodyguard"
// NPC
522 1 "Jerint the Assistant"
// 오브젝트 NPC
523 1 "Trap"
524 1 "Castle Gate 1" //내려가는 성문(평일)
525 1 "Castle Gate 2" //파괴되는 성문(평일)
526 1 "Stone Statue 1"
527 1 "Castle Gate 3" //내려가는 성문(주말)
528 1 "Castle Gate 4" //파괴되는 성문(주말)
// 도플갱어 몬스터 NPC 추가
// 몬스터
// 보스 몬스터
529 1 "Furious Slaughterer"
530 1 "Slaughterer"
// 미션 몬스터
531 1 "Ice Walker"
// 일반 몬스터
532 1 "Larva"
533 1 "Doppelganger"
534 1 "Doppelganger Elf"
535 1 "Doppelganger Knight"
536 1 "Doppelganger Wizard"
537 1 "Doppelganger Magic Gladiator"
538 1 "Doppelganger Dark Lord"
539 1 "Doppelganger Summoner"
// NPC
540 1 "Lugard"
541 1 "Interim Reward Chest"
542 1 "Final Reward Chest"
// 겐스 NPC
543 1 "Gens Duprian Steward"
544 1 "Gens Vanert Steward"
//로랜시장 NPC 추가 2009.11.24 홍승욱
545 1 "Christine the General Goods Merchant"
546 1 "Jeweler Raul"
547 1 "Market Union Member Julia"
//스켈레톤변신반지용 변신스켈레톤 추가
548 1 "Transformed Skeleton"
549 1 "Bloody Orc"
550 1 "Bloody Death Rider"
551 1 "Bloody Golem"
552 1 "Bloody Witch Queen"
553 1 "Berserker Warrior"
554 1 "Kentauros Warrior"
555 1 "Gigantis Warrior"
556 1 "Genocider Warrior"
557 1 "Sapi Queen"
558 1 "Ice Napin"
559 1 "Shadow Master"
560 1 "Sapi Queen"
561 1 "Medusa"
562 1 "Dark Mammoth"
563 1 "Dark Giant"
564 1 "Dark Coolutin"
565 1 "Dark Iron Knight"
566 1 "Mercenary Guild Manager Tercia"
567 1 "Priestess Veina"
568 1 "Wandering Merchant Zyro"
// 칼루탄 몬스터 추가 2010-06-30 홍승욱
569 1 "Venomous Chain Scorpion"
570 1 "Bone Scorpion"
571 1 "Orcus"
572 1 "Gollock"
573 1 "Crypta"
574 1 "Crypos"
575 1 "Condra"
576 1 "Narcondra"
// 칼루탄 NPC 추가 2010-06-30 홍승욱
577 1 "Leina the General Goods Merchant"
578 1 "Weapons Merchant Bolo"
// 럭키아이템 NPC 추가 2010-09-01 이기수
579 1 "David"
585 1 "Scarecrow"
end

Sería más fácil si usan mi kayito Tools, abren el Monster.txt del muserver y exportan el NPCName(Eng).txt desde ahí directamente. De esa forma les queda sincronizado con los monsters del server :)
En kayito Tools tienen que ir a la opción MONSTER.

"¿Dónde puedo conseguir 'kayito Tools'?"
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: phuongcuongmsqm on July 30, 2024, 07:26:55 AM
Está faltando a source do GetMainInfo  drogado.

al parecer alguien no entendio que es esto. este es el main.exe original de webzen no usa ningun getmain de xteam. no tienes que cambiar nada ya que lo puedes hacer desde la source directamente, solo busca el string de la ip y cambiala por la tuya

no necesariamente puedes armar el GetMain de muemu y manajer las cosas con mas facilidad, tampoco es complicado hacerlo, querer es poder xD

(https://i.postimg.cc/BnTNPgF3/Sin-t-tulo.png)

(https://i.postimg.cc/Nf3Bjg6V/Screen-01-25-19-52-0000.jpg)
can you share src main.dll getmaininfo ? thanks bro
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: erickmalfoy on October 25, 2024, 01:36:09 AM
Murio el Post xD  :'(
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: juan7654321 on February 15, 2025, 10:50:10 AM
https://files.fm/u/4zat9j5wng
 Qual é a senha para Season6_PatchV2.0, por favor
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: muccone on February 22, 2025, 12:02:01 AM
int __thiscall Open_ItemToolTipTextBmdFile(char *this, const char *src)
{
  int result; // eax
  int iwCheckSum; // eax
  _WORD *v4; // eax
  int v5; // eax
  bool v6; // zf
  __int16 v7[131]; // [esp+2h] [ebp-44Eh] BYREF
  CHAR v8[256]; // [esp+108h] [ebp-348h] BYREF
  CHAR Text[256]; // [esp+208h] [ebp-248h] BYREF
  char m_stTooltipTextBmd[260]; // [esp+308h] [ebp-148h] BYREF
  char v11[8]; // [esp+40Ch] [ebp-44h] BYREF
  int v12; // [esp+418h] [ebp-38h]
  int v13; // [esp+41Ch] [ebp-34h]
  int v14; // [esp+420h] [ebp-30h]
  int v15; // [esp+424h] [ebp-2Ch]
  int dwCheckSum; // [esp+428h] [ebp-28h] BYREF
  int v17; // [esp+42Ch] [ebp-24h]
  int length; // [esp+430h] [ebp-20h] BYREF
  char *v19; // [esp+434h] [ebp-1Ch]
  int i; // [esp+438h] [ebp-18h]
  int v21; // [esp+43Ch] [ebp-14h]
  int iSize; // [esp+440h] [ebp-10h]
  int pSeek; // [esp+444h] [ebp-Ch]
  int fp; // [esp+448h] [ebp-8h]
  int Buffer; // [esp+44Ch] [ebp-4h]

  v19 = this;
  if ( sub_F9E91A(this + 20) )
    sub_F9B15E(v19);
  fp = fopen(src, aRb_42);
  if ( fp )
  {
    fread(&length, 4, 1, fp);
    iSize = 260;
    v21 = 260 * length;
    v17 = sub_1955F49(260 * length);
    Buffer = v17;
    fread(v17, v21, 1, fp);
    fread(&dwCheckSum, 4, 1, fp);
    fclose(fp);
    iwCheckSum = GenerateCheckSum2(Buffer, v21, 0xE2F1);
    if ( dwCheckSum == iwCheckSum )
    {
      pSeek = Buffer;
      sub_1971C70(m_stTooltipTextBmd, 0, 260);  // //ITEM_TOOLTIP_TEXT
                                                //
      for ( i = 0; ; ++i )
      {
        result = i;
        if ( i >= length )
          break;
        BuxConvertS19(pSeek, iSize, 0xE2F1);
        memcpy(m_stTooltipTextBmd, pSeek, iSize);
        v4 = sub_F98EBB(v7, (int)m_stTooltipTextBmd, (int)m_stTooltipTextBmd);
        v5 = sub_F9A4E4((int)v11, (int)v4);
        result = sub_F9904F(v5);
        if ( !v12 )
        {
          if ( Buffer )
          {
            v14 = Buffer;
            result = sub_1955F52(Buffer);
            Buffer = 0;
          }
          return result;
        }
        v6 = iSize + pSeek == 0;
        result = iSize + pSeek;
        pSeek += iSize;
        if ( v6 )
          break;
      }
      if ( Buffer )
      {
        v13 = Buffer;
        return sub_1955F52(Buffer);
      }
    }
    else
    {
      if ( Buffer )
      {
        v15 = Buffer;
        sub_1955F52(Buffer);
        Buffer = 0;
      }
      sub_960193(v8, "%s - File corrupted.", src);
      sub_13317A2(&off_6F10FA8, v8);
      MessageBoxA(hWnd, v8, 0, 0);
      return SendMessageW(hWnd, 2u, 0, 0);
    }
  }
  else
  {
    sub_960193(Text, "%s - File not exist.", src);
    sub_13317A2(&off_6F10FA8, Text);
    MessageBoxA(hWnd, Text, 0, 0);
    return SendMessageW(hWnd, 2u, 0, 0);
  }
  return result;
}
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: sannea on March 13, 2025, 03:33:24 AM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video


Thank you soo much, you make such a lot of work, how did you make it alone ?
...add some spaces and rename data\\music\\ to Media\\music
definitely worth to add the github credit
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: louis on March 18, 2025, 11:17:20 PM
Visual Studio 2022

Fixes:
  • Fixing various bugs
  • Performance improvement
  • Organized media files
  • Better chunk loading
  • Starting to encode preload opening video


Thank you soo much, you make such a lot of work, how did you make it alone ?
...add some spaces and rename data\\music\\ to Media\\music
definitely worth to add the github credit

It is difficult to understand the original source with that amount of unnecessary defines and texts.

Unfortunately, my time is short and I could not optimize the systems by creating the necessary classes and organizing the code in general.

But with the clean source, anyone will be able to work better on it.
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: smil158 on April 06, 2025, 10:29:00 PM
How to modify the protocol to be used with the MuEmu server?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: eduardo253 on June 06, 2025, 08:31:27 PM
https://postimg.cc/kBpBzJHz
Porque tantos errores?
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: phuongcuongmsqm on June 20, 2025, 03:02:32 AM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.

Source client + client RF (Global Debug folder)
RF + set Phoenix, doesn't make Phoenix Shot skill yet.
https://mega.nz/file/lGAClD5B#EXrZJ89FUxY2bj_h6mpa4t5m_A2EEQERZaBUWdR_sR8

GS:

ông fix các file nào ông có thể bóc code ra đc ko ông @_@ chứ ông gửi về build lại chạy mấy file ko được
stdafx.h add:
Code: [Select]
#ifndef GAMESERVER_SEASON
#define GAMESERVER_SEASON "CUSTOM"
#endif // !GAMESERVER_SEASON

(https://upanh.tv/image/dlxVHE)
BẠN ƠI UP LẠI LINK CHO MÌNH XIN VỚI
Titulo: Re: Source VS2019 Main 5.2 + Louis Emulator 5.2 UP15 + Cashshop Included
Posteado por: phuongcuongmsqm on June 20, 2025, 03:03:21 AM
Please share Source with RF included. When I turn on #define RF the client closes at the end of the download, if I start debugging through VS it gives an error EnсhTerrain74.obj and the client closes.

Source client + client RF (Global Debug folder)
RF + set Phoenix, doesn't make Phoenix Shot skill yet.
https://mega.nz/file/lGAClD5B#EXrZJ89FUxY2bj_h6mpa4t5m_A2EEQERZaBUWdR_sR8

GS:
stdafx.h add:
Code: [Select]
#ifndef GAMESERVER_SEASON
#define GAMESERVER_SEASON "CUSTOM"
#endif // !GAMESERVER_SEASON

(https://upanh.tv/image/dlxVHE)
BÁC UP LẠI LINK E XIN VOI Ạ