순위 소스
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 | 188 |
56 | 귀환장소 설정 | 그리움 | 2007.04.12 | 190 |
55 | 안시 문자열로 인한 공백 #2 | 그리움 | 2007.04.12 | 191 |
54 | 배경색 바꾸기 | 그리움 | 2007.04.12 | 192 |
53 | 안시 문자열로 인한 공백 | 그리움 | 2007.04.12 | 193 |
52 | 패거리창고 소스 | 그리움 | 2007.04.12 | 194 |
51 | 패거리 레벨 조정 소스 | 그리움 | 2007.04.12 | 195 |
50 | 자기 아파트 자기가 방설명 넣기 | 그리움 | 2007.04.12 | 195 |
49 | 지도 소스 #2 | 그리움 | 2007.04.12 | 195 |
48 | 방 전체공격 소스 | 그리움 | 2007.04.12 | 197 |
47 | 자동으로 돈줍기 #2 | 그리움 | 2007.04.12 | 197 |
46 | 귀환장소 변경소스 #2 | 그리움 | 2007.04.12 | 198 |
45 | 베팅소스 | 그리움 | 2007.04.12 | 198 |
44 | 직업 추가하기 #2 | 그리움 | 2007.04.12 | 199 |
43 | 이도류 | 그리움 | 2007.04.12 | 199 |
42 | 기술추가 | 그리움 | 2007.04.12 | 199 |
41 | 잡담 안시 사용하기 | 그리움 | 2007.04.12 | 200 |
40 | 레벨을 32767까지 가능하게 | 그리움 | 2007.04.12 | 200 |
39 | 주문추가 소스 | 그리움 | 2007.04.12 | 201 |
38 | 출구모양 개량 소스 | 그리움 | 2007.04.12 | 201 |