Jump to content
metin2dev
Ekstasia2

Search the Community

Showing results for tags 'metin2dev'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


ICQ


Yahoo


Skype


Location

Found 43 results

  1. A guy asked me to do this to them, so I said to share with you. I think this is good for pvm server. Download link: https://mega.nz/#!vBBH0DAD!CZv428j9aSGfanzhd0JYlhavEjqLVprFGqR0EvF7LvI
  2. Raylee

    HAPPY SUMMER <3

    Hey Metin2dev-Community! WE WISH EVERYONE A HAPPY SUMMER! Enjoy the summer or your Summer Holidays!! We want to say thank you too, for your activity on our board. Lovely greetingsMETIN2DEV-TEAM
  3. Hello, To extend NPC Shop to 80 Items follow these steps. ServerSide Open "common/length.h" and search: SHOP_HOST_ITEM_MAX_NUM = 40 Replace with: SHOP_HOST_ITEM_MAX_NUM = 80 In the same file search: SHOP_PRICELIST_MAX_NUM = 40 Replace with: SHOP_PRICELIST_MAX_NUM = 80 Now open "game/shop.cpp" and search: m_pGrid = M2_NEW CGrid(5, 9) Replace with: m_pGrid = M2_NEW CGrid(10, 9) Now open "game/shop_manager.cpp" and search: CGrid grid = CGrid(5, 9) Replace with: CGrid grid = CGrid(10, 9) Now compile Db File & Game File and ServerSide's steps complete. ClientSide NOTE: If you want Only NPC Shop's with 80 Items follow this guide, else if you want NPC Shop & Private Shop follow the Update Istruction. Extract "pack/uiscript" from your Client and open "shopdialog.py". Now reaplace all content with: Shopdialog.py ~ 80 Items Now create "shopdialog2.py" and insert this content: ShopDialog2 ~ 80 Items for Shop Ok, at this point you can compress your UiScript with the new file "shopdialog2.py". Extract "pack/root" from your Client and open "interfacemodule.py" Search this: self.dlgShop = uiShop.ShopDialog() self.dlgShop.LoadDialog() self.dlgShop.Hide() After add: self.dlgShop2 = uiShop.ShopDialog2() self.dlgShop2.LoadDialog() self.dlgShop2.Hide() Same file, search this: def OpenShopDialog(self, vid): self.wndInventory.Show() self.wndInventory.SetTop() self.dlgShop.Open(vid) self.dlgShop.SetTop() After add: def OpenShopDialog2(self, vid): self.wndInventory.Show() self.wndInventory.SetTop() self.dlgShop2.Open(vid) self.dlgShop2.SetTop() Now open "game.py" and Search: def StartShop(self, vid): self.interface.OpenShopDialog(vid) Replace with: def StartShop(self, vid): if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) Now open "uishop.py" and Search: def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.tooltipItem.HideToolTip() self.Hide() Replace with: def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.Hide() Same file, search: def OnUpdate(self): USE_SHOP_LIMIT_RANGE = 1000 (x, y, z) = player.GetMainCharacterPosition() if abs(x - self.xShopStart) > USE_SHOP_LIMIT_RANGE or abs(y - self.yShopStart) > USE_SHOP_LIMIT_RANGE: self.Close() After add: UiShop.py ~ ShopDialog2 Now you can compress "root" file. #Update [24-02-15] Fixed Client Bug. Changes in "shop_manager.cpp" added. #Update [26-02-15] Added PrivateShop with 80 Items. NPC & PrivateShop with 80 Items ClientSide: Open "UserInterface/Packet.h" in you Binary Client Source and Search: SHOP_HOST_ITEM_MAX_NUM = 40 Replace with: SHOP_HOST_ITEM_MAX_NUM = 80 Now you can compile your Binary Source. Open your Client File and extract "pack/uiscript". Open "shopdialog.py" and replace all contentwith: Shopdialog.py ~ 80 Items Now open "privateshopbuilder.py" and replace all content with: PrivateShopBuilder ~ 80 Items Now you can compress your UiScript. Screen Private Shop: Et Voilà, we ended. Good work, Bye.
  4. The Bank has the following facilities: Create a account Login on account Add money Withdraw money Send money Change password 1.) Create account: Length of characters allowed for the account name is 12 characters (as with login). Characters allowed for password length is 4 characters. You can generate a random password automatically in case you have not a good idea for a password, for security on your account we advise you to generate a random password, but take great care not to forget your password, so you have to contact the server team. You can not create an account already exists with that name. You can not enter special symbols in the same account name and password. Account name and password accept any type of data, such as numbers and 2.) Login on account : Timeout for logging into your account is a timer for 3 sec. The password will be secret in the edit window. During logging can detect the following: Connection success Connection Failed: The account name is wrong. Connection Failed: The password is wrong. 3.) Add money : You can not enter a smaller amount as in 1. You can not enter an amount less than or greater than that of the inventory. You can enter up to 10 numbers. (Ex: 1999999999) can change. 4.) Withdraw money: You can not enter a smaller amount as in 1. You can not enter an amount less than or greater than that of the bank. You can not withdraw an amount from the bank that exceeds the maximum limit of the server, for example if you have in inventory 1.3kkk, you can withdraw from the bank only 300kk, because GOLD_MAX = 2kkk. You can enter up to 10 numbers. (Ex: 1999999999) can change. 5.) Send money: You can not send money to an account that does not exist in the database. You can not send a smaller amount as 1. You can not send a larger amount of deposit that the banks. To transfer money from one account to another you need the account name asks that person to do that. An example conversation: A: Hello, i am your brother, send me 444 Yang please. B: Ok bro, give me your name account from bank for can do this. A: Here is my account name from bank: girl123 B: Done, already i send you 444 Yang, please check your account and you will see in logs. My name account is vegas123, check and you will see, good luck my brother. PHOTO FROM ACCOUNT GIRL123 6.) Change password: The new password must have a maximum of 4 characters. New password must be the same as repeating the password field of safety. You can not put the same password as current. Example: Old Password: psw8 New Password: psw8 It is not allowed entry same as the old password. Other informations: For every action that you take in your bank account logs exist, such as: Time action was taken. The time when the action was taken. The action that was taken. Ip from who make action. To / From is when you received, or sending money to another bank account. Amount sent or received. For every action there is a set time to run once the action 10 seconds, which means you can not withdraw / etc add money to your account within 10 seconds, you have to wait for each action separately this time. There can be no bug in the bank. You can not connect to another account if you do not account name and its password. You can not enter characters that go nowhere to exploit. You can enter the account name and truncate or drop etc. Logs are displayed depending on the new date, which means that the latest logs will always be displayed first. When you receive money from another person (another account) ip it will be removed. (Why this? Because we do not want players to have the chance to learn real ip a player, you can see only ip for your action.) Every action has a special type with a separate color. Everything is in real time. Causes no problems in server functions that communicate with the database are not very well optimized that will allow you to do any exploits or a flood that overloads the database. Date and time are taken in real time server, you must have time to FreeBSD updated in real time, it can test the console ssh “data”. How to change date and Timezone The maximum limit for logs is 1,000 logs which are set to 40 pages. Everything communicate with packet and everything is written in c ++. It is compatible with any version of the source. #
  5. .PolluX

    Team changes

    Hello Developers, we will inform you about every change in our Team in here. Also we're listing all active team members so you don't get confused. Administration @DevChuckNorris @.PolluX Moderation @Raylee Explanation acquisition - New team member - Welcome! leaving - one less - We wish you all the best!
  6. Hi, Metin2Dev greetings from Turkey ---- The under construction project not yet completed Model design and coding continues. will be published soon. Place to publish: Amazon and ODStudio =>Link Click (Direct link(APK)) ---- VIDEO v1.0 Features We set the appropriate randomly changing sound effects according to the characters. (Each character has its own sound effects.) We made Facebook connections. If you are in facebook login in the application you will be able to use ranking system and derivative features. We made a high score ranking system between Online Global and your friends. In total there are 6 characters. (Warrior (Male / Female), Ninja (Male / Female), Sura (Male / Female) Each character is included in the project from Level 1 Armor to Beta armor. (A total of 78 pieces (including main character) armor.) Every character's own hair styles are included in the project. We built the wheel system. (After watching the award-winning video ad, you will come to the opposite wheel menu.) When you turn the song, it will be given to you if you stop it. We made an automatic saving system. If your device shuts down suddenly on this screen, the system will record your automatic game play even if the application is unresponsive in the event that your charge is exhausted. If you logged in with facebook during game like Subway Surfers game, you will get profile picture on the score. Detailed Settings menu; You can log out of Facebook, adjust the volume levels, change the graphics level of the game. The Haven Dungeon map is included in the project. (Not yet fully ready but in use.) ---- Future Features with v2.0 Shaman (Male / Female) and Lycan characters are preparing. All armor and hair styles of the Shaman (Male / Female) and Lycan characters will be included in the project. The obstacle in the map will be changed to match the Metin2. The Yang Elmas translation system will be added. If you hit the obstacle with your character, a new system will be developed to improve the Game Over window will be added diamonds to continue to be added. (You can only go 1 time from where you are staying.) ---- v2.0 Final Information After finishing the items listed in v2 above, we will switch to larger systems. These systems will be completely online and a Mortal Combat-like war system will be introduced. You will strengthen your character with items you collect while you are running, and you will duel like 1 vs 1. my english is not so good apologize.
  7. Hello world last night at around 5 am bored me and I created a short teleport order in minutes. What is this order? - Order can be used for teleporting a player. - By accessing the / teleport <number> you have to choose one of the numbers that are in the map settings. - Each map has a configuration proposed for the minimum and maximum level. - You can teleport a map if you do not have the required minimum. - You can teleport a map if you level higher than the configuration map. - List of papers default starts from 1 to 13. - You can not enter a number less than 1. - You can not enter a number greater than 13. - You can not enter characters than numbers. - When you tried to use the command without arguments will show the list as the number of error information, as well as where you enter a character or use / teleport show_list. You can add as many maps you want. - Everything is configurable. - Must have knowledge of C++ 0.1% to add more maps. Download: https://mega.nz/#!nQojDDrJ!azzGGoQYILIcJ2deDLuvMFW2HoyQBuxYdv1ikysDVyk
  8. xRooT

    [C++] Swap Item

    Hello Excuse me, I do not like introductions Go to: game/src/char.h ------------------------------------------------------------------------------- Go to : game/src/char_item.cpp ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Note: char_item.cpp > Search: Edit the number of pages inventory
  9. Download link: https://mega.nz/#!WAhHnTZI!QGSlaffKqQfI_Uf3Iqt_qblJlnBdCJyobTphonWbNzg
  10. .PolluX

    Rules

    Hello Developers, because we want to be the best possible experience we have to setup some rules. Please re-read the rules - we've made some changes! Rules §1 Language (1.1) Language The language in this board is english. If you want to post something in your own language always add an english translation. The only exception for this rule is this section: Private Servers (1.2) Behaviour Don't flame at other users. We want this board to be the best possible experience. You maybe want help and everybody started with no or little knowledge. So help and don't flame! Also we don't want to see any racism or sexism. (1.3) Spamming Do not spam in this board. Posting a topic or a question once is enough. If you don't get an answer maybe your question needs more description. Or nobody is able to help you there. Double post aswell as double threads will be punished with an infraction. §2 Topics (2.1) Titles For titles there are the same rules as §1. (2.2) Bumping Allowed bumping times: Services area - 24 hours Q&A - 48 hours Any other bumping will result in an infraction! (2.3) Close/Move/Rename request To make a close/move or rename request please report the topic with the thing you want us to do. Rename request are only allowed by the thread owners (2.4) Content Don't post stuff other made and/or sell stuff others made. No Links to other boards with the same sense as metin2dev allowed. (This include file names and image content also!) No posting (whether to sell or give away for free) anything that involves cheating or stealing from people's clients or servers. It's not allowed to give your/our own skypes in public topics/posts nor signatures, only via pm. The only exception is for people that are trying to sell their services. (2.5) Questions & Answers specific rules Don't modify your thread (or reply to it) to mark it solved, and not explain the solution to the issue. Update: Please use our tag system and vote good/bad answers so everyone can clearly see what matters! (2.6) Services section specific rules You are not allowed to post more than one thread per section inside the services section (which are max. 4). Please post anything you want to sell in the correct section and just edit your posts. Please also mark your offer via tags inside your thread title and with the tag function of this board so possible customers can find what they're searching. Additionally to this you are not allowed to post any thread (and/or offer any content on m2dev) until you've reached 50 posts. Update: If you're registered for at least 1 year you're free to create a service thread without having those 50 posts. Update: Please do not spam senseless posts to reach the required post count or you will be banned! (2.7) Tech section specific rules You are not allowed to post your services or releases in here. We have a release/service section for this. You're free to start any discussion or ask general questions connected to the sections name. Anything which especially is connected to metin2 (questions) goes into Q&A. §3 Account (3.1) Names Names have the same rule as §1.2 (3.2) Multi-Account You are not allowed to create more than one Account. Also if you got a temporary ban. (3.3) VIP You are not able to become a VIP for now. Please don't ask us about this. If this changes we will inform you just in time. §4 Others (4.1) Contacting Team Members Contacting moderators and/or administrators personal (e.g via skype) for anything related to this board (questions, reports, etc) can be punished with an infraction. For reporting we have a report button in every post and for discussion about actions taken contact an administrator via a private message about the problem. Also don't contact any team member because your report wasn't solved in a specific time. We will do our best to solve it as fast as possible so there is no need to spam reports or write a pm within 24 hours the report got submit. (4.2) Scamming Scamming is a bad thing. If you do so on this board you will be banned permanently. Please keep in mind that you are not allowed to report a scam without trustworthy proofs. Sanctions We have some predefined sanctions and the possibility to create a custom one. Every action which is taken by us will have its correctness. But if you think your case was handled in a wrong way you have the possibility to contact an admin via pm. And because we have these predefined sanctions with infraction points i want to inform you about the actions taken by our system. < 3 points - no penalty >= 3 Points - suspended from accessing the site for 5 days >= 5 Points - suspended from accessing the site for 7 days >= 7 Points - suspended from accessing the site for 10 days >= 10 Points - suspended from accessing the site for 14 days 12 Points - suspended from accessing the site indefinitly Please note, that you are not allowed to create any other account while you are temporarily banned (as described in §3.2). If you are banned indefinitely you may create one more account (as a second chance) - but not more. Sincerly, .PolluX and the metin2dev team
  11. .PolluX

    We want you!

    metin2dev.org is searching for new moderators! Requirements no warnings received yet (or latest older than 1 year) good english (not perfect but on a high level) Skype (for better communication with other team members) enough time to check all sections (~1h daylie) 18 years or older no bad reputation not a member of any other team What do we expect in your application (information)? Who are you? experience as a moderator strengths and weaknesses Why should we choose you? contact information Please send your written applications as a private message to @DevChuckNorris or @.PolluX until 6th November 2016.
  12. VegaS

    [Metin2Dev] Signature Contest!

    This is a user contest and is not related in any form to metin2dev. Hello everybody and especially our artists, What you need to do in order to win is to create a signature for metin2dev. Deadline: 01.12.2016 (Need to be 15+ participants) Sizes of signatures: 450x200 or 600x300 (horizontal signature). PS: Need to contain the name of forums, logo or other text about (Metin2Dev). Prizes will be awarded from me via paypal. Theme: Winter: must be metin2 related and something about forums. No specific render to use: you can choose it freely! If you are really the best, i won't let you without being awarded. the prizes are: 1st place: 35E 2nd place: 20E 3rd place: 10E Rules: You can enter only 1 signature into this contest. Once you have entered a signature, you may not change your entry. The signature must fit the theme chosen. The signature cannot be pre-made. Ripping of any kind is strictly forbidden and will automatically remove you from the contest. Use an anonymous uploader such as Imgur or Tinypic. You can use every kind of editing program such as: Gimp, Photoshop, Paint etc A screenshot of the .psd of the signature must be posted too, so that we can see all the different layers of your work. This should represent the metin2dev board (no official), signature will be worn by many users even on other forums for a more intensive advertising, and for the intended uses of each user if desired. For people who appreciate the idea, and would not attend are asked to provide a post like this to know the number of like for this activity. Good luck, and sorry for my english ^^ PS: Prize is not very big, but it matters intent xD Copyrights about idea and some texts from topic: WoM2
  13. For people who want in C++: For people who want in Lua:
  14. Video with bug: Here is a gif with my fix: Link download: https://mega.nz/#!KBR2FKpZ!M4cHHz7bcX-J6PWWcP8fyto7MS3m5Upk7tKQSwZMriY
  15. Hello.I have a big problem,when i read a book i receive experience.I have level 20 but after reading a book i receive experience and i rise untill level 85.Who know to fix? I will pay for fix! Best regards,
  16. Here is a small playground for owners of servers . xD I made a small improvements statics for players via command. //@svn/Server/common/service.h #define ENABLE_ONLINE_COMMAND #define ENABLE_COUNTER_FAKE //@ DISABLE IF YOU NOT WANT TO HAVE FAKE PLAYER ON COMMAND //@svn/Server/game/src/cmd.cpp //1.) Search: { "messenger_auth", do_messenger_auth, 0, POS_DEAD, GM_PLAYER }, //2.) Add bellow: #ifdef ENABLE_ONLINE_COMMAND { "online", do_online, 0, POS_DEAD, GM_PLAYER }, #endif //1.) Search: ACMD(do_messenger_auth); //2.) Add bellow: #ifdef ENABLE_ONLINE_COMMAND ACMD(do_online); #endif //@svn/Server/game/src/cmd_general.cpp //1.) Add where you want: ACMD(do_online) { /********************************************************************* * date : 2016.10.25 * file : cmd_general.cpp * author : VegaS * description : Statistics server + configuration for fake */ time_t currentTime; struct tm *localTime; time(&currentTime); localTime = localtime(&currentTime); #define ENABLE_OFFLINE_SHOP_SYSTEM //@disable if you not have offlineShop #ifdef ENABLE_OFFLINE_SHOP_SYSTEM std::auto_ptr<SQLMsg> pmsg(DBManager::instance().DirectQuery("SELECT COUNT(*) FROM player.offline_shop_npc WHERE owner_id and channel = %d", g_bChannel)); MYSQL_ROW row = mysql_fetch_row(pmsg->Get()->pSQLResult); int mShopsOffline = 0; str_to_number(mShopsOffline, row[0]); #endif int mResultHour = localTime->tm_hour, mResultMin = localTime->tm_min, mResultSec = localTime->tm_sec; int mTotalOnline; int * mEmpire; int mLocal; DESC_MANAGER::instance().GetUserCount(mTotalOnline, &mEmpire, mLocal); /* 0 = 00:00 1 = 01:00 2 = 02:00 3 = 03:00 4 = 04:00 5 = 05:00 6 = 06:00 7 = 07:00 8 = 08:00 9 = 09:00 10 = 10:00 11 = 11:00 12 = 12:00 13 = 13:00 14 = 14:00 15 = 15:00 16 = 16:00 17 = 17:00 18 = 18:00 19 = 19:00 20 = 20:00 21 = 21:00 22 = 22:00 23 = 23:00 */ #ifdef ENABLE_COUNTER_FAKE static int arrayDesc[23 + 1][2] = { /* First row -> Current hour | Second row -> Value added for players fake Example: From 15:00 until 15:59:59 will be added on statics + 75 players online fake. Because -> { 15, 75 } */ { 0, 190 }, { 1, 175 }, { 2, 160 }, { 3, 140 }, { 4, 130 }, { 5, 100 }, { 6, 80 }, { 7, 75 }, { 8, 60 }, { 9, 55 }, { 10, 40 }, { 11, 30 }, { 12, 50 }, { 13, 60 }, { 14, 70 }, { 15, 75 }, { 16, 80 }, { 17, 90 }, { 18, 105 }, { 19, 120 }, { 20, 135 }, { 21, 155 }, { 22, 175 }, { 23, 180 } }; for (int i=0; i<_countof(arrayDesc); i++) { if (mResultHour == arrayDesc[i][0]) { for (int j=1; j<=3; j++) mEmpire[i] += arrayDesc[i][1] / 3; mTotalOnline += arrayDesc[i][1]; break; } } #endif if (ch->IsGM()) { ch->ChatPacket(CHAT_TYPE_INFO, "[i] Current time on server: %d:%d:%d", mResultHour, mResultMin, mResultSec); } ch->ChatPacket(CHAT_TYPE_INFO, "[i] Current channel: [%d]", g_bChannel); ch->ChatPacket(CHAT_TYPE_INFO, "[i] Current players online on this channel (all empire): [%d]", mTotalOnline); ch->ChatPacket(CHAT_TYPE_INFO, "[i] Current players online on empire: Shinshoo - [%d] | Chunjo - [%d] | Jinno - [%d]", mEmpire[1], mEmpire[2], mEmpire[3]); #ifdef ENABLE_OFFLINE_SHOP ch->ChatPacket(CHAT_TYPE_INFO, "[i] Current shops offline on this channel: [%d]", mShopsOffline); #endif } Download: https://mega.nz/#!rQgG0C5L!5yIGTEsJoiF5UVJ7l7jJKKaSrBY4izI_A_ylmlLEP2U Have fun ^^ (not tested full, sorry for shit code, It was quickly made fun)
  17. Good morning.Hwo has a converter 40k for item_proto?I need to convert item_proto sql to item_proto .txt Best regards
  18. .PolluX

    Changelog

    Hello Developers, we will post any changes of metin2dev in here. Sincerly, .PolluX GMT+1 12:37 PM | 2016-10-22 Added code tag GMT+1 8:00 PM | 2016-10-21 Due to requests we added a facepalm emoji (:facepalm:) GMT+1 5:13 PM | 2016-10-06 We added the possibility to see if a user is banned: The user name is now crossed out if the user is banned. Additionally the rank of the user got changed to suspended (if the user is banned temporarily) or banned (if the user is banned indefinitely) GMT+1 6:09 PM | 2016-10-05 * updated rules (2.6) GMT+1 4:16 PM | 2016-09-20 We've updated the structure of the Services section as mentioned here. Additionally to this we also updated our rules. Please read them again to be sure you know everything! + new structure for Services + updated rules (2.2 / 2.6 / 2.7 / 3.3 / 4.1 / Sanctions) Everyone who posted more than one thread per section (in Services) please merge them into one thread and report the others.
  19. I was offline this forum almost two weeks, I had people in my family problems, now solved affairs were also little and I decided to come back here. Here is presented a small part of the system, I will soon come with all available details and perhaps more complex in another video that will include all configurations, settings, checks s.a.m.d It is worth mentioning that the system is for sale, and dyspnea you to be in my service here is just a video presentation, you can express your views and opinion.
  20. Here is a little older configuration to see how the system work. http://paste.ubuntu.com/23085600/ I created this topic because I need ideea and opinions what would be done to the system to be nice for all servers and pleasant. Mention: The system will be chargeable in my services, this topic is for information only and opinions.
  21. A collision or crash is an event in which two or more bodies exert forces on each other for a relatively short time. Although the most common colloquial use of the word "collision" refers to incidents in which two or more objects collide, the scientific use of the word "collision" implies nothing about the magnitude of the force. Some examples of physical interactions that scientists would consider collisions: An insect touches its antenna to the leaf of a plant. The antenna is said to collide with leaf. A cat walks delicately through the grass. Each contact that its paws make with the ground is a collision. Each brush of its fur against a blade of grass is a collision. I will come back with a video tonight [File: src/Client/Source/GameLib/ActorInstanceCollisionDetection.cpp] //1.) Search: #include "../eterLib/GrpMath.h" //2.) Add bellow: #include "../UserInterface/PythonBackground.h" #include "../UserInterface/Locale_inc.h" //3.) Search: BOOL CActorInstance::TestActorCollision(CActorInstance & rVictim) { //4.) Add bellow: #ifdef ENABLE_STOP_COLISSION_GLOBAL /********************************************************************* * date : 2016.02.16 * function : Stop Colission * developer : VegaS * skype : sacadatt.amazon * description : Checks if the victim is one of the examples below you can easily configure. If the victim was found success as vnum site / breed ve you could go through it no longer block. */ /************ * The first value is the minimum value and the second value is the maximum value of pet vnum (mob_proto) - change 34051 with your max vnum of pet */ int pListPet[2] = {34001, 34051}; /************ * You can add whatever you like vnum of npc or monster (mob_proto) */ int pListGlobal[] = {9001, 9002, 9003, 9004, 9005, 9006, 20011, 20091, 20092, 20093, 20094, 20095, 30000}; /************ * You can add what mapname you want for enable this stop collission global like pet / npc */ const char* strMapListGlobal[] = {"metin2_map_a1", "metin2_map_a3", "metin2_map_b1", "metin2_map_b3", "metin2_map_c1", "metin2_map_c3", "season2/metin2_map_skipia_dungeon_01", "season2/metin2_map_skipia_dungeon_02", "metin2_map_duel"}; /************ * Location name of the map where the event takes place ox */ const char* strMapEventOx = "season1/metin2_map_oxevent"; std::string stringName = CPythonBackground::Instance().GetWarpMapName(); for (int i = 0; i < _countof(strMapListGlobal); i++) { #ifdef ENABLE_STOP_COLLISION_PLAYER_OX if (strMapEventOx == stringName) // Check if u are place in map ox { if (0 <= rVictim.GetRace() && rVictim.GetRace() <= 7) // Check if the victim through which pass over a player (change 7 with 8 if u have wolfman) return FALSE; // Stop collission for player --> You can go through players now successfully without lock yourself } #endif if (strMapListGlobal[i] == stringName) // Check if you are in one of the maps listed in the global list { for (int i = 0; i < _countof(pListGlobal); i++) { if (rVictim.GetRace() == pListGlobal[i] || pListPet[0] <= rVictim.GetRace() && rVictim.GetRace() <= pListPet[1]) // Verify that the victim is npc vnum listed above, or if a pet. return FALSE; // Stop collission for global vnum like a pet or npc } } } #endif [File: src/Client/Source/UserInterface/Locale_inc.h] //1.) Search: #define ENABLE_COSTUME_SYSTEM //2.) Add bellow: #ifndef ENABLE_STOP_COLISSION_GLOBAL #define ENABLE_STOP_COLISSION_GLOBAL #define ENABLE_STOP_COLLISION_PLAYER_OX #endif
  22. mogulul

    System metin2

    hello dev,i want to buy 2 system: -skin weapon system - meley prison full system. yahoo email: marian.m992@yahoo.com for contact
  23. I saw a guy who sells shit, so I decided to fuck 15 minutes of my life and time and do it free for you with my code shit because i write fast. Link download: https://mega.nz/#!CYJVib4L!bziTs5iK-R8dznmtAbBt3E2y93xyuCV0gZLV1MHdlPs And here is part rest for how to add grade:
  24. Lehel

    Trade bug with video

    Hello guys, I can't really explain this bug, so please watch the video for me. Please help me.
  25. I made this little tutorial with function at his request @Mind Rapist Link download: https://mega.nz/#!CAoXiLjb!tjL8quW6rSqKRbzOI56uwjOHpJZ5O3dCc4OTGX0abig Here is method for check xD (example for game.py) if app.ENABLE_CHECK_IF_SAFEBOX_OPEN: onPressKeyDict[app.DIK_F5] = lambda : self.BINARY_Check_Safebox() if app.ENABLE_CHECK_IF_SAFEBOX_OPEN: def BINARY_Check_Safebox(self): import safebox if safebox.isOpen(): chat.AppendChat(chat.CHAT_TYPE_INFO, "<<Debug from VegaS>> Safebox is open!") else: chat.AppendChat(chat.CHAT_TYPE_INFO, "<<Debug from VegaS>> Safebox is not open!") Have fun
×