Jump to content

TMP4

Contributor
  • Posts

    1110
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Everything posted by TMP4

  1. That's just description text to show. For example pet gives you +X HP. It's not match with official bonus values, it's just a leftover sql from some old proejct and it is just an example, you're required to fill the itemshop with your own items. Item_award does not support setting bonus for equipment by default. But you can implement that: [Hidden Content] If the item does not appear in your itemshop storage then check if the vnum exists in the server, also there is a given_time column in item_award, check if that time is lower then your server's current time (date command in FreeBSD.)
  2. Yes but you may need to recompile everything, the main project, and cryptopp and DevIL lib in extern. If you don't know how & what then just update your vps to 13.1 then it should work without doing anything.
  3. Check game/src/constants.cpp's const TApplyInfo aApplyInfo[MAX_APPLY_NUM] = POINT_RESIST_CRITICAL is number 90. Also keep in mind that the proto is read from item_proto.txt, not from database by default unless you implemented notxt. In the txt you need to use APPLY_ANTI_CRITICAL_PCT. (The navicat error in your picture is because you tried to enter a bigger number then the column's datatype)
  4. A small update: 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. [Hidden Content]
  5. TMP4

    [SMALL] City Map

    I'm about 99% sure he have double enter at the end of the file since official have it too. While we don't see any empty line at his code tag that's because this forum trims the end of your text when you use a code tag.
  6. TMP4

    [SMALL] City Map

    @TonisBoss @ Ace I created a new totally empty map with size 1x2 like this and it does actually duplicate npcs. I set coord to +-1 so they're a little far away, my npc.txt is: m 160 138 1 1 0 0 1m 100 1 20016 Edit: @TonisBoss @ Ace I finally figured it out. If you have 2 empty line in your map_index file at the bottom, it'll duplicate your last map's npcs, probably tries to re-load it. I had an untouched map_index file from official files from 2013 december, and it does have 2 empty line by default. TonisBoss please check your map_index file and remove the second empty line, only leave 1 empty line at the bottom, and it should work:
  7. TMP4

    [SMALL] City Map

    That npc.txt is fine. Are you sure this bug is related to my map? It only happens in this map? You didn't duplicate npc.txt? Like you copyed it to stone.txt/boss.txt/regen.txt?
  8. TMP4

    [SMALL] City Map

    There is a video on the first post, I don't have such issue. By the way if you want to report a bug then attach your npc.txt at least. Maybe you set count to 2?
  9. No, I didn't put any symlink there. You need FreeBSD 12+ (preferably 13.1) and pkg install llvm-devel. Then you can compile on a x32 system.
  10. Try this: cd /usr/metin2/src/server/libsql gmake clean gmake dep gmake (so the last gmake is seperate)
  11. You forgot step 5, recompile libsql. Does the lib exists? metin2/src/server/libsql/libsql.a
  12. If yougetsignal.com/tools/open-ports/ says ports are working then they should be able to connect or at least sees the channels 'norm'. I enabled DMs, send me your IP in DM and i'll try to connect to you. If you modified test/123456789 account then send me an account too. Edit: I got your DM but I need your public ip, not your local ip. If your friend tried to connect with your local ip too then it's the problem. @ KarlisBonden Edit2: I managed to log in with his public ip
  13. This error is not related to Metin2, but your home network configuration. In your router's port forwarding you need to use your server's (FreeBSD running on Virtualbox) local ip, not your pc's local ip, so it's fine, do not change it. Since you did not attach a screenshot of your port forwarding I can't tell if it's fine or not. When I had enabled DMs here and in discord, there were some ppl contacting me who had a main router provided by their ISP and it was locked (they did not had password) and they used a secondary router to share wifi and they did the port forwarding there. If it's the case in you then it's worth nothing to open ports in a secondary router. You have to do it in the main too. Because when a connection coming from the internet side, it'll blocked by the main router and will not reach the second. Also the second router is probably just an access point in this scenario, not even working as a real router. [Hidden Content] Use this to check if you managed to successfully set up the port forwarding. Here you need to enter your public ip, and a port like ch1 core1.
  14. It is there by default. You don't need to define it yourself. 70043 is defined here too so it does increase both IDeltaPercent and iRandRange, so I guess it increases the chance the best. But check the calculation yourself on ITEM_MANAGER::CreateDropItem, it's overcompilcated as everything in Ymir's code. By the way I did not touch such things so if something doesn't work well then it didn't work in the official servers at early 2014.
  15. The glove with affect 67 (vnum: 71016) does not work because Ymir commented out it's plus percent from src: bool ITEM_MANAGER::GetDropPct //if (pkKiller->GetPoint(POINT_MALL_ITEMBONUS) > 0) //iDeltaPercent += iDeltaPercent * pkKiller->GetPoint(POINT_MALL_ITEMBONUS) / 100; If you uncomment this and recompile gamefile, it may work. ----- The other gloves should work because they're used in bool ITEM_MANAGER::GetDropPct in item_manager.cpp For item 72004-72006, they're increasing IDeltaPercent: UNIQUE_GROUP_DOUBLE_ITEM is defined in special_item_group.txt For item 70043 (UNIQUE_ITEM_DOUBLE_ITEM) is increasing iRandRange These 2 variable is used for the calculation for the chance in bool ITEM_MANAGER::CreateDropItem. A common misunderstanding is that thieves' gloves will drop double items. No, this is not the case, it increases (a little) the chance of the drop.
  16. Here is a tutorial so you don't have to ask such question next time:
  17. I would have to be a mind reader to be able to answer that. Compare your item_proto, think about what have you modifiy what could break 6-7.
  18. Maybe your friend went home so he's no longer in your local network? If so you have to use proxy_ip (check FAQ.txt).
  19. It's not that easy. You have to basically rewrite Metin2's codebase with a more modern environment, probably change game engine to UE. Big game developer companies doesn't do 1 map for all player either. You can still use a big map for all players and it will work, just as wanted to point out all the load will be concentrated to 1 core. You have to think about some load balancing, forcing players to use different channnels is good for balancing but players probably wont like this.
  20. If you want to play on that specific private server as your local pserver then you have to ask it's owner to send you the serverfiles (ofc. he will not do such things). Your best (and only) choice is to create a server with a public serverfile and try to reproduce / copy your desired server's stuffs. You probably can't do it either as a beginner.
  21. With 50x50 you're not exceeding any datatype limit so it should be doable. The problem is more likely the resource management, you'll have 1 core where all players will be. I'm sure it will not run fine if you will have 1000s of players because Metin2's code is obselete, and not really optimized by any mean for this kind of use.
  22. I'm not using tiff or any other extension since they're completly unused, we only need targa (.tga) which is builtin in DevIL. Probably that's why I don't need lzma
×
×
  • 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.