Tool C++ [40250] Reference Serverfile + Client + Src [15 Available Languages]

Markø

Utente Gold
22 Novembre 2012
313
31
153
264
Ultima modifica:

[40250] Metin2 Reference Serverfile


Download link:
"Il mio obiettivo era quello di creare dei files di riferimento r40250 più ufficiale possibile rispetto a quello che GF aveva quando i loro file sono trapelati all'inizio del 2014.
Nessun nuovo sistema aggiunto, solo correzioni di bug. Anche se ho trascorso diverse ore di test, ci possono essere ancora bug. Si prega di segnalare bug a me in modo da poterli risolvere in futuro, voglio rendere questo progetto il più possibile libero da bug."


Lingue disponibili: EN/DE/HU/FR/CZ/DK/ES/GR/IT/NL/PL/PT/RO/RU/TR
Apri il file Languages.txt per capire come cambiare la lingua inglese di default.

SSH for VM: root/123456789
MySQL: root/123456789
Ingame: admin/123456789

Aliases and it's commands:
Codice:
start        cd /usr/metin2/server && sh start.sh
close        cd /usr/metin2/server && sh close.sh
clear        cd /usr/metin2/server && sh clear.sh
backup        cd /usr/metin2/server && sh backup.sh
questcompile    cd /usr/metin2/server/share/locale/english/quest && python make.py
dbclean        cd /usr/metin2/src/db/src && gmake clean
dbcompile    cd /usr/metin2/src/db/src && gmake
gameclean    cd /usr/metin2/src/game/src && gmake clean
gamecompile    cd /usr/metin2/src/game/src && gmake

Video sull'installazione e cambio di lingua:


Posto il file changelog.txt, dove sono riportate tutte le modifiche fino ad oggi:
Codice:
[40250] Reference Serverfile By TMP4

Note: Starting 2021.08.01. I dropped version numbers, instead I'm using timestamps (date).

2022.05.21: - FreeBSD13.1 and C++2b (C++23) update. If you want to manually update to C++2b please check Mali's commit:
              https://github.com/blackdragonx61/Metin2-Game-Source-Clang10/commit/064ee1c7272b7195ccd59e60ad0b123f680723c0

2022.01.13: - Fixed translate.lua gameforge.main_quest_lv27._140_sayReward line. (%d -> %s)
            - Added locale_string.txt translation for "Ľş°řŔűŔ¸·Î ĽÓĽşŔĚ Ăß°ˇ µÇľú˝Ŕ´Ď´Ů"; (6-7 bonus).
            - Fixed exchange with dragon soul stones. (exchange.cpp CExchange::CheckSpace)

2021.12.28: - Boost included in the /usr/metin2/src/etc folder, so you don't need to install it seperatly.
            - Backup.sh modified to use compression. (tar -zcf)
            - Fixed item 76006 in item_proto.txt, it will show up in the inventory now.
            - Energy crystal time increased from 30 to 120 mins like official. (blend.txt)
            - Added pc.set_level to quest_functions so now you can use it in your custom quests.

2021.12.18: - Added ENABLE_AUTODETECT_INTERNAL_IP so the internal ip fix is cleaner now. (config.cpp)
            - Added a FAQ.txt with the most common questions what I got over the months.

2021.12.08: - Added a trailing slash to the client source's Discord project's output directory ending,
              one less warning at compiling. Output directory: $(SolutionDir)extern\library\

2021.12.06: - Added a little fix regarding the black screen issue after minimized client window:
              https://metin2.dev/topic/27894-fix-black-screen-client-freeze/

2021.12.01: - Changed the VM's hostname from metin2 to metin2.code so FreeBSD sendmail will not cry about
              unqualified hostname. The serverfile itself has not changed.

2021.11.28: - Added ENABLE_PROXY_IP. It is for when you have an internal IP and you try to connect with an
              external IP, you will be kicked after charselect. If you want to use it then set BIND_IP:
              internal & PROXY_IP: external in the CONFIG files (and uncomment!) + open ports in your router.
              https://metin2.dev/topic/28293-fixselect-character-on-40k-for-local-server-and-vps/
            - Fixed some empiredesc_*.txt & jobdesc_*.txt in some locale files.

2021.11.22: - Project migrated to FreeBSD13.0. CryptoPP (8.4.0) included in the /usr/metin2/src/etc folder,
              and placed all non-main project folders to that 'etc' folder like libmysql, libdevil, teen etc.
              Here is a patch file if you need: https://pastebin.com/ZtnmEuvP
            - Hackshield commented out from the source, it's lib was not compatible and it was unused anyway.
            - Googletest code commented out, it was totally unnecessary and mostly unused. (main.cpp)
            - Changed a return null to return false in bool DSManager::ExtractDragonHeart. (DragonSoul.cpp)
            - ClientVS19.zip removed, please use ClientVS22.zip and update your Visual Studio to 2022.
            - Fixed EterLib/NetStream.cpp, if you enable _PACKETDUMP it will work now.
            - 71051 & 71052 clientside description was swapped, fixed it in itemdesc.txt.

