Jump to content

【ℛ-𝓝】ℛ𝔂𝓼𝒆

Miembro
  • Contador contenido

    576
  • Ingreso

  • Última visita

  • Días ganados

    368

Mensajes publicados por 【ℛ-𝓝】ℛ𝔂𝓼𝒆

  1. CAMBIOS REALIZADOS:

    2023.08.05: - New freshly installed VM with FreeBSD 13.2.
                - Installed a fix about an exploit: https://metin2.dev/topic/31147-itemmove-dupe-exploit-fix/#comment-158896
                - Expect this as the last update unless there will be some serious problem.
    
    2023.07.09: - MySQL5.6 got depreceted and removed from FreeBSD's ports. You have to install it manually further on
                  in a vps, check Server/pkg_backup.zip for the package files and instructions about installing it.
    
    2023.06.11: - Re-enabled precompiled headers in client source. To be able to compile with pecompiled headers enabled in the
                  latest Visual Studio with /std:c++latest which this project uses, we have to turn off the "Build ISO C++23 Standard
                  Library Modules" in Project properties -> C/C++ -> Language (in each project in the solution). Longer explanation:
                  https://metin2.dev/topic/27610-40250-reference-serverfile-client-src-15-available-languages/page/52/#comment-158117
    
    2023.06.10: - In the client src Userinterface/Userinterface.rc I changed #include "afxres.h" to #include <Windows.h> since the
                  launcher does not use MFC, so you no longer required to install C++ MFC while installing Visual Studio.
                - Disabled precompiled headers in all project to be able to build them in latest Visual Studio. You can do it by 
                  right click on a project and select properties, then in Configuration -> C/C++ -> Precompiled Headers select 
                  "Not using Precompiled Headers" for Precompiled Header. You have to do this for each project in the solution.
                - Added StdAfx.h to EterBase\Poly, it just includes the ../StdAfx.h.
    
    2023.04.09: - Char.cpp CHARACTER::ResetPoint's POINT_STAT was modified, changed back to original code. (Line: 5934-5939)
    
    2023.02.25: - There were 2 empty lines at the end of the map_index file, and the server only expects 1, so it reloads the last
                  map in your index file which results in npc.txt, boss.txt, regen.txt and stone.txt being loaded twice.
                  /usr/metin2/server/share/locale/english/map/map_index
                - PROXY_IP only worked with ip addresses but Karbust extended his tutorial to work with domain names so
                  now you can use DynDNS, for example, if you want.
                  https://metin2.dev/topic/28293-select-character-on-40k-for-local-server-and-vps/#comment-155509
    
    2023.02.11: - Libdevil, libmysql, cryptopp and boost was in the /usr/metin2/src/etc folder. I modified these extern stuffs
                  folder stucture to the commonly used /usr/metin2/src/extern/include and lib layout. By doing that, the src
                  folder moved a folder upper to /usr/metin2/src/server, don't forget to modify the aliases paths in root/.cshrc.
                - Libmysql removed, it was the old 5.1.35 version from Kraizy.tgz while we're using 5.6 in the vm. We don't need
                  seperate libmysql because when we install mysql it installs the lib and include files too to /usr/local/lib/mysql
                  and /usr/local/include/mysql. Now we're using that in game's, db's and libsql's Makefile.
                - Mysql 5.6 lib needs OpenSSL so OpenSSL libs linked in game's and db's Makefile. (Look for # OpenSSL)
                - Added $(MAINOBJ) to game's Makefile's clean command so you don't need to manually delete main.o after you
                  do gameclean command. Ymir just forgot it when they made the Makefile.
    
    2023.02.07: - DevIL had a glitch with uploading guild marks. It's not about the recent change that I linked it
                  statically, it existed before, the bug is in the DevIL 1.8.0 itself. Marty helped me to fix the bug, check
                  his commit here: https://github.com/martysama0134/libdevil-patched/commit/0d0c155e3c9945a3ef2e6d474b41a0e373719a3e
                  If you want to fix this bug, please take these files & folders:
                  /usr/metin2/server/src/etc/libdevil (whole folder) and /usr/metin2/server/src/game/src/Makefile
                  Be aware of symlinks in libdevil folder, because if you extract it in Windows, you'll loose symlinks.
                  Here is a tgz of the libdevil folder which you can extract in FreeBSD to keep symlinks:
                  https://www.mediafire.com/file/w6ruq6w7u65iqi2/libdevil.tgz/file
                  And here is the Makefile for the game/src if you don't want to redownload the sf: https://pastebin.com/4rUd2xmY
                - CH1-2 CONFIG files had "127.0.0.1" in the DB_ADDR, while CH3-4 CONFIG files had "localhost" in it.
                  I changed the latter to "127.0.0.1" just to be uniform.
                - The MirrorTableIntoDB functions does not mirror item_proto's specular and mob_proto's mob_color column to the
                  database by default, because they just skipped them at saving. I added them, so now the item/mob_proto.txt
                  and item/mob_proto table is the same. If we want to be strict, this was not a bug, but I decided to fix it.
                  Here is a tutorial: https://pastebin.com/4HVQ7dRt
    
    2023.01.11: - DevIL's libs are now statically linked to the game file by default, so you don't need
                  to install any libs to your vps. Also cleaned libdevil and libmysql and some Makefiles.
                  Modified files and folders to grab if you want to update manually:
                  /usr/metin2/server/src/etc/libmysql
                  /usr/metin2/server/src/etc/libdevil
                  /usr/metin2/server/src/game/src/Makefile
                  /usr/metin2/server/src/db/src/Makefile
                  /usr/metin2/server/src/libsql/src/Makefile
                  /usr/metin2/server/src/Makefile
                  If you want to use shared objects (.so) again for DevIL, there's a switch for it in the
                  game's Makefile: ENABLE_STATIC_DEVIL = 1, set it to 0.
                - Libs.txt and Libs.zip deleted since you don't need them anymore.
                - FAQ.txt updated with "What packages are needed to compile the source?"
                - Installed a fix about player change name item duplication exploit:
                  https://metin2.dev/topic/30075-player-change-name-item-duplication-exploit-fix/#comment-153815
    
    2023.01.07: - Added locale_string.txt translation for "şŻ°ć ˝ĂĹł ĽÓĽşŔĚ ľř˝Ŕ´Ď´Ů"; (6-7 bonus).
    
    2023.01.05: - Size column's "SAMLL" value changed to "SMALL" (Dump_proto's ItemCSVReader.cpp and DB's ProtoReader.cpp)
                - Fixed myshop_pricelist (needs item 71049), tutorial: https://pastebin.com/kNb0Zh7A
                - SetRaceFlag column in mob_proto was missing some value, here's a query:
                  ALTER TABLE `mob_proto` MODIFY COLUMN `setRaceFlag` set('ANIMAL','UNDEAD','DEVIL','HUMAN',
                  'ORC','MILGYO','INSECT','FIRE','ICE','DESERT','TREE','ATT_ELEC','ATT_FIRE','ATT_ICE',
                  'ATT_WIND','ATT_EARTH','ATT_DARK') CHARACTER SET latin1 COLLATE latin1_swedish_ci
                  NOT NULL DEFAULT '' AFTER `mount_capacity`;
                - Space between level and alignment (PythonTextTail.cpp CPythonTextTail::ArrangeTextTail)
    
    2022.12.19: - Changed the command name clear to clean and clear.sh to clean.sh just to be match.
                  Clear command is used to clear the console output, now you can use it if you want.
    
    2022.12.16: - Fixed the imgFileNameDict in root/introloading.py (number 7 was twice in the list).
    
    2022.12.15: - Changed sql_mode in the VM from sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES to
                  sql_mode=NO_ENGINE_SUBSTITUTION in /usr/local/my.cnf to prevent DATA TRUNCATED errors with MySQL56.
    
    2022.12.14: - Added locale_string.txt translation for "´ő ŔĚ»ó ŔĚ ľĆŔĚĹŰŔ¸·Î ĽÓĽşŔ» Ăß°ˇÇŇ Ľö ľř˝Ŕ´Ď´Ů"; (6-7 bonus).
    
    2022.12.05: - Added level refresh for other players at RecvPointChange in PythonNetworkStreamPhaseGame.cpp line 1540-1550.
    
    2022.12.03: - Fixed 71115, 71117, 71119, 71121 (blue seals) ride time in ride.quest.
    
    2022.11.20: - MySQL55 replaced with MySQL56 in the VM, because MySQL55 got deprecated, you can't install it
                  anymore in a new machine via pkg. The server file itself has not been modified.
    
    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/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) 

     

  2. En 9/8/2023 a las 23:43, AincradOn dijo:

    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using passwo                           rd: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern4_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern5_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern6_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern7_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern8_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Neutraler_Server is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: game99
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    MFB is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: gameMFB
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    auth is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: auth
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
     

     

    Alguien por favor podria ayudarme con este problema, que solucion podria darle, se lo agradeceria de ante mano, gracias

    Debes iniciar sesión para ver el contenido del archivo adjunto en esta publicación.

    reinstala los files y pon estos comandos en el FreeBSD

     

    mysql -p

    GRANT ALL PRIVILEGES ON *.* TO 'elendosv2'@'localhost'
    IDENTIFIED BY 'elendosv2live' WITH GRANT OPTION;

    exit;

    /usr/local/etc/rc.d/mysql-server restart

  3. hace 21 horas, AincradOn dijo:

    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using passwo                           rd: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern4_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern5_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern6_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern7_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Kern8_Ch1 is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: channel1
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    Neutraler_Server is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: game99
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    MFB is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: gameMFB
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
    auth is not running
    PUBLIC_IP: 192.168.100.50 interface em0
    HOSTNAME: auth
    mysql_real_connect: Access denied for user 'elendosv2'@'localhost' (using password: YES)
    cannot open direct sql connection to host: localhost user: elendosv2 db: common
    cannot start server while no common sql connected
     

     

    Alguien por favor podria ayudarme con este problema, que solucion podria darle, se lo agradeceria de ante mano, gracias

    Debes iniciar sesión para ver el contenido del archivo adjunto en esta publicación.

     

    Cambia la contraseña MySQL y despues edita los archivos CONFIG de cada canal, mysql, game99 y auth con la contraseña y usuario que pusiste...

     

     

  4. .gif

     

    // 1. PythonPlayerInput.cpp
    // 1.0. Buscamos:
    void CPythonPlayer::PickCloseItem()
    {
    	...
    }
    // 1.0. Añadir después:
    void CPythonPlayer::PickCloseItemVector()
    {
    	CInstanceBase * pkInstMain = NEW_GetMainActorPtr();
    	if (!pkInstMain)
    		return;
    
    	TPixelPosition kPPosMain;
    	pkInstMain->NEW_GetPixelPosition(&kPPosMain);
    
    	std::vector<DWORD> itemVidList;
    	
    	CPythonItem& rkItem=CPythonItem::Instance();
    	if (!rkItem.GetCloseItemVector(pkInstMain->GetNameString(), kPPosMain, itemVidList))
    		return;
    	
    	if(itemVidList.empty())
    		return;
    	
    	for(int i = 0; i < itemVidList.size(); i++)
    		SendClickItemPacket(itemVidList[i]);
    }
    
    
    // 2. PythonItem.cpp
    // 2.0. Buscamos:
    bool CPythonItem::GetCloseItem (const std::string& myName, const TPixelPosition& c_rPixelPosition, DWORD* pdwItemID, DWORD dwDistance)
    {
    	....
    }
    // 2.0. Añadir después:
    bool CPythonItem::GetCloseItemVector(const std::string& myName, const TPixelPosition& c_rPixelPosition, std::vector<DWORD>& itemVidList)
    {
    	DWORD dwCloseItemDistance = 1000 * 1000;
    	
    	TGroundItemInstanceMap::iterator i;
    	for (i = m_GroundItemInstanceMap.begin(); i != m_GroundItemInstanceMap.end(); ++i)
    	{
    		TGroundItemInstance * pInstance = i->second;
    
    		DWORD dwxDistance = DWORD(c_rPixelPosition.x - pInstance->v3EndPosition.x);
    		DWORD dwyDistance = DWORD(c_rPixelPosition.y - (-pInstance->v3EndPosition.y));
    		DWORD dwDistance = DWORD(dwxDistance * dwxDistance + dwyDistance * dwyDistance);
    
    		if (dwDistance < dwCloseItemDistance && (pInstance->stOwnership == "" || pInstance->stOwnership == myName))
    		{
    			itemVidList.push_back(i->first);
    		}
    	}
    
    	return true;
    }
    
    
    // 3. PythonItem.h
    // 3.0. Buscamos:
    		bool	GetCloseMoney(const TPixelPosition & c_rPixelPosition, DWORD* dwItemID, DWORD dwDistance=300);
    // 3.0. Añadir debajo:
    		bool 	GetCloseItemVector(const std::string& myName, const TPixelPosition& c_rPixelPosition, std::vector<DWORD>& itemVidList);
    		
    		
    // 4. PythonPlayer.cpp
    // 4.0. Buscamos y reemplazamos:
    void CPythonPlayer::SendClickItemPacket(DWORD dwIID)
    {
    	if (IsObserverMode())
    		return;
    		
    	const char * c_szOwnerName;
    	if (!CPythonItem::Instance().GetOwnership(dwIID, &c_szOwnerName))
    		return;
    
    	if (strlen(c_szOwnerName) > 0)
    	if (0 != strcmp(c_szOwnerName, GetName()))
    	{
    		CItemData * pItemData;
    		if (!CItemManager::Instance().GetItemDataPointer(CPythonItem::Instance().GetVirtualNumberOfGroundItem(dwIID), &pItemData))
    		{
    			Tracenf("CPythonPlayer::SendClickItemPacket(dwIID=%d) : Non-exist item.", dwIID);
    			return;
    		}
    		
    		if (!IsPartyMemberByName(c_szOwnerName) || pItemData->IsAntiFlag(CItemData::ITEM_ANTIFLAG_DROP | CItemData::ITEM_ANTIFLAG_GIVE))
    		{
    			PyCallClassMemberFunc(m_ppyGameWindow, "OnCannotPickItem", Py_BuildValue("()"));
    			return;
    		}
    	}
    
    	CPythonNetworkStream& rkNetStream=CPythonNetworkStream::Instance();
    	rkNetStream.SendItemPickUpPacket(dwIID);
    }
    
    
    // 5. PythonPlayerModule.cpp
    // 5.0. Buscamos:
    PyObject * playerPickCloseItem(PyObject* poSelf, PyObject* poArgs)
    {
    	CPythonPlayer::Instance().PickCloseItem();
    	return Py_BuildNone();
    }
    // 5.0. Añadir después:
    PyObject * playerPickCloseItemVector(PyObject* poSelf, PyObject* poArgs)
    {
    	CPythonPlayer::Instance().PickCloseItemVector();
    	return Py_BuildNone();
    }
    
    // 5.1. Buscamos:
    		{ "PickCloseItem",				playerPickCloseItem,				METH_VARARGS },
    // 5.1.Añadir después::
    		{ "PickCloseItemVector",		playerPickCloseItemVector,			METH_VARARGS },
    		
    		
    		
    // 6. PythonPlayer.h
    // 6.0. Buscamos:
    		void	PickCloseItem();
    // 6.0. Añadir después:
    		void 	PickCloseItemVector();
    		
    		
    		
    // 7. game.py 
    // 7. Buscamos:
    	player.PickCloseItem()
    // 7. Reemplazamos por:
    	player.PickCloseItemVector()
    	
    
    // Puede hacer la opción de recogida rápida o no.

     

  5. En 24/10/2022 a las 1:01, metin2alex dijo:

    Excelente, las puse andar, me encanta contar con el sourcer pues da libertad a muchas cosas, gracias por el aporte, tengo una pregunta si no molesta, podrian indicarme información especifica de las files? me refiero, que dungeons posee, hasta que implementacion, es que hace mucho jugue metin2 y desconozco lo ultimo, me refiero a seaso 1 season 2, etc

    Tiene todo lo que tenia Metin2 hasta el 2014, es una base limpia fixeada de cuando se filtraron los archivos source

  6. hace 32 minutos, TrafalgarLaw dijo:

    La mayoria de clientes traen las de war, sura, chaman originales pero las de ninja no.

    Se ha perdido durante tiempo las olimpicas originales de NINJA y aqui las traigo.

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.

     

     

    Debes iniciar sesión para ver el contenido del archivo adjunto en esta publicación.

    Gracias, las tenia que sacar de un cliente pero me ahorraste el buscar las cosas xD

  7. En 24/7/2022 a las 8:01, Frezi Op dijo:

    COMO VI QUE NADIE PUDO PROBARLOS LES DEJO AQUI LOS FILES PRECARGADOS PARA PROBARLOS
    NOTE QUE ESTAN MAL COMPILADAS LAS QUEST, NO HE TESTEADO A FULL LOS FILES 

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.


    Debes iniciar sesión para ver el contenido del enlace en esta publicación.


    PSSW VDI 
    USER: admin
    PSSWORD: dev

    MYSQL
    USER: root
    PSSWORD: admin

    cuenta de prueba
    user: admin 
    pssword: admin


    link para adquirir los sources lo dejo debajo

     

    nice :3

×
×
  • Crear nuevo...