metin2united

avertuss

Member
  • Content Count

    422
  • Joined

  • Last visited

Community Reputation

10 Good

About avertuss

  • Rank
    Noble

Profile Information

  • Gender
    Male

Recent Profile Visitors

1,508 profile views
  1. Hi. How can i make that dropped items will move instant to inventory not to the ground. I found Reward function in char_battle and i tried to change AddToGround function to AddToCharacter but it doesn't work.
  2. avertuss

    open Problem with sound effect

    f5
  3. avertuss

    open Problem with sound effect

    I have original sound and sound2 from metin2.de
  4. Hi. Effects sound doesn't work. Syserr: 0602 14:59:08372 :: Unable to open file.: sound/ui/click.wav 0602 14:59:08372 :: CSoundManager2D::GetInstance (filename: sound/ui/click.wav) etc etc i have sound and sound2 pack. Any ideas?
  5. avertuss

    open More than 1 raceflag

    int get_Mob_RaceFlag_Value(string inputString) { string arRaceFlag[] = {"ANIMAL","UNDEAD","DEVIL","HUMAN","ORC","MILGYO","INSECT","FIRE","ICE","DESERT","TREE", "ATT_ELEC","ATT_FIRE","ATT_ICE","ATT_WIND","ATT_EARTH","ATT_DARK", "METIN", "BOSS", "DUNG"}; int retValue = 0; string* arInputString = StringSplit(inputString, ","); //프로토 정보 내용을 단어별로 쪼갠 배열. for(int i =0;i<sizeof(arRaceFlag)/sizeof(arRaceFlag[0]);i++) { string tempString = arRaceFlag[i]; for (int j=0; j<30 ; j++) //최대 30개 단어까지. (하드코딩) { string tempString2 = arInputString[j]; if (tempString2.compare(tempString)==0) { //일치하는지 확인. retValue = retValue + pow((float)2,(float)i); } if(tempString2.compare("") == 0) break; } } delete []arInputString; //cout << "Race Flag : " << raceFlagStr << " -> " << retValue << endl; return retValue; } idk, doesn't work with ","
  6. avertuss

    open More than 1 raceflag

    Hi, I wanted to use more race flag than 1 but works only the first. 2492 ??? BOSS MONSTER MELEE 75 AGGR 0 DEVIL, BOSS STUN,SLOW,CURSE,TERROR 0 ch_general 0 89 69 60 30 47 73 500000 30 20 29700 44550 1 90 140 130 100 2000 100 0 0 0 0 0 0 0 0 10 10 10 20 20 0 0 0 50 0 0 2 0 0 0 0 10 259 40 260 0 0 0 0 0 0 0 0 0 0 0
  7. Fixed, forgot protoreader. Hi. I added new bonus ATTBONUS_METIN. But i don't see difference in dmg. battle.cpp below else if (pkVictim->IsRaceFlag(RACE_FLAG_DEVIL)) iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_DEVIL)) / 100; else if (pkVictim->IsRaceFlag(RACE_FLAG_METIN)) iAtk += (iAtk * pkAttacker->GetPoint(POINT_ATTBONUS_METIN)) / 100; constant.cpp { POINT_ATTBONUS_METIN, }, and { "ATTBONUS_METIN", APPLY_ATTBONUS_METIN }, char.cpp case POINT_ATTBONUS_METIN: and case APPLY_ATTBONUS_METIN: char.h POINT_ATTBONUS_METIN, lenght.h RACE_FLAG_METIN = (1 << 17), and APPLY_ATTBONUS_METIN, 8035 ??? KING STONE MELEE 75 NOMOVE 0 METIN STUN,SLOW,CURSE,TERROR 0 0 0 0 91 0 0 0 250000 5 1 1196 1744 51 79 0 0 0 2000 150 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Any ideas?
  8. function say_item(name, vnum, desc) say("[INSERT_IMAGE image_type;item|idx;"..vnum.."|title;"..name.."|desc;"..desc.."|index;".. 0 .."|total;".. 1 .."]") end
  9. avertuss

    c++ [RLS]RenderTarget

    @h4c0k1 Do you know how can i select warrior men model? Because it's 0 i think, ninja female is 1. When i put 0 i see nothing. Fixed but i wanted use camera like you but what should i include intro rendertarget to use m_v3Eye and m_v3Target?
  10. avertuss

    open More alignment give

    char_battle.cpp if (pkAttacker->IsPC()) { if (GetLevel() - pkAttacker->GetLevel() >= -10) if (pkAttacker->GetRealAlignment() < 0) { if (pkAttacker->IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_KILL)) pkAttacker->UpdateAlignment(14); else pkAttacker->UpdateAlignment(7); } else pkAttacker->UpdateAlignment(2);
  11. Hi. How can i edit chat like: if player sent message "hi noob" it will be shown "hi n**b". I know that i should use if idkwhat.find("noob") != -1: idkwhat = idkwhat.replace('noob', 'n**b') but idk where should i use that in uichat or idk where. Any ideas?
  12. avertuss

    c++ [RLS]RenderTarget

    @h4c0k1 Did you change or add something to sema code? I mean render armor/weapon/hair etc. or it works fine?