Jump to content

Search the Community

Showing results for tags 'core'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Community
    • M2Dev
    • Offtopic
    • Games Talk
    • Music / Videos / Art
    • Member Representations
    • Services & Sales
  • Metin2
    • General
    • Questions and Answers
    • Frequently Asked Questions
    • Private Servers
    • Videos
  • Suggest a Tutorial / Release
    • Suggest a Tutorial / Release
    • Temporary forum
  • Releases
    • General
    • Guides & HowTo
    • Tools
    • Programming & Scripts / Systems
    • Maps
    • Quests
    • Binaries & Clients / ServerFiles
    • 3D Models
    • 2D Graphics
    • Operating Systems


There are no results to display.

There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start







Steam ID













Found 33 results

  1. hello every one i have doen core and this is debug this debug command and this is where command this is my at MarkImage.cpp:51 plz help
  2. Hi ! Today ThunderCore Society will offer you a special tool for 3d MAX Software. Note: That tool isn't for begginers and we don't offer suport for that. We hereby inform you that we take the copyrights file and his contents because ThunderCore Society has paid to perform this work. There exists an "readme" file that contains some informations about how to install the script. Attention: These files are under copyright and licensed by ThunderCore Society. Any violation of the license may result in suing. Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. NonCommercial — You may not use the material for commercial purposes. NoDerivatives — If you transform, or build upon the material, you may not distribute the modified material. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. THC_MDE_TOOL.zip Link Update.
  3. Greetings, I need help in this problem so small that at the same time it gets bigger. I installed some @martysama0134 base files called Metin2Rage The database is perfect but when I start the game I receive a 3gb game.core file and I have read the file with the dgb "debug mode "and this appears to me. I hope you can help me. thanks. PD: I would be totally grateful to martysama if you answer my question.
  4. M2 Download Center Download ( Latest Version ) Greetings! The new beta is finished! I'm proud to present r71480. This time a few things have changed. And in this revision, we have a lot of new stuff. In the following I'll provide the download link along with the things I'd love you to test. *** DISCLAIMER *** The core is marked as stable. Anyway, I'll make it clear that I'm not responsible if you use this core since I can't give a warranty that I fixed every single security breach that potentially could happen - that's totally impossible. But we all together made the source great and secure so every public issue is fixed by now. You can use it in production environments now. So... What's new? boot-trigger for quests With this you can execute commands, timers, and all the stuff you'd like to have just on boot-time! revisioning of the 'unique class' (+ a ton of posibilities) added the functionality to create unique-groups temp-Variables for quests upgraded all libs moved completely to the newest clang version fixed some big security issues in the source code fixed the ingame ban and unban commands unified tables and gave them a new way: unify! file clean-up revisioned the makefiles gave the source a new, easier structure removed all external dependencies just install them by ports.. No external-folder necessary! removed 'boost' dependency (no boost lib needed yay) partial implementation of the wolfman (claws etc. are added, needs review) And basically everything that has been offered in the earlier versions of the vanilla core. Nothing should be missing. And if you miss something, just feel free to tell me! What needs testing? There are few things I'd love you to test out: Please check if the core is vulnerable to any security breaches you may know (also the public ones, don't know if I missed something) Please test out the new features! I'd really love to know if the new unique-functions and the boot-trigger does the job. Explanation to new features: Unique with container support Unique has evolved! This time you have a few new possibilities. Don't know what unique is? Here's a short explanation: With the unique-questfunctions you can spawn or set mobs, npcs and now even players to have a unique name. This name is stored into a unique-container. You can access this container and get all the vid's by their unique name (also called: the key) So for example you can spawn a boss with a key. Later on you can check if this specific mob has been killed or not. Or you can set his hp on-the-fly. There's basically no limits! And now with the revised system you'll have even more options. The new unique system works with containers. By default there are two containers reserved: __DEFAULT__ and __CHARACTER__. The first one is for all the basic stuff. And the second one is reserved for players. Now, as you may have noticed, there's a default one which means that the container-stuff is optional. If you just use the unique functions without specifying a container, it'll just use the default stuff. But you CAN use your own containers just as you want to. You can create, delete and list all the containers running. There is a list with all the quest-functions down below. boot-trigger This is pretty self-explanatory. With this release you can use "when boot begin" to specify a block of code that will be executed once the core has been booted. temp-variables With the new temp-variables you can set and remove player-specific variables. They are stored in the core and not written to disk or database. So be careful because they might get dropped once the core shutdowns. It's just a quick storage for people who want to have something like a cache for quick access. new quest functions nil unique.spawn_unique(string key, int vnum, string pos=unused, string container=optional) nil unique.set_unique(string key, int vid, string container=optional) nil unique.purge_unique(string key, string container=optional) nil unique.kill_unique(string key, string container=optional) bool unique.is_unique_dead(string key, string container=optional) int unique.get_hp_perc(string key, string container=optional) nil unique.set_def_grade(string key, int def, string container=optional) nil unique.set_hp(string key, int hp, string container=optional) nil unique.set_max_hp(string key, int maxhp, string container=optional) int unique.get_vid(string key, string container=optional) bool unique.exists(string key, string container=optional) table unique.get_container_list() this prints out all the unique containers table unique.get_container_list(string key) this prints out all the vids in the unique-container "key" nil unique.remove_container(string key) removes a whole container (flushes it when called on standard containers) nil pc.temp_var_set(string key, string value) string pc.temp_var_get(string key) nil pc.temp_var_delete(string key) Thanks a lot for participating! If there are any questions, this is the topic related to it. Further releases will be made public here too! If you'd like to contribute, just post code additions here. Changelog older changelogs Download Useful information: All necessary libs are included. If you're building your own vanilla binary you'll first have to move into every project of the Internal directory and rebuild the libs. The main makefile is not adapted yet, I was too lazy (ps: Still too lazy!) rev 71480 see this post: rev 70220 STABLE Core Sourcecode M2D Storage Password for the archive is: vanilla Password for older source archives: vanillamt2 Best Regards Vanilla
  5. Hello community, I don't know if this is the right section for this. I don't even know what's real anymore... I've been spending sleepless nights over the compiler trying to make it work... Let's start from the beginning. I downloaded Vanilla core r70140 from the only available link I found online. The core was pretty bad-shaped. I fixed everything, I upgraded the compiler to C++17. Few things left to make it to first successful compile, but I don't have the knowledge to do it alone. I realise it now, so I'm asking for the community's help. If I manage to compile it successfully, I promise to test it, fix everything needs fixing and when I'm done, edit this topic with a download link that won't go down and a tutorial for the non-familliars on how to install it and compile it. The source has no need for Extern folder and is using the latest libs released (including MariaDB) making it the most lightweight and powerfull core I've seen public. Optimized for security and performance by Vanilla, it's the perfect kick start for a powerful development enviroment or the rise of a new server. The use is up to you. I've fixed most of it I believe but the real struggle is now at guild.cpp (function void CGuild::AddComment(LPCHARACTER ch, const std::string& str) DBManager::instance().FuncAfterQuery([this](auto&& data) { return this->RefreshCommentForce(data); }, ch->GetPlayerID(), "INSERT INTO guild_comment%s(guild_id, name, notice, content, time) VALUES(%u, '%s', %d, '%s', NOW())", get_table_postfix(), m_data.guild_id, ch->GetName(), (str[0] == '!') ? 1 : 0, text); I've changed this line due to deprecation of function bind and mem_fn. I changed 'em all to lambdas but it doesn't matter because there is always an error. I also removed the use of void_bind (from file any_functions.h). Here the error is: guild.cpp:1023:24: error: no matching member function for call to 'FuncAfterQuery' DBManager::instance().FuncAfterQuery([this](auto&& data) { retur... ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./db.h:157:42: note: candidate function template not viable: no known conversion from 'DWORD' (aka 'unsigned int') to 'const char *' for 2nd argument template <class Functor> void DBManager::FuncAfterQuery(Functor f, cons... ^ 1 error generated. I cannot find a proper way to convert ch->GetPlayerID() into a const char*. I've tried c_str(), std::to_string(), boost::lexical_cast<string>, etc... Non of them worked without an error. That was supposed to be the job of void_bind, but this method has more errors than this. Btw if I'm doing something the wrong way here you guys are the experts so please tell me. I believe after this the core will be ready for testing and therefor uploading. Thank you community for helping me release a better core for everyone and thank you for helping me continue the work of Vanilla, who gave us so much over the years. Oh I almost forgot. In the upload there will be credits of all people who helped (little or much) as an extra thank you for the contribution. Let's do it community. Best regards
  6. WebSite: http://devilcore.eu Board: http://board.devilcore.eu Register: http://devilcore.eu/users/register Download: http://devilcore.eu/download I will let the pictures to speak.
  7. Hi, recently released a new version of llvm (6) and I decided to update the source of vanilla 70220. (NOT TESTED) Download Cryptopp 5.6.5 Boost 1.65.1 Minilzo 2.09 MariaDB 101 DevIL 1.8.7 To install, you will need several packages. pkg install gmake pkg install subversion pkg install clang-devel Compiled on freebsd 11.1 i386 Best regard
  8. Hi. Someone know ho to fix it ? bt bt full CNewPetSystem::Destroy (this=0x313dc380) at New_PetSystem.cpp:2549 2549: event_cancel(&m_pkNewPetSystemUpdateEvent); in void CNewPetSystem::Destroy() { for (TNewPetActorMap::iterator iter = m_petActorMap.begin(); iter != m_petActorMap.end(); ++iter) { CNewPetActor* petActor = iter->second; if (0 != petActor) { delete petActor; } } if (m_pkNewPetSystemUpdateEvent) event_cancel(&m_pkNewPetSystemUpdateEvent); if (m_pkNewPetSystemExpireEvent) event_cancel(&m_pkNewPetSystemExpireEvent); m_petActorMap.clear(); } event.cpp 218: ++(p->ref_count); void intrusive_ptr_add_ref(EVENT* p) { if (p) ++(p->ref_count); }
  9. What is the cause of this error what do you know
  10. Hey guys, I have recently changed item and mob proto database to be matching with the one in client, but when I boot the server, loop starts and nothing happens.
  11. Hi. another is there anyone who can help me?
  12. Hello, I have a little problem while running the game, can anyone help me? This is what've got: singleton.h script file:
  13. Hello, i have problem recently with compiling the quest file. Please if u can help me a bit, let me know your suggestions.
  14. Hi. #0 0x2884161b in sbrk () from /usr/lib32/libc.so.7 #1 0x28c0021c in ?? () #2 0x289238b8 in malloc_message () from /usr/lib32/libc.so.7 #3 0x289238f0 in malloc_message () from /usr/lib32/libc.so.7 #4 0x08670e10 in optind@@FBSD_1.0 () #5 0x000000b8 in ?? () #6 0x2882a070 in syscall () from /usr/lib32/libc.so.7 #7 0x28c000c0 in ?? () #8 0x290d504c in ?? () #9 0x00000002 in ?? () #10 0x00000000 in ?? () Why does this happen ?
  15. hi. i have a problem I can not find the cause of the error (gdb) bt #0 DESC::Packet (this=0xb, c_pvData=0x290ef000, iSize=60) at desc.cpp:436 #1 0x0806f5f9 in COfflineShop::Broadcast (this=0x2a2429c0, data=0x290ef000, bytes=60) at offline_shop.cpp:982 #2 0x08070288 in COfflineShop::BroadcastUpdateItem (this=0x2a2429c0, bPos=11 '\v', dwPID=73286, bDestroy=true) at offline_shop.cpp:865 #3 0x08071a2a in COfflineShop::Buy (this=0x2a2429c0, ch=0x4eb01000, bPos=<value optimized out>) at offline_shop.cpp:701 #4 0x0806c80a in COfflineShopManager::Buy (this=0xffffaed8, ch=0x4eb01000, pos=11 '\v') at offlineshop_manager.cpp:585 #5 0x0815ec61 in CInputMain::OfflineShop (this=0x465a6d1c, ch=0x4eb01000, data=0x58f0f000 "8\001\001\vR\236\016", uiBytes=3) at input_main.cpp:1513 #6 0x08164cc1 in CInputMain::Analyze (this=0x465a6d1c, d=0x465a6c80, bHeader=<value optimized out>, c_pData=0x58f0f000 "8\001\001\vR\236\016") at input_main.cpp:3780 #7 0x0815077b in CInputProcessor::Process (this=0x465a6d1c, lpDesc=0x465a6c80, c_pvOrig=0x58f0f000, iBytes=5, r_iBytesProceed=@0xffffa774) at input.cpp:99 #8 0x08118993 in DESC::ProcessInput (this=0x465a6c80) at desc.cpp:314 #9 0x082728e4 in io_loop (fdw=0x291347a0) at main.cpp:930 #10 0x082732c0 in idle () at main.cpp:812 #11 0x082747f7 in main (argc=1, argv=0xffffde50) at main.cpp:476 (gdb) bt full #0 DESC::Packet (this=0xb, c_pvData=0x290ef000, iSize=60) at desc.cpp:436 No locals. #1 0x0806f5f9 in COfflineShop::Broadcast (this=0x2a2429c0, data=0x290ef000, bytes=60) at offline_shop.cpp:982 it = {<std::tr1::__detail::_Hashtable_iterator_base<std::pair<CHARACTER* const, bool>,false>> = {_M_cur_node = 0x38bbc170, _M_cur_bucket = 0x436a73c4}, <No data fields>} #2 0x08070288 in COfflineShop::BroadcastUpdateItem (this=0x2a2429c0, bPos=11 '\v', dwPID=73286, bDestroy=true) at offline_shop.cpp:865 pack = {header = 47 '/', size = 60, subheader = 2 '\002'} pack2 = {pos = 11 '\v', item = {vnum = 0, price = 0, count = 0 '\0', display_pos = 0 '\0', alSockets = {0, 0, 0, 0}, aAttr = {{bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 0}, { bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 0}, { bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 0}, { bType = 0 '\0', sValue = 0}}}} buf = {buf = 0x291a59c0, forceDelete = false} #3 0x08071a2a in COfflineShop::Buy (this=0x2a2429c0, ch=0x4eb01000, bPos=<value optimized out>) at offline_shop.cpp:701 tch = 0x4a6db000 saticiadi = "Nick\0008?▒U<?▒UO8\212(\v\000\000\000\231}7A" szQuery = "SELECT pos,count,vnum,price,socket0,socket1,socket2,socket3,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtyp---Type <return> to continue, or q <return> to quit--- e3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,att"... pMsg = {_M_ptr = 0x53d31b80} row = <value optimized out> dwPrice = 14000000 dwItemVnum = 50300 bCount = 14 '\016' alSockets = {1, 0, 0, 0} aAttr = {{bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 0}, { bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 0}, { bType = 0 '\0', sValue = 0}, {bType = 0 '\0', sValue = 0}, { bType = 0 '\0', sValue = 0}} itemvnum = 0 ofbnk = "SELECT yang FROM player.offlinebanka WHERE id=73286\000\000\001\000\000\000\000\000\002\000\005\000\000\000▒,D\b\001\000\000\000\001\000\000\000\002\000\000\000P\232▒▒\001\000\000\000\200▒$Xh\001\000\000\200▒$X\005\000\000\000\021\000\000\000▒\232▒▒▒\213\021\b▒G\023)Z\000\000\000\200▒$X\002\000\000\000\001\000\000\000▒\232▒▒3\233▒▒\\>>\b\002\000\000\000\000\001"... llYang = 14000000 input_main.cpp 3780 case HEADER_CG_OFFLINE_SHOP: if ((iExtraLen = OfflineShop(ch, c_pData, m_iBufferLeft)) < 0) return -1; break; 1503 TPacketCGShop * p = (TPacketCGShop *) data; if (uiBytes < sizeof(TPacketCGShop)) return -1; if (test_server) sys_log(0, "CInputMain::OfflineShop ==> SubHeader %d", p->subheader); const char * c_pData = data + sizeof(TPacketCGShop); uiBytes -= sizeof(TPacketCGShop); switch (p->subheader) { case SHOP_SUBHEADER_CG_END: sys_log(1, "INPUT: %s OFFLINE_SHOP: END", ch->GetName()); COfflineShopManager::instance().StopShopping(ch); return 0; case SHOP_SUBHEADER_CG_BUY: { if (uiBytes < sizeof(BYTE) + sizeof(BYTE)) return -1; BYTE bPos = *(c_pData + 1); sys_log(1, "INPUT: %s OFFLINE_SHOP: BUY %d", ch->GetName(), bPos); COfflineShopManager::instance().Buy(ch, bPos); return (sizeof(BYTE) + sizeof(BYTE)); } offlineshop_manager.cpp:585 int ret = pkOfflineShop->Buy(ch, pos); offline_shop.cpp:701 BroadcastUpdateItem(bPos, pid, true); offline_shop.cpp:865 void COfflineShop::BroadcastUpdateItem(BYTE bPos, DWORD dwPID, bool bDestroy) { TPacketGCShop pack; TPacketGCShopUpdateItem pack2; TEMP_BUFFER buf; pack.header = HEADER_GC_OFFLINE_SHOP; pack.subheader = SHOP_SUBHEADER_GC_UPDATE_ITEM; pack.size = sizeof(pack) + sizeof(pack2); pack2.pos = bPos; if (bDestroy) { pack2.item.vnum = 0; pack2.item.count = 0; pack2.item.price = 0; memset(pack2.item.alSockets, 0, sizeof(pack2.item.alSockets)); memset(pack2.item.aAttr, 0, sizeof(pack2.item.aAttr)); } else { char szQuery[1024]; snprintf(szQuery, sizeof(szQuery), "SELECT pos,count,vnum,price,socket0,socket1,socket2,socket3,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 FROM offline_shop_item%s WHERE owner_id = %u and pos = %d", get_table_postfix(), dwPID, bPos); std::auto_ptr<SQLMsg> pMsg(DBManager::Instance().DirectQuery(szQuery)); MYSQL_ROW row; while (NULL != (row = mysql_fetch_row(pMsg->Get()->pSQLResult))) { str_to_number(pack2.item.count, row[1]); str_to_number(pack2.item.vnum, row[2]); str_to_number(pack2.item.price, row[3]); for (int i = 0, n = 4; i < ITEM_SOCKET_MAX_NUM; ++i, n++) str_to_number(pack2.item.alSockets, row[n]); for (int i = 0, iStartAttributeType = 8, iStartAttributeValue = 9; i < ITEM_ATTRIBUTE_MAX_NUM; ++i, iStartAttributeType += 2, iStartAttributeValue += 2) { str_to_number(pack2.item.aAttr.bType, row[iStartAttributeType]); str_to_number(pack2.item.aAttr.sValue, row[iStartAttributeValue]); } } } buf.write(&pack, sizeof(pack)); buf.write(&pack2, sizeof(pack2)); Broadcast(buf.read_peek(), buf.size()); } at offline_shop.cpp:982 void COfflineShop::Broadcast(const void * data, int bytes) { for (GuestMapType::iterator it = m_map_guest.begin(); it != m_map_guest.end(); ++it) { LPCHARACTER ch = it->first; if (ch != NULL && ch->GetDesc()) { ch->GetDesc()->Packet(data, bytes); } } }
  16. Hi dev, i have a crash core problem and is crash every day. and bt: my char.h:555 how to i fix ?its a big problem for me.my item_manager cpp : https://mega.nz/#!5RxUgSSb!Usa95XljDFZy_817G0JU6ZyGz8tG1rdM1tgCzLbJ0vU bt full: thanks for advance
  17. Hello , I have db.core problem is old and pay 150 - 200 € for resolve. https://gyazo.com/aea20ca1f97d20a6f2c4446f20e0f9c2
  18. Hello, I recently opened a server after some time of inactivity , I started working on 40k , source .. Everything ok until I started taking crash . We analyzed game.core with gdb , none of game only some trouble with the lib 's. I analyzed syslog , I noticed something strange give_exp , I rebuilt quest and put some time when you can buy exp . Now morning I wake up again game.core I took every exploit in a row , I have solved . In db , syseror from time to time occur: peer null ident event We have not found any resolution , I thought I could somehow stop source of this error , but we did not find . Before the crash taken , processes up to 100 % . Look . - » Http://prntscr.com/b7bbs9 If anyone can help me , and I get to pay. Sorry for my bad english .
  19. Hi, I haven't found any tutorial about how to replace game.core file. The problem is that I have downloaded files with my language pack but I am afraid that the game file contains a backdoor. I wanted to replace the game core with the one from this topic https://metin2dev.org/board/index.php?/topic/2309-metin2-server-file-all-the-ver/ but after all, my server didn't want to start. The game process isn't in the ps list. So my question is simple - what should I do to replace the core? I would also be grateful if somebody could give me some tips or link to tutorial how in general protect server from attackers? I'm quite fresh in this area but I'm trying to learn everything from scratch. If someone could give me some tips or references it would be great. And one more thing. Is there any way (except file name) to check which core my server is running? Thanks in advice
  20. hi i have my channel 1 core is crash this problem when end core syserr in db SYSERR: Mar 10 14:59:39 :: pid_init: Start of pid: 3103 SYSERR: Mar 10 15:20:19 :: Process: FDWATCH: peer null in event: ident 21 SYSERR: Mar 10 15:20:21 :: Process: FDWATCH: peer null in event: ident 22 SYSERR: Mar 10 15:20:22 :: Process: FDWATCH: peer null in event: ident 20 SYSERR: Mar 10 15:20:24 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down. SYSERR: Mar 10 15:20:24 :: pid_deinit: End of pid
  21. Topic closed #FIX ERROR
  23. Hello, when I'm debugging the .core file with gdb i get the following messages, what do they mean? http://epvpimg.com/2ENxf
  • 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.