Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
InnerPortalHandler.java
Package: src.rar [view]
Upload User: gwt600
Upload Date: 2021-06-03
Package Size: 704k
Code Size: 1k
Category:
Games
Development Platform:
Java
- package net.sf.odinms.net.channel.handler;
- import net.sf.odinms.client.MapleClient;
- import net.sf.odinms.net.AbstractMaplePacketHandler;
- import net.sf.odinms.tools.data.input.SeekableLittleEndianAccessor;
- //import org.slf4j.LoggerFactory;
- /**
- *
- * @author Xterminator
- */
- public class InnerPortalHandler extends AbstractMaplePacketHandler {
- // private static org.slf4j.Logger log = LoggerFactory.getLogger(SpecialPortalHandler.class);
- @Override
- public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
- /*
- // TODO Need to code this check somehow =/
- [5D 00] // Opcode
- [02] // Map Portal
- [06 00 68 69 64 65 30 32] //the entered portal name
- [6B 0D] // to x
- [30 01] // to y
- [C5 00] // x
- [C4 01] // y
- slea.readByte();
- String portal = slea.readMapleAsciiString();
- int toX = slea.readShort();
- int toY = slea.readShort();
- int X = slea.readShort();
- int Y = slea.readShort();
- log.info("[Hacks] Player {} is trying to jump to a different map portal rather than the correct one");
- */
- }
- }