사이트 로그인
2016.06.29 11:25
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
package l1j.server.server.serverpackets;
import l1j.server.server.Opcodes;
import l1j.server.server.model.Instance.L1PcInstance;
public class S_Unknown1 extends ServerBasePacket {
public S_Unknown1(L1PcInstance pc) {
writeC(Opcodes.S_OPCODE_UNKNOWN1);
writeC(0x03); // 語系
if(pc.getClanid() > 0){
writeD(pc.getClanMemberId());
} else {
writeC(0x53);
writeC(0x01);
writeC(0x00);
writeC(0x8b);
}
writeC(0x9c);
writeC(0x1f);
}
@Override
public byte[] getContent() {
return getBytes();
}
}
오류 임시 방편으로
import l1j.server.server.model.Instance.L1PcInstance;
이거랑
L1PcInstance
/** 3.80 물개(언노운 오류 임시) **/
private int _clanMemberId; // 血盟成員Id
public int getClanMemberId() {
return _clanMemberId;
}
public void setClanMemberId(int i) {
_clanMemberId = i;
}
셀렉트 케릭터 쪽에도 오류 잡힐건대
pc.sendPackets(new S_Unknown1(pc)); 이렇게
이렇게 추가해주세요
/** 3.80 물개(언노운 오류 임시) **/
전 이렇게 표시 해놧습니다 다른분들은 다르게 해주세요
[출처] 대만 3.80c 대만 S_Unknown1 쪽이요 (비공개 카페)