순위 소스
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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
17 | 프롬프트 그래프화 | 그리움 | 2007.04.12 | 271 |
16 | 주민등록번호 검사 소스 | 그리움 | 2007.04.12 | 420 |
15 | 프롬프트 그래프화 #2 | 그리움 | 2007.04.12 | 280 |
14 | 귀환장소 수정판 | 그리움 | 2007.04.12 | 263 |
13 | Mordor에 있는 몹 소환 소스 | 그리움 | 2007.04.12 | 277 |
12 | 온라인 리붓 | 그리움 | 2007.04.12 | 287 |
11 | 방전체 공격루틴 #2 | 그리움 | 2007.04.12 | 287 |
10 | 낚시 | 그리움 | 2007.04.12 | 280 |
9 | 운영자명령 "보고" | 그리움 | 2007.04.12 | 280 |
8 | 감옥/퇴소 | 그리움 | 2007.04.12 | 338 |
7 | 연타기능 - 직업별 연타 | 그리움 | 2007.04.12 | 479 |
6 | 연타기능 - 연타수 자동 | 그리움 | 2007.04.12 | 447 |
5 | 게시판 버그 해결 방법. | 그리움 | 2007.04.12 | 470 |
4 | *괴물이름 방폭 버그 수정 | 그리움 | 2007.04.12 | 533 |
3 | 물건, 몹의 번호 찾아내기. | 그리움 | 2007.07.04 | 392 |
2 | 몹 소환하여 소환몹이 대신 싸우게 하기 | 그리움 | 2007.11.23 | 398 |
1 | 무한대전 방 데이터 Convert | 그리움 | 2007.11.23 | 423 |