PDA

View Full Version : |Desenvolvimento| LC Server Files - Season 4.6 - ALPHA



afonsolage
04/01/2015, 07:18 PM
Prezados,

Hoje eu lhes apresento um projeto que eu tenho desenvolvido há algum tempo (com uma pausa dramática de 1 ano ). Estou desenvolvendo arquivos de servidor de Mu Online Season 4.6, baseado no source GS da MSCTeam e no eDS do Deathway - eRRoR. Sei que tem muita coisa pra ser corrigida, mas estamos aí para fazê-lo.

Se alguém quiser contribuir com esse projeto, basta baixar os arquivos e testar, pois isso já me ajudaria bastante, uma vez que procurar e testar funcionalidades leva algum tempo, tempo esse que poderia ser usado para corrigir e adicionar funcionalidades

Esse projeto está em fase inicial ainda e não serve pra ser utilizado em servidores em produção, pois algumas funcionalidades básicas (como /RESET ou /ADD) ainda não foram adicionadas.

Primeiro preciso ter um servidor funcional com todas as características da Season 4.6, depois posso partir para a adição de modificações e customizações.

Bom, agradeço pela atenção de todos e vamos ao projeto:
ALGUMAS IMAGENS

[Only registered and activated users can see links]

[Only registered and activated users can see links]

[Only registered and activated users can see links]

[Only registered and activated users can see links]

[Only registered and activated users can see links]


DOWNLOAD


LC Server Files - v0.01 - Full package ([Only registered and activated users can see links]!PI0CiDQY!cVEMqlz1rkYq0DAsS9Caa1nIKAtJ19BbQ-f9URqhbnM)
LC Server Files - v0.02 ([Only registered and activated users can see links]!nJEwCT7Y!fD-2bkKbTPnM_LyMbn95Ti-E891ngFsi6bZIARtS1co)
LC Server Files - v0.03 - Full package ([Only registered and activated users can see links]!6QUhCDgT!BLHCKhZi2Jxxsbtv_2Ajgh3xRadM8QciI0TTe-jEYcc)
LC Server Files - v0.04 ([Only registered and activated users can see links]!nA8TwCAT!Umvg_Sc2PO2Yi_kBKSZQk1jZgKdqRKTqsKJzyT0 yhnU)
LC Server Files - v0.05 - Full package ([Only registered and activated users can see links]!KJkG1YbT!aNAJFnylpR_NJF-TYGjNOzwBPAzDbV4q5VqL_x5ABGo)
LC Server Files - v0.06 ([Only registered and activated users can see links]!GUkAhTqB!RSrUwk1u_yqFLmQQ5zeHMletzIQHDtl6WHq8iRG oSyk)
LC Server Files - v0.07 ([Only registered and activated users can see links]!SFtSzSja!pKTr_Z6f-es8g50jZhlQngfKT-gTwlmadWgLxRI37qo)
LC Server Files - v0.08 - Full package ([Only registered and activated users can see links]!aMkATAyT!3Eey_Tq--LU4m1Cp6ehcVbJ1M8O7MDZmTUkl1_RV3qo)
LC Server Files - v0.09 ([Only registered and activated users can see links]!yUNEwKoR!89AsriPr8fJZnk30XgIkb0v3E6ZGXuImcokYD7n WuNY)




Client 4.6 - Somentes pra testes, mais informações abaixo. ([Only registered and activated users can see links]!vZMXhTDQ!UQV3bRIeaBoUdBX-ikzbbXnPKx9WQZw4Y_XJP8iSr4U)


CHANGELOG

LC.ServerFiles v0.01:

LC.GameServer:

