• SEARCH

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

      • 게임존
      • 2016.02.16 - 22:56 63

    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
      게임존

    게임존 님의 최근 글

    [필독] 등업신청 공지사항 입니다 . 하사이상 1만포인트이상 등업신청 485 29 2025 07.06 현금거래성 게시물 작성시 영구정지 대상입니다 276 2018 01.29 자유게시판 홍보시 영구정지 처리됩니다. 20 2023 02.10 홍보게시물 작성시 1건당 -200포인트가 소모됩니다. 1662 2020 08.18 홍보게시물 작성시 1건당 -200포인트가 소모됩니다. 1678 2020 08.18

    게임존 님의 최근 댓글

    확인결과 정상 다운로드 및 압축이 풀리는것으로 확인되었습니다. 2026 02.22 강의해주셔서 감사합니다 2024 03.07 강의해주셔서 감사합니다 2023 11.20 강의해주셔서 감사합니다 2023 11.20 강의해주셔서 감사합니다 2023 11.19
    글쓴이의 서명작성글 감추기 
    댓글 쓰기 에디터 사용하기 닫기
    • view_headline 목록
    • 14px
    • CR 오녀산성 스크립트
    • 목록
      view_headline
    × CLOSE
    기본 (461) 제목 날짜 수정 조회 댓글 추천 비추
    분류 정렬 검색
    • 소스자료실 안내입니다.
      2017.06.06 - 16:11 614
    461
    5.50불홍인데 경험치배율올려도 최대250만이상못먹어서..수정방법좀..
    프랑스0 2025.10.13 - 18:08 41
    460
    cr야바위
    토렐리리 2024.01.20 - 12:07 103
    459
    cr 얼음칼
    토렐리리 2024.01.20 - 11:55 71
    458
    cr 소소
    토렐리리 2024.01.20 - 11:54 38
    457
    cr 용무기
    토렐리리 2024.01.20 - 11:54 73
    456
    cr 막대사탕엔피씨
    토렐리리 2024.01.20 - 11:53 29
    455
    CR 천인마법 스크립트 입니다.
    닼으닉스 2021.06.09 - 05:26 383
    454
    CR 점령NPC 스크립트 입니다.
    닼으닉스 2021.06.09 - 05:25 86
    453
    CR 생산NPC 스크립트 입니다.
    닼으닉스 2021.06.09 - 05:25 76
    452
    CR 전쟁NPC 스크립트 입니다.
    닼으닉스 2021.06.09 - 05:24 63
    451
    CR 강화NPC 스크립트 입니다.
    닼으닉스 2021.06.09 - 05:23 62
    450
    CR 연대기NPC 스크립트 입니다.
    닼으닉스 2021.06.07 - 03:43 44
    449
    CR 천인NPC 스크립트 입니다.
    닼으닉스 2021.06.07 - 03:41 65
    448
    cr 정화의방패
    아마 2021.05.01 - 02:57 114
    447
    CR 애매한 함수들의 13가지 비밀
    꿀밤12 2021.03.18 - 03:22 182
    446
    환상의섬 몬스터별 드랍아이템
    꿀밤12 2021.03.16 - 16:57 92
    445
    CR 애매한 함수들의 13가지 비밀
    꿀밤12 2021.03.16 - 16:38 93
    444
    몬스터 마법 정보 및 마법 데미지
    꿀밤12 2021.03.16 - 16:36 98
    443
    DR 구축방법
    꿀밤12 2021.03.16 - 16:16 354
    442
    스킬모음 - 화염주술사
    안지 2021.02.06 - 07:45 170
    441
    주술사 자동범위마법
    아리힝 2021.01.29 - 21:11 203
    440
    CR 추가경험치
    아리힝 2021.01.29 - 21:05 102
    439
    결투장 스크립트
    피카츄배구 2020.03.10 - 19:39 465
    438
    그룹경험치 스크립트
    피카츄배구 2020.03.10 - 19:37 453
    437
    도사 버프 스크립트
    피카츄배구 2020.03.10 - 19:33 475
    436
    승급기준 아이템지급
    피카츄배구 2020.03.10 - 19:32 349
    435
    낚시 스크립트
    피카츄배구 2020.03.10 - 19:31 293
    434
    템이미지코드
    디르고633 2020.03.09 - 02:31 399
    433
    CR 아이템파괴비령서
    아리힝 2020.03.03 - 01:27 156
    432
    아이템 판매가격 설정법?? (SUN구동기)
    데뮤니즈 2019.12.26 - 21:29 370
    431
    6.51 경험치 배율 수정 방법입니다.(mapreg로 안될 시)
    wnehddbs 2019.11.12 - 23:16 530
    430
    자동기원
    츠찌 2019.10.15 - 23:39 664
    429
    후면공격 측면공격 스크립트!!(디스구동기)
    깜상 2019.09.25 - 10:18 659
    428
    DR 함수모음
    고래상어 2019.04.02 - 18:50 538
    427
    DR환수
    가시거기 2019.03.31 - 13:42 390
    426
    DR자동체마사기
    가시거기 2019.03.31 - 13:40 354
    425
    DR황제암살
    가시거기 2019.03.31 - 13:39 249
    424
    DR 천명
    가시거기 2019.03.31 - 13:30 238
    423
    잠수컨텐츠 (수련)
    20009 2019.03.31 - 12:45 282
    422
    cr1인인던
    20009 2019.03.31 - 12:44 140
    421
    dr낚시터
    20009 2019.03.31 - 12:41 125
    420
    dr환수스크립트
    20009 2019.03.31 - 12:39 194
    419
    진홍의대지
    20009 2019.03.30 - 07:03 158
    418
    메마른고원 맵
    20009 2019.03.30 - 07:02 174
    417
    CR낚시
    파도풀 2019.03.24 - 18:22 140
    416
    cr 마력방패(각성)
    파도풀 2019.03.24 - 18:20 131
    415
    CR랭킹
    파도풀 2019.03.24 - 18:18 192
    414
    경마장 시스템 [구버전/디스구동기]
    인연서버 2019.02.14 - 11:00 357
    413
    CR 오녀산성 스크립트
    포로롱 2019.01.09 - 21:03 132
    412
    cr 함수모음
    포로롱 2019.01.09 - 20:58 490
    • 1 2 3 4 5 6 7 8 9 .. 10
    • / 10 GO
  • GAMEZONE
 GAMEZONE all rights reserved.
by OrangeDay