2021.11.14: - Added ClientVS22.zip so you can use Visual Studio 2022 from now. Every changes I made in
              ClientVS19 have been done in ClientVS22. Special thanks to Mali for his VS22 release!
            - Fixed dump_proto, there was some missing empty subtype and while it wasen't a problem with
              Visual Studio 2019, it crashed with Visual Studio 2022. (ItemCSVReader.cpp)

2021.11.13: - Changed the default bind_ip from 0 to 127.0.0.1 in db/ClientManager.cpp to prevent
              attackers to make a fake auth and join to your db when it's port publicly available.
            - Fixed player/object_proto table to silence syserr. I used Shogun's version previously. I took the
              reg_x original values now but since it is hard to place objects with them (that's why Shogun edited
              it), I divided them by two. If you need full original table I left it as object_proto_original.
            - Fixed LoadMonsterAreaInfo syserr, it is a feature for WorldEditor, not the client, so I wrapped the
              call for it with #ifdef WORLD_EDITOR [...] #endif in MapOutdoorLoad.cpp.
            - Added Extensions folder to the Mega drive what contains: 4 Inventory tutorial, 6th skill
              tutorial and an IPFW Firewall script prepared to use. Those are optional.

2021.11.06: - Added a fix for guild land loading in another core. (building.cpp)
            - Added some not used but needed table to the database to silence syserr in some situation:
              account.string, account.gametime, account.gametimeip, account.gametimelog.
            - Fixed metin2_map_spiderdungeon_02/boss.txt (Dark Queen Spider, remove if you not need it).
            - Fixed share/date/monster folders: boar, dog_god, leechung, lion, spy1, zombie_god_stone,
              zombie_key_stone, zombie_security_stone to silence motion syserrs.
            - In mob_proto.txt changed folder yamachun to yamachun_boss (6091) and pwahuang1_2 to
              pwahuang1 (34009), and corrected folders of mounts: 20110-20114.
            - Fixed redthief_boss2 (3591) & redthief2_boss2 (3596) skills: I enabled skills for 3591 in
              mob_proto.txt and fixed their folders in share/data/monster and in clientside metin2_patch_w20_etc.
            - Fixed spiderdungeons mapname image in root/uimapnameshower.py (MAP_NAME_IMAGE).

2021.11.01: - Added a fix for Guild Comment Flood Exploit. (guild.cpp CGuild::AddComment)
            - Added P2P Port Protection: https://www.onforum.net/threads/c-fix-api-tool-p2p-port-protection.2752/
              You can disable it by removing the #define ENABLE_PORT_SECURITY in common/service.h (not advised).
            - Changed g_stLocale = ""; to g_stLocale = "latin1"; in db/ClientManager.cpp to silence syserr when
              you use English locale (All other locale have their own code set in ClientManager).
            - Fixed an issue in some locale_game.txt: %, --> %. (Leadership skill and fish lenght fix).
            - Added missing locale_string value: "%sŔĚ ÇĘżäÇŐ´Ď´Ů."; "%s needed.";.
            - Enabled dragon soul alchemy items linking in chat. (uidragonsoul.py)
            - Removed the unnecessary '\' backslashes from item_names_fr.txt.
            - Repacked: Property, Season1, OutdoorA1 so now you can extract-repack it with Eternexus too.
            - White NPCs fixed in Season1 (wrong lod files renamed with _backup postfix).
            - Warrior Bunny costume model fix: https://metin2.dev/topic/748-warrior-bunny-fixed/
            - Shaman Female King model fix: https://metin2.dev/topic/20661-shaman-king-f-without-hairstyle-bug/

2021.10.24: - Applied a fix regarding a sound issue: https://metin2.dev/topic/21011-old-error-with-sound/

2021.10.18: - Changed "localhost" to "127.0.0.1" in Ch3-4 CONFIG files (just to be uniform with Ch1-2).
            - Changed the test server numbers from 11-12 to 21-22 in serverinfo.py to avoid state conflict.
            - Changed folder "horse_event1" to "pony" in mob_proto (20119 & 20219) so they will work better.
            - Commented 2410 from metin2_map_skipia_dungeon_02/regen.txt since that group_group not exists.
            - Fixed metin2_map_skipia_dungeon_01/boss.txt (changed Yonghan with Mighty Ice Witch, 8 hours).
            - Applied two fix regarding the client position & playarea size:
              1. https://metin2.dev/topic/27934-fixwindows-opening-at-the-wrong-position/
              2. https://metin2.dev/topic/22740-fix-clients-height-taskbar-collision-after-vsupdate/

2021.10.01: - Replaced a1-a3, b1-b3, c1-c3, desert_01, flame_01 and trent02's stone.txt with original.
              They were modified for some reason, other maps are original.

2021.09.28: - Added metin2_mysql_dump.zip if you want to install the database via .sql files.
              It is optional, you can still use metin2_mysql.tar.gz if you prefer that way.

2021.09.16: - Fixed locale_ro's item_proto & mob_proto names at clientside.

