[40250] Reference Serverfile By TMP4
Note: Starting 2021.08.01. I dropped version numbers, instead I'm using timestamps (date).
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-fixselec ... r-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:
- 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-a ... tion.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-k ... style-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-fixwindo ... -position/
2.
https://metin2.dev/topic/22740-fix-clie ... -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-tex ... real-time/
2.
https://metin2.dev/topic/24691-fix-pick ... ances-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 ... tup-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)