XP 봇, 룬 로그되게 하기
분류
봇관련
조회 수
5,132
추천 수
8
scripts\libs\XP 폴더에 , 모든 케릭콘피그 파일에
SnagIt Items logging configuration 부분에 다음 추가부분 추가후 저장
//추가시작
//Rune name El Eld Tir Nef Eth Ith Tal Ral Ort Thul Amn Sol Shael Dol Hel Io Lum Ko Fal Lem Pul Um Mal Ist Gul Vex Ohm Lo Sur Ber Jah Cham Zod
//Rune num# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
DSN_RuneLog = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
// 0 = no logging, 1 = logging
//추가끝
scripts\libs\common 폴더에, d2jsp-snagit.d2l 파일에서
// Logging configuration 부분에, 다음 추가부분 추가후 저장.
//추가시작
//Rune name El Eld Tir Nef Eth Ith Tal Ral Ort Thul Amn Sol Shael Dol Hel Io Lum Ko Fal Lem Pul Um Mal Ist Gul Vex Ohm Lo Sur Ber Jah Cham Zod
//Rune num# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
var DSN_RuneLog = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
//추가끝
scripts\libs\common 폴더에, d2jsp-snagit.d2l 파일에서, function _DSN_LogItem 함수 찾아서
function _DSN_LogItem(item,itemclass,type) {
// Variables
var _itemquality = item.quality;
var _itemclassid = item.classid;
// Potions
if (_DSN_IsPotion(_itemclassid) && DSN_LogPotions && type != 2) { return true; }
// Runes
if (_itemclassid > 609 && _itemclassid < 643 && DSN_LogRunes) {
//if (type == 2 && item.classid > 624) { return true; } 이줄 주석처리하고, 다음줄 추가후 저장
if(DSN_RuneLog[parseInt(item.code.substring(1,item.code.length))-1] == 1) { return true; } //이줄추가
}
----- 이하생략 ----
설정 방법
케릭 콘피그 파일에서, 좀전에 저장했던 배열변수에서, 로긴 되게 할 부분만 1 로, 로긴 안되게 할것은 0 으로.
DSN_RuneLog = [ 0,0,0,0,0,0,0,0,0,0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
위와 같이 할경우, 12번 솔룬 부터 로긴 되는 겁니다.
즉, 해당위치가 룬번호와 일치합니다.