Jump to content

metin2-factory

Inactive Member
  • Posts

    174
  • Joined

  • Last visited

  • Days Won

    13
  • Feedback

    0%

Everything posted by metin2-factory

  1. Look in char.cpp,in the function point_change() look in the variable val,if it is long long then do the casting as mebe wrote otherwise keep it as it is.
  2. Go into the folder ymir work\npc2\privateshop open privateshop.msm edit the radius and position as you wish change to: Enjoy!
  3. You gave great suggestions such as using vanilla or mainline_sg,they have few bugs and it's really few days of work to fix them specially if you look in this forum and see so many topics and problem solved thanks to helpful users. Yet,i have to disagree regarding martysama source. you're saying 300 Eur is best for the price.it is wrong.Except the fact that his recent files are leaked(source + client,pm me on private i'll send you the link).This "dev"/"seller" is the wrong choice you could make as buyer.Plenty of times he ignores people request,give false promises,simply lie to his own customers i find it ridiculous.If you go over his topic replies,you could see many of his customers reply with "i'v been waiting for x time and havent gotten an answer".He doesn't bother to answer most people,i'd advise you strongly to avoid doing such mistake.If you need help there are many people i found in this community eager to help even with no cost.I'm included.Send me a pm with skype and i'll help in what that is needed for free. I will share with you also very useful tools i'm using myself. Regards.
  4. You can buy dedicated server of freebsd for 5-10 eur monthly. it's a smarter investment if you're planning to open it publicly. I really don't recommend opening it on hamachi as it is unorganized and laggy/uncomfortable.
  5. Hey. Welcome to this forum,this is a great question Now to your question. LPITEM is defined in typedef.h as class CItem. this class and it's members can be found inside item.h header file. If you have any more question feel free to send me pm or add me to skype(via forum PM) and i'll be glad to help. Regards.
  6. when 6091.kill begin if party.is_party() then notice_all(party.get_leader_name().." Group has killed razador!") end end
  7. The whole purpose of this function is to use while in party. Anyway,it is easy to fix. change function int party_get_leader_name inside questlua_party.cpp to this: int party_get_leader_name(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if (ch->GetParty()) { lua_pushstring(L, ch->GetParty()->GetLeaderName()); } else { lua_pushstring(L, ch->GetName()); } return 1; }
  8. open battle.cpp look inside int CalcArrowDamage function We can understand from here that iPercent is the calculation of the range from mob - bonus of bow_distance. But,if the range is too big then iPercent will become 0 and the function will return 0(nothing). There are 2 ways to "fix" it. 1 way, is to set iPercent value to the minimum(1) and then it will still do damage but very low. change to or,there 2nd way is to disable the range-damage factor that means that with every range it will do maximum damage change int iPercent = 100 - (iGap * 5); to: good luck!
  9. M2 Download Center Download Here ( Internal ) Hey guys, I'v added a little function to source that will retrieve party leader name. Very useful for party/dungeon bosses hunt,you can notice everyone the name of the party leader when performing an action(kill boss,finish dungeon,etc). Open party.h look for add below: open party.cpp look for: add below this function: open questlua_party.cpp look for: add below this function: look for: add below: open quest_function file add there: party.get_leader_name Example how to use in quest: Enjoy!
  10. open guild_manager.cpp Look for: add inside the function:
  11. this function you're showing is to invite a player to a group. besides that,use proper English because no one can understand anything of what you're asking.
  12. Use proper english,can't understand your question.
  13. M2 Download Center Download Here ( Internal ) Hey, so i know it is not the best solution to prevent from players using multiple clients to get bosses drop, since low percent of players are playing from the same network(brothers for exmaple). Anyway,i think it is good enough for now. this quest function will check if there are party members with same IP and return true/false open questlua_party.cpp Look for: below this function add the following function: search for: add below: add to questfunction the function: party.have_same_ip example of a quest: if party.have_same_ip() == true then say("2 or more members have same ip!") else say("all party members has different ip!") enjoy
  14. it can't find the object/class/function in the multi file MultiLanguage() look for that inside multi file,or client source depends how you implemented it.
  15. don't forget to include the following in the begining of the file
  16. p.wPort = (wPort - 100*(chan-1) + 100*(new_ch-1)); change to: p.wPort = (wPort - 10*(chan-1) + 10*(new_ch-1));
  17. There's a guide for doing it in forum use the search button.
  18. look for: relace: with: I'm not sure it will work i haven't tested it yet but it seems to prevent the issue. Let me know if it worked.
  19. search for signal.c file in your game source look for checkpointing function and comment the abort() function
  20. Open ime.cpp look for: below if (m_bOnlyNumberMode) if (!iswdigit(c)) return; Add: It will fix the problem.
  21. Even if he was wrong it doesn't mean you can use such language against other people. you're the stupid here.
  22. Hey, it all works good. but i want to add a little clarification to the non experienced. Pasting in the wrong def will get you frustrated so,make sure to paste it in following def: below: [*]game.py: a few lines under it you can find itemDropQuestionDialog.SetAcceptEvent(lambda arg=TRUE: self.RequestDropItem(arg)) & paste itemDropQuestionDialog.SetDestroyEvent(lambda arg=TRUE: self.RequestDestroyItem(arg)) Regards.
×
×
  • 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.