Project started;
Upgraded to VS2012;
Removed DataServer 2;
Added HPBar module support;
Fixed invalid ENG Protocol definition;
Temporary disabled Main checksum;
Fixed SDHP_DBCHAR_INFOSAVE protocol;
Fixed Mana & HP persistence problem;
Fixed message "Obtained Exp" when maximum level;
Added custom Msg.cpp to load messages;
Added file Data\Messages\en-US.ini;
Removed dependency of mumsg.dll;
Fixed damage isnt shown on mob hit kill;
Fixed Shop loading error;
Increase monster level limit to 200;
Fixed Monster spawn on invalid location;
Added position check on MonsterSetBase load;
Fixed Summoner enabled creation issue;
Fixed PK characters doesnt attack;
Removed restriction on 2nd stage pk atk and be atked by players;
Added IngameCashShop Server support;
Added Get IGSPoints protocol;
Added Get IGS Item list protocol;
Added IGS Item buy protocol;
Changed UI Interface to a better understanding of messages;
Changed LogProc colors and behavior;
Changed all logs calls and classified them in: ERROR, WARNING, NOTIFY, INFO and DEBUG;
Rewrote the Guild protocol;
Fixed guild creation issue;
Fixed guild information issue;
Fixed guild mark issue;
Fixed guild hostility issue;
Fixed guild union issue;
Fixed guild union view list issue;
Fixed guild list loading;
Added guild list reload option;
Fixed guild union chat;
Fixed Ranking Server connection;
Removed all static port and IPs configuration;
Added file;
Removed WzAG dependency;
Added custom configuration and files loading architeture;
Added files LC.ConfigurationFiles.ini on LCData folder;

LC.DataServer:

Project started;
Upgraded to VS2012;
Removed DataServer 2;
Fixed SDHP_SERVERINFO protocol;
Fixed SDHP_GETCHARLIST protocol;
Fixed SDHP_DBCHARINFOREQUEST protocol;
Added on CQuery::Close() to clear query buffer also;
Fixed SDHP_DBCHAR_INFOSAVE protocol;
Fixed SDHP_SERVERINFO protocol;
Fixed SDHP_IDPASS protocol;
Fixed Mana & HP persistence problem;
Fixed invalid X and Y position loading;
Fixed GS stuck on JoinServer;
Fixed CriticalSection lock when restarting GameServer;
Fixed Summoner enable creation issue;
Fixed DL and MG enable creation issue;
Fixed Summoner creation issue;
Added IngameCashShop Server;
Added Get IGSPoints protocol;
Added Get IGS Item list protocol;
Added IGS Item buy protocol;
Fixed players stuck on JoinServer when GameServer suddenly closes;
Added Guild Manager system, to increase security and performance;
Added Guild reload opition on Menu Bar;
Fixed guild creation issue;
Fixed guild delete issue;
Added guild hostility protocol;
Added guild union protocol;
Added guild list protocol;
Changed UI Interface to a better understanding of messages;
Changed LogProc colors and behavior;
Changed all logs calls and classified them in: ERROR, WARNING, NOTIFY, INFO and DEBUG;



LC.ServerFiles v0.02:

LC.GameServer:

Fixed freeze after some time of activity;
Fixed Max HP and MP stars when overflow 65535;
Rewrote 3rd Quest Protocol to better performance;


LC.DataServer:

Fixed freeze after some time of activity;
Fixed Max HP and MP stars when overflow 65535;



LC.ServerFiles v0.03:

LC.GameServer:

Rewrited all Castle Siege protocols, to better performance;
Fixed Lord Mix issue;
Fixed Castle Siege Gate closing issue;
Fixed error when running LC.GameServer.exe on WinXP 32 bits machine;
Fixed Castle Siege Sync protocol;
Fixed Castle Siege time left calc;
Added current Castle Siege state display info on LC.GameServerCS.exe;
Removed file Data\CastleSiege.dat;
Added file LCData\Events\CastleSiege.txt;
Added Castle Siege event file location configuration on LCData\LC.ConfigurationFiles.ini;


LC.DataServer:

Added all Castle Siege event protocols;
Fully coded Castle Siege Manager;
Fixed guild creation issue;
Fixed error when running LC.DataServer.exe on WinXP 32 bits machine;



