Jump to content

Draveniou1

Active Member
  • Posts

    252
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Everything posted by Draveniou1

  1. [Hidden Content] -Items Blood Pill- Fixed the Blood Pill item Use by right clicking the item When a Blood Pill is used you will notice a minus sign (-) to the left side of your character's screen . Clicking that takes one point from the stat you choose and you can add it to another stat later . #1 Bug If you have x94 stat and hit 4 pills and spend 4 stat at the end when you add another stat then the stat doubles from 90 to 160 #2 Bug In some serverfiles it stat can be as high as -90 -80 -70 -30 -10 1) OPEN: cmd_general.cpp 2) Search: ACMD(do_stat_minus) 3) Change with: ACMD(do_stat_minus) { char arg1[256]; one_argument(argument, arg1, sizeof(arg1)); if (!*arg1) return; if (ch->IsPolymorphed()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("둔갑 중에는 능력을 올릴 수 없습니다.")); return; } if (ch->GetPoint(POINT_STAT_RESET_COUNT) <= 0) return; if (!strcmp(arg1, "st")) { if (ch->GetRealPoint(POINT_ST) <= JobInitialPoints[ch->GetJob()].st) return; BYTE stpoints = 0; stpoints = POINT_ST; ch->SetRealPoint(stpoints, ch->GetRealPoint(stpoints) - 1); ch->SetPoint(stpoints, ch->GetPoint(stpoints) - 1); ch->ComputePoints(); ch->PointChange(stpoints, 0); } else if (!strcmp(arg1, "dx")) { if (ch->GetRealPoint(POINT_DX) <= JobInitialPoints[ch->GetJob()].dx) return; BYTE dxpoints = 0; dxpoints = POINT_DX; ch->SetRealPoint(dxpoints, ch->GetRealPoint(dxpoints) - 1); ch->SetPoint(dxpoints, ch->GetPoint(dxpoints) - 1); ch->ComputePoints(); ch->PointChange(dxpoints, 0); } else if (!strcmp(arg1, "ht")) { if (ch->GetRealPoint(POINT_HT) <= JobInitialPoints[ch->GetJob()].ht) return; BYTE htpoints = 0; htpoints = POINT_HT; ch->SetRealPoint(htpoints, ch->GetRealPoint(htpoints) - 1); ch->SetPoint(htpoints, ch->GetPoint(htpoints) - 1); ch->ComputePoints(); ch->PointChange(htpoints, 0); ch->PointChange(POINT_MAX_SP, 0); } else if (!strcmp(arg1, "iq")) { if (ch->GetRealPoint(POINT_IQ) <= JobInitialPoints[ch->GetJob()].iq) return; BYTE iqpoints = 0; iqpoints = POINT_IQ; ch->SetRealPoint(iqpoints, ch->GetRealPoint(iqpoints) - 1); ch->SetPoint(iqpoints, ch->GetPoint(iqpoints) - 1); ch->ComputePoints(); ch->PointChange(iqpoints, 0); ch->PointChange(POINT_MAX_HP, 0); } else return; ch->PointChange(POINT_STAT, + 1); ch->PointChange(POINT_STAT_RESET_COUNT, - 1); ch->ComputePoints(); }
  2. You need to add a library so I made it for me work #include "resource.h"
  3. Good evening, I'm trying to find a new add-on, I want to block chat and not just PM When I exclude a player, I want the conversations to be blocked as chat 1) PM blocking 2) Chat Blocking I tried to edit the system but I can not I wanted to block the chat along with the PM Any idea????????
  4. source: DWORD level = m_pkOwner->GetQuestFlag("mobquest.("mob_"..mobVnum")); questside: pc.setqf("mob_"..mobVnum,pc.getqf("mob_"..mobVnum),1) working only this: DWORD level = m_pkOwner->GetQuestFlag("mobquest.("mob_")); ------------------------ and not work this DWORD level = m_pkOwner->GetQuestFlag("mobquest.("mob_"..mobVnum")); how to solve it ? I need this at the source GetQuestFlag("mobquest.("mob_"..mobVnum")); and not GetQuestFlag("mobquest.("mob_")); Is there any idea?
  5. What we need can be ordered from freebsd but it definitely costs a lot of money and I do not have such financial thinking. And to make a message to metin2dev maybe someone has such a freebsd the cleaner the freebsd the less heavy it will be, I personally do not know from freebsd I mention it I only know the basics the basics I may be wrong but I had a thought that I am trying to see it happens with freebsd and martysama has made me very suspicious after the sendingmail was blocked The Mr @ Karbust and everyone else thinks I'm trolling. I never fooled about that we ask first I once heard on the freebsd forum about the bad codes they upload and I'm trying to find that post in that forum to show you
  6. I can not do it myself I say if you do not pay in the freebsd forum you can not do anything yourself so I do the post because I'm looking for a freebsd full clean and if anyone has anything they can sell me
  7. In all versions there are loaded codes that load unjustly in freebsd example USB / CAMERA and many more it is in vain to unjustly load these systems
  8. FreeBSD 13 Will it be clean or will all have these useless codes as in 11.4 ? If you notice FreeBSD loads close to 700 MB on a host medium these 700 MB ram is from bad code Thanks
  9. troll? you checking freebsd and say me I Know only for sendMail in freebsd But there are more useless codes that I am trying to find and remove @Denizeri24 you are useless who have no idea I'm not trolling I just want to know the rest of the codes and remove them because so far I know about sendmail but there are many codes Dude who trolling? I am trying to find out the rest of the codes, there is sendmail but there are more codes I Know only this code 1) SendMail - disable 2) Pkg - fixxing There are many useless codes may know this dev@ martysama0134 And I do not know if they share a full 100% fix
  10. I do not know from freebsd why i am doing this message to find such a freebsd edit: @ Karbust I know only for SendMail but there are many other systems that load unjustly
  11. Try to find freebsd without useless codes active And then you can tell me your time and your details in detail and you will notice big differences in speed your server and in game
  12. I'm not talking about the game's memoryleak I say if I remove the useless freeBsd codes You can ask in the forum freebsd and you will see how memoryleak will be reduced Simple we must first find pure freebsd without useless codes active
  13. I do not blame the system I just want to remove from FreeBSD all junk code that does not contribute to metin2 There will just be more server speed if removed I know And memoryleak will be reduced by 30%
  14. If you have freebsd with deleted unnecessary codes you do not have memoryleak so I want to find freebsd without unnecessary codes I know it exists but I see many looking without any result It is difficult to find and you can order from the FreeBSD administrator but it will definitely cost a lot of money
  15. I know this but I do not have much knowledge in FreeBSD and I want to delete the junk code that is active in FreeBSD How can we delete junk FreeBSD code? I only know about SendMail from martysama but the rest?
  16. My knowledge of FreeBSD is minimal and I am trying to find FreeBSD 11.4 I am looking for FreeBSD 11.4 clean without unnecessary codes I want it clean without installing anything just to be clean thank you 1. With remove unnecessary codes 100% full 2. Without you installing mysql ++ I want it to be clean Thanks.
  17. Completely remove the packet-sequence and create a new protection key takes time to remove I have created a seminar and it is effective
  18. Remove #define ENABLE_FIX_QUICK_SLOT from service.h change #ifdef ENABLE_FIX_QUICK_SLOT if(pinfo->slot.type == QUICKSLOT_TYPE_ITEM) { LPITEM item = NULL; TItemPos srcCell(INVENTORY, pinfo->slot.pos); if (!(item = ch->GetItem(srcCell))) return; if (item->GetType() != ITEM_USE && item->GetType() != ITEM_QUEST) return; } #endif with: #ifndef ENABLE_FIX_QUICK_SLOT if(pinfo->slot.type == QUICKSLOT_TYPE_ITEM) { LPITEM item = NULL; TItemPos srcCell(INVENTORY, pinfo->slot.pos); if (!(item = ch->GetItem(srcCell))) return; if (item->GetType() != ITEM_USE && item->GetType() != ITEM_QUEST) return; } #endif
  19. @ ReFresh quest give_itemssss begin state start begin local giveitemss = { [0] = {15, 1}, {11205, 1}, {12205, 1}, [1] = {1005, 1}, {11405, 1}, {12345, 1}, [2] = {15, 1}, {11605, 1}, {12485, 1}, [3] = {7005, 1}, {11805, 1}, {12625, 1} }; table.insert(giveitemss[pc.get_job()], "Not now. "); local item_give = select_table(giveitemss[pc.get_job()]); if (item_give ~= table.getn(giveitemss)) then pc.pc.give_item2(item_give); end end end end
  20. Don't have #define ENABLE_FIX_QUICK_SLOT in service.h? you can see? First: check service.h for #define ENABLE_FIX_QUICK_SLOT
  21. I agree, but I also tried to make the regular item-shop -------------------------------------------------------------- The problem with the normal item-shop is that items are deleted from memory after a time limit -------------------------- char szQuery[QUERY_MAX_LEN]; snprintf(szQuery, sizeof(szQuery), "DELETE FROM item%s WHERE id=%u", GetTablePostfix(), m_data.id); CDBManager::instance().ReturnQuery(szQuery, QID_ITEM_DESTROY, 0, NULL); --------------------------------------------------------------
  22. I have to deal with these for 1.5 years and I do not remember well, if I remember I will send you a message
  23. check with AttachingDataCount 4 and not 999 @blaxis [Hidden Content] xDDD You have 1 and in 1-2 check up photo [Hidden Content] [Hidden Content]
  24. I made a similar thing 1.5 years ago and I can not remember how I made it haha I will try to find it But all I remember was changing from 50 to 999 count
×
×
  • 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.