Coder Social home page Coder Social logo

brathena / brathena20180924 Goto Github PK

View Code? Open in Web Editor NEW
53.0 53.0 72.0 34.05 MB

brAthena - Emulador Oficial

Home Page: http://forum.brathena.org

License: GNU General Public License v3.0

Shell 0.15% C 97.11% C++ 1.97% Batchfile 0.04% Makefile 0.32% M4 0.40% SQLPL 0.01%

brathena20180924's Introduction

Hercules

Build Status: Build Status AppVeyor Build Status Coverity Scan Build Status GitLab Build Status Coverage Report Code Quality: Cpp Total Alerts

Issues and pull requests: Open Issues Open Pull Requests

Development and Community: GitHub Repository Community Forum IRC Discord Twitter

Project Info: Release Language License GitHub contributors

Table of Contents

  • 1 What is Hercules?
  • 2 Prerequisites
  • 3 Installation
  • 4 Troubleshooting
  • 5 Helpful Links
  • 6 More Documentation

What is Hercules?

Hercules is a collaborative software development project revolving around the creation of a robust Massively Multiplayer Online Role Playing Game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.

Prerequisites

Before installing Hercules, you will need to install certain tools and applications. This differs between the varying Operating Systems available, so the following list is broken down into Windows and Unix (incl. Linux) prerequisites.

For a list of supported platforms, please refer to the Supported Platforms wiki page.

Windows

Unix/Linux/BSD (names of packages may require specific version numbers on certain distributions)

  • git
  • gcc or clang (version 4.5 or newer, recommended 5.0 or newer)
  • GNU make
  • mysql (mysql-server) or mariadb
  • libmysqlclient (mysql-devel)
  • zlib (zlib-devel)
  • libpcre (pcre-devel)
  • Optional dependencies for development only
    • perl (required to rebuild the HPM Hooks and HPMDataCheck)
      • requires the XML::Simple module, which in turn requires libexpat-dev
    • Doxygen (required to rebuild the HPM Hooks and HPMDataCheck)

Mac OS X

  • Xcode or the Xcode command-line tools.
  • MySQL-compatible server (installation of mysql or mariadb through Homebrew is recommended)
  • PCRE library (installation of pcre through Homebrew is recommended)
  • Optional dependencies for development only
    • Doxygen (required to rebuild the HPM Hooks and HPMDataCheck)

Optional, useful tools

Installation

This section is a very brief set of installation instructions. For more concise guides relevant to your Operation System, please refer to the Wiki (links at the end of this file).

Windows

  1. Install the prerequisites.
  2. Clone the Hercules repository (see GitHub) using a git client, into a new folder.
  3. Connect to the MySQL server as root: - Create a database (hercules): CREATE DATABASE hercules; - Create a user (hercules): CREATE USER 'hercules'@'localhost' IDENTIFIED BY 'password';. - Give permissions (GRANT SELECT,INSERT,UPDATE,DELETE) to the user: GRANT SELECT,INSERT,UPDATE,DELETE ON hercules.* TO 'hercules'@'localhost';
  4. Connect to the MySQL server as the new user: - Import the .sql files in /sql-files/ into the new database.
  5. Start Visual Studio and load the provided solution: - Compile and run the three projects, login-server, char-server, map-server.