LC.ServerFiles v0.04:

LC.GameServer:

Fixed packet error by talking with Siege NPC when no guild registered on NPC;
Fixed Announce button display by talking with Siege NPC when not registered on Siege;
Added GameServer UDP Port configuration on GameServer.ini to avoid high CPU usage;
Renamed DUMP file name generation to a better understanding;
Fixed on CS union members not joining as atk or defense side;


LC.DataServer:

Added auto class code conversion (from 18 to 19 I.E), which makes MuMaker compatible;



LC.ServerFiles v0.05:

LC.GameServer:

Added CS info on GSCS main window and title;
Fixed some protocols bugs;


LC.DataServer:

Added Crywolf event protocols;
Added Period Items protocols;
Added InGameShop item duration reading;
Fixed Join Server logon twice bug;
Fixed some protocols bugs;



LC.ServerFiles v0.06:

LC.GameServer

Added Commands feature on GS;
Build entire new engine for custom commands;
Added configuration file for commands;
Added move command;
Added whiper on/off command;
Added item command;
Added post command;
Rewrote Event Chip protocols;
Fixed Golden Archer register bug;
Added add command;
Added the path configuration of LC.Commands.txt on LC.ConfigurationFiles.ini;
Fixed bug when 3rd class wearing some itens;


LC.DataServer:

Rewrote Event Chip protocols;
Added the path configuration of LC.InGameShop.txt on DataServer.ini



LC.ServerFiles v0.07:

LC.DataServer:

Added Reset System protocol;

LC.GameServer:

Added Reset System;
Added LC.ResetSystem.txt to configure Reset System;
Fixed reading file messages bug;
Fixed Pc Points loading o character connect;



LC.ServerFiles.v0.08:

DataServer:

Added 60% of ChatServer protocols;
Reduced memory usage;



GameServer:

Fixed crash on drop some items;
Added 60% of ChatServer protocols;
Reduced memory usage;



LC.ServerFiles.v0.09:

DataServer:

Added new Database Engine;
Removed ODBC connection dependency;
Added new db configurations on LC.DataServer.ini;
Improved startup time of LC.DataServer.exe;
Improved query performance;



GameServer:

Fixed 65k stats;
Fixed AntiHack DC when high attack speed;
Fixed Getting Quest item on ground;
Add Duel System;
Added LC.DuelSystem.ini to configure Duel System;
Added + 28 option support;
Added + 15 item level support;
Added Ancient and Excellent item support;
Added +14 and +15 mix combinations (need to edit mix.bmd on client also);
Fixed guild member listing bug;



PENDENTE

Add VIP System;


BUGS CONHECIDOS


65k stats não está funcionando ([Only registered and activated users can see links]) - FIXADO
Item Ancient + Excellent não está funcionando corretamente ([Only registered and activated users can see links]) - FIXADO
Option Reload trava o GS ([Only registered and activated users can see links]) - FIXADO - FIXADO
Duel system não está funcionando ([Only registered and activated users can see links]) - FIXADO
Item +28 vira +16 quanto loga ([Only registered and activated users can see links]) - FIXADO




TESTADO


Chaos Machine (Normal Mix, Wings (1nd, 2nd and 3rd), Fenrir, Tickets, Itens 380 opts);
Chaos Castle;
Blood Castle;
Devil Square;
Crywolf;
Castle Siege;
Lahap (Jewel Mix and UnMix);
Quest for 2nd and 3rd class (including Marlon);
Cash Shop (Gift doesnt exists on this version of Main);



Configuração - Visão Geral:

Baixe os últimos arquivos (lol?);
Baixe os arquivos do cliente (opcional);
Extraia-os para qualquer pasta (lol??);
Executar o script SQL, não precisa nem criar a db MuOnline, basta conectar na base Master;
Execute DataServer\DataServer.exe para ter certeza que a conexão está OK;
Configure IP e Port no ConnectServer (BoR);
Configure IP no arquivo Data\MapServerInfo.dat;
Execute GameServer\GameServer.exe;
Execute ConnectServer\СonnectServer.exe;
Se você está utilizando o cliente deste tópico, configure o arquivo Main.ini
Seja feliz;


