Jump to content
metin2dev

WLsj24

Members
  • Content count

    70
  • Joined

  • Last visited

  • Days Won

    1

WLsj24 last won the day on April 22

WLsj24 had the most liked content!

Community Reputation

11 Good

About WLsj24

  • Rank
    Friendly

Profile Information

  • Gender
    Male

Recent Profile Visitors

182 profile views
  1. WLsj24

    c++ New Item Type = ITEM_GACHA

    case ITEM_GACHA: { DWORD dwBoxVnum = item->GetVnum(); std::vector <DWORD> dwVnums; std::vector <DWORD> dwCounts; std::vector <LPITEM> item_gets(0); int count = 0; if (GiveItemFromSpecialItemGroup(dwBoxVnum, dwVnums, dwCounts, item_gets, count)) { for (int i = 0; i < count; i++){ switch (dwVnums[i]) { case CSpecialItemGroup::GOLD: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("돈 %d 냥을 획득했습니다."), dwCounts[i]); break; case CSpecialItemGroup::EXP: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 부터 신비한 빛이 나옵니다.")); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d의 경험치를 획득했습니다."), dwCounts[i]); break; case CSpecialItemGroup::MOB: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 몬스터가 나타났습니다!")); break; case CSpecialItemGroup::SLOW: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 나온 빨간 연기를 들이마시자 움직이는 속도가 느려졌습니다!")); break; case CSpecialItemGroup::DRAIN_HP: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자가 갑자기 폭발하였습니다! 생명력이 감소했습니다.")); break; case CSpecialItemGroup::POISON: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 나온 녹색 연기를 들이마시자 독이 온몸으로 퍼집니다!")); break; case CSpecialItemGroup::MOB_GROUP: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 몬스터가 나타났습니다!")); break; default: if (item_gets[i]) { if (dwCounts[i] > 1) ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 %s 가 %d 개 나왔습니다."), item_gets[i]->GetName(), dwCounts[i]); else ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 %s 가 나왔습니다."), item_gets[i]->GetName()); } } } if(item->GetSocket(0) > 1) item->SetSocket(0, item->GetSocket(0) - 1); else ITEM_MANAGER::instance().RemoveItem(item, "REMOVE (ITEM_GACHA)"); } } break; When you open a gacha box and you get yang, experience, etc. nothing appears. I think with this it would be corrected.
  2. WLsj24

    open Launcher and bin

    Hi, I would like to make it mandatory to open the .exe from the launcher. If you open the .exe exit an error message that tells you that you must open from the launcher. Any ideas?
  3. To the players that are already inside, take them out to the login and then tell them something like "your account is already connected"?
  4. WLsj24

    open Costume body bug

    UP
  5. WLsj24

    open Costume body bug

    Hello, community. First of all, sorry for my bad English. I need to solve a bug, but I do not know where to start. Explanation of the bug: I equip me an armor, then I equip me a costume body. All right until here, but when the char relogging or changing the map, the defense of the armor disappears, it's as if it did not have it on. I have to unequip my costume body, then my armor, then put on my armor again to have the defense of the armor again. Did something similar happen to someone? Any idea how to solve it? thanks in advance for your help.
  6. WLsj24

    open Mark System Offline Shop Bug

    I pay for the fix. MP!
  7. WLsj24

    solved Mount with slot

    Ok solved, it is in char_item.cpp. thx
  8. WLsj24

    solved Mount with slot

    If you are attacking, you can not change the equipment. How can I do to change it?
  9. WLsj24

    solved Mount with slot

    How can I do so that when I try to ride I do not have to stand still?
  10. WLsj24

    open Offi Bonus Board

    import localeInfo import uiScriptLocale LOCALE_PATH = uiScriptLocale.WINDOWS_PATH MAINBOARD_WIDTH = 200 MAINBOARD_HEIGHT = 364#361 LABEL_START_X = 120 LABEL_START_Y = 39 LABEL_WIDTH = 50 LABEL_HEIGHT = 17 LABEL_GAP = LABEL_HEIGHT+7 LABEL_NAME_POS_X = 24 TITLE_BAR_POS_X = 10 TITLE_BAR_WIDTH = 163 window = { "name" : "CharacterDetailsWindow", "style" : ("float",), "x" : 266, #24+253-3, "y" : (SCREEN_HEIGHT - 398) / 2, "width" : MAINBOARD_WIDTH, "height" : MAINBOARD_HEIGHT, "children" : ( ## MainBoard { "name" : "MainBoard", "type" : "board", "style" : ("attach","ltr"), ## CharacterWindow.py 영향 받음 "x" : 0, "y" : 0, "width" : MAINBOARD_WIDTH, "height" : MAINBOARD_HEIGHT, "children" : ( ## 타이틀바 { "name" : "TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 6, "y" : 7, "width" : MAINBOARD_WIDTH - 13, "children" : ( { "name" : "TitleName", "type" : "text", "x" : 0, "y" : 0, "text": localeInfo.DETAILS_TITLE, "all_align":"center" }, ), }, ## 스크롤 바 { "name" : "ScrollBar", "type" : "scrollbar", "x" : 24, "y" : 31, "size" : MAINBOARD_HEIGHT - 40, "horizontal_align" : "right", }, ## 호리즌 바 { "name" : "horizontalbar0", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*0, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName0", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar1", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*1, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName1", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar2", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*2, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName2", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar3", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*3, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName3", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar4", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*4, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName4", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar5", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*5, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName5", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar6", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*6, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName6", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar7", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*7, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName7", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar8", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*8, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName8", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar9", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*9, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName9", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar10", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*10, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName10", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar11", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*11, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName11", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "horizontalbar12", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*12, "width":TITLE_BAR_WIDTH, "children" : ( { "name" : "horizontalbarName12", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, ## 호리즌 바 끝 ## 라벨 ## { "name" : "label0", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*0, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue0", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label1", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*1, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue1", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label2", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*2, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue2", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label3", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*3, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue3", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label4", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*4, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue4", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label5", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*5, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue5", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label6", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*6, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue6", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label7", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*7, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue7", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label8", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*8, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue8", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label9", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*9, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue9", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label10", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*10, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue10", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label11", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*11, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue11", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, { "name" : "label12", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*12, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT, "children" : ( { "name" : "labelvalue12", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ), }, ## 라벨 끝 ## 버튼 { "name" : "labelname0", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*0, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname1", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*1, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname2", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*2, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname3", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*3, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname4", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*4, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname5", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*5, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname6", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*6, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname7", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*7, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname8", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*8, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname9", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*9, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname10", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*10, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname11", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*11, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, { "name" : "labelname12", "type" : "button", "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*12, "text" : "", "default_image" : LOCALE_PATH + "details.sub", "over_image" : LOCALE_PATH + "details.sub", "down_image" : LOCALE_PATH + "details.sub", }, ## 버튼 끝 ), }, ## MainBoard End ), }
  11. Hello! Any idea how to put a sell item function in the drop item function?
  12. WLsj24

    solved Sash system

    Solved: if (items[0] == NULL || items[1] == NULL || items[0]->GetValue(0) != items[1]->GetValue(0))
  13. WLsj24

    solved Hyperlink DragonSoul

    Thanks... solved <3
  14. I want to be able to link a dragon stone from the dragonsoul system in the chat but if I do LALT + left click, i drag the stone instead of linking it in the chat. How can I do to link it?
×