Jump to content
Forgot your email address? ×
×
×
  • Create New...

TMP4

Sun
  • Posts

    539
  • Joined

  • Last visited

  • Days Won

    14

TMP4 last won the day on September 10

TMP4 had the most liked content!

About TMP4

  • Birthday July 21

Informations

  • Country
    Hungary
  • Gender
    Male

Recent Profile Visitors

6011 profile views

TMP4's Achievements

  1. Small update, mostly convenience. 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. [Hidden Content] 2. [Hidden Content] - Added the old Tim extractor because Eternexus can't extract every file. (Eternexus_readme.txt)
  2. Type Visual Studio Installer in your windows's search box, then you can install it from there retrospectively. You need the "C++ MFC for latest v142 build tools".
  3. Speaking to Jxxkub excuse that I've seen this modification too somewhere, but ofc this does not mean you just reposted it. This forum have a strict rule about leaks/reposts, and while the rule needed, it evokes this attitude in some people. Anyway good code, keep it up
  4. Download Or Google Drive: Download Empire War Rework + Automation I find the original forked_road strange and a mess so I made my own version. It is written in lua-only, even the automation. I wanted to keep things simple. Quest available in English and Hungarian language. For the map, I used metin2_map_sungzi_milgyo. It should be there in every client but I made some modification in it (ex. no-pvp zones at spawn) so I attached it for you. You can set: Minimum level to join Maximum attender / empire Required kill (point) to win Enable-Disable looser reward How to automate? If you want to automate the Empire War then install events_automation.quest too. The Empire War will run every Friday 20:00. (You can change it in the quest). What is looser reward? The looser empires can stay in the end for the reward (enabled in automation). If someone kill other player, first there is a warning, second kill he will get ported out. I advice to keep looser reward on, then everyone will be encouraged to participate. What is the reward? By default it will load a regen (provided). It have tanakas, golden frogs and fire goblets. Feel free to edit or change it. Have fun, TMP4
  5. After you create your character does they appear in player.player & player.player_index table? If not, you may have mismatched the db source player create function (ex. column names), if they does save to the database just don't appear in your client then the problem is bigger.
  6. Place this to season1/interface/oxevent and you can repack it with Eternexus: [Hidden Content]
  7. Did you set your IP? I have to ask because lots of people setting the IP what I got in the video, but you have to set your IP what you got from your DHCP server.
  8. If there is no syserr, does the core crash where they were? You can check it via the ps command after it happens. It would give an answer why they can only log in after a server restart -> because the core what they are in is offline. If the core crashed, provide a gdb backtrace.
  9. Ymir did not program it because they did not needed it, however it's not that hard: def AppendTimerBasedOnWearLastTime(self, metinSlot): if 0 == metinSlot[0]: if item.COSTUME_TYPE_BODY == item.GetItemSubType() or item.COSTUME_TYPE_HAIR == item.GetItemSubType(): defaultValue = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, defaultValue) = item.GetLimit(i) defaultValue += app.GetGlobalTimeStamp() if item.LIMIT_TIMER_BASED_ON_WEAR == limitType: break self.AppendMallItemLastTime(defaultValue) else: self.AppendSpace(5) self.AppendTextLine(localeInfo.CANNOT_USE, self.DISABLE_COLOR) else: endTime = app.GetGlobalTimeStamp() + metinSlot[0] self.AppendMallItemLastTime(endTime)
  10. It is for that. You don't need Internet at all. You only need a router because it is a VM what needs to get a local IP address. If you don't have a router, then you can create a Host-only adapter in Virtualbox where you can turn on it's DHCP server and that will act like a router's DHCP server. Here is a tutorial: link (The host only adapters moved from settings to tools in newer Virtualbox version if you can't find it) But again, that only needed when you don't have any router. If you are in a wired connection you 99,99% have one and follow the video.
  11. Check the video in the first post, I literally show off how to start the server on localhost and how to connect.
  12. I usually use Google with a workaround: When a password reset email sent, an entry will be inserted to a database with the current timestamp and I only let the next email to be sent when the previous timestamps is at least 5 minute behind the current server time otherwise I notice the user to wait x time and try again. I only use mail for password reset tho but you can adapt this method to users like checking the ip and the ip's last timestamp. With this "trick" you can't really get blocked, especially if you just use it for password reset since the maximum email sent per day is (60/5)*24=288 and that should be enough for larger servers too. I think it only affects the user experience a bit, it’s still just below the limit. However I accept that paid solutions are better
  13. @Draveniou1 That fix is actually against hackers who bypasses the clientside block.
  14. To be safe as P3NG3R said, In shop.cpp edit this: if (r_item.price < 0) To this: if (r_item.price < 0 || (IsPCShop() && r_item.price <= 0)) (You may have the original check with <= too)
  15. VS19 community. I put _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1; to the c++ preprocessors in order to use stdext::hash_map in VS19 because dump_proto is old and needs that. Quote from hash_map: #ifndef _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS #error <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define \ _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. #endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS I'm sure it is removed in VS22. You can try to change every #include <hash_map> to #include <unordered_map> and every stdext::hash_map to std::unordered_map in dump_proto's source if you are using VS22. Or you can try the boost/unordered_map.hpp too. No support for that from me tho.

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.