O servidor já vem todo configurado pra testes, só precisa mudar o IP que tá apontando pro 192.168.0.4, mas o resto já tá configurado, executando o script SQL, até o usuário do banco de dados é criado com a mesma senha que já tá no DataServer.ini

Sobre o cliente, qualquer um compatível com a S4.6 pode ser usado, mas se você usar algum que tenha a HPBar custom, ele já vai funcionar, pq já adicionei isso no LC.GameServer.

Resolvi adicionar um cliente com uma dll personalizada: Main.dll. A ideia dessa DLL é justamente facilitar a configuração, dentro desse cliente tem um arquivo chamado Main.ini e basta configurar o IP, Serial e Versão para começar a usar, dispensando procurar offsets e usar editor Hexadecimais. Obviamente isso é apenas para testes, pois ninguém iria liberar uma cliente com IP configurável para os seus usuários

FAQ

Q - Você vai vender esses arquivos?
A - NÃO.


Q - Eles vão ser gratuítos?
A - SIM.


Q - Você vai liberar as sources?
A - NÃO.


Q - Por quê tu ta fazendo isso?
A - Primeiramente pq eu quero ajudar a comunidade Mu Online, eu aprendi muita coisa aqui e comecei minha carreira como Mu ADM aqui, então ta na hora deu retribuir de alguma forma


Q - Esses arquivos fedem!
A - Valeu, disponha sempre que precisar.


Q - Você pretende atualizar a Season desses arquivos?
A - NÃO


Q - Onde eu mudo o serial e a versão do cliente?
A - Data\Lang\CommonLoc.cfg

Q - Por quê só tem o DataServer e o ConnectServer? Cadê os outros executáveis?
A - O DataServer possui todos os serviços necessários integrados, menos o ConnectServer. Então basta executar o DataServer que ele fará o papel de todos os demais serviços (JS, ExDB, DS1, DS2, ShopServer, Event Server, Chat Server[Em Breve] e Ranking Server).

ATUALIZAÇÃO:
INFELIZMENTE NÃO ESTOU CONSEGUINDO MAIS TEMPO LIVRE PARA DAR CONTINUIDADE AO PROJETO, MAS PARA QUE O MESMO NÃO PARE, ESTOU LIBERANDO A SOURCE PARA O CASO DE ALGUÉM QUERER CONTINUAR O PROJETO.

PROJETO: FECHADO.

LC.ServerFiles-Source-4.6 ([Only registered and activated users can see links]!idsGBboQ!x5AUnAfn49P7pF_qElO5kcETmpQg0Y5kawlzyKn ONGM)

Agradecimentos:

MSCTeam - GS Source;
eRRoR Deathway - eDS Source;
ClockG - Sources Pack;


Bom, no mais é isso galera, se alguém tiver algum problema, dúvida ou quiser colaborar com o projeto, basta responder aqui que tamo junto

Valeu!!

Mentor
04/01/2015, 10:05 PM
Ótimo desenvolvimento meu amigo afonsolage, já instalei aqui e o server ta show, breve irei postar um log dos testes realizado.

afonsolage
08/01/2015, 09:16 AM
Pessoal,

Uma atualização: Estou terminando de adicionar as funcionalidades do ChatServer no LC.DataServer até esse final de semana e posto a próxima versão, com ele 100% funcional. Funcionalidades de amigos e email já estão funcionando 100%, falta apenas o bate-papo que estou terminando.

jhonhy™
08/01/2015, 08:37 PM
Aguardando os últimos updates. Assim que der já posto os bugs que eu encontrar.

Edit*

Quem precisar do MAIN sem recuo para Testes do PvP, basta mandar MP para mim, com: IP, Serial e Versão do MU, para que eu possa passar o MAIN SEM RECUO.


