공방봇용 노매너 리스트 관리-노파티 방법을 공개합니다..^^
분류
봇관련
조회 수
2,691
추천 수
1
올만에 글쓰는군요..^^
렙99도 찍고..했으나.. 방에서 만나는 여러분들이 다시 보고파서..또 바알런을 하고있는..
GAL[A2L]입니다..^^ 바보방 에서..Gal바알런으로 방제변경..^^
현재..소서 팔라등..여러분들이.. 공방런을 하시는중인데.. 도움이 될까 해서..
어제 맹그러본 소스 공개합니다..
간략한 요지는..공방을 돌리면서..파티를 안해주는 겁니당..봇이..
뭐.. 다른사람이 해준다면 모르겠지만..^^
3분마다 드러와서.. 파티해달라고 하려면..짜증나겟지요? ^^
tools 폴더를 열어서..PartyXP.d2j 파일을 아래와 같이 싹 고치면 됩니다.
이 아래부터 복사....
//////////////////////////////////////////////////////////////////////
//
// Darien's PartyXP script
// Tool for managing party stuff
//
// Version 0.4
// Updated on 2004/12/16
//
// Original author : Darien
// Current authors : darkspirit, Xizeta
//
// 0.4 -- Darkspirit modified and added a few functions for YAMB.
// 0.3 -- Darien changed something
// 0.2 -- Turns out this wasn't the final word.. Thx to TDW for showing me how to improve it
// 0.1 -- initial release
//
// Legal stuff :
// 1. This program is free software; You can redistrubute freely as long as this
// header and contents stays intact.
// 2. MODIFICATIONS for redistribution can only be done by submitting to the core scripters
// team for approval. If you don't want to submit the modifications and wanted to redistribute this script, you
// must rename it by replacing XP/d2jsp with your own name to avoid conflicts.
// 3. You may not modify or change the existing code other than for your own personal use with the XP name
// 4. Any copies of this software must always be compatible with the current d2jsp-common libs
// 5. The sale of this software is strictly forbidden
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
// or FITNESS FOR A PARTICULAR PURPOSE.
//
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
// Script private variables
//////////////////////////////////////////////////////////////////////
var _XPP_PartyList = new Array();
var _XPN_PartyList = new Array();
var _XPP_InHandler = false;
//////////////////////////////////////////////////////////////////////
// No Party LIST - PK
//////////////////////////////////////////////////////////////////////
_XPN_PartyList[0] = "WindFoceAmaZone";
_XPN_PartyList[1] = "HnsawoH";
_XPN_PartyList[2] = "Best-xxETxx";
_XPN_PartyList[3] = "DMC-NakashimaMK";
_XPN_PartyList[4] = "Salmosa_one";
_XPN_PartyList[5] = "Nok-soso";
_XPN_PartyList[6] = "Samurai_Din";
_XPN_PartyList[7] = "Staddo";
_XPN_PartyList[8] = "lllIIICMCIIIlll";
_XPN_PartyList[9] = "Angel_May";
_XPN_PartyList[10] = "Larcenciel";
_XPN_PartyList[11] = "Romoh";
_XPN_PartyList[12] = "lIlISilenCelIII";
_XPN_PartyList[13] = "sm_palak";
_XPN_PartyList[14] = "Extreme_ICE";
//////////////////////////////////////////////////////////////////////
// List End
//////////////////////////////////////////////////////////////////////
function main() {
// Initialise the event handler
registerEvent( EVENT_PARTYMSG, XPP_MsgHandler);
// variables
var _inparty = false;
var _attempted = false;
var _alone = true;
var _partyobject = getParty();
print("loading PartyXP!");
_XPP_PartyList.push(me.name);
_XPN_PartyList.push(me.name);
var kkll = 0;
while(1) {
_attempted = false;
_alone = true;
_partyobject = getParty();
if (_partyobject) { do {
if (_partyobject.name == me.name) {
_inparty = (_partyobject.partyid != 65535);
}
else { _alone = false; }
// Character NOT in a party
if (_partyobject.partyid == 65535 && _partyobject.name != me.name && (_inparty || !XPP_PartyExists())) {
skip=false;
for (i=0; i < _XPP_PartyList.length; i+=1) {
if (_partyobject.name == _XPP_PartyList[i]) { skip = true; }
}
for (jj=0; jj < _XPN_PartyList.length; jj+=1) {
if (_partyobject.name == _XPN_PartyList[jj]) { skip = true; }
if (kkll == 0 && _partyobject.name == _XPN_PartyList[jj]) { print(" @@@ NOMANNER [" + _partyobject.name +"]("+ _partyobject.level + ") In The Room @@@"); kkll = 1;}
}
if (!skip && !_XPP_InHandler) {
_XPP_InHandler = true;
clickParty(_partyobject, 2);
_XPP_PartyList.push(_partyobject.name);
_attempted = true;
_XPP_InHandler = false;
}
}
} while(_partyobject.getNext()); }
//if (!_inparty && !_alone && !_attempted) { say ("pp"); }
delay(5000);
}
}
// Check if a party is already formed
function XPP_PartyExists() {
var player = getParty();
if (player) { do {
if (player.partyid != 65535) { return true; }
} while (player.getNext()); }
return false;
}
//Party Handler
// Manage all the party messages
function XPP_MsgHandler(msg) {
if (_XPP_InHandler) { return; }
_XPP_InHandler = true;
var WholeMessage = arguments[0];
Firstword = WholeMessage.split(" ");
getName = Firstword[0];
action = Firstword[1];
var meP1 = getParty();
if (meP1.partyid == 65535 && action == "invites" && getName != me.name) { do {
// Only accept invitations from party members
if(meP1.name == getName && XPP_IsInAParty(getName)) {
clickParty(meP1, 2);
// print("Thanks for the Invite " + getName);
}
} while(meP1.getNext()); }
_XPP_InHandler = false;
}
// function by darkspirit
// Check if a player is in a party
function XPP_IsInAParty(playerName) {
var player = getParty();
if (player) { do {
if (player.name == playerName) { return (player.partyid != 65535); }
} while (player.getNext()); }
return false;
}
;요기까지가 끝~^^
이제..설명을 하자면..
No Party LIST - PK부분을 보시면... 아래 같은 캐릭명이 있습니다..
_XPN_PartyList[0] = "WindFoceAmaZone";
_XPN_PartyList[1] = "HnsawoH";
등등..
이분들은..제가 렙업하는동안..봇에게 PK를 거신 분들이네요..아시아2 입니다..
위 방법 처럼...
_XPN_PartyList[그 다음숫자] = "캐릭명";
을 순서대로 만들어 주시기만 하면 됩니다..그리고..그 사람이 방에 드러올경우 노매너가 있다는 문구가 뜹니다.
주의하실점은 숫자를 차례대로 늘려주시고..대소문자 정확히 구분된 캐릭명을 따옴표안에 넣어주셔야 합니다.
* 계정명이 아닌 캐릭명입니다.
아샤2 봇 공방런을 하시는분은 위의 캐릭명 공유를 하셔도 무방합니다..
개인적인 바램으론.. Dual샤인하고..장도리님도 함께 리스트를 공유했으면 하네요..
피케건 시간 날짜 포함된..로그파일이 모두 있으니까요.. 로그가 확실한 분들만 올라가 있습니다..
아니다..실수다.. 이딴소리.. 안통합니다..ㅡ,.ㅡ;
기타 노매너분이나..무식하게..소환하는 조폭넥도 몇분 있으나..그분들은 아직은 추가 안했네요..
좀더 두고 볼 생각..
공방에서 피케거러서 봇이 죽어봤자..경치와는 상관없습니다..
오히려..함께 공방에서 렙업하는분들이..피해를 보죠..
또 이런분들이 봇에 피케를 걸거나.. 방에서 개판을 치다가..
자기 필요할때 다시 방에 들어와서..렙업을하는 꼴은..정말 못 봐주겟더군요..
잘 사용하시길..^^