순위 소스
2007.04.12 13:05
/*********************************************************/
/* 순위 */
/*********************************************************/
/***************make by 천신의요정(작대기)****************/
int levellist(ply_ptr, cmnd)
creature *ply_ptr;
cmd *cmnd;
{
int fd, i, j, k=1, a=0;
fd = ply_ptr->fd;
if(F_ISSET(ply_ptr, PBLIND)){
print(fd, "당신은 눈이 멀어 있습니다!\n");
return(0);
}
for(i=0; i if(!Ply[i].ply) continue;
a++;
}
if(a <= 8){
print(fd, "━━━━━━━━━━━━━━━━━━━━━━━━━\n");
print(fd, " 순 위 이 름\n");
print(fd, "━━━━━━━━━━━━━━━━━━━━━━━━━\n ");
}
else {
print(fd,
"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n");
print(fd,
" 순 위 이 름 순 위 이 름 순 위 이 름\n");
print(fd,
"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n");
}
for(j=255;j>0;j--) {
for(i=0; i if(!Ply[i].ply) continue;
if(Ply[i].ply->level==j) {
print(fd, "[%2d 등] %-12s[%3d] "
, k, Ply[i].ply->name, Ply[i].ply->level);
if(a <= 8)
print(fd, "\n ");
else if(k%3 ==0)
print(fd, "\n ");
k++;
}
}
}
return(0);
}
홈지기 "그륨"
/* 순위 */
/*********************************************************/
/***************make by 천신의요정(작대기)****************/
int levellist(ply_ptr, cmnd)
creature *ply_ptr;
cmd *cmnd;
{
int fd, i, j, k=1, a=0;
fd = ply_ptr->fd;
if(F_ISSET(ply_ptr, PBLIND)){
print(fd, "당신은 눈이 멀어 있습니다!\n");
return(0);
}
for(i=0; i if(!Ply[i].ply) continue;
a++;
}
if(a <= 8){
print(fd, "━━━━━━━━━━━━━━━━━━━━━━━━━\n");
print(fd, " 순 위 이 름\n");
print(fd, "━━━━━━━━━━━━━━━━━━━━━━━━━\n ");
}
else {
print(fd,
"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n");
print(fd,
" 순 위 이 름 순 위 이 름 순 위 이 름\n");
print(fd,
"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n");
}
for(j=255;j>0;j--) {
for(i=0; i if(!Ply[i].ply) continue;
if(Ply[i].ply->level==j) {
print(fd, "[%2d 등] %-12s[%3d] "
, k, Ply[i].ply->name, Ply[i].ply->level);
if(a <= 8)
print(fd, "\n ");
else if(k%3 ==0)
print(fd, "\n ");
k++;
}
}
}
return(0);
}
홈지기 "그륨"
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 57 | 특수 아이템 만들기 | 그리움 | 2007.04.12 | 361 |
| 56 | 몹과 자신을 "비교" | 그리움 | 2007.04.12 | 296 |
| 55 | 패거리 전쟁시 적과 아군 구분 | 그리움 | 2007.04.12 | 303 |
| » | 순위 소스 | 그리움 | 2007.04.12 | 299 |
| 53 | 개량형 우체국 | 그리움 | 2007.04.12 | 318 |
| 52 | 명성치 도입 | 그리움 | 2007.04.12 | 344 |
| 51 | 자기 아파트 방설명은 자기가 #2 | 그리움 | 2007.04.12 | 336 |
| 50 | 이동력 추가하기 | 그리움 | 2007.04.12 | 408 |
| 49 | 경매 소스 | 그리움 | 2007.04.12 | 319 |
| 48 | 글자색, 배경색 15색 사용하기 | 그리움 | 2007.04.12 | 317 |
| 47 | Ctrl+Enter 패치하기 | 그리움 | 2007.04.12 | 273 |
| 46 | 패거리 상점 만들기 | 그리움 | 2007.04.12 | 285 |
| 45 | 귀환장소 설정 | 그리움 | 2007.04.12 | 318 |
| 44 | 출구 정렬 | 그리움 | 2007.04.12 | 314 |
| 43 | 게시판 검색 기능 추가하기 | 그리움 | 2007.04.12 | 292 |
| 42 | 암호 *****로 보이게 하기 | 그리움 | 2007.04.12 | 294 |
| 41 | 레벨을 32767까지 가능하게 | 그리움 | 2007.04.12 | 318 |
| 40 | 잡담 안시 사용하기 | 그리움 | 2007.04.12 | 330 |
| 39 | 지도 소스 #2 | 그리움 | 2007.04.12 | 327 |
| 38 | 베팅소스 | 그리움 | 2007.04.12 | 322 |