상세 컨텐츠

본문 제목

한국 서버 소스코드 수정 내용

TomeNet 한글판

by 넷핵감자 2019. 12. 30. 14:16

본문

# 캐릭터 생성시 자동 인증

server/party.c {GetAccount}

더보기

    /* No account found. Create trial account */ 

    WIPE(c_acc, struct account);

    c_acc->id = new_accid();

    if (c_acc->id != 0L) {

        if (c_acc->id == 1)

            c_acc->flags = (ACC_ADMIN | ACC_NOSCORE);

        else

#ifdef DKPARK   // 캐릭터 생성시 자동 인증

            c_acc->flags = ACC_MULTI;

#else

            c_acc->flags = (ACC_TRIAL | ACC_NOSCORE);

#endif

        strncpy(c_acc->name, name, 29);

        c_acc->name[29] = '\0';

        strcpy(c_acc->pass, t_crypt(pass, name));

        if (!(WriteAccount(c_acc, TRUE))) {

            KILL(c_acc, struct account);

            fclose(fp);

            return(NULL);

        }

    }

 

# 리콜 거리 제한 풀기

server/dungeon.c

더보기

/* Maximum wilderness radius a player can travel with WoR [16] 

 * TODO: Add another method to allow wilderness travels */

#ifndef DKPARK // 리콜 거리 제한 풀기

#define RECALL_MAX_RANGE    24

#endif

# 리콜 후 클로킹 안풀리게

server/dungeon.c {recall_player}

더보기

#ifndef DKPARK // 리콜 후 클로킹 안풀리게

    break_cloaking(Ind, 0);

#endif

 

 

#아티팩트 소유 수량 제한 해제 (개인아티 가능하게)

server/object2.c {make_artifact_special} {make_artifact}

더보기

/* Cannot make an artifact twice */
#ifndef DKPARK //아티팩트 소유 수량 제한 해제 (개인아티 가능하게)
if (a_ptr->cur_num) continue;
#endif 

 

 

 

 

관련글 더보기