Jump to content

TMP4

Contributor
  • Posts

    1112
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Everything posted by TMP4

  1. Me and my questionable musical taste again ?
  2. You're not sure because this quest is very fcked up regarding that rewards array. Using arrays and tables are good but just when it is needed. Remove function rewards() and change this: local z = number(1,table.getn(daily_quest.rewards()[1])) say(daily_quest.rewards()[1][z]..' Yang!') pc.change_money(daily_quest.rewards()[1][z]) To something like this: local yangReward = 0 if pc.get_level() >= 90 then yangReward = 1000 elseif pc.get_level() >= 50 then yangReward = 500 else yangReward = 100 end say("You got "..yangReward.." yang!") pc.change_money(yangReward)
  3. You scanned the google drive url instead of the .rar ? But good design, keep it up ?
  4. I would keep subcategories but merge some for example: Animations & Effects Objects NPCs & Monsters Weapons & Armors Others And they can get their prefix too especially in the Others section.
  5. Try this: char_state.cpp void CHARACTER::SetNotAggressive() { REMOVE_BIT(m_pointsInstant.dwAIFlag, AIFLAG_AGGRESSIVE); } char.h: void SetNotAggressive(); Then in char_manager: CHARACTER_MANAGER::SpawnMob look for ch->SetProto(pkMob); and add if (lMapIndex == 155) // or check for it's dungeon mapindex... ch->SetNotAggressive(); Untested but should work..
  6. You probably made it pvp protected in world editor. "No-PVP" in the last tab and use "Eraser". Don't forget to dump the server_attr too.
  7. Honestly idk, I don't have this error and I'm not a c++ expert nor the programmer of Metin2 ? It may be some VS bug, I suggest you to delete the the .vs folder (hidden, you have to enable hidden folders in windows) it will auto-recreate it after you open visual studio (I usually solve vs bugs this way..) plus you can set the solution's element's C++ Language standard to ISO C++17 from Preview (all of them). /root/.cshrc (you have to enable hidden files-folders in your ftp client or use a FreeBSD text editor..) ---------------------------------------------------------------------------------------- I push a little update because some map's stone.txt were not GF-like. Metins were increased and ores was not present. If anybody find similar issue please report it to me. 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. You can download here the right stone.txts if you don't want to redownload the serverfile just for this.
  8. Maybe your outdoor pack is removed from your Index file so your client wont load it at all.
  9. The prob is actually calculated on the source. The logic fcked up as usual for Ymir... so I advice this rework for you: (You should use unmodified quest for this one)
  10. I added a mysql dump for the databases to the Mega drive. This is optional, now you can decide how to import the databases: By uploading the metin2_mysql.tar.gz and extract via tar -xf By installing the databases via this mysql dump (better) If you decide to use this mysql dump please read Readme.txt for instructions: 1.: User for the DB: You have to create a metin2@localhost MySQL user with every Server Priviliges in order to make the serverfile work. For password use the word password or you can change the password in CONFIG files and use your own password. You can create this user in navicat -> user -> new user (tick every Server Priviliges) or you can use this query too, just be sure to select the database named "mysql" before you execute it. INSERT INTO `user` VALUES ('localhost','metin2','*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','N','','','','',0,0,0,0,'',NULL); 2.: How to import the databases: You can import them in the console: mysql -u root -p (It will ask for your root password, if it's empty then just press enter) CREATE DATABASE database_name; exit mysql -u root -p database_name < /path/to/sql/file.sql (It will ask again for your root password) Or use navicat: right click to the connection -> new database, once you created then right click to it -> execute sql file and select the .sql file.
  11. There are several possible solve case for that: [Hidden Content] (check especially for stackoverflow links) Check the .log files next to the .err maybe it have some useful info. Since I included tar.gz for mysql, did you extract that correctly with tar -xf command? Some people using winrar and so.. (I will probably include mysql dump soon to my reference sf because that is a better way to import the database but most people don't know what it is and looking for tar.gz from old tutorials...)
  12. If your mysql crashing/not starting then check the mysql's .err files, not the serverfile's syserr. It's in /var/db/mysql/*.err It always writes down what the reason is.
  13. I will have a look on your patcher thanks because looks like it's not possible to solve this detection here, it's 100% on Visual Studio and Antivirus vendors side unfortunately.
  14. Microsoft Defender currently not detecting it, that's why. Can you scan your patcher exe at virsutotal or upload it for me? I'm just curious about your false positive rate.
  15. "It is not patcher's fault." I know, I'm used this for years, even the same exe what had 2 alerts goes to 15+ as of today. I read that microsoft answers page but looks like there's no solution for this problem? Can you upload your compiled patcher for me or tell your server's url? I'm just curious if it had the same false positive rate.
  16. So a year passed and my 2 false positive increased to 16 (Virustotal). (Still not 38 like the guy above but it's high enough..) Anyone have any idea what part of the code cause these alerts or how to fix? While it's the best open source patcher it's not really usable now, because the 16 hit contains Malwarebytes/Microsoft/ESET-NOD32/GData and those are pretty popular.
  17. Check my comment here: [Hidden Content] While it's other serverfile and topic, the solution is the same. (Install C++ MFC for your build tools) Also: You don't need to reinstall Visual Studio, you can open Visual Studio Installer and install the missing component in retrospect.
  18. No, actually what Marty suggested there is to not substract the titlebar from the position 'y', but then you are where the coast breaks again because the taskbar will hide the bottom of the client. I asked to actually shrink the playable area (not position y substaction) so the titlebar can be 100% visible while the taskbar will not hide the bottom of the client.
  19. Can we edit the playable area? I think the best method to solve the height problem is to subtract some pixel, if it's possible. (So the taskbar will not hide the bottom of the client)
  20. LibLua compiling just fine: Your image clearly not from this reference serverfile because This uses clang-devel instead of gcc This does not have wolfman Please use Questions & Answers if you have any difficulties with other serverfiles.
  21. It is a reference serverfile so new features like npc_pet / npc_mount path are not implemented. You can implement it quite easily in GameLib/RaceManager.cpp: __GetRaceResourcePathes Just add there your path (npc_mount or whatever you need). Here's an example: [Hidden Content] (Edit x1,x2 with your npc_pet vnum range, and x3,x4 with your npc_mount vnum range.)
  22. Before you paste to excel, select all row (ctrl+a) then right click -> cell format-> text. Then it will not change numbers to date and so, it will displays everything as in notepad++ just with the columns advantage.
  23. Hello, EXCHANGE_TITLE already fixed in 2021.08.01 update. 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. You may using older version, please check Changelog.txt in my mega drive to find out more chages/fixes because there are some ? About the config.exe yes it sometimes works weird in windows10, common issue with Metin2's config.exe but we don't have source for that. You can take a newer version: [Hidden Content] but sometimes that works weird too so I included the original version. Btw when I run as administrator it always works fine for me.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.