Abraços.


[]'s

Mentor
08/01/2015, 09:03 PM
afonsolage estou fazendo uns teste aqui e nesse novo update8 parou de dar crash no gs ao tentar dropar algum item do inventário e a loja do pcpoint está funcional porem achei um problema, o shop reload não está funcionando.

afonsolage
08/01/2015, 09:42 PM
Mentor, vou dar uma olhada depois, anotei aqui em Bugs Conhecidos.

jhonhy™
10/01/2015, 02:16 AM
Não sei se tudo se passa por BUG ou FIX, mas está ai minha lista de algumas coisas que testei e não tive SUCESSO!

Utilizo Windows 7 ultimate x86

Bugs/Fixs:

Fixar DataServer para não deixar os Status com 65000 negativo -536
Não está dando pra usar nenhum ITEM do bau pro char, quando tenta equipar algo não da e após isso o char leva DC. Testado, está normal.
Items Full + Ancientes, quando equipa o item Full + Anc, o mesmo fica semi full e não FULL.
Não está dando pra fazer quest do DK~BK, a NPC não pede os Items. Testado, está normal.
Cada vez que move pra um mapa da esse erro no GS e após isso o mesmo leva DC, coisa de 3 segundos. "IMG 01"
Sempre quando loga no Servidor, das os seguintes erros no GS e após isso LEVA DC. "IMG 02"
Fixar Status com 65535 ou 65000, o char morre pra qualquer spots/mobs com esses Status.
Ao dar Option Reload no GS o mesmo da um ERRO e da Crash. "IMG 03"
Ao usar /reset o mesmo Resetou todos os ITEMS EQUIPADOS, skills e a Quest voltou a 1°. Testado, está normal. (Configuração)
Fixar o "error-L1 CloseClient INVALID_SOCKET", aós dar o erro o mu da DC.
Fixar Barra de HP, pois a mesma não aparece nos Spots, só no PvP.
Fixar o Duelo, pois quando você da DUELO em um char, diz a seguinte mensagem:
"The name of the character you have challenged incorrect."
O nome do personagem que você desafiou está incorreto.

IMG 01:
[Only registered and activated users can see links]

IMG 02:
[Only registered and activated users can see links]

IMG 03:
[Only registered and activated users can see links]

Estarei aguardando Fixs.


Abraços;


[]'s

afonsolage
10/01/2015, 07:10 AM
jhonhy,

Agradeço bastante pelo report. Boa parte desses bugs são em decorrência de eu ainda não ter adicionado o suporte de 65k stats, mas o farei muito em breve. Quanto aos demais itens, vou analisar um-a-um e posto um retorno.

Update:

65k fixado. Preciso fazer mais testes, mas estou em K3 pelado e não levo hit, acredito que isso comprove que esteja OK agora:

[Only registered and activated users can see links]

jhonhy,

Quanto aos seguintes itens:

Não está dando pra fazer quest do DK~BK, a NPC não pede os Items.


Poderia me enviar sua DB? Pois testei aqui e consegui normalmente, pode ser alguma peculiaridade que esteja fazendo isso.

Já sobre o Crash, me manda o arquivo DUMP que foi gerado? Dessa forma posso ver onde está o erro.

Sobre o /reset, isso é configuravel, basta configurar pra não remover os itens equipados.

Sobre a Barra de HP, se vc mata o MOB de 1 Hit, a barra de HP não aparece. Você testou com stats normal em um único mob? Ou então eu não entendi o que vc quis dizer com "Spots".

jhonhy™
10/01/2015, 09:34 AM
afonsolage
Sobre a quest irei re-testar. Testado, Está normal.
O mesmo da crash após dar o reload option, como mostra a IMG 03
Sobre o /reset irei verificar também. Testado, está normal. (Configuração)
Sobre a barra de HP também irei re-testar. Testado, Está normal.

Se possível me adicione ao skype que mandei VIA MP, assim fica mais fácil nossa comunicação e resolver os bugs/fixs.