2021.09.09: - Applied two fix: 1. for level update next to your name, 2. for picking up items:
              1. https://metin2.dev/topic/6159-level-text-above-players-head-update-in-real-time/
              2. https://metin2.dev/topic/24691-fix-pickup-distances-bug/

2021.09.07: - 6-7 bonus add/switch blocked on equipped items. (char_item.cpp case 71051 & 71052)
            - Fixed gameland's (gm_guild_build) server_attr.
            - Added the missing locale_string_GR.txt.
            - Removed unused dll files from the client.

2021.08.23: - Made LibServerkey compatible with OpenSSL v1.0+, so you can compile it in FreeBSD12+.
              The changed file is /usr/metin2/src/libserverkey/RSACrypto.cpp.
            - Locale/es/ui/guild files fixed, only spanish locale was wrong.

2021.08.06: - Dragor (Wild, Brave) can attack now. (pvp.cpp serverside, InstanceBase.cpp clientside)
            - The Admin character could not use soul stone because of a bugged/leftover quest state,
              that is removed from player.quest table. (training_grandmaster_skill with char id 1)
            - Added missing locale_string value: "ą®Á¦ ŔÔ´Ď´Ů."; "OX-Question: "; for OX event.

2021.08.01: - Fixed some translate.lua lines (cz, tr) and removed all unnecessary starting spaces from
              every translate.lua in which it had. (Example: " something" --> "something")
            - Fixed Channel4's port numbers in serverside CONFIG files.
            - Fixed some EXCHANGE_TITLE in some locale_game.txt what blocked the trade window opening.

2021.07.30: - In some locale's skilldesc.txt I left CLAWs, that is removed now. Version stays V1.1.

2021.07.29: - Added Readme.txt and Install.png to ClientVS19_v*.zip to help resolve compiling issues.

2021.07.22: - Added CZ/DK/ES/GR/IT/NL/PL/PT/RO/RU/TR languages!

2021.07.20: - Initial release, check below.

Game:
- Internal IP Fix 192.168... (config.cpp)
- Limit_time removed (limit_time.h)
- DragonSoul_ActivateDeck --> return true was missing (char_dragonsoul.cpp)
- Added LC_ENGLISH to part of IsEurope like Germany/USA/France and others... (locale_service.cpp)
- Equipped belt to safebox fix (input_main.cpp)
- Guild Invite crash fix (input_main.cpp)
- Cube Crash fix (cube.cpp)
- Dungeon crash fix (char.cpp)
- Enabled 6-7bonus (char_item.cpp)
- Fixing 0 yang items in npc shops (shop.cpp)
- Enabled pc_change_name function (questlua_pc.cpp)
- Disabled 6-7bonus for costumes (char_item.cpp)
- Removed time limit for bonus changers (char_item.cpp)
- War command's crash fix (cmd_general.cpp)
- Max priv rates to 1000%
- Fingerprint fix (config.cpp, input_login.cpp, input_main.cpp)
- Equipped item bonus change or stone (de)attach fix (char_item.cpp)
- Invisible fix (char_affect.cpp)
- Hp-Mp bug fix (tables.h)
- Fix kill count twice in quest (questmanager.cpp)
- Fix immune bug by P3NG3R (item.cpp)
- Fix enchanted blade hp loss (char_battle.cpp)
- Drop hack (core down) fix (char_item.cpp, char.h, char.cpp)
- Kick hack fix (char.h, char.cpp, input_main.cpp, cmd_general.cpp, messenger_manager.cpp/.h)
- SQl Inject fix in RemoveFromList (messenger_manager.cpp/.h)
- CancelServerTimers fix (questmanager.cpp)

Db:
- Item award socket2 fix (ClientManager.cpp)
Note: I did not applied the "db start fix" since the db started fine for me.
If you get trouble with db, apply it yourself: https://metin2.dev/board/topic/2705-fix-db-startup-error/

Client Binary:
- #define ENABLE_DRAGON_SOUL_SYSTEM (Locale_inc.h)
- #define ENABLE_NEW_EQUIPMENT_SYSTEM (Locale_inc.h)

Server:
- Fixed flame dungeon quest, map (fully tested)
- Fixed flame map's server_attr (it had the old without flame dung. entrance)
- Added Soul Crystal, Saphire, Garnet, Rubin Smaragd Alchemist serverside
- Added the new bonuses: RESIST_DARK, RESIST_ICE, RESIST_EARTH
- Added missing refine_proto rows for newer things
- Added Jae Seon Kim stuff to cube.txt
- Added guild lands to database (map1, map3, guild_village)
- Added 'DRAGON_SOUL_INVENTORY','BELT_INVENTORY' to the item table
- Fixed database missing/wrong columns
- Added 6-7 bonus add & switch item to proto
- Fixed dragon soul item's item range in proto

