Jump to content

Search the Community

Showing results for tags 'c++'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Metin2 Dev
    • Announcements
  • Community
    • Member Representations
    • Off Topic
  • Miscellaneous
    • Metin2
    • Showcase
    • File Requests
    • Community Support - Questions & Answers
    • Paid Support / Searching / Recruiting
  • Metin2 Development
  • Metin2 Development
    • Basic Tutorials / Beginners
    • Guides & HowTo
    • Binaries
    • Programming & Development
    • Web Development & Scripts / Systems
    • Tools & Programs
    • Maps
    • Quests
    • 3D Models
    • 2D Graphics
    • Operating Systems
    • Miscellaneous
  • Private Servers
    • Private Servers
  • Uncategorized
    • Drafts
    • Trash
    • Archive
    • Temporary
    • Metin2 Download

Product Groups

  • Small Advertisement
  • Large Advertisement
  • Advertising

Categories

  • Third Party - Providers Directory

Categories

  • Feature Plan

Categories

  • Release Notes

Categories

  • Overview
  • Pages
    • Overview
    • File Formats
    • Network
    • Extensions

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Pillory


Marketplace


Game Server


Country


Nationality


Github


Gitlab


Discord


Skype


Website

  1. I recently came across this issue when updating some things on the party (group) system and I realized that this problem was present on all the branches of the source. Although I've seen certain topics with some solutions, they don't provide much information and, in my opinion, a good solution. So, I'll share mine with you and you can use it if you're happy with the results. The Bug When you set a role to a member as a leader, it will give the member a certain bonus according to the role, this bonus is given if the leadership skill is high. Now, if you decide to remove the members role, in theory the bonus should be removed. However, when this happens, it will only compute the battle points of the player which will make some bonuses of certain roles the same until the character computes all his points again. For example, if you set a member with the tanker role, which grants a bonus of additional health points and then remove the role from the member, the bonus will not be removed until the character computes his points again. It doesn't remove the bonus because the function by default only computes the battle points, this relates to roles like, attacker and defender. Realization So far, we realized a possible solution, which is replacing the ComputeBattlePoints with ComputePoints, well sure, and I've seen this solution on this forum in some help request topics but this comes to a major cost in performance since the role computation function CParty::ComputeRolePoint is frequently called. The Solution What we really want to do is check if the member has any bonus assigned to a role, remove the bonus and finally compute the character's points appropriately, avoiding constant updates to the ComputePoints function. If the member doesn't have any bonus given from a role, there will be no need to calculate the points.
  2. M2 Download Center Download Here ( Internal ) Hello together, today i want to share something with you for christmas. But before we start let me tell you, this system isn't in is final form! I will update this thread (if metin2dev will still exist in the new year) to complete this system. Anyways let's get startet. What kind of System is it? You can use inbuilt animations on objects (map objects) and weapons (currently not working, just if the weapon is a ground item instance! I'm working on it). Here is a preview: [Hidden Content] First you can see a placed object on the map with inbuilt animation (sorry it is really far away :O) Later you can see a weapon (thanks to @Tatsumaru) which has an inbuilt animation. But this is currently just working as ground instance and not in the player hands itself. How to implement it What is missing for now? Currently the deforming for weapons holden by the player won't work. But as i said in the first few lines, i will add it later. But for now i want to give this parts to you for christmas! (Sorry i'm currently out of time to finish it before 2019 ends... Maybe someone of you want to complet it in his on way). The attachments Animated Object: [Hidden Content] <- Thanks to KillMoves who did this sometime ago!!! (Animated Weapon: [Hidden Content] <- Thanks to Tatsumaru!!! Have fun with it, your B4RC0D3
  3. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Hi guys, I leave the system of PENDANT, It's basically like the official system, If you see something is missing, you can tell me.
  4. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Everything works fine, just add a part of "python" client, so that users change language with a button, i was lazy to do it. [Hidden Content] - The system saves one language per account. - It's capable of translating quest, client, etc. - The system takes the language from the client's mylang.cfg file and save on DB of this account in the client. The guide simply focuses on looking for DEFINE: ENABLE_MULTILANGUAGE So you can see how I placed it.
  5. M2 Download Center Download Here ( Internal ) Hello , tonight i feel good and i will share this system for free. Is one of my first systems made for my server , i know that isn't made by a pro (coding stuff i mean) but it works w/o problems. I don't force anyone to use it, if you don't like the way it is made, make yourself the one you want. You need to have Emoji Texline stuff implemented: [Hidden Content] edit: change PythonTextTail.cpp: TTextTail * pTextTail = RegisterTextTail(VirtualID, c_szChat, pCharacterInstance->GetGraphicThingInstancePtr(), pCharacterInstance->GetGraphicThingInstanceRef().GetHeight() + 10.0f, c_TextTail_Chat_Color); to: TTextTail * pTextTail = RegisterTextTail(VirtualID, strContent.c_str(), pCharacterInstance->GetGraphicThingInstancePtr(), pCharacterInstance->GetGraphicThingInstanceRef().GetHeight() + 10.0f, c_TextTail_Chat_Color);
  6. M2 Download Center Download Here ( Internal ) So, someone asked me to do this some time ago, I know some servers have already thought of this idea and have been present for some time but anyway I will share it since I haven’t seen nothing similar shared elsewhere and this has been sitting around my hard drive. Although it's something very simple, it’s a good feeling to see from the inventory the status of the dragon soul. Instead of adding the tutorial here I will link a repository to the guidelines. Git Repository [Hidden Content]
  7. Download Alternative download links → Github Someone asked me if it was possible to attach an effect to the text-tail so I will share it for free. It can be customized and adjusted to personal preference. .
  8. [Hidden Content] [Hidden Content] Reversed from 22.2.7.0 Official Binary. Client part is from 2018 Official Root.
  9. M2 Download Center Download Here ( Internal ) [Hidden Content] [Hidden Content] VT: [Hidden Content]
  10. Hello boys and girls! With this small release you will be able to check every single affects on your character. The official server implemented this with their autohunt system to check the duration of taus and other potions. I had to do the same for the dragon soul I have decided to make it. After a small trip in the official binary, I figured out my solution, here it is: How to check if the first or the second deck of the dragon soul is activated? if player.CheckAffect(chr.NEW_AFFECT_DRAGON_SOUL_DECK1, 0): print("Hurray! The first deck is active now") elif player.CheckAffect(chr.NEW_AFFECT_DRAGON_SOUL_DECK2, 0): print("Oh, gosh! The second deck is activated, be careful") else: print("Without activated dragon soul you are weak....") If you find any problem with it, just let me know. I did test it, but not that much.
  11. M2 Download Center Download Here ( Internal ) Conversation between me and vegas: [21:18:22] ####:: VegaS are you here? [21:18:31] VegaS™: Yes. [21:19:09] ####: Man, some people sell your title system what was public on tur****. [21:22:14] ####:: [Hidden Content] [21:22:22] ####:: Here is this shit what he sell. [21:28:33] ####:: Shit all resellers , dude . [21:34:50] VegaS™: There are many whores in this area, so best bet would be to post this system because some hookers make money from him unjustly. So send them harlots that vegas has big dick and that will fuck all in the ass. This system has a crappy code, you can keep the recycle bin, is the first version of shit. I apologize for what my clients who bought this system, but I'll make updates to it and will be more advanced. I can not enter metin2dev this time because my account is suspended for a short period of time, but I will return very soon, remember that. Why has reached this release online? Since titlesystem first version had over 35 buyers from title and I sold at all retarded. But now these latest systems and will not sell than some people you know for a long time and know 100% that they are not whores. Latest systems are stored for each client, I know 100% who I was because when you reach for resellers or free. And remember one thing: - I Will never sell any system or any other things for Romanian people, if someone tries to sell it or mean it's fucking scammer, and if u see Something scammer who sell my works, you can report this to me. Soon it ready new website, where there will be all new systems sales and presentations. ^^ Go on metin2dev and post system and send them the message that I told you. (sorry for my english) Download: [Hidden Content] Have fun, scammer ^^ #request close topic, so much spam xD
  12. Hello. I saw a similar question earlier on this forum, and since it's not a big task, I quickly made this snippet. It doesn't require much explanation, you can send a whisper message from a guest using a function. Let's see: I. Open the "game/src/questlua_pc.cpp" and you have to look for the following function:: int pc_set_skill_level(lua_State* L) { ... } II. and after that whole function lines add the following function lines: int pc_send_whisper(lua_State* L) { LPCHARACTER lpCH = CQuestManager::instance().GetCurrentCharacterPtr(); int iArgIndex = 1; const char * c_szSenderName = "System"; if (lua_gettop(L) > 1) { if(!lua_isstring(L, iArgIndex)) { sys_err("QUEST : wrong argument"); lua_pushboolean(L, false); return 1; } c_szSenderName = lua_tostring(L, iArgIndex); if (strlen(c_szSenderName) == 0) { sys_err("QUEST : empty argument"); lua_pushboolean(L, false); return 1; } iArgIndex++; } if (!lua_isstring(L, iArgIndex)) { sys_err("QUEST : wrong argument"); lua_pushboolean(L, false); return 1; } const char * c_szMessage = lua_tostring(L, iArgIndex); const size_t c_size = (c_szMessage) ? strlen(c_szMessage) : 0; if (c_size == 0) { sys_err("QUEST : empty argument"); lua_pushboolean(L, false); return 1; } LPDESC lpDesc; if (!(lpDesc = lpCH->GetDesc())) { lua_pushboolean(L, false); return 1; } TPacketGCWhisper lPack; lPack.bHeader = HEADER_GC_WHISPER; lPack.wSize = sizeof(TPacketGCWhisper) + c_size; lPack.bType = WHISPER_TYPE_NORMAL; strlcpy(lPack.szNameFrom, c_szSenderName, sizeof(lPack.szNameFrom)); TEMP_BUFFER lTmpBuf; lTmpBuf.write(&lPack, sizeof(lPack)); lTmpBuf.write(c_szMessage, c_size); lpDesc->Packet(lTmpBuf.read_peek(), lTmpBuf.size()); lua_pushboolean(L, true); return 1; } III. and now, look for the following line in the "RegisterPCFunctionTable" function: { "set_skill_level", pc_set_skill_level }, IV. and before that line add the following line: { "send_whisper", pc_send_whisper }, We are done now ! Important: You have to check your own whisper packet structure, because mine and yours can be different maybe. Don't forget to add this new quest function name to the quest function list file! (If you have one, that is.) - pc.send_whisper Usage example: (The default whisper target is always the current selected player by the quest system.) -- To send message by default sender name as "System": pc.send_whisper("Hi there! :)") -- To send message by a given sender name: pc.send_whisper("Biologist", "Biolog cooldown is done, you can submit next item.") -- To check the success of send: if pc.send_whisper("Hi there! :)") then -- The whisper message has been sent successfully. else -- Failed to send the whisper message. end
  13. Hi, By pressing SHIFT + RIGHT CLICK on the items eligible for sale, an interface will appear showing you how much money you will receive and how many items you have selected. The selected items will have a special icon indicating that they have been selected. More information can be found in the README. [Hidden Content] [Hidden Content]
  14. Hi guys. This is my goodbye, I had 10 years working for Metin2 but in the last days I finished my all contracts with Metin2. New year, new projects. I hope you continue to improve your codes. I give special thanks for my unic friend on Metin2 "Capone" because he was the one who showed me that true friendship exists. I know that Metin2 has nice people "Community Developers" and Big Developers: VegaS and Mali, you don't know about me, but I observed your works and is very cool. I wish you a beautiful new Year and good luck in your future projects. I leave with my last contribution "GIFT" for the community. Basic Dungeons: [C++] Nemere and Flame Dungeon like Official servers: Dungeons with Conqueror of Yohara stats: [C++] White Dragon [C++] Queen Nethis NOTE: If I forgot visuals parts, you can extract from the official client. Maybe I will have connections in the forum but just of curiosity. I love you guys, I hope you are very well with my gifts. Good bye.
  15. M2 Download Center Download Here ( Internal ) [Hidden Content] Client side is from 2018 official root. Mount transmutation 2018 didn't exist in root, I made minor edits. However, to use mount transmutation, you need to edit it according to your own mount system. I created a new slot effect so that it doesn't interfere with other systems (highlight) etc. You can use this sloteffect and the diffusecolor function elsewhere. ***Add this before adding this system:
  16. M2 Download Center Download Here ( Internal ) [Hidden Content] VIRUS TOTAL: [Hidden Content]
  17. Download Alternative download links → G-Drive Hello! I was searching for it back in the days but i never found it, so i share it with you. Gif about it:
  18. Reversed From 23.0.7.0 Client part is from 2018 Official Root Console Command; Increases camera's max distance, disables character/horse's collision [Hidden Content]
  19. [Hidden Content] [Hidden Content] The teleport_list.txt file should be the same for client and server. Get the missing ui pack files from the official packs. You must add these:
  20. [Hidden Content] [Hidden Content] You must add these: Reversed from 22.2.7.0 Official Binary. Thanks to @ Owsap You can disable the premium requirement. Edit the CanPickUpItem function according to your server.
  21. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Anyway now you can sell shop items with sockets and attrs at shopex. New price types. New sorting options Every Item can have different price type. price_type: 1:Gold 2:Second Coin 3:Item 4:EXP sort: Asc,Desc,Vnum,Price,Name,Type
  22. #Solution 1: [Hidden Content] #Solution 2: [Hidden Content]
  23. M2 Download Center Download Here ( Internal ) [Hidden Content] Video: Images: Client Side is from 2018 official root. Of course I've made minor changes for slot marking and cheque(if app. checks) You have to add slot marking too. Mysql used to retrieve data during game launch, and to backup(default 1 hour, you can change at conf.txt)
  24. [Hidden Content] [Hidden Content] You can do things like these with it: Reversed from 22.2.7.0 Official Binary. Experimental: Contains the modifications that I added that are not in the official.
  25. M2 Download Center Download Here ( Internal ) Since i always get help from vegas and others, i wanted to give back something, maybe it helps someone. Here i have a system which is shared by a friend of another board, i made it like official and fixed the bugs. Download: [Hidden Content] Virustotal: [Hidden Content]
×
×
  • 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.