• SEARCH

    통합검색
  • GAMEZONE
    • 커뮤니티
      • 공지사항
      • 유저게시판
        • 등업게시판
        • 출석체크
        • 정회원 무료자료실
      • 스크린샷
      • 인증자료실
    • 리니지
      • 게임공략 & 팁
      • 유틸자료실
      • 소스자료실
      • 자유게시판
      • 노하우 게시판
    • 메이플스토리
      • 게임공략 & 팁
      • 유틸자료실
      • 소스자료실
      • 자유게시판
      • 노하우 게시판
    • 바람의나라
      • 자유게시판
      • 자료게시판
        • 유틸자료실
        • 소스자료실
        • 클라이언트
        • 팩 자료실
      • 연구게시판
        • 개발내역
        • 질문과답변
        • 기타
      • 강의게시판
        • DR
        • CR
        • 구버전
        • 클라이언트 개조
        • 노하우 게시판
        • 게임공략 & 팁
    • 다크에덴
      • 게임공략 & 팁
      • 유틸자료실
      • 소스자료실
      • 자유게시판
      • 노하우 게시판
    • 믹스마스터
      • 게임공략 & 팁
      • 유틸자료실
      • 소스자료실
      • 자유게시판
      • 노하우 게시판
    • 라그나로크
      • 게임공략 & 팁
      • 유틸자료실
      • 소스자료실
      • 자유게시판
      • 노하우 게시판
    • 기타게임
      • 게임공략 & 팁
      • 유틸자료실
      • 소스자료실
      • 자유게시판
      • 노하우 게시판
    • 게임강의
    • 비베&포토샵
      • 자유게시판
      • 자료실
        • 일반자료실
        • 포인트 자료실
      • 노하우게시판
      • 포토샵게시판
    • 모바일
      • 게임공략
      • 포인트 자료실
      • 유틸자료실
      • 자유게시판
  • 바람의나라 자료게시판 소스자료실
    • 바람의나라 자료게시판 소스자료실 ()
    • 북방 저장 창고(NPC) 스크립트

      • 게임존
      • 2016.02.16 - 22:56 564

    npc_db

    256    북방저장창고    441    20


    npcspawn

    214    15    9    9    2    북방저장창고


    pursuit_db


    북방저장창고    북방저장창고    -    -    -    0    0    0    0


    script_db

    @import: npc/공통/북방저장창고.txt

    북방저장창고    {
        set @sd, mysd();
        set @id, myid();
    COS001:
        set @pos, list2(@list, 0, 0, "안녕하세요. 어떻게 오셨나요?", "북방 재료 보관", "북방 재료 찾기", "북방 주머니 설명");
        if(@pos == 0) { goto Failed; end; }
        else if(@list == 1)
        {
    COS002:
            setarray @item$[1], "인면충의알", "쇠가루", "나무막대", "구미호꼬리", "쇠조각", "대나무가지", "장인의돌", "적령초", "일양초", "월로초", "만지초", "장석", "태독", "건독", "진독", "곤독", "선독", "오독산", "운모", "청동조각", "석영", "마노", "장인의뼈", "자현목", "방울뱀꼬리", "노송의가지", "천년묵은가지", "백현목", "매의깃털", "물소의뿔", "반짝이는돌", "금조각", "오철", "현철";
            setarray @count[1], $north_1, $north_2, $north_3, $north_4, $north_5, $north_6, $north_7, $north_8, $north_9, $north_10, $north_11, $north_12, $north_13, $north_14, $north_15, $north_16, $north_17, $north_18, $north_19, $north_20, $north_21, $north_22, $north_23, $north_24, $north_25, $north_26, $north_27, $north_28, $north_29, $north_30, $north_31, $north_32, $north_33, $north_34;

            set @pos, input2(@leave$, 1, 10, "어떤 아이템을 보관하시겠습니까?", " ", "(북방 재료만 가능)");
            if(@pos == 0) { goto Failed; end; }
            else if(@pos == -1) { goto COS001; }

            for(set @loop, 1; @loop <= getarraysize(@item$); set @loop, @loop+1)
            {
                if(@leave$ == @item$[@loop])
                {
                    set @pos, input2(@number, 1, 10, "몇개 보관하시겠습니까?", " ", "(최대 200개)");
                    if(@pos == 0) { goto Failed; end; }
                    else if(@pos == -1) { goto COS002; }
                    if(@number <= 0 || @number > 200)
                    {
                        set @pos, dialog(0,0,0, "재료는 최소 1개, 최대 200개 까지 보관이 가능합니다.");
                        goto Failed;
                        end;
                    }
                    else if(countitem(name2itemid(@leave$)) < @number)
                    {
                        set @pos, dialog(0,0,0, "북방 재료가 부족합니다.");
                        goto Failed;
                        end;
                    }
                    else
                    {
                        if(get_money(@sd) < 0)
                        {
                            set @pos, dialog(0,0,0, "수수료 0전이 부족합니다.");
                            goto Failed;
                            end;
                        }
                        else
                        {
                            if(@count[@loop]+@number <= 9999)
                            {
                                for(set @i, 0; @i < @number; set @i, @i+1)
                                {
                                    delitem @sd, name2itemid(@leave$), 1;
                                }
                                set @count[@loop], @count[@loop]+@number;
                                set @message, 0;
                                set_money @sd, get_money(@sd)-0;
                                updatestatus @sd, 2;
                                goto Success;
                                end;
                            }
                            else
                            {
                                set @pos, dialog(0,0,0, "북방 재료는 10000개 이상 보관하실 수 없습니다.");
                                goto Failed;
                                end;
                            }
                        }
                    }
                }
            }
            set @pos, dialog(0,0,0, "북방 재료가 아닙니다.");
            goto Failed;
            end;
        }
        else if(@list == 2)
        {
    COS003:
            setarray @item$[1], "인면충의알", "쇠가루", "나무막대", "구미호꼬리", "쇠조각", "대나무가지", "장인의돌", "적령초", "일양초", "월로초", "만지초", "장석", "태독", "건독", "진독", "곤독", "선독", "오독산", "운모", "청동조각", "석영", "마노", "장인의뼈", "자현목", "방울뱀꼬리", "노송의가지", "천년묵은가지", "백현목", "매의깃털", "물소의뿔", "반짝이는돌", "금조각", "오철", "현철";
            setarray @count[1], $north_1, $north_2, $north_3, $north_4, $north_5, $north_6, $north_7, $north_8, $north_9, $north_10, $north_11, $north_12, $north_13, $north_14, $north_15, $north_16, $north_17, $north_18, $north_19, $north_20, $north_21, $north_22, $north_23, $north_24, $north_25, $north_26, $north_27, $north_28, $north_29, $north_30, $north_31, $north_32, $north_33, $north_34;
            set @pos, list2(@find, 0, 1, "어떤 재료를 찾으시겠습니까?", @item$[1] + "(" + @count[1] + ")", @item$[2] + "(" + @count[2] + ")", @item$[3] + "(" + @count[3] + ")", @item$[4] + "(" + @count[4] + ")", @item$[5] + "(" + @count[5] + ")", @item$[6] + "(" + @count[6] + ")", @item$[7] + "(" + @count[7] + ")", @item$[8] + "(" + @count[8] + ")", @item$[9] + "(" + @count[9] + ")", @item$[10] + "(" + @count[10] + ")", @item$[11] + "(" + @count[11] + ")", @item$[12] + "(" + @count[12] + ")", @item$[13] + "(" + @count[13] + ")", @item$[14] + "(" + @count[14] + ")", @item$[15] + "(" + @count[15] + ")", @item$[16] + "(" + @count[16] + ")", @item$[17] + "(" + @count[17] + ")", @item$[18] + "(" + @count[18] + ")", @item$[19] + "(" + @count[19] + ")", @item$[20] + "(" + @count[20] + ")", @item$[21] + "(" + @count[21] + ")", @item$[22] + "(" + @count[22] + ")", @item$[23] + "(" + @count[23] + ")", @item$[24] + "(" + @count[24] + ")", @item$[25] + "(" + @count[25] + ")", @item$[26] + "(" + @count[26] + ")", @item$[27] + "(" + @count[27] + ")", @item$[28] + "(" + @count[28] + ")", @item$[29] + "(" + @count[29] + ")", @item$[30] + "(" + @count[30] + ")", @item$[31] + "(" + @count[31] + ")", @item$[32] + "(" + @count[32] + ")", @item$[33] + "(" + @count[33] + ")", @item$[34] + "(" + @count[34] + ")");
            if(@pos == 0) { goto Failed; end; }
            else if(@pos == -1) { goto COS001; }
            if(@find > 0)
            {
                for(set @loop, 1; @loop <= getarraysize(@item$); set @loop, @loop+1)
                {
                    if(@find == @loop)
                    {
                        if(@count[@loop] <= 0)
                        {
                            set @pos, dialog(0,0,0, "보관하신 재료가 없습니다.");
                            goto Failed;
                            end;
                        }
                        else
                        {
                            set @pos, input2(@number, 1, 3, "재료를 몇개 찾으시겠습니까?", " ", "(최대 200개)");
                            if(@pos == 0) { goto Failed; end; }
                            else if(@pos == -1) { goto COS003; }
                            if(@number <= 0 || @number > 200)
                            {
                                set @pos, dialog(0,0,0, "재료는 최소 1개, 최대 200개 까지 찾으실 수 있습니다.");
                                goto Failed;
                                end;
                            } 
                            else if(@count[@loop] < @number)
                            {
                                set @pos, dialog(0,0,0, "보관하신 재료가 부족합니다.");
                                goto Failed;
                                end;
                            }
                            else
                            {
                                if(get_money(@sd) < 0)
                                {
                                    set @pos, dialog(0,0,0, "수수료 0전이 부족합니다.");
                                    goto Failed;
                                    end;
                                }
                                else
                                {
                                    for(set @i, 0; @i < @number; set @i, @i+1)
                                    {
                                        additem @sd, name2itemid(@item$[@loop]), 1;
                                    }
                                    set @count[@loop], @count[@loop]-@number;
                                    set @message, 1;
                                    set_money @sd, get_money(@sd)-0;
                                    updatestatus @sd, 2;
                                    goto Success;
                                    end;
                                }
                            }
                        }
                    }
                }
            }
            else { goto Failed; end; }
        }
        else if(@list == 3)
        {
    COS004:
            set @pos, dialog(0,0,1, "북방 주머니는, 쥬모에게 10만원에 사시면 ,북방 재료를 보관, 찾기가 어디서든 가능한 주머니입니다.");
            if(@pos == 0) { goto Failed; end; }
    COS005:
            set @pos, dialog(0,1,1, "아이템은 최대 9999개 까지 보관이 가능하며, 재료를 보관하거나 찾을때 수수료 0전 필요합니다.");
            if(@pos == 0) { goto Failed; end; }
            else if(@pos == -1) { goto COS004; }
    COS006:
            set @pos, dialog(0,1,1, "단, 한번 보관하거나 찾을때는 최대 200개까지 가능하며 찾으려는 재료 갯수와 현재 가지고 있는 재료 갯수를 합한 갯수가 최대치를 초과시 재료가 손실될 수 있습니다.");
            if(@pos == 0) { goto Failed; }
            else if(@pos == -1) { goto COS005; }
            else if(@pos == 1) { goto COS001; }
            else { goto Failed; end; }
        }
        else { goto Failed; end; }

    Success:
        set $north_1, @count[1];
        set $north_2, @count[2];
        set $north_3, @count[3];
        set $north_4, @count[4];
        set $north_5, @count[5];
        set $north_6, @count[6];
        set $north_7, @count[7];
        set $north_8, @count[8];
        set $north_9, @count[9];
        set $north_10, @count[10];
        set $north_11, @count[11];
        set $north_12, @count[12];
        set $north_13, @count[13];
        set $north_14, @count[14];
        set $north_15, @count[15];
        set $north_16, @count[16];
        set $north_17, @count[17];
        set $north_18, @count[18];
        set $north_19, @count[19];
        set $north_20, @count[20];
        set $north_21, @count[21];
        set $north_22, @count[22];
        set $north_23, @count[23];
        set $north_24, @count[24];
        set $north_25, @count[25];
        set $north_26, @count[26];
        set $north_27, @count[27];
        set $north_28, @count[28];
        set $north_29, @count[29];
        set $north_30, @count[30];
        set $north_31, @count[31];
        set $north_32, @count[32];
        set $north_33, @count[33];
        set $north_34, @count[34];

        if(getarraysize(@item$) > 0) { deletearray @item$[1], getarraysize(@item$); }
        if(getarraysize(@count) > 0) { deletearray @count[1], getarraysize(@count); }

        if(@message == 0)
                set @pos, dialog(0,0,1, @leave$ + " " + @number + "개 보관하였습니다.");
        else
                set @pos, dialog(0,0,1, "아이템을 정상적으로 찾았습니다.");
        end;

    Failed:
        if(getarraysize(@item$) > 0) { deletearray @item$[1], getarraysize(@item$); }
        if(getarraysize(@count) > 0) { deletearray @count[1], getarraysize(@count); }
        end;
    }

     

    -게임존-

    출처(윈바람)

    이 게시물을..
    N
    0
    0
    • cr 용무기토렐리리
    • 42
      게임존

    게임존 님의 최근 글

    링크게시물은 포인트 복구처리되지않습니다. 93 1 2021 01.16 링크게시물은 포인트 복구처리되지않습니다. 29 2021 01.16 링크게시물은 포인트 복구처리되지않습니다. 33 2021 01.16 링크게시물은 포인트 복구처리되지않습니다. 72 2021 01.16 링크게시물은 포인트 복구처리되지않습니다. 380 2021 01.16

    게임존 님의 최근 댓글

    확인결과 정상 다운로드 및 압축이 풀리는것으로 확인되었습니다. 2026 02.22 강의해주셔서 감사합니다 2024 03.07 강의해주셔서 감사합니다 2023 11.20 강의해주셔서 감사합니다 2023 11.20 강의해주셔서 감사합니다 2023 11.19
    글쓴이의 서명작성글 감추기 
    댓글 쓰기 에디터 사용하기 닫기
    • view_headline 목록
    • 14px
    • cr 용무기
    • 목록
      view_headline
    × CLOSE
    기본 (505) 제목 날짜 수정 조회 댓글 추천 비추
    분류 정렬 검색
    • 게시판 홍보 관련 안내
      2026.08.05 - 21:44 51181
    • 포인트 획득 공지
      12
      2026.04.24 - 19:48 79179 12
    • 링크 업로드 관련 공지
      12
      2026.03.25 - 21:56 77698 12
    • 인증메일 공지
      3
      2026.03.15 - 16:42 76845 3
    • 파일링크 및 인증메일 발송 관련 문의 안내
      11
      2026.03.14 - 22:03 79168 11
    • 포인트 게시판 안내
      2026.02.28 - 19:14 78394
    • 게임존 사이트 변경 사항 안내
      9
      2026.02.26 - 01:07 80579 9
    • 소스자료실 안내입니다.
      2017.06.06 - 16:11 1030
    505
    무타, 소림사 구현 스크립트
    강상 2026.06.29 - 19:30 563
    504
    진황보검, 고대유물, 남경 상점 구현 스크립트
    강상 2026.06.29 - 19:29 545
    503
    도삭산 스크립트
    강상 2026.06.29 - 19:28 552
    502
    순정 아이템 db
    강상 2026.06.29 - 19:25 526
    501
    초보의 길 스크립트
    강상 2026.06.29 - 19:19 403
    500
    자동기원 있는 도사 직업길드 스크립트
    강상 2026.06.29 - 19:16 450
    499
    구버전 4차 순정 영혼사(십억경 있음)
    강상 2026.06.29 - 19:15 474
    498
    민첩 대폭 반영한 도적 공격 마법 (구버전)
    강상 2026.06.29 - 19:13 479
    497
    주술사 공격 마법에 지력 반영한 스크립트(구버전)
    강상 2026.06.29 - 19:11 454
    496
    도사 33 66 99 무기 지급 스크립트
    강상 2026.06.25 - 12:05 487
    495
    주술사 33 66 99 무기 지급 스크립트
    강상 2026.06.25 - 12:05 445
    494
    도적 33 66 99 무기 지급 스크립트
    강상 2026.06.25 - 10:31 444
    493
    전사 33 66 99 무기 지급 스크립트
    강상 2026.06.25 - 10:31 432
    492
    신 맵파일(.map) 5
    강상 2026.06.25 - 00:09 449
    491
    신 맵파일(.map) 4
    강상 2026.06.25 - 00:09 460
    490
    신 맵파일(.map) 3
    강상 2026.06.25 - 00:08 445
    489
    신 맵파일(.map) 2
    강상 2026.06.25 - 00:08 453
    488
    신 맵파일(.map) 1
    강상 2026.06.25 - 00:08 489
    487
    부여성/국내성/진입로 원본 .map
    강상 2026.06.24 - 23:59 462
    486
    내구도 보호 스크립트
    강상 2026.06.24 - 22:16 423
    485
    Mob 능력치 순정 파일
    강상 2026.06.24 - 21:49 462
    484
    Mob 아이템 드랍 순정 파일
    강상 2026.06.24 - 16:20 539
    483
    현자의기원 상향 스크립트
    강상 2026.06.24 - 14:59 384
    482
    백호참 상향 스크립트
    강상 2026.06.24 - 14:55 453
    481
    건곤대나이 상향 스크립트
    강상 2026.06.24 - 14:54 452
    480
    봉황의기원 상향 스크립트
    강상 2026.06.24 - 14:48 448
    479
    신령의기원 상향 스크립트
    강상 2026.06.24 - 14:47 450
    478
    생명의기원 상향 스크립트
    강상 2026.06.24 - 14:46 422
    477
    구버전 무기, 갑옷 밸런스 조정 db 파일
    강상 2026.06.24 - 14:40 437
    476
    CR 링서버기준 지폭지술 스크립트 오류 수정
    통통이 2026.04.15 - 21:22 631
    475
    구버전 바람 전사 고차승급 스킬 후퇴검격
    젠장할 2026.04.04 - 21:36 705
    474
    구버전 바람 전사 고차승급 스킬 그림자의맹습
    젠장할 2026.04.04 - 21:35 700
    473
    구버전 바람 주술사 고차 승급 스킬 천지창조
    젠장할 2026.04.04 - 21:34 717
    472
    구버전 바람 주술사 고차 승급 스킬 헬 아이스
    젠장할 2026.04.04 - 21:34 696
    471
    구버전 바람 주술사 고차 승급 스킬
    젠장할 2026.04.04 - 21:23 695
    470
    구버전 바람 주술사 고차 승급 스킬 마성강림
    젠장할 2026.04.04 - 21:23 567
    469
    구버전 바람 주술사 고차 승급 스킬 무간지옥
    젠장할 2026.04.04 - 21:21 602
    468
    구버전 바람 주술사 고차 승급 스킬 염라사자
    젠장할 2026.04.04 - 21:21 532
    467
    구버전 바람 주술사 고차승급 스킬 사냥개시
    젠장할 2026.04.04 - 21:20 627
    466
    구버전 바람 주술사 고차승급 스킬 혹한
    젠장할 2026.04.04 - 21:20 571
    465
    f1 체마사기
    젠장할 2026.04.04 - 21:10 582
    464
    십억경자동변환
    젠장할 2026.04.04 - 21:09 571
    463
    좌표 저장 후 이동
    젠장할 2026.04.04 - 21:09 611
    462
    북방 항아리 스크립트
    젠장할 2026.04.04 - 21:08 568
    461
    5.50불홍인데 경험치배율올려도 최대250만이상못먹어서..수정방법좀..
    프랑스0 2025.10.13 - 18:08 745
    460
    cr야바위
    토렐리리 2024.01.20 - 12:07 690
    459
    cr 얼음칼
    토렐리리 2024.01.20 - 11:55 668
    458
    cr 소소
    토렐리리 2024.01.20 - 11:54 694
    457
    cr 용무기
    토렐리리 2024.01.20 - 11:54 666
    456
    cr 막대사탕엔피씨
    토렐리리 2024.01.20 - 11:53 648
    • 1 2 3 4 5 6 7 8 9 10 .. 11
    • / 11 GO
  • GAMEZONE
 GAMEZONE all rights reserved.
by OrangeDay