Abraços.


[]'s

Christian Lima
10/01/2015, 08:37 PM
Opa! Um DEV. aqui e eu nem estava sabendo!!! Vou testar também.

afonsolage
11/01/2015, 07:44 AM
Christian Lima, valeu! Se for testar, usa essa versão aqui ([Only registered and activated users can see links]!uN1hlZDI!i9fkkBfbUPQuHmSYrO8zfvzKk0eUSDRokz1KF7R porE) que compilei pro Jhonhy que tá me ajudando também. Estou terminando o Duel System:

[Only registered and activated users can see links]

Christian Lima
11/01/2015, 11:45 AM
Esses arquivos não são full, então terei que juntá-los ao "LC Server Files - v0.08 - Full package", correto?

Baixei aqui e vou subir o server essa tarde pra ver a obra de vcs!

Att,

C. Lima

Kratos
13/01/2015, 09:55 PM
Christian Lima, valeu! Se for testar, usa essa versão aqui ([Only registered and activated users can see links]!uN1hlZDI!i9fkkBfbUPQuHmSYrO8zfvzKk0eUSDRokz1KF7R porE) que compilei pro Jhonhy que tá me ajudando também. Estou terminando o Duel System:

[Only registered and activated users can see links]
afonsolage, poderia informar o que foi fixado nesse novo update v9? Pois no tópico inicial não tem nem link e nem informações do mesmo. vlw

afonsolage
15/01/2015, 03:49 PM
afonsolage, poderia informar o que foi fixado nesse novo update v9? Pois no tópico inicial não tem nem link e nem informações do mesmo. vlw
Kratos, é que não foi um release oficial, foi só pro Jhonhy. Acredito que até esse fds faço o próximo release com mais informações.

jhonhy™
15/01/2015, 05:35 PM
Pessoal, peço que aguardem, o servidor terá o Update v9 em breve com informações, o afonsolage está finalizando o duelo.

Vai ser Fix no UPDATEV9 Oficial:

Sistema de Duelo
Opção+28
Item ANC + Full


Aguardem, o update que ele postou foi só pra eu ir testando o que ele tava fixando, mas não foi dado como RELEASE OFICIAL.

afonsolage
17/01/2015, 03:16 PM
Demorou mas tá aí!! Versão 0.09 liberada:


DataServer:
Added new Database Engine;
Removed ODBC connection dependency;
Added new db configurations on LC.DataServer.ini;
Improved startup time of LC.DataServer.exe;
Improved query performance;



GameServer:
Fixed 65k stats;
Fixed AntiHack DC when high attack speed;
Fixed Getting Quest item on ground;
Add Duel System;
Added LC.DuelSystem.ini to configure Duel System;
Added + 28 option support;
Added + 15 item level support;
Added Ancient and Excellent item support;
Added +14 and +15 mix combinations (need to edit mix.bmd on client also);
Fixed guild member listing bug;


Essa versão tem uma peculiaridade, pois refiz toda a Engine de conexão com o banco de dados, para ficar mais rápido e confiável, mas como mudei quase toda a estrutura do DataServer, podem haver alguns bugs novos, mas eu testei bastante antes de disponibilizar aqui.

Devido a essa nova Engine, não é mais preciso configurar ODBC, o DataServer conecta direto pelo drive do SQL Server, basta configurar o LC.DataServer.ini.

Happy Developer
04/04/2015, 07:18 PM
Dando continuidade no mesmo :)

Log 0.0.0.1

Update:
- Fix teleport new wings in kanturu event


Fix liberado após log 0.0.0.9

InFamous
07/04/2015, 12:51 AM
Ótimo trabalho deveria usar também o editar post e evitar post duplos.

LEGENDARY
07/08/2019, 05:55 PM
Happy Develope afonsolage jhonhy™ SmileY

não estou conseguindo buildar o main , teria como reupar a source completa do main? para buildar?