Client:
- Fixed Sell bug when it displayed other items
- Fixed Demon's catacomb map and Azrael model
- Fixed Demon tower atlasinfo (black screen)
- Added Soul Crystal, Saphire, Garnet, Rubin Smaragd Alchemist clientside
- Fixed Baby Azrael Pet animations
- Fixed Dragon Soul refine settings
- Fixed "Error While Connecting to Server" message not shown when server off
- More transparent trading window prices 99999999 -> 9.999.9999
- Beta map's skybox switched from low textures to higher textures (still official)
- Fixed char select visual status bug (it will display the actual values)
- Switched the login.jpg to a new one (I left the old one next to there)
- Enabled older loading screens too, you can find them at uiloading.eix-epk.
- Corrected some icons for pets
- Added icon for OX (animal) armors (11000, 11010, 11020, 11030)

I crediti vanno a TMP, ricordo inoltre che questi files sono in costante aggiornamento dall'autore, e probabilmente i migliori free e clean in circolazione al momento.

Saluti,
Marko
 

Markø

Utente Gold
22 Novembre 2012
313
31
153
264
Ultimi aggiornamenti:

2021.12.18: - Added ENABLE_AUTODETECT_INTERNAL_IP so the internal ip fix is cleaner now. (config.cpp)
- Added a FAQ.txt with the most common questions what I got over the months.
 

Markø

Utente Gold
22 Novembre 2012
313
31
153
264
Ottima guida sono riuscito a fare tutto, l'unica cosa che vorrei se fosse possibile è configurare la connessione per far collegare altri, qualcuno sa come aiutarmi? Grazie
Ti ho risposto in privato

Ultimi aggiornamenti:
2022.01.13: - Fixed translate.lua gameforge.main_quest_lv27._140_sayReward line. (%d -> %s)
- Added locale_string.txt translation for "Ľş°řŔűŔ¸·Î ĽÓĽşŔĚ Ăß°ˇ µÇľú˝Ŕ´Ď´Ů"; (6-7 bonus).
- Fixed exchange with dragon soul stones. (exchange.cpp CExchange::CheckSpace)

2021.12.28: - Boost included in the /usr/metin2/src/etc folder, so you don't need to install it seperatly.
- Backup.sh modified to use compression. (tar -zcf)
- Fixed item 76006 in item_proto.txt, it will show up in the inventory now.
- Energy crystal time increased from 30 to 120 mins like official. (blend.txt)
- Added pc.set_level to quest_functions so now you can use it in your custom quests.
 

GoLdRoGeR

Utente Silver
30 Giugno 2011
12
3
8
55
Ti ho risposto in privato

Ultimi aggiornamenti:
2022.01.13: - Fixed translate.lua gameforge.main_quest_lv27._140_sayReward line. (%d -> %s)
- Added locale_string.txt translation for "Ľş°řŔűŔ¸·Î ĽÓĽşŔĚ Ăß°ˇ µÇľú˝Ŕ´Ď´Ů"; (6-7 bonus).
- Fixed exchange with dragon soul stones. (exchange.cpp CExchange::CheckSpace)

2021.12.28: - Boost included in the /usr/metin2/src/etc folder, so you don't need to install it seperatly.
- Backup.sh modified to use compression. (tar -zcf)
- Fixed item 76006 in item_proto.txt, it will show up in the inventory now.
- Energy crystal time increased from 30 to 120 mins like official. (blend.txt)
- Added pc.set_level to quest_functions so now you can use it in your custom quests.
Ciao, come posso applicare questi aggiornamenti senza dover riscaricare nuovamente i fileserver?
 

Salvatore1c