Unix

  1. Install the prerequisites through your distribution's package manager - (Red Hat compatible / CentOS) yum install gcc make mysql mysql-devel mysql-server pcre-devel zlib-devel git - (Debian compatible) apt-get install gcc make libmysqlclient-dev zlib1g-dev libpcre3-dev mysql-server git - (FreeBSD) pkg install clang35 gmake mysql56-server mysql-connector-c pcre git - (Mac OS X):
    • Install Xcode through the Mac App Store
    • Initialize the build tools through the Terminal xcode-select --help
    • Install Homebrew as described on the project page
    • Install the other prerequisites: brew install mysql pcre
  2. Clone the Hercules repository git clone https://github.com/HerculesWS/Hercules.git ~/Hercules
  3. Configure the MySQL server and start it.
  4. Connect to the MySQL server as root: - Create a database (hercules): CREATE DATABASE hercules; - Create a user (hercules): CREATE USER 'hercules'@'localhost' IDENTIFIED BY 'password';. - Give permissions (GRANT SELECT,INSERT,UPDATE,DELETE) to the user: GRANT SELECT,INSERT,UPDATE,DELETE ON hercules.* TO 'hercules'@'localhost';
  5. Connect to the MySQL server as the new user: - Import the .sql files in /sql-files/ into the new database.
  6. Enter the Hercules directory and configure/build Hercules - ./configure - make clean && make sql (on FreeBSD, replace make with gmake)
  7. Start the three servers login-server, char-server, map-server.

Troubleshooting

If you're having problems with starting your server, the first thing you should do is check what's happening on your consoles. More often that not, all support issues can be solved simply by looking at the error messages given.

Examples:

  • You get an error on your map-server_sql that looks something like this:
[Error]: npc_parsesrcfile: Unable to parse, probably a missing or extra TAB in file 'npc/custom/jobmaster.txt', line '17'. Skipping line...
        * w1=prontera,153,193,6 script
        * w2=Job Master
        * w3=123,{
        * w4=

If you look at the error, it's telling you that you're missing (or have an extra) TAB. This is easily fixed by looking at this part of the error: * w1=prontera,153,193,6 script. If there was a TAB where it's supposed to be, that line would have prontera,153,193,6 at w1 and script at w2. As there's a space instead of a TAB, the two sections are read as a single parameter.

  • You have a default user/password warning similar to the following:
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)

Relax. This is just indicating that you're using the default username and password. To fix this, check over the part in the installation instructions relevant to the login table.

  • Your Map Server says the following:
