• SEARCH

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

      • 으으럇차차
      • 2016.04.02 - 20:24 182

    #include <process.h>
    #include "stdafx.h"
    #include "Utilidades.h"
    #include "NewsSystem.h"
    #define NewFile "..\\MuData\\Mu_News.txt"

    void NewsSystemClass__InsideTrigger(void * lpParam)
    {
     FILE *fp;
     fp=fopen("..\\MuData\\Mu_News.txt","rb");
     if(!fp)
     {
      MessageBoxA(NULL,"Mu_News.txt not found!","Error!",MB_OK);
      ::ExitProcess(0);
     }

     while(true)
     {
      char MSG01[58];
      char MSG02[58];
      char MSG03[58];
      int IsNews = GetPrivateProfileIntA("General","MuIsNewsSystem",0,NewFile);
      int Sections = GetPrivateProfileIntA("General","MuNewsSections",0,NewFile);
      long time = GetPrivateProfileIntA("General","MuTimeBtwEachNew",0,NewFile) * 60000;
      if(Sections > 5 || Sections <= 0 || IsNews == 0)
      {
       _endthread();
      }
      Sleep(time);
      GetPrivateProfileStringA("News","MuNew01","This server uses MuTeam Server Files!",MSG01,58,NewFile);
      GetPrivateProfileStringA("News","MuNew02","This server uses MuTeam Server Files!",MSG02,58,NewFile);
      GetPrivateProfileStringA("News","MuNew03","This server uses MuTeam Server Files!",MSG03,58,NewFile);
      StringSendAll(MSG01,0);
      StringSendAll(MSG02,0);
      StringSendAll(MSG03,0);
      if(Sections >= 2)
      {
       Sleep(time);
       GetPrivateProfileStringA("News","MuNew04","This server uses MuTeam Server Files!",MSG01,58,NewFile);
       GetPrivateProfileStringA("News","MuNew05","This server uses MuTeam Server Files!",MSG02,58,NewFile);
       GetPrivateProfileStringA("News","MuNew06","This server uses MuTeam Server Files!",MSG03,58,NewFile);
       StringSendAll(MSG01,0);
       StringSendAll(MSG02,0);
       StringSendAll(MSG03,0);
      }
      if(Sections >= 3)
      {
       Sleep(time);
       GetPrivateProfileStringA("News","MuNew07","This server uses MuTeam Server Files!",MSG01,58,NewFile);
       GetPrivateProfileStringA("News","MuNew08","This server uses MuTeam Server Files!",MSG02,58,NewFile);
       GetPrivateProfileStringA("News","MuNew09","This server uses MuTeam Server Files!",MSG03,58,NewFile);
       StringSendAll(MSG01,0);
       StringSendAll(MSG02,0);
       StringSendAll(MSG03,0);
      }
      if(Sections >= 4)
      {
       Sleep(time);
       GetPrivateProfileStringA("News","MuNew10","This server uses MuTeam Server Files!",MSG01,58,NewFile);
       GetPrivateProfileStringA("News","MuNew11","This server uses MuTeam Server Files!",MSG02,58,NewFile);
       GetPrivateProfileStringA("News","MuNew12","This server uses MuTeam Server Files!",MSG03,58,NewFile);
       StringSendAll(MSG01,0);
       StringSendAll(MSG02,0);
       StringSendAll(MSG03,0);
      }
      if(Sections == 5)
      {
       Sleep(time);
       GetPrivateProfileStringA("News","MuNew13","This server uses MuTeam Server Files!",MSG01,58,NewFile);
       GetPrivateProfileStringA("News","MuNew14","This server uses MuTeam Server Files!",MSG02,58,NewFile);
       GetPrivateProfileStringA("News","MuNew15","This server uses MuTeam Server Files!",MSG03,58,NewFile);
       StringSendAll(MSG01,0);
       StringSendAll(MSG02,0);
       StringSendAll(MSG03,0);
      }
     }
     _endthread();
    }

    이 게시물을..
    N
    0
    0
    • 뮤 메이커 소스이호성
    • 뮤 핵체크 오프셋값 코드으으럇차차
    • 0
      으으럇차차

    으으럇차차 님의 최근 글

    웹쉐어 파일 공유 프로그램 23 2024 02.07 도메인 free dns 업데이트 회원가입 필수 29 2024 02.07 슈퍼패미콤 에뮬 24 2024 02.07 홈페이지 구축 xampp 입니다 윈도우용 23 2024 02.07 핑 및 다운로드 확인 프로그램 13 2024 02.06

    으으럇차차 님의 최근 댓글

    다운이안되네요 ㅠㅠ 2023 10.12 뮤는간단히도움가능합니다. 2016 10.11 감사 2016 08.11
    글쓴이의 서명작성글 감추기 
    댓글 쓰기 에디터 사용하기 닫기
    • view_headline 목록
    • 14px
    • 뮤 메이커 소스
    • 뮤 핵체크 오프셋값 코드
    • 목록
      view_headline
    × CLOSE
    전체 던파 5 뮤 18 천상비 프로젝트신루 5 아이온 18 어둠의전설 28 리니지2 7 크로노스 5 칼온라인 3 기타 194
    기본 (18) 제목 날짜 수정 조회 댓글 추천 비추
    뮤 정렬 검색
    • 소스자료는 직접 올려주세요
      2017.06.06 - 16:16 665
    18
    뮤
    뮤 DB 용량이 클경우 줄여주는 소스
    안드레스 2019.11.20 - 09:41 264
    17
    뮤
    뮤오리진 프리서버 구축설명서
    프리스타일001 2017.06.19 - 02:14 5280
    16
    뮤
    뮤..한글 에디터
    공신 2017.06.08 - 10:14 598
    15
    뮤
    뮤오리진(모바일) 구축설명서
    프리스타일001 2017.05.27 - 01:11 2604
    14
    뮤
    뮤 igcn s10-11 용 sql db 한글화
    pochachipp 2017.05.02 - 01:57 377
    13
    뮤
    뮤 모든 버전 서버-클라이언트 코드
    pochachipp 2017.05.02 - 00:02 614
    12
    뮤
    ZTeam 시즌 6 클라(dll) 소스
    이호성 2016.04.18 - 16:12 198
    11
    뮤
    Loader 소스
    이호성 2016.04.18 - 15:37 125
    10
    뮤
    뮤 메이커 소스
    이호성 2016.04.17 - 23:00 174
    뮤
    공지사항 소스 자동발송
    으으럇차차 2016.04.02 - 20:24 182
    8
    뮤
    뮤 핵체크 오프셋값 코드
    으으럇차차 2016.04.02 - 16:26 247
    7
    뮤
    게임서버 클레스값
    으으럇차차 2016.04.02 - 16:25 191
    6
    뮤
    몬스터 및 아이템 오프셋
    으으럇차차 2016.04.02 - 16:24 149
    5
    뮤
    맵 소스 rc로 변경가능
    으으럇차차 2016.04.02 - 16:23 121
    4
    뮤
    상점 엑템판매 함수
    으으럇차차 2016.04.02 - 16:22 144
    3
    뮤
    오프셋값 1.00.87
    으으럇차차 2016.04.02 - 16:21 80
    2
    뮤
    뮤 시즌5 한국프로토콜 값 소스 입니다.
    으으럇차차 2016.04.02 - 16:20 185
    1
    뮤
    뮤 아이템 드랍 및 세트아이템 드랍 소스 입니다.
    으으럇차차 2016.04.02 - 16:19 444
    • 1
    • / 1 GO
  • GAMEZONE
 GAMEZONE all rights reserved.
by OrangeDay