Utente Silver
2 Ottobre 2009
79
12
1
72
SQL:
SYSERR: Apr  4 17:26:07 :: CAsyncSQL::ChildLoop: AsyncSQL: query failed: Data truncated for column 'size' at row 1 (query: replace into mob_proto (vnum, name, locale_name, type, rank, battle_type, level, size, ai_flag, setRaceFlag, setImmuneFlag, on_click, empire, drop_item, resurrection_vnum, folder, st, dx, ht, iq, damage_min, damage_max, max_hp, regen_cycle, regen_percent, exp, gold_min, gold_max, def, attack_speed, move_speed, aggressive_hp_pct, aggressive_sight, attack_range, polymorph_item, enchant_curse, enchant_slow, enchant_poison, enchant_stun, enchant_critical, enchant_penetrate, resist_sword, resist_twohand, resist_dagger, resist_bell, resist_fan, resist_bow, resist_fire, resist_elect, resist_magic, resist_wind, resist_poison, dam_multiply, summon, drain_sp, skill_vnum0, skill_level0, skill_vnum1, skill_level1, skill_vnum2, skill_level2, skill_vnum3, skill_level3, skill_vnum4, skill_level4, sp_berserk, sp_stoneskin, sp_godspeed, sp_deathblow, sp_revive) values (34016, "³ì¿°ºÒ»çÁ¶", "³ì¿°ºÒ»çÁ¶",
Savle a tutti ho questo probelma in pratica parte tutto ma non crea nessun PG e successivamente da questo errore nel Database. Qualcuno sa aiutarmi? grazie.
 

LordSky998

Utente Iron
11 Aprile 2022
1
0
0
4
ciao ragazzi ho bisogno di un aiuto volevo sapere se avete un client che funziona con i file 2011 (lo so sono vecchi ma i più facili da reperire) possibilmente si mi passate il primo client di sandoz94 (NON IL RITORNO) pk con il ritorno mi fa loggare e poi crasha nella selezione del pg grazie a tutti quelli che mi aiutano e non.
 

rubbe12

Utente Iron
5 Aprile 2020
2
0
0
13
grazie per i file li stavo cercando da tanto, vorrei sapere se e possibile far collegare un amico al server, qualcuno mi puo aiutare?
grazie ancore...
 

Markø

Utente Gold
22 Novembre 2012
313
31
153
264
SQL:
SYSERR: Apr  4 17:26:07 :: CAsyncSQL::ChildLoop: AsyncSQL: query failed: Data truncated for column 'size' at row 1 (query: replace into mob_proto (vnum, name, locale_name, type, rank, battle_type, level, size, ai_flag, setRaceFlag, setImmuneFlag, on_click, empire, drop_item, resurrection_vnum, folder, st, dx, ht, iq, damage_min, damage_max, max_hp, regen_cycle, regen_percent, exp, gold_min, gold_max, def, attack_speed, move_speed, aggressive_hp_pct, aggressive_sight, attack_range, polymorph_item, enchant_curse, enchant_slow, enchant_poison, enchant_stun, enchant_critical, enchant_penetrate, resist_sword, resist_twohand, resist_dagger, resist_bell, resist_fan, resist_bow, resist_fire, resist_elect, resist_magic, resist_wind, resist_poison, dam_multiply, summon, drain_sp, skill_vnum0, skill_level0, skill_vnum1, skill_level1, skill_vnum2, skill_level2, skill_vnum3, skill_level3, skill_vnum4, skill_level4, sp_berserk, sp_stoneskin, sp_godspeed, sp_deathblow, sp_revive) values (34016, "³ì¿°ºÒ»çÁ¶", "³ì¿°ºÒ»çÁ¶",
Savle a tutti ho questo probelma in pratica parte tutto ma non crea nessun PG e successivamente da questo errore nel Database. Qualcuno sa aiutarmi? grazie.
Stai utilizzando un mob_proto differente da quello fornito, il database non riesce a leggere la struttura di quello importato da te


ciao ragazzi ho bisogno di un aiuto volevo sapere se avete un client che funziona con i file 2011 (lo so sono vecchi ma i più facili da reperire) possibilmente si mi passate il primo client di sandoz94 (NON IL RITORNO) pk con il ritorno mi fa loggare e poi crasha nella selezione del pg grazie a tutti quelli che mi aiutano e non.
Quel client è obsoleto, ti consiglio di utilizzarne uno più aggiornato


grazie per i file li stavo cercando da tanto, vorrei sapere se e possibile far collegare un amico al server, qualcuno mi puo aiutare?
grazie ancore...
Puoi utilizzare Hamachi, oppure aprire le porte del router e farli connettere con no-ip. Oltre a questo dovresti aggiungere al file di start.sh, una riga " -I ip" dove al posto di ip useresti l'ip di hamachi o no-ip che sia. Tuttavia ti consiglio di spendere pochi euro al mese(kimsufi parte da 2.79 senza iva) e utilizzare un vps basic se è un server amatoriale tra amici o si fa un utilizzo di soli test.


perchè la gente dovrebbe usare questi sorgenti?

Non è una critica, ma solo una mia curiosità
Confronta questi file con tutti quelli che ci sono online e trai le tue conclusioni



Ultimi aggiornamenti:

2022.05.21: - FreeBSD13.1 and C++2b (C++23) update. If you want to manually update to C++2b please check Mali's commit:
https://github.com/blackdragonx61/M...mmit/064ee1c7272b7195ccd59e60ad0b123f680723c0


 

_spawn_

Utente Silver
27 Marzo 2009
5
3
0
59
Ultima modifica:
[RISOLTO]

Ciao a tutti, ho un problema con l'aggiunta di altri 2 inventari. Ho riprovato svariate volte pensando di aver sbagliato qualcosa ma non riesco a venirne a capo.
Le prime due pagine funzionano correttamente, la terza è diventata lo slot del equip, mentre la quarta non capisco che funzione abbia in questo momento...
Ho modificato tutti i file lato client, modificato GameType.h, ricompilato e fatto le modifiche lato server, qualcuno può darmi una mano?

Grazie mille
 

Ciambox92

Utente Bronze
9 Maggio 2019
15
6
1
24

[40250] Metin2 Reference Serverfile


Download link: *** Testo nascosto: non può essere aggiunto alla citazione ***


"Il mio obiettivo era quello di creare dei files di riferimento r40250 più ufficiale possibile rispetto a quello che GF aveva quando i loro file sono trapelati all'inizio del 2014.
Nessun nuovo sistema aggiunto, solo correzioni di bug. Anche se ho trascorso diverse ore di test, ci possono essere ancora bug. Si prega di segnalare bug a me in modo da poterli risolvere in futuro, voglio rendere questo progetto il più possibile libero da bug."


Lingue disponibili: EN/DE/HU/FR/CZ/DK/ES/GR/IT/NL/PL/PT/RO/RU/TR
Apri il file Languages.txt per capire come cambiare la lingua inglese di default.

SSH for VM: root/123456789
MySQL: root/123456789
Ingame: admin/123456789

Aliases and it's commands:
Codice:
start        cd /usr/metin2/server && sh start.sh
close        cd /usr/metin2/server && sh close.sh
clear        cd /usr/metin2/server && sh clear.sh
backup        cd /usr/metin2/server && sh backup.sh
questcompile    cd /usr/metin2/server/share/locale/english/quest && python make.py
dbclean        cd /usr/metin2/src/db/src && gmake clean
dbcompile    cd /usr/metin2/src/db/src && gmake
gameclean    cd /usr/metin2/src/game/src && gmake clean
gamecompile    cd /usr/metin2/src/game/src && gmake

Video sull'installazione e cambio di lingua:


Posto il file changelog.txt, dove sono riportate tutte le modifiche fino ad oggi:
Codice:
[40250] Reference Serverfile By TMP4

Note: Starting 2021.08.01. I dropped version numbers, instead I'm using timestamps (date).

2022.05.21: - FreeBSD13.1 and C++2b (C++23) update. If you want to manually update to C++2b please check Mali's commit:
              https://github.com/blackdragonx61/Metin2-Game-Source-Clang10/commit/064ee1c7272b7195ccd59e60ad0b123f680723c0

2022.01.13: - Fixed translate.lua gameforge.main_quest_lv27._140_sayReward line. (%d -> %s)
            - Added locale_string.txt translation for "Ľş°řŔűŔ¸·Î ĽÓĽşŔĚ Ăß°ˇ µÇľú˝Ŕ´Ď´Ů"; (6-7 bonus).
            - Fixed exchange with dragon soul stones. (exchange.cpp CExchange::CheckSpace)

2021.12.28: - Boost included in the /usr/metin2/src/etc folder, so you don't need to install it seperatly.
            - Backup.sh modified to use compression. (tar -zcf)
            - Fixed item 76006 in item_proto.txt, it will show up in the inventory now.
            - Energy crystal time increased from 30 to 120 mins like official. (blend.txt)
            - Added pc.set_level to quest_functions so now you can use it in your custom quests.

2021.12.18: - Added ENABLE_AUTODETECT_INTERNAL_IP so the internal ip fix is cleaner now. (config.cpp)
            - Added a FAQ.txt with the most common questions what I got over the months.

2021.12.08: - Added a trailing slash to the client source's Discord project's output directory ending,
              one less warning at compiling. Output directory: $(SolutionDir)extern\library\

2021.12.06: - Added a little fix regarding the black screen issue after minimized client window:
              https://metin2.dev/topic/27894-fix-black-screen-client-freeze/

2021.12.01: - Changed the VM's hostname from metin2 to metin2.code so FreeBSD sendmail will not cry about
              unqualified hostname. The serverfile itself has not changed.

2021.11.28: - Added ENABLE_PROXY_IP. It is for when you have an internal IP and you try to connect with an
              external IP, you will be kicked after charselect. If you want to use it then set BIND_IP:
              internal & PROXY_IP: external in the CONFIG files (and uncomment!) + open ports in your router.
              https://metin2.dev/topic/28293-fixselect-character-on-40k-for-local-server-and-vps/
            - Fixed some empiredesc_*.txt & jobdesc_*.txt in some locale files.

2021.11.22: - Project migrated to FreeBSD13.0. CryptoPP (8.4.0) included in the /usr/metin2/src/etc folder,
              and placed all non-main project folders to that 'etc' folder like libmysql, libdevil, teen etc.
              Here is a patch file if you need: https://pastebin.com/ZtnmEuvP
            - Hackshield commented out from the source, it's lib was not compatible and it was unused anyway.
            - Googletest code commented out, it was totally unnecessary and mostly unused. (main.cpp)
            - Changed a return null to return false in bool DSManager::ExtractDragonHeart. (DragonSoul.cpp)
            - ClientVS19.zip removed, please use ClientVS22.zip and update your Visual Studio to 2022.
            - Fixed EterLib/NetStream.cpp, if you enable _PACKETDUMP it will work now.
            - 71051 & 71052 clientside description was swapped, fixed it in itemdesc.txt.

2021.11.14: - Added ClientVS22.zip so you can use Visual Studio 2022 from now. Every changes I made in
              ClientVS19 have been done in ClientVS22. Special thanks to Mali for his VS22 release!
            - Fixed dump_proto, there was some missing empty subtype and while it wasen't a problem with
              Visual Studio 2019, it crashed with Visual Studio 2022. (ItemCSVReader.cpp)

2021.11.13: - Changed the default bind_ip from 0 to 127.0.0.1 in db/ClientManager.cpp to prevent
              attackers to make a fake auth and join to your db when it's port publicly available.
            - Fixed player/object_proto table to silence syserr. I used Shogun's version previously. I took the
              reg_x original values now but since it is hard to place objects with them (that's why Shogun edited
              it), I divided them by two. If you need full original table I left it as object_proto_original.
            - Fixed LoadMonsterAreaInfo syserr, it is a feature for WorldEditor, not the client, so I wrapped the
              call for it with #ifdef WORLD_EDITOR [...] #endif in MapOutdoorLoad.cpp.
            - Added Extensions folder to the Mega drive what contains: 4 Inventory tutorial, 6th skill
              tutorial and an IPFW Firewall script prepared to use. Those are optional.

2021.11.06: - Added a fix for guild land loading in another core. (building.cpp)
            - Added some not used but needed table to the database to silence syserr in some situation:
              account.string, account.gametime, account.gametimeip, account.gametimelog.
            - Fixed metin2_map_spiderdungeon_02/boss.txt (Dark Queen Spider, remove if you not need it).
            - Fixed share/date/monster folders: boar, dog_god, leechung, lion, spy1, zombie_god_stone,
              zombie_key_stone, zombie_security_stone to silence motion syserrs.
            - In mob_proto.txt changed folder yamachun to yamachun_boss (6091) and pwahuang1_2 to
              pwahuang1 (34009), and corrected folders of mounts: 20110-20114.
            - Fixed redthief_boss2 (3591) & redthief2_boss2 (3596) skills: I enabled skills for 3591 in
              mob_proto.txt and fixed their folders in share/data/monster and in clientside metin2_patch_w20_etc.
            - Fixed spiderdungeons mapname image in root/uimapnameshower.py (MAP_NAME_IMAGE).

2021.11.01: - Added a fix for Guild Comment Flood Exploit. (guild.cpp CGuild::AddComment)
            - Added P2P Port Protection: https://www.onforum.net/threads/c-fix-api-tool-p2p-port-protection.2752/
              You can disable it by removing the #define ENABLE_PORT_SECURITY in common/service.h (not advised).
            - Changed g_stLocale = ""; to g_stLocale = "latin1"; in db/ClientManager.cpp to silence syserr when
              you use English locale (All other locale have their own code set in ClientManager).
            - Fixed an issue in some locale_game.txt: %, --> %. (Leadership skill and fish lenght fix).
            - Added missing locale_string value: "%sŔĚ ÇĘżäÇŐ´Ď´Ů."; "%s needed.";.
            - Enabled dragon soul alchemy items linking in chat. (uidragonsoul.py)
            - Removed the unnecessary '\' backslashes from item_names_fr.txt.
            - Repacked: Property, Season1, OutdoorA1 so now you can extract-repack it with Eternexus too.
            - White NPCs fixed in Season1 (wrong lod files renamed with _backup postfix).
            - Warrior Bunny costume model fix: https://metin2.dev/topic/748-warrior-bunny-fixed/
            - Shaman Female King model fix: https://metin2.dev/topic/20661-shaman-king-f-without-hairstyle-bug/

2021.10.24: - Applied a fix regarding a sound issue: https://metin2.dev/topic/21011-old-error-with-sound/

2021.10.18: - Changed "localhost" to "127.0.0.1" in Ch3-4 CONFIG files (just to be uniform with Ch1-2).
            - Changed the test server numbers from 11-12 to 21-22 in serverinfo.py to avoid state conflict.
            - Changed folder "horse_event1" to "pony" in mob_proto (20119 & 20219) so they will work better.
            - Commented 2410 from metin2_map_skipia_dungeon_02/regen.txt since that group_group not exists.
            - Fixed metin2_map_skipia_dungeon_01/boss.txt (changed Yonghan with Mighty Ice Witch, 8 hours).
            - Applied two fix regarding the client position & playarea size:
              1. https://metin2.dev/topic/27934-fixwindows-opening-at-the-wrong-position/
              2. https://metin2.dev/topic/22740-fix-clients-height-taskbar-collision-after-vsupdate/

2021.10.01: - Replaced a1-a3, b1-b3, c1-c3, desert_01, flame_01 and trent02's stone.txt with original.
              They were modified for some reason, other maps are original.

2021.09.28: - Added metin2_mysql_dump.zip if you want to install the database via .sql files.
              It is optional, you can still use metin2_mysql.tar.gz if you prefer that way.

2021.09.16: - Fixed locale_ro's item_proto & mob_proto names at clientside.

2021.09.09: - Applied two fix: 1. for level update next to your name, 2. for picking up items:
              1. https://metin2.dev/topic/6159-level-text-above-players-head-update-in-real-time/
              2. https://metin2.dev/topic/24691-fix-pickup-distances-bug/

2021.09.07: - 6-7 bonus add/switch blocked on equipped items. (char_item.cpp case 71051 & 71052)
            - Fixed gameland's (gm_guild_build) server_attr.
            - Added the missing locale_string_GR.txt.
            - Removed unused dll files from the client.

2021.08.23: - Made LibServerkey compatible with OpenSSL v1.0+, so you can compile it in FreeBSD12+.
              The changed file is /usr/metin2/src/libserverkey/RSACrypto.cpp.
            - Locale/es/ui/guild files fixed, only spanish locale was wrong.

2021.08.06: - Dragor (Wild, Brave) can attack now. (pvp.cpp serverside, InstanceBase.cpp clientside)
            - The Admin character could not use soul stone because of a bugged/leftover quest state,
              that is removed from player.quest table. (training_grandmaster_skill with char id 1)
            - Added missing locale_string value: "ą®Á¦ ŔÔ´Ď´Ů."; "OX-Question: "; for OX event.

2021.08.01: - Fixed some translate.lua lines (cz, tr) and removed all unnecessary starting spaces from
              every translate.lua in which it had. (Example: " something" --> "something")
            - Fixed Channel4's port numbers in serverside CONFIG files.
            - Fixed some EXCHANGE_TITLE in some locale_game.txt what blocked the trade window opening.

2021.07.30: - In some locale's skilldesc.txt I left CLAWs, that is removed now. Version stays V1.1.

2021.07.29: - Added Readme.txt and Install.png to ClientVS19_v*.zip to help resolve compiling issues.

2021.07.22: - Added CZ/DK/ES/GR/IT/NL/PL/PT/RO/RU/TR languages!

2021.07.20: - Initial release, check below.

Game:
- Internal IP Fix 192.168... (config.cpp)
- Limit_time removed (limit_time.h)
- DragonSoul_ActivateDeck --> return true was missing (char_dragonsoul.cpp)
- Added LC_ENGLISH to part of IsEurope like Germany/USA/France and others... (locale_service.cpp)
- Equipped belt to safebox fix (input_main.cpp)
- Guild Invite crash fix (input_main.cpp)
- Cube Crash fix (cube.cpp)
- Dungeon crash fix (char.cpp)
- Enabled 6-7bonus (char_item.cpp)
- Fixing 0 yang items in npc shops (shop.cpp)
- Enabled pc_change_name function (questlua_pc.cpp)
- Disabled 6-7bonus for costumes (char_item.cpp)
- Removed time limit for bonus changers (char_item.cpp)
- War command's crash fix (cmd_general.cpp)
- Max priv rates to 1000%
- Fingerprint fix (config.cpp, input_login.cpp, input_main.cpp)
- Equipped item bonus change or stone (de)attach fix (char_item.cpp)
- Invisible fix (char_affect.cpp)
- Hp-Mp bug fix (tables.h)
- Fix kill count twice in quest (questmanager.cpp)
- Fix immune bug by P3NG3R (item.cpp)
- Fix enchanted blade hp loss (char_battle.cpp)
- Drop hack (core down) fix (char_item.cpp, char.h, char.cpp)
- Kick hack fix (char.h, char.cpp, input_main.cpp, cmd_general.cpp, messenger_manager.cpp/.h)
- SQl Inject fix in RemoveFromList (messenger_manager.cpp/.h)
- CancelServerTimers fix (questmanager.cpp)

Db:
- Item award socket2 fix (ClientManager.cpp)
Note: I did not applied the "db start fix" since the db started fine for me.
If you get trouble with db, apply it yourself: https://metin2.dev/board/topic/2705-fix-db-startup-error/

Client Binary:
- #define ENABLE_DRAGON_SOUL_SYSTEM (Locale_inc.h)
- #define ENABLE_NEW_EQUIPMENT_SYSTEM (Locale_inc.h)

Server:
- Fixed flame dungeon quest, map (fully tested)
- Fixed flame map's server_attr (it had the old without flame dung. entrance)
- Added Soul Crystal, Saphire, Garnet, Rubin Smaragd Alchemist serverside
- Added the new bonuses: RESIST_DARK, RESIST_ICE, RESIST_EARTH
- Added missing refine_proto rows for newer things
- Added Jae Seon Kim stuff to cube.txt
- Added guild lands to database (map1, map3, guild_village)
- Added 'DRAGON_SOUL_INVENTORY','BELT_INVENTORY' to the item table
- Fixed database missing/wrong columns
- Added 6-7 bonus add & switch item to proto
- Fixed dragon soul item's item range in proto

Client:
- Fixed Sell bug when it displayed other items
- Fixed Demon's catacomb map and Azrael model
- Fixed Demon tower atlasinfo (black screen)
- Added Soul Crystal, Saphire, Garnet, Rubin Smaragd Alchemist clientside
- Fixed Baby Azrael Pet animations
- Fixed Dragon Soul refine settings
- Fixed "Error While Connecting to Server" message not shown when server off
- More transparent trading window prices 99999999 -> 9.999.9999
- Beta map's skybox switched from low textures to higher textures (still official)
- Fixed char select visual status bug (it will display the actual values)
- Switched the login.jpg to a new one (I left the old one next to there)
- Enabled older loading screens too, you can find them at uiloading.eix-epk.
- Corrected some icons for pets
- Added icon for OX (animal) armors (11000, 11010, 11020, 11030)

I crediti vanno a TMP, ricordo inoltre che questi files sono in costante aggiornamento dall'autore, e probabilmente i migliori free e clean in circolazione al momento.

Saluti,
Marko

grazie mille