[Error]: make_connection: connect failed (socket #2, error 10061: No connection could be made because the target machine actively refused it.)!

If this shows up on the map server, it generally means that there is no Char Server available to accept the connection.

Helpful Links

The following list of links point to various help files within the repository, articles or pages on the Wiki or topics within the Hercules forum.

More Documentation

Hercules has a large collection of help files and sample NPC scripts located in /doc/

Scripting

It is recommended to look through /doc/script_commands.txt for help, pointers or even for ideas for your next NPC script. Most script commands have a usage example.

@commands

In-game, Game Masters have the ability to use Atcommands (@) to control players, create items, spawn mobs, reload configuration files and even control the weather. For an in-depth explanation, please see /doc/atcommands.txt

Permissions

The Hercules emulator has a permission system that enables certain groups of players to perform certain actions, or have access to certain visual enhancements or in-game activity. To see what permissions are available, they are detailed in /doc/permissions.txt

Others

There are more files in the /doc/ directory that will help you to create scripts or update the mapcache, or even explain how the job system and item bonuses work. Before posting a topic asking for help on the forums, we recommend that all users take the time to look over this directory.

brathena20180924's People

Contributors

albericod avatar alyphoenix avatar aramissa avatar carloshenrq avatar greenstage avatar imihael avatar jeeffrey avatar jgois avatar julinhobrow avatar kailo98 avatar lobindev avatar lucasljsb avatar megasantos avatar orcebr avatar protimus avatar racaae avatar raizen avatar sh1raz avatar sirwillr avatar tidusbr avatar tioakima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brathena20180924's Issues

override_mob_names não funciona

O override_mob_names não está funcionando, quero ligar ele para ler as configs de nome da minha mob_db em sql. O nome dos mobs sempre fica com o nome que está no arquivo.txt de spawn. Quando dou @summon no mob ele fica com o nome que quero (lido corretamente da coluna iName na mobDB).

Tentei fazer alguns tweaks no mob.c, mas C definitivamente não é o meu forte.

Não sei se vocês costumam usar o issue tracker do github, mas enfim, fica aí o report.

GdE 2.0 - Erro em NPC após tradução

Após a tradução do nome dos NPCs, a quantidade de caracteres foi alterada. Logo, isso está causando este erro:
[Depurar]: NPCEvent 'Dispositivo de Controle0-1#sc01::OnEnable' not found! (source: Dispositivo de Controle03#sc01)

CORREÇÃO:

Arquivo:
brAthena/npc/gde/2ed/2ed_principal.txt

Buscar na linha ~1110:

// Dispositivos de Controle (3)
//============================================================
-	script	Dispositivo de Controle#template	-1,{
	.@GID = getcastledata(strnpcinfo(4),1);
	.@num = atoi(charat(strnpcinfo(1),15));
	.@var$ = "$agit_"+strnpcinfo(2);
	if (getcharid(2) == .@GID) {
		if (strcharinfo(0) == getguildmaster(.@GID)) {

Atualizar para:
.@num = atoi(charat(strnpcinfo(1),24));

Explicação:
arug_cas01,247,52,0 duplicate(Dispositivo de Controle#template) Dispositivo de Controle01#ar01 HIDDEN_NPC
Nome do NPC: Dispositivo de Controle01#ar01
charat(strnpcinfo(1),15) recebe o caractere "C" que está na posição 15 (Começa a contar a partir do 0);
Com a atualização vai receber o caractere 24, que por sua vez é o número 1.

Esse erro ocorre por culpa da tradução que mudou o número de caracteres no nome do NPC duplicado, que no emulador "us-en" se chama "Control Device01#ar01".

Att, LipESprY

Sistema Vip

Como devo usar o comando vip da src/config/brathena.h ?

No rAthena existe um comando chamado Vip_Status na doc facil de se utilizar, mas como seria no BrAthena ?

Problema com o SQL de Logs

Então, quando fui upar o SQL Logs no banco de dados, recebi uma mensagem de erro dizendo "--
-- Indexes for dumped tables

--
-- Indexes for table atcommandlog

ALTER TABLE atcommandlog
ADD PRIMARY KEY (atcommand_id), ADD KEY account_id (account_id), ADD KEY char_id (char_id)

Mensagens do MySQL : Documentação
#1068 - Definida mais de uma chave primária
"

Gostaria de ajuda quanto a isso.

Mestra das classes

alguém tem uma mestra das classes sem a 3°class que funcione???? pelo amor de deus --'

[ERRO] Importar tabela pre-renovacao.sql

Ta esse erro:

1 errors were found during analysis.
Ending quote ' was expected. (near "" at position 235)
Comando SQL:
REPLACE INTO item_db VALUES(540,'Falcon's_Feed','Ração para Falcão',0,2000,NULL,50,NULL,NULL,NULL,NULL,NULL,4294967295,NULL,2,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,' itemheal rand(185,225),0
Mensagens do MySQL : Documentação
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' itemheal rand(185,225),0' at line 1''

Uso easyphp
Mudeito todos os \ ' no arquivo para ' ' e funcionou =)

Exibição de erros por não converter arquivos

Bom dia meus caros,

Como eu mesmo estava tendo alguns problemas para converter meu item_db.conf, resolvi modificar o conversor.c para que este exiba quais os erros que eu estava tendo, me retornando a mensagem de erro, a linha e de qual arquivo se tratava o erro.

Acredito que uma alteração deste tipo seria de grande utilidade, visto que muitos ainda tem problemas para converterem seus itens de outros emuladores (herc, cronus) para o brA por conta de que a aplicação conversor não retorna nenhum erro.

Fico no aguardo de vossa análise.

Atenciosamente,
aleDsz.

Erro na instância Labirinto da Neblina

A codificação está em UTF8 e o nome do NPC Garota Desmaiada#mist não é o mesmo do nome passado como parâmetro nas funções disablenpc e enablenpc.

Re/ pre-renewal?

Onde esta sendo feita a alteração para decidir o tipo de servidor ?

Duvida, party atcommands

Vocês já implementaram no emulador isso?

*getpartyname
*getpartymember
*getpartyleader
*party_create
*party_destroy
*party_addmember
*party_delmember
*party_changeleader
*party_changeoption

Saiu a um tempo no rA / hercules e queria saber se tem no brA :3

Erro ao importar principal.sql

Estou tentando importar e da esse erro

Comando SQL:

DROP TRIGGER IF EXISTS login_update;;

CREATE TRIGGER login_update BEFORE UPDATE ON login
FOR EACH ROW
BEGIN

IF OLD.sex <> 'S' AND MD5(OLD.user_pass) <> MD5(NEW.user_pass) THEN
SET NEW.last_password_change = UNIX_TIMESTAMP();
END IF;

END;;
Mensagens do MySQL : Documentação

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';

CREATE TRIGGER login_update BEFORE UPDATE ON login
FOR EACH ROW
BEGIN
' at line 1

GD_ITEMEMERGENCYCALL

Atualmente a forma oficial não funciona, há uma habilidade para isso.

GD_ITEMEMERGENCYCALL

Http: //ratemyserver....b&item_id=12968
Http: //ratemyserver....b&item_id=12969
Http: //ratemyserver....b&item_ID=12970

Parece que já tinha sido adicionado ao Hercules e foi perdido na troca de emulador. Referência # 534
Tópico aberto em Jul 17 2013: http://herc.ws/board/topic/1584-implement-new-skill-gd/

Erro na função skill_get_sp linha 175

Meu emulador não tem NENHUMA skill customizada ou alterada. Tudo no padrão!

Observei que este erro ocorre enquanto algum jogador está invocando monstros com Abracadabra do Professor:

[Erro]: --- failed assertion --------------------------------------------
[Erro]: skill.c:175: 'skill_lv > 0' na funcao `skill_get_sp'
[Erro]: ./map-server() [0x5e0252]
[Erro]: ./map-server() [0x56dfa3]
[Erro]: ./map-server() [0x59408a]
[Erro]: ./map-server() [0x55ee90]
[Erro]: ./map-server() [0x5ca403]
[Erro]: ./map-server() [0x492213]
[Erro]: ./map-server() [0x5de575]
[Erro]: ./map-server() [0x403fc2]
[Erro]: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f2ba9d6f3d5]
[Erro]: ./map-server() [0x404063]
[Erro]: --- fim failed assertion ----------------------------------------

Código (rascunho):

173> int skill_get_splash( uint16 skill_id , uint16 skill_lv )   { Assert_ret(skill_lv > 0); skill_get2 ( (skill->dbs->db[skill_id].splash[skill_glv(skill_lv-1)]>=0?skill->dbs->db[skill_id].splash[skill_glv(skill_lv-1)]:AREA_SIZE), skill_id, skill_lv);  }
174> int skill_get_hp( uint16 skill_id ,uint16 skill_lv )        { Assert_ret(skill_lv > 0); skill_get2 (skill->dbs->db[skill_id].hp[skill_glv(skill_lv-1)], skill_id, skill_lv); }
175> int skill_get_sp( uint16 skill_id ,uint16 skill_lv )        { Assert_ret(skill_lv > 0); skill_get2 (skill->dbs->db[skill_id].sp[skill_glv(skill_lv-1)], skill_id, skill_lv); }
176> int skill_get_hp_rate(uint16 skill_id, uint16 skill_lv )    { Assert_ret(skill_lv > 0); skill_get2 (skill->dbs->db[skill_id].hp_rate[skill_glv(skill_lv-1)], skill_id, skill_lv); }
177> int skill_get_sp_rate(uint16 skill_id, uint16 skill_lv )    { Assert_ret(skill_lv > 0); skill_get2 (skill->dbs->db[skill_id].sp_rate[skill_glv(skill_lv-1)], skill_id, skill_lv); }

Group_ID retornando automaticamente para 0

Caros,

De um tempo para cá, alguns NPCs que fazem o gerenciamento de VIP, adição de VIP, etc, eles estão setando no banco de dados o group_id para 1 porém ao logar na conta automaticamente o emulador está setando o group_id novamente para 0, saberiam me informar o que pode ser este problema?

@Protimus @carloshenrq @OrceBR @TioAkima e demais companheiros!

Erro ao importar principal.sql

Erro`
Comando SQL:

DROP TRIGGER IF EXISTS login_insert;
CREATE TRIGGER login_insert BEFORE INSERT ON login
FOR EACH ROW
BEGIN

IF NEW.sex <> 'S' AND NEW.last_password_change = 0 THEN
SET NEW.last_password_change = UNIX_TIMESTAMP();
END IF;

END
Mensagens do MySQL : Documentação

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CREATE TRIGGER login_insert BEFORE INSERT ON login
FOR EACH ROW
BEGIN

' at line 2

Crash zeny +100.000

Boa tarde pessoal, qualquer transação acima de 100.000 dá crash no servidor, compra, troca, venda. Incluindo algumas habilidades que usam esse valor de zeny (Como exemplo Explosão de Moedas).

Por gentileza, deem uma olhada ;)

Obrigado.

Considerações a serem corrigidas

1 - Formula da AD está incorreta, depois de pesquisar consegui duas formulas que chegam próximo ao original.
no código do battle.c pesquisa por:
CASE CR_ACIDDEMONSTRATION

em if_def renewal

substituir a antiga formula no if md.damage e colocar:
md.damage = (int)((int64)7tstatus->vitsstatus->int_sstatus->int_ / (10(tstatus->vit+sstatus->int_)));

substituir no else na formula md.damage trocar o 70 por 120

2 - CartCannon deve mudar o NK para 0x40, pois não está ignorando a flee do monstro.

Erro nas skills do AB

As skills Offertorium e Magnificat deveriam cancelar uma a outra, mas não estão fazendo isso.
O erro se encontra no arquivo status.c.

Na linha 7526 deveria ficar assim:

case SC_MAGNIFICAT:
if (sc->data[SC_OFFERTORIUM])
status_change_end(bl, SC_OFFERTORIUM, INVALID_TIMER);
if(sc->option&OPTION_MADOGEAR) // Mado is immune to magnificat
return 0;
break;

Na linha 7758 deveria ficar assim:

case SC_OFFERTORIUM:
if (sc->data[SC_MAGNIFICAT])
status_change_end(bl, SC_MAGNIFICAT, INVALID_TIMER);
break;

Além disso, percebi que a quantidade de SP consumido ao usar habilidades, estando com offertorium ativo, não muda. Mas essa parte ainda não achei onde consertar.

Valor das constantes errado

Eu notei que os valor de algumas constantes estão divergentes entre o banco de dados e o emulador.

Um exemplo disso é a constante SC_PROMOTE_HEALTH_RESERCH que está com o valor de 636 no banco, enquanto o emulador reconhece ela com o valor de 855.

Isso acontece com muitas constantes, até onde eu pude verificar, mas somente com as SC_.

EDIT1: Eu gerei a lista de constantes SC_ de acordo com o banco de dados e em conformidade com o modelo que está no arquivo status.h. Assim que eu testar posto aqui.

EDIT2: Segue as constantes SC_ sincronizadas. Não testei todas, claro.
https://forum.brathena.org/index.php?/topic/27092-valor-de-algumas-constantes-est%C3%A1-errado/

Mantive os comentários originais.

Problema ao compilar após ultimo commit (80b56c1dcc).

Boa tarde, após o último commit (80b56c1) aparece o seguinte erro ao compilar:

Sistema: CentOS 64 bits
./configure --enable-64bit

script.c: In function ‘buildin_getunitdata’:
script.c:19984: warning: cast to pointer from integer of different size
script.c:19985: warning: cast to pointer from integer of different size
script.c:19986: warning: cast to pointer from integer of different size
script.c:19987: warning: cast to pointer from integer of different size
script.c:19988: warning: cast to pointer from integer of different size
script.c:19989: warning: cast to pointer from integer of different size
script.c:19990: warning: cast to pointer from integer of different size
script.c:19991: warning: cast to pointer from integer of different size
script.c:19992: warning: cast to pointer from integer of different size
script.c:19993: warning: cast to pointer from integer of different size
script.c:19994: warning: cast to pointer from integer of different size
script.c:19995: warning: cast to pointer from integer of different size
script.c:19996: warning: cast to pointer from integer of different size
script.c:19997: warning: cast to pointer from integer of different size
script.c:19998: warning: cast to pointer from integer of different size
script.c:19999: warning: cast to pointer from integer of different size
script.c:20000: warning: cast to pointer from integer of different size
script.c:20001: warning: cast to pointer from integer of different size
script.c:20002: warning: cast to pointer from integer of different size
script.c:20003: warning: cast to pointer from integer of different size
script.c:20004: warning: cast to pointer from integer of different size
script.c:20005: warning: cast to pointer from integer of different size
script.c:20006: warning: cast to pointer from integer of different size
script.c:20007: warning: cast to pointer from integer of different size
script.c:20008: warning: cast to pointer from integer of different size
script.c:20009: warning: cast to pointer from integer of different size
script.c:20010: warning: cast to pointer from integer of different size
script.c:20011: warning: cast to pointer from integer of different size
script.c:20012: warning: cast to pointer from integer of different size
script.c:20013: warning: cast to pointer from integer of different size
script.c:20021: warning: cast to pointer from integer of different size
script.c:20022: warning: cast to pointer from integer of different size
script.c:20023: warning: cast to pointer from integer of different size
script.c:20024: warning: cast to pointer from integer of different size
script.c:20025: warning: cast to pointer from integer of different size
script.c:20026: warning: cast to pointer from integer of different size
script.c:20027: warning: cast to pointer from integer of different size
script.c:20028: warning: cast to pointer from integer of different size
script.c:20029: warning: cast to pointer from integer of different size
script.c:20030: warning: cast to pointer from integer of different size
script.c:20031: warning: cast to pointer from integer of different size
script.c:20032: warning: cast to pointer from integer of different size
script.c:20033: warning: cast to pointer from integer of different size
script.c:20034: warning: cast to pointer from integer of different size
script.c:20035: warning: cast to pointer from integer of different size
script.c:20036: warning: cast to pointer from integer of different size
script.c:20037: warning: cast to pointer from integer of different size
script.c:20038: warning: cast to pointer from integer of different size
script.c:20039: warning: cast to pointer from integer of different size
script.c:20040: warning: cast to pointer from integer of different size
script.c:20041: warning: cast to pointer from integer of different size
script.c:20049: warning: cast to pointer from integer of different size
script.c:20050: warning: cast to pointer from integer of different size
script.c:20051: warning: cast to pointer from integer of different size
script.c:20052: warning: cast to pointer from integer of different size
script.c:20053: warning: cast to pointer from integer of different size
script.c:20054: warning: cast to pointer from integer of different size
script.c:20055: warning: cast to pointer from integer of different size
script.c:20056: warning: cast to pointer from integer of different size
script.c:20057: warning: cast to pointer from integer of different size
script.c:20058: warning: cast to pointer from integer of different size
script.c:20059: warning: cast to pointer from integer of different size
script.c:20060: warning: cast to pointer from integer of different size
script.c:20061: warning: cast to pointer from integer of different size
script.c:20062: warning: cast to pointer from integer of different size
script.c:20063: warning: cast to pointer from integer of different size
script.c:20064: warning: cast to pointer from integer of different size
script.c:20065: warning: cast to pointer from integer of different size
script.c:20066: warning: cast to pointer from integer of different size
script.c:20067: warning: cast to pointer from integer of different size
script.c:20075: warning: cast to pointer from integer of different size
script.c:20076: warning: cast to pointer from integer of different size
script.c:20077: warning: cast to pointer from integer of different size
script.c:20078: warning: cast to pointer from integer of different size
script.c:20079: warning: cast to pointer from integer of different size
script.c:20080: warning: cast to pointer from integer of different size
script.c:20081: warning: cast to pointer from integer of different size
script.c:20082: warning: cast to pointer from integer of different size
script.c:20083: warning: cast to pointer from integer of different size
script.c:20084: warning: cast to pointer from integer of different size
script.c:20085: warning: cast to pointer from integer of different size
script.c:20086: warning: cast to pointer from integer of different size
script.c:20087: warning: cast to pointer from integer of different size
script.c:20088: warning: cast to pointer from integer of different size
script.c:20089: warning: cast to pointer from integer of different size
script.c:20090: warning: cast to pointer from integer of different size
script.c:20091: warning: cast to pointer from integer of different size
script.c:20092: warning: cast to pointer from integer of different size
script.c:20100: warning: cast to pointer from integer of different size
script.c:20101: warning: cast to pointer from integer of different size
script.c:20102: warning: cast to pointer from integer of different size
script.c:20103: warning: cast to pointer from integer of different size
script.c:20104: warning: cast to pointer from integer of different size
script.c:20105: warning: cast to pointer from integer of different size
script.c:20106: warning: cast to pointer from integer of different size
script.c:20107: warning: cast to pointer from integer of different size
script.c:20108: warning: cast to pointer from integer of different size
script.c:20109: warning: cast to pointer from integer of different size
script.c:20110: warning: cast to pointer from integer of different size
script.c:20111: warning: cast to pointer from integer of different size
script.c:20112: warning: cast to pointer from integer of different size
script.c:20113: warning: cast to pointer from integer of different size
script.c:20114: warning: cast to pointer from integer of different size
script.c:20115: warning: cast to pointer from integer of different size
script.c:20116: warning: cast to pointer from integer of different size
script.c:20117: warning: cast to pointer from integer of different size
script.c:20118: warning: cast to pointer from integer of different size
script.c:20119: warning: cast to pointer from integer of different size
script.c:20127: warning: cast to pointer from integer of different size
script.c:20128: warning: cast to pointer from integer of different size
script.c:20129: warning: cast to pointer from integer of different size
script.c:20130: warning: cast to pointer from integer of different size
script.c:20131: warning: cast to pointer from integer of different size
script.c:20132: warning: cast to pointer from integer of different size
script.c:20133: warning: cast to pointer from integer of different size
script.c:20134: warning: cast to pointer from integer of different size
script.c:20135: warning: cast to pointer from integer of different size
script.c:20136: warning: cast to pointer from integer of different size
script.c:20137: warning: cast to pointer from integer of different size
script.c:20138: warning: cast to pointer from integer of different size
script.c:20139: warning: cast to pointer from integer of different size
script.c:20140: warning: cast to pointer from integer of different size
script.c: In function ‘buildin_setunitdata’:
script.c:20202: error: conversion to incomplete type
script.c:20239: warning: statement with no effect
make[1]: *** [obj_sql/script.o] Error 1

Copyright issue. Removed all copyrights from sources

Original copyrights in all files must stand unchanged

In original files was copyrights:

// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
// Portions Copyright (c) Athena Dev Teams

If you want add own copyrights, it must have similar look to this example:

// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
// Portions Copyright (c) Athena Dev Teams
/****************************************************************************!
*                _           _   _   _                                       *
*               | |__  _ __ / \ | |_| |__   ___ _ __   __ _                  *
*               | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` |                 *
*               | |_) | | / ___ \ |_| | | |  __/ | | | (_| |                 *
*               |_.__/|_|/_/   \_\__|_| |_|\___|_| |_|\__,_|                 *
*                                                                            *
******************************************************************************
*                          www.brathena.org                                  *
*****************************************************************************/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.