Jump to content

L2jTeam

Members
  • Posts

    44
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by L2jTeam

  1. #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000018000363d, pid=3048, tid=736
    #
    # JRE version: 7.0_21-b11
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # C  [l2ft64.dll+0x363d]  Java_java_lang_ClassTransform_defineClass3+0x25dd
    #
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    
    ---------------  T H R E A D  ---------------
    
    Current thread (0x00000000022fd000):  JavaThread "main" [_thread_in_native, id=736, stack(0x0000000002340000,0x0000000002440000)]
    
    siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
    
    Registers:
    RAX=0x000000000e00b1e0, RBX=0x000000000d65d6a0, RCX=0x0000000000000005, RDX=0x000000000000ec25
    RSP=0x000000000243e880, RBP=0x00000000000025ec, RSI=0x0000000000000000, RDI=0x0000000180011398
    R8 =0x000000000d848c70, R9 =0x000000000d848c80, R10=0x000000000e03fd48, R11=0x0000000000003863
    R12=0x0000000000003863, R13=0x000000000243ea30, R14=0x000000000243ea30, R15=0x0000000000000000
    RIP=0x000000018000363d, EFLAGS=0x0000000000010297
    
    Top of Stack: (sp=0x000000000243e880)
    0x000000000243e880:   000000000000ec25 000000000d65d6a0
    0x000000000243e890:   000000000243eb68 00000001800061bb
    0x000000000243e8a0:   fffffffffffffffe 0000000000000008
    0x000000000243e8b0:   000000000d885400 000000018000370c
    0x000000000243e8c0:   000000000d8556c0 0000000180006047
    0x000000000243e8d0:   000000000d8556c0 000000000d65d6a0
    0x000000000243e8e0:   000000000e00b1e0 000000000e0b9650
    0x000000000243e8f0:   000000000000696d 000000000990d4b0
    0x000000000243e900:   0000000000006866 000000000990d4a0
    0x000000000243e910:   000000000243eb68 0000000180003fb0
    0x000000000243e920:   000000000d8556c0 000000000d65d6a0
    0x000000000243e930:   000000000d840000 000000000d885400
    0x000000000243e940:   fffffffffffffffe 000000000e03b1d0
    0x000000000243e950:   fffffffffffffffe 000000000243eb60
    0x000000000243e960:   00000000000000e3 00000000022fd1d8
    0x000000000243e970:   00000000022fd000 000000000a489780 
    
    Instructions: (pc=0x000000018000363d)
    0x000000018000361d:   f9 72 05 e8 e3 3b 00 00 48 8b 43 20 48 8b 0c f8
    0x000000018000362d:   48 8d 3d 64 dd 00 00 48 8b 71 38 b9 05 00 00 00
    0x000000018000363d:   f3 a6 75 29 b9 58 00 00 00 e8 dd 29 00 00 48 89
    0x000000018000364d:   44 24 48 48 85 c0 74 0d 48 8b d3 48 8b c8 e8 f0 
    
    
    Register to memory mapping:
    
    RAX=0x000000000e00b1e0 is an unknown value
    RBX=0x000000000d65d6a0 is an unknown value
    RCX=0x0000000000000005 is an unknown value
    RDX=0x000000000000ec25 is an unknown value
    RSP=0x000000000243e880 is pointing into the stack for thread: 0x00000000022fd000
    RBP=0x00000000000025ec is an unknown value
    RSI=0x0000000000000000 is an unknown value
    RDI=0x0000000180011398 is an unknown value
    R8 =0x000000000d848c70 is an unknown value
    R9 =0x000000000d848c80 is an unknown value
    R10=0x000000000e03fd48 is an unknown value
    R11=0x0000000000003863 is an unknown value
    R12=0x0000000000003863 is an unknown value
    R13=0x000000000243ea30 is pointing into the stack for thread: 0x00000000022fd000
    R14=0x000000000243ea30 is pointing into the stack for thread: 0x00000000022fd000
    R15=0x0000000000000000 is an unknown value
    
    
    Stack: [0x0000000002340000,0x0000000002440000],  sp=0x000000000243e880,  free space=1018k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [l2ft64.dll+0x363d]  Java_java_lang_ClassTransform_defineClass3+0x25dd
    
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  java.lang.ClassTransform.defineClass3(Ljava/lang/ClassLoader;Ljava/lang/String;[bIILjava/security/ProtectionDomain;Ljava/lang/String;Z)Ljava/lang/Class;+0
    j  java.lang.ClassLoader.defineClassCond(Ljava/lang/String;[bIILjava/security/ProtectionDomain;Z)Ljava/lang/Class;+32
    j  java.lang.ClassLoader.defineClass(Ljava/lang/String;[bIILjava/security/ProtectionDomain;)Ljava/lang/Class;+9
    j  java.lang.ClassLoader.defineClass(Ljava/lang/String;[bII)Ljava/lang/Class;+7
    v  ~StubRoutines::call_stub
    j  l2ft.gameserver.model.World.prepareWorld()V+0
    j  l2ft.gameserver.model.World.init()V+40
    j  l2ft.gameserver.GameServer.<init>()V+254
    j  l2ft.gameserver.GameServer.main([Ljava/lang/String;)V+4
    v  ~StubRoutines::call_stub
    
    ---------------  P R O C E S S  ---------------
    
    Java Threads: ( => current thread )
      0x000000000c37f800 JavaThread "ScheduledThreadPool-4" [_thread_blocked, id=4216, stack(0x000000000db90000,0x000000000dc90000)]
      0x000000000c37f000 JavaThread "ScheduledThreadPool-3" [_thread_blocked, id=5940, stack(0x000000000d9e0000,0x000000000dae0000)]
      0x000000000a48c800 JavaThread "net.sf.ehcache.CacheManager@60b964af" daemon [_thread_blocked, id=4492, stack(0x000000000d410000,0x000000000d510000)]
      0x000000000a4b0000 JavaThread "ScheduledThreadPool-2" [_thread_blocked, id=1328, stack(0x000000000c160000,0x000000000c260000)]
      0x000000000a4af800 JavaThread "ScheduledThreadPool-1" [_thread_blocked, id=3668, stack(0x000000000c000000,0x000000000c100000)]
      0x000000000a3c6000 JavaThread "Timer-0" daemon [_thread_blocked, id=4584, stack(0x000000000bb30000,0x000000000bc30000)]
      0x000000000a1b0000 JavaThread "Abandoned connection cleanup thread" daemon [_thread_blocked, id=2508, stack(0x000000000b9f0000,0x000000000baf0000)]
      0x000000000a1ed000 JavaThread "AsyncAppender-Dispatcher-Thread-4" daemon [_thread_blocked, id=4416, stack(0x000000000b640000,0x000000000b740000)]
      0x000000000a040000 JavaThread "AsyncAppender-Dispatcher-Thread-3" daemon [_thread_blocked, id=5624, stack(0x000000000b470000,0x000000000b570000)]
      0x0000000009fd8000 JavaThread "AsyncAppender-Dispatcher-Thread-2" daemon [_thread_blocked, id=5680, stack(0x000000000b0c0000,0x000000000b1c0000)]
      0x000000000a0a0000 JavaThread "AsyncAppender-Dispatcher-Thread-1" daemon [_thread_blocked, id=5060, stack(0x000000000b1e0000,0x000000000b2e0000)]
      0x000000000a078800 JavaThread "AsyncAppender-Dispatcher-Thread-0" daemon [_thread_blocked, id=5988, stack(0x000000000ac60000,0x000000000ad60000)]
      0x000000000890c800 JavaThread "Service Thread" daemon [_thread_blocked, id=5292, stack(0x0000000009dd0000,0x0000000009ed0000)]
      0x0000000008906800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=5392, stack(0x0000000009b20000,0x0000000009c20000)]
      0x00000000088e8000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=5852, stack(0x0000000009a10000,0x0000000009b10000)]
      0x00000000088e6000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5296, stack(0x00000000096d0000,0x00000000097d0000)]
      0x00000000088e4800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4028, stack(0x00000000097e0000,0x00000000098e0000)]
      0x0000000008862800 JavaThread "Finalizer" daemon [_thread_blocked, id=4276, stack(0x0000000009580000,0x0000000009680000)]
      0x0000000008856000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5440, stack(0x0000000009260000,0x0000000009360000)]
    =>0x00000000022fd000 JavaThread "main" [_thread_in_native, id=736, stack(0x0000000002340000,0x0000000002440000)]
    
    Other Threads:
      0x000000000884f000 VMThread [stack: 0x0000000009400000,0x0000000009500000] [id=5724]
      0x000000000891f000 WatcherThread [stack: 0x0000000009cc0000,0x0000000009dc0000] [id=6124]
    
    VM state:not at safepoint (normal execution)
    
    VM Mutex/Monitor currently owned by a thread: None
    
    Heap
    PSYoungGen      total 35584K, used 32667K [0x00000000eaab0000, 0x00000000ef030000, 0x0000000100000000)
      eden space 32896K, 91% used [0x00000000eaab0000,0x00000000ec7fef08,0x00000000ecad0000)
      from space 2688K, 98% used [0x00000000ecad0000,0x00000000ecd68020,0x00000000ecd70000)
      to   space 2688K, 0% used [0x00000000eed90000,0x00000000eed90000,0x00000000ef030000)
    ParOldGen       total 43712K, used 19259K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 44% used [0x00000000c0000000,0x00000000c12cefc0,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 20723K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 97% used [0x00000000bae00000,0x00000000bc23cd58,0x00000000bc2c0000)
    
    Card table byte_map: [0x00000000054e0000,0x0000000005710000] byte_map_base: 0x0000000004f09000
    
    Polling page: 0x0000000000330000
    
    Code Cache  [0x00000000024e0000, 0x0000000002750000, 0x00000000054e0000)
    total_blobs=478 nmethods=115 adapters=314 free_code_cache=48390Kb largest_free_block=49529408
    
    Compilation events (10 events):
    Event: 2.239 Thread 0x0000000008906800  107             java.util.TreeMap::parentOf (13 bytes)
    Event: 2.239 Thread 0x0000000008906800 nmethod 107 0x0000000002597f10 code [0x0000000002598040, 0x0000000002598098]
    Event: 2.241 Thread 0x00000000088e8000  108             java.util.TreeMap::put (247 bytes)
    Event: 2.241 Thread 0x0000000008906800  109             java.lang.String::compareTo (9 bytes)
    Event: 2.242 Thread 0x0000000008906800 nmethod 109 0x0000000002597c10 code [0x0000000002597d60, 0x0000000002597e58]
    Event: 2.261 Thread 0x00000000088e8000 nmethod 108 0x00000000025a2a90 code [0x00000000025a2c80, 0x00000000025a35b0]
    Event: 2.271 Thread 0x0000000008906800  110             java.lang.Math::max (11 bytes)
    Event: 2.271 Thread 0x0000000008906800 nmethod 110 0x0000000002595850 code [0x0000000002595980, 0x00000000025959d8]
    Event: 2.271 Thread 0x0000000008906800  111             java.lang.Character::isHighSurrogate (18 bytes)
    Event: 2.272 Thread 0x0000000008906800 nmethod 111 0x000000000258b4d0 code [0x000000000258b600, 0x000000000258b658]
    
    GC Heap History (6 events):
    Event: 0.815 GC heap before
    {Heap before GC invocations=1 (full 0):
    PSYoungGen      total 19136K, used 16448K [0x00000000eaab0000, 0x00000000ec000000, 0x0000000100000000)
      eden space 16448K, 100% used [0x00000000eaab0000,0x00000000ebac0000,0x00000000ebac0000)
      from space 2688K, 0% used [0x00000000ebd60000,0x00000000ebd60000,0x00000000ec000000)
      to   space 2688K, 0% used [0x00000000ebac0000,0x00000000ebac0000,0x00000000ebd60000)
    ParOldGen       total 43712K, used 0K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 9726K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 45% used [0x00000000bae00000,0x00000000bb77fb28,0x00000000bc2c0000)
    Event: 0.824 GC heap after
    Heap after GC invocations=1 (full 0):
    PSYoungGen      total 19136K, used 2659K [0x00000000eaab0000, 0x00000000ed010000, 0x0000000100000000)
      eden space 16448K, 0% used [0x00000000eaab0000,0x00000000eaab0000,0x00000000ebac0000)
      from space 2688K, 98% used [0x00000000ebac0000,0x00000000ebd58fd8,0x00000000ebd60000)
      to   space 2688K, 0% used [0x00000000ecd70000,0x00000000ecd70000,0x00000000ed010000)
    ParOldGen       total 43712K, used 856K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 1% used [0x00000000c0000000,0x00000000c00d6320,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 9726K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 45% used [0x00000000bae00000,0x00000000bb77fb28,0x00000000bc2c0000)
    }
    Event: 1.190 GC heap before
    {Heap before GC invocations=2 (full 0):
    PSYoungGen      total 19136K, used 19107K [0x00000000eaab0000, 0x00000000ed010000, 0x0000000100000000)
      eden space 16448K, 100% used [0x00000000eaab0000,0x00000000ebac0000,0x00000000ebac0000)
      from space 2688K, 98% used [0x00000000ebac0000,0x00000000ebd58fd8,0x00000000ebd60000)
      to   space 2688K, 0% used [0x00000000ecd70000,0x00000000ecd70000,0x00000000ed010000)
    ParOldGen       total 43712K, used 856K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 1% used [0x00000000c0000000,0x00000000c00d6320,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 12115K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 57% used [0x00000000bae00000,0x00000000bb9d4dd0,0x00000000bc2c0000)
    Event: 1.221 GC heap after
    Heap after GC invocations=2 (full 0):
    PSYoungGen      total 35584K, used 2656K [0x00000000eaab0000, 0x00000000ed010000, 0x0000000100000000)
      eden space 32896K, 0% used [0x00000000eaab0000,0x00000000eaab0000,0x00000000ecad0000)
      from space 2688K, 98% used [0x00000000ecd70000,0x00000000ed008010,0x00000000ed010000)
      to   space 2688K, 0% used [0x00000000ecad0000,0x00000000ecad0000,0x00000000ecd70000)
    ParOldGen       total 43712K, used 8635K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 19% used [0x00000000c0000000,0x00000000c086efa8,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 12115K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 57% used [0x00000000bae00000,0x00000000bb9d4dd0,0x00000000bc2c0000)
    }
    Event: 1.875 GC heap before
    {Heap before GC invocations=3 (full 0):
    PSYoungGen      total 35584K, used 35552K [0x00000000eaab0000, 0x00000000ed010000, 0x0000000100000000)
      eden space 32896K, 100% used [0x00000000eaab0000,0x00000000ecad0000,0x00000000ecad0000)
      from space 2688K, 98% used [0x00000000ecd70000,0x00000000ed008010,0x00000000ed010000)
      to   space 2688K, 0% used [0x00000000ecad0000,0x00000000ecad0000,0x00000000ecd70000)
    ParOldGen       total 43712K, used 8635K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 19% used [0x00000000c0000000,0x00000000c086efa8,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 17253K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 81% used [0x00000000bae00000,0x00000000bbed9478,0x00000000bc2c0000)
    Event: 1.915 GC heap after
    Heap after GC invocations=3 (full 0):
    PSYoungGen      total 35584K, used 2656K [0x00000000eaab0000, 0x00000000ef030000, 0x0000000100000000)
      eden space 32896K, 0% used [0x00000000eaab0000,0x00000000eaab0000,0x00000000ecad0000)
      from space 2688K, 98% used [0x00000000ecad0000,0x00000000ecd68020,0x00000000ecd70000)
      to   space 2688K, 0% used [0x00000000eed90000,0x00000000eed90000,0x00000000ef030000)
    ParOldGen       total 43712K, used 19259K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
      object space 43712K, 44% used [0x00000000c0000000,0x00000000c12cefc0,0x00000000c2ab0000)
    PSPermGen       total 21248K, used 17253K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
      object space 21248K, 81% used [0x00000000bae00000,0x00000000bbed9478,0x00000000bc2c0000)
    }
    
    Deoptimization events (10 events):
    Event: 0.709 Thread 0x00000000022fd000 Uncommon trap -58 fr.pc 0x0000000002565d4c
    Event: 0.717 Thread 0x00000000022fd000 Uncommon trap -58 fr.pc 0x0000000002565d4c
    Event: 1.353 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x000000000258cf5c
    Event: 1.354 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x000000000258cf5c
    Event: 1.355 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x000000000258cf5c
    Event: 1.355 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x000000000258cf5c
    Event: 2.263 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x00000000025a1d30
    Event: 2.270 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x00000000025a1d30
    Event: 2.270 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x00000000025a1d30
    Event: 2.270 Thread 0x00000000022fd000 Uncommon trap -34 fr.pc 0x00000000025a1d30
    
    Internal exceptions (10 events):
    Event: 2.267 Thread 0x00000000022fd000 Threw 0x00000000ec755d28 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.269 Thread 0x00000000022fd000 Threw 0x00000000ec759288 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.269 Thread 0x00000000022fd000 Threw 0x00000000ec75c048 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.276 Thread 0x00000000022fd000 Threw 0x00000000ec7a6cd0 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.277 Thread 0x00000000022fd000 Threw 0x00000000ec7ae110 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.277 Thread 0x00000000022fd000 Threw 0x00000000ec7b31c0 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.278 Thread 0x00000000022fd000 Threw 0x00000000ec7b7f68 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.278 Thread 0x00000000022fd000 Threw 0x00000000ec7bbed8 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.279 Thread 0x00000000022fd000 Threw 0x00000000ec7c08e0 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166
    Event: 2.280 Thread 0x00000000022fd000 Threw 0x00000000ec7c4f20 at C:\jdk7u2_64p\jdk7u21\hotspot\src\share\vm\oops\constantPoolOop.cpp:95
    
    Events (10 events):
    Event: 2.277 loading class 0x000000000c35b0e0
    Event: 2.277 loading class 0x000000000c35b0e0 done
    Event: 2.278 loading class 0x000000000aa18a80
    Event: 2.278 loading class 0x000000000aa18a80 done
    Event: 2.278 loading class 0x000000000c35b130
    Event: 2.278 loading class 0x000000000c35b130 done
    Event: 2.279 loading class 0x0000000009f810d0
    Event: 2.279 loading class 0x0000000009f810d0 done
    Event: 2.279 Thread 0x000000000c37f000 Thread added: 0x000000000c37f000
    Event: 2.280 Thread 0x000000000c37f800 Thread added: 0x000000000c37f800
    
    
    Dynamic libraries:
    0x000000013ff30000 - 0x000000013ff63000 	c:\Program Files\Java\jdk1.7.0_21\bin\java.exe
    0x0000000077430000 - 0x00000000775dc000 	C:\Windows\SYSTEM32\ntdll.dll
    0x0000000077310000 - 0x000000007742f000 	C:\Windows\system32\kernel32.dll
    0x000007fefd5b0000 - 0x000007fefd61c000 	C:\Windows\system32\KERNELBASE.dll
    0x000007fefd970000 - 0x000007fefda4b000 	C:\Windows\system32\ADVAPI32.dll
    0x000007fefe060000 - 0x000007fefe0ff000 	C:\Windows\system32\msvcrt.dll
    0x000007fefdd60000 - 0x000007fefdd7f000 	C:\Windows\SYSTEM32\sechost.dll
    0x000007fefe7b0000 - 0x000007fefe8de000 	C:\Windows\system32\RPCRT4.dll
    0x0000000077210000 - 0x000000007730a000 	C:\Windows\system32\USER32.dll
    0x000007fefe8f0000 - 0x000007fefe957000 	C:\Windows\system32\GDI32.dll
    0x000007fefe8e0000 - 0x000007fefe8ee000 	C:\Windows\system32\LPK.dll
    0x000007fefd760000 - 0x000007fefd82a000 	C:\Windows\system32\USP10.dll
    0x000007fefb880000 - 0x000007fefba74000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\COMCTL32.dll
    0x000007fefd8f0000 - 0x000007fefd961000 	C:\Windows\system32\SHLWAPI.dll
    0x000007fefdd80000 - 0x000007fefddae000 	C:\Windows\system32\IMM32.DLL
    0x000007fefdbd0000 - 0x000007fefdcd9000 	C:\Windows\system32\MSCTF.dll
    0x000000006df20000 - 0x000000006dff1000 	c:\Program Files\Java\jdk1.7.0_21\jre\bin\msvcr100.dll
    0x0000000068170000 - 0x0000000068891000 	c:\Program Files\Java\jdk1.7.0_21\jre\bin\server\jvm.dll
    0x000007fefa230000 - 0x000007fefa239000 	C:\Windows\system32\WSOCK32.dll
    0x000007fefe960000 - 0x000007fefe9ad000 	C:\Windows\system32\WS2_32.dll
    0x000007fefe280000 - 0x000007fefe288000 	C:\Windows\system32\NSI.dll
    0x000007fefa530000 - 0x000007fefa56b000 	C:\Windows\system32\WINMM.dll
    0x0000000077600000 - 0x0000000077607000 	C:\Windows\system32\PSAPI.DLL
    0x000000006fbd0000 - 0x000000006fbdf000 	c:\Program Files\Java\jdk1.7.0_21\jre\bin\verify.dll
    0x000000006eef0000 - 0x000000006ef18000 	c:\Program Files\Java\jdk1.7.0_21\jre\bin\java.dll
    0x000000006edc0000 - 0x000000006edd5000 	c:\Program Files\Java\jdk1.7.0_21\jre\bin\zip.dll
    0x0000000180000000 - 0x000000018001d000 	E:\Torrent\server\Lineage\gameserver\l2ft64.dll
    0x000000006eda0000 - 0x000000006edb9000 	C:\Program Files\Java\jdk1.7.0_21\jre\bin\net.dll
    0x000007fefcc00000 - 0x000007fefcc54000 	C:\Windows\system32\mswsock.dll
    0x000007fefcbf0000 - 0x000007fefcbf7000 	C:\Windows\System32\wship6.dll
    0x000000006ed80000 - 0x000000006ed91000 	C:\Program Files\Java\jdk1.7.0_21\jre\bin\nio.dll
    0x000007fefc5d0000 - 0x000007fefc5d7000 	C:\Windows\System32\wshtcpip.dll
    0x000007fefca80000 - 0x000007fefcadb000 	C:\Windows\system32\DNSAPI.dll
    0x00000000738b0000 - 0x00000000738de000 	C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
    0x000007fefb300000 - 0x000007fefb327000 	C:\Windows\system32\IPHLPAPI.DLL
    0x000007fefb2f0000 - 0x000007fefb2fb000 	C:\Windows\system32\WINNSI.DLL
    0x000007fefa740000 - 0x000007fefa748000 	C:\Windows\system32\rasadhlp.dll
    0x000007fefb1a0000 - 0x000007fefb1f3000 	C:\Windows\System32\fwpuclnt.dll
    0x000007fefbb30000 - 0x000007fefbb45000 	C:\Windows\system32\NLAapi.dll
    0x000007fef0370000 - 0x000007fef037b000 	C:\Windows\System32\winrnr.dll
    0x000007fef0330000 - 0x000007fef0345000 	C:\Windows\system32\napinsp.dll
    0x000007fef0310000 - 0x000007fef0329000 	C:\Windows\system32\pnrpnsp.dll
    0x000007fef0300000 - 0x000007fef0310000 	C:\Windows\system32\wshbth.dll
    0x000007fefcc60000 - 0x000007fefcc77000 	C:\Windows\system32\CRYPTSP.dll
    0x000007fefc960000 - 0x000007fefc9a7000 	C:\Windows\system32\rsaenh.dll
    0x000007fefc6d0000 - 0x000007fefc6ee000 	C:\Windows\system32\USERENV.dll
    0x000007fefd390000 - 0x000007fefd39f000 	C:\Windows\system32\profapi.dll
    0x000007fefd2c0000 - 0x000007fefd2cf000 	C:\Windows\system32\CRYPTBASE.dll
    0x0000000000650000 - 0x0000000000666000 	E:\Torrent\server\Lineage\gameserver\l2ftlic64.dll
    0x000007fef0680000 - 0x000007fef07a5000 	C:\Windows\system32\dbghelp.dll
    
    VM Arguments:
    jvm_args: -Dfile.encoding=UTF-8 -Xmx1G -Xbootclasspath/p:../serverslibs/l2ft.jar 
    java_command: l2ft.gameserver.GameServer
    Launcher Type: SUN_STANDARD
    
    Environment Variables:
    JAVA_HOME=c:\Program Files\Java\jdk1.7.0_21
    PATH=C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;ommonProgramFiles\Microsoft Shared\Windows Live;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\TortoiseSVN\bin;c:\mvn\bin;c:\ant\bin\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;c:\Program Files\Java\jdk1.7.0_21\bin;C:\Program Files\SlikSvn\bin;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
    USERNAME=Admin
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
    
    
    
    ---------------  S Y S T E M  ---------------
    
    OS: Windows 7 , 64 bit Build 7600 
    
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, tsc
    
    Memory: 4k page, physical 4193336k(1646128k free), swap 8384768k(5234628k free)
    
    vm_info: Java HotSpot(TM) 64-Bit Server VM (23.21-b01) for windows-amd64 JRE (1.7.0_21-b11), built on Apr  4 2013 08:11:28 by "java_re" with unknown MS VC++:1600
    
    time: Tue Apr 23 23:37:44 2013
    elapsed time: 2 seconds
    
    

  2. Starting GameServer.
    
    [22:53:55]  INFO =================================================
    [22:53:55]  INFO Revision: ................ Type 'svnversion --help' for usage.
    [22:53:55]  INFO Build date: .............. 2013.04.23 21:21
    [22:53:55]  INFO Compiler version: ........ 1.7.0_17-b02 (Oracle Corporation)
    [22:53:55]  INFO =================================================
    [22:53:56]  INFO Abuse: Loaded 18 abuse words.
    [22:53:56]  INFO Gameserver Version: Type 'svnversion --help' for usage., build
    date: 2013.04.23 21:21
    [22:53:56]  INFO IdFactory: Clear characters online status.
    [22:53:56]  INFO IdFactory: Extracted total 0 used id's.
    [22:53:56]  INFO IdFactory: 102912 id's available.
    [22:53:56]  INFO Scripts: Loading...
    [22:53:57]  INFO Scripts: Loaded 1200 classes.
    [22:53:57]  INFO GeoEngine: Loading Geodata...
    [22:53:57]  INFO GeoEngine: Loaded 0 map(s), max layers: 1
    [22:53:57]  INFO Loaded 418 translit entries.
    [22:53:57]  INFO GameTimeController: initialized. Current time is 23:23 in the d
    ay.
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000018000363d, pid=6140, t
    id=5968
    #
    # JRE version: 7.0_17-b02
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode windows-amd64
    compressed oops)
    # Problematic frame:
    # C  [l2ft64.dll+0x363d]  Java_java_lang_ClassTransform_defineClass3+0x25dd
    #
    # Failed to write core dump. Minidumps are not enabled by default on client vers
    ions of Windows
    #
    # An error report file with more information is saved as:
    # e:\Torrent\server\Lineage\gameserver\hs_err_pid6140.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    
    Server terminated abnormaly ...
    
    
    Server terminated ...
    
    Для продолжения нажмите любую клавишу . . .

  3. error

    Microsoft Windows [Version 6.1.7600]
    (c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.
    
    c:\Server\L2jServer\svn.l2jserver.com\L2J_Server>ant
    Buildfile: c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\build.xml
    
    checkRequirements:
    
    getChangelogDateVersion:
    
    init:
       [delete] Deleting directory c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\
    build\bin
        [mkdir] Created dir: c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\build\
    bin
    
    dist:
         [sync] Removed 2 dangling files from c:\Server\L2jServer\svn.l2jserver.com\
    L2J_Server\build\dist
    
    compile:
        [javac] Compiling 1667 source files to c:\Server\L2jServer\svn.l2jserver.com
    \L2J_Server\build\bin
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:27: error: cannot find s
    ymbol
        [javac]     private static Logger _log = Logger.getLogger(TeleportBBSManager
    .class.getName());
        [javac]                    ^
        [javac]   symbol:   class Logger
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\CommunityBoard.java:87: error: cannot find symbol
        [javac]                                     BuffBBSManager.getInstance().par
    secmd(command, activeChar);
        [javac]                                     ^
        [javac]   symbol:   variable BuffBBSManager
        [javac]   location: class CommunityBoard
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:27: error: cannot find s
    ymbol
        [javac]     private static Logger _log = Logger.getLogger(TeleportBBSManager
    .class.getName());
        [javac]                                  ^
        [javac]   symbol:   variable Logger
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:119: error: cannot find
    symbol
        [javac]             Connection con = null;
        [javac]             ^
        [javac]   symbol:   class Connection
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:123: error: cannot find
    symbol
        [javac]                     PreparedStatement st = con.prepareStatement("SEL
    ECT * FROM comteleport WHERE charId=?;");
        [javac]                     ^
        [javac]   symbol:   class PreparedStatement
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:125: error: cannot find
    symbol
        [javac]                     ResultSet rs = st.executeQuery();
        [javac]                     ^
        [javac]   symbol:   class ResultSet
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:126: error: cannot find
    symbol
        [javac]                     ResultSet rs = s.executeQuery();
        [javac]                     ^
        [javac]   symbol:   class ResultSet
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:126: error: cannot find
    symbol
        [javac]                     ResultSet rs = s.executeQuery();
        [javac]                                    ^
        [javac]   symbol:   variable s
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:175: error: cannot find
    symbol
        [javac]                                     Connection conDel = null;
        [javac]                                     ^
        [javac]   symbol:   class Connection
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:179: error: cannot find
    symbol
        [javac]                                                     PreparedStatemen
    t stDel = conDel.prepareStatement("DELETE FROM comteleport WHERE charId=? AND Tp
    Id=?;");
        [javac]                                                     ^
        [javac]   symbol:   class PreparedStatement
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]                      ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]                                                           ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]
                              ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]
                                                                  ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]
    
                       ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]
    
                                                           ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:214: error: no suitable
    method found for isInsideZone(byte)
        [javac]         if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZ
    one((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byt
    e)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) |
    | activeChar.isInsideZone((byte)8) || activeChar.isFlying())
        [javac]
    
    
                ^
        [javac]     method L2Character.isInsideZone(ZoneId) is not applicable
        [javac]       (actual argument byte cannot be converted to ZoneId by method
    invocation conversion)
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:224: error: cannot find
    symbol
        [javac]                                     Connection con = null;
        [javac]                                     ^
        [javac]   symbol:   class Connection
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:229: error: cannot find
    symbol
        [javac]                                                     PreparedStatemen
    t st = con.prepareStatement("SELECT COUNT(*) FROM comteleport WHERE charId=?;");
    
        [javac]                                                     ^
        [javac]   symbol:   class PreparedStatement
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:231: error: cannot find
    symbol
        [javac]                                                     ResultSet rs = s
    t.executeQuery();
        [javac]                                                     ^
        [javac]   symbol:   class ResultSet
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:235: error: cannot find
    symbol
        [javac]
    PreparedStatement st1 = con.prepareStatement("SELECT COUNT(*) FROM comteleport W
    HERE charId=? AND name=?;");
        [javac]
    ^
        [javac]   symbol:   class PreparedStatement
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:238: error: cannot find
    symbol
        [javac]
    ResultSet rs1 = st1.executeQuery();
        [javac]
    ^
        [javac]   symbol:   class ResultSet
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:242: error: cannot find
    symbol
        [javac]
                    PreparedStatement stAdd = con.prepareStatement("INSERT INTO comt
    eleport (charId,xPos,yPos,zPos,name) VALUES(?,?,?,?,?)");
        [javac]
                    ^
        [javac]   symbol:   class PreparedStatement
        [javac]   location: class TeleportBBSManager
        [javac] c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\java\com\l2jserver\
    gameserver\communitybbs\Manager\TeleportBBSManager.java:252: error: cannot find
    symbol
        [javac]
                    PreparedStatement stAdd = con.prepareStatement("UPDATE comtelepo
    rt SET xPos=?, yPos=?, zPos=? WHERE charId=? AND name=?;");
        [javac]
                    ^
        [javac]   symbol:   class PreparedStatement
        [javac]   location: class TeleportBBSManager
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] 24 errors
    
    BUILD FAILED
    c:\Server\L2jServer\svn.l2jserver.com\L2J_Server\build.xml:64: Compile failed; s
    ee the compiler error output for details.
    
    Total time: 18 seconds
    

  4. package com.l2jserver.gameserver.communitybbs.Manager;
    
    import java.text.DateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.List;
    import java.util.Map;
    import java.util.StringTokenizer;
    import javolution.util.FastList;
    import javolution.util.FastMap;
    import javolution.text.TextBuilder;
    
    import com.l2jserver.L2DatabaseFactory;
    import com.l2jserver.gameserver.model.L2TeleportLocation;
    import com.l2jserver.gameserver.cache.HtmCache;
    import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
    import com.l2jserver.gameserver.model.entity.TvTEvent;
    import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
    import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
    import com.l2jserver.gameserver.network.serverpackets.ShowBoard;
    import com.l2jserver.util.StringUtil;
    
    public class TeleportBBSManager extends BaseBBSManager
    {
    
    @SuppressWarnings("unused")
    private static Logger _log = Logger.getLogger(TeleportBBSManager.class.getName());
    
    public class CBteleport
    {
    	public int TpId = 0;	    // Teport location ID
    	public String TpName = "";	// Location name
    	public int PlayerId = 0;	// charID
    	public int xC = 0;			// Location coords X
    	public int yC = 0;			// Location coords Y
    	public int zC = 0;			// Location coords Z
    }
    
    private static TeleportBBSManager _Instance = null;
    
    public static TeleportBBSManager getInstance()
    {
    	if(_Instance == null)
    		_Instance = new TeleportBBSManager();
    	return _Instance;
    }
    
    public String points[][];
    
    @Override
    public void parsecmd(String command, L2PcInstance activeChar)
    {
    	if(command.equals("_bbsteleport;"))
    	{
    		showTp(activeChar);
    	}
    	else if(command.startsWith("_bbsteleport;delete;"))
    	{
    			    StringTokenizer stDell = new StringTokenizer(command, ";");
    				stDell.nextToken();
    				stDell.nextToken();
    				int TpNameDell = Integer.parseInt(stDell.nextToken());
    		        delTp(activeChar, TpNameDell);
    				showTp(activeChar);
    	}
    	else if(command.startsWith("_bbsteleport;save;"))
    	{
    			    StringTokenizer stAdd = new StringTokenizer(command, ";");
    				stAdd.nextToken();
    				stAdd.nextToken();
    				String TpNameAdd = stAdd.nextToken();
    		        AddTp(activeChar, TpNameAdd);
    				showTp(activeChar);
    	}
            else if(command.startsWith("_bbsteleport;teleport;"))
    	{
    			    StringTokenizer stGoTp = new StringTokenizer(command, " ");
    				stGoTp.nextToken();
    				int xTp = Integer.parseInt(stGoTp.nextToken());
    				int yTp = Integer.parseInt(stGoTp.nextToken());
    				int zTp = Integer.parseInt(stGoTp.nextToken());
    				int priceTp = Integer.parseInt(stGoTp.nextToken());
    		        goTp(activeChar, xTp, yTp, zTp, priceTp);
    				showTp(activeChar);
    	}
    	else
    	{
    				ShowBoard sb = new ShowBoard("<html><body><br><br><center>the command: " + command
    						+ " is not implemented yet</center><br><br></body></html>", "101");
    				activeChar.sendPacket(sb);
    				activeChar.sendPacket(new ShowBoard(null, "102"));
    				activeChar.sendPacket(new ShowBoard(null, "103"));
    	}
    }
    @SuppressWarnings("cast")
    private void goTp(L2PcInstance activeChar, int xTp, int yTp, int zTp, int priceTp)
    {
    				if(activeChar.isDead() || activeChar.isAlikeDead() || activeChar.isCastingNow() || activeChar.isInCombat() || activeChar.isAttackingNow() || activeChar.isInOlympiadMode() || activeChar.isInJail() || activeChar.isFlying() || activeChar.isInDuel()){activeChar.sendMessage("В данных условиях использовать перемащение  запрещено");
    			return;
                } 
    		if(priceTp > 0 && activeChar.getAdena() < priceTp)
    		{
                   activeChar.sendMessage("Недостаточно Адены");
    			return;
    		}
    
    		else
                {
                            if(priceTp > 0)
    					{
    						activeChar.reduceAdena("Teleport", (long) priceTp, activeChar, true);
    					}
    					activeChar.teleToLocation(xTp,yTp,zTp);
                }
    }
    private void showTp(L2PcInstance activeChar)
    {
    	CBteleport tp;
    	Connection con = null;
    	try
    	{
    		con = L2DatabaseFactory.getInstance().getConnection();
    		PreparedStatement st = con.prepareStatement("SELECT * FROM comteleport WHERE charId=?;");
    		st.setLong(1, activeChar.getObjectId());
    		ResultSet rs = st.executeQuery();
    		ResultSet rs = s.executeQuery();
    		TextBuilder html = new TextBuilder();
    		html.append("<table width=220>");
    		while(rs.next())
    		{		
    
    			tp = new CBteleport();
    			tp.TpId = rs.getInt("TpId");
    			tp.TpName = rs.getString("name");
    			tp.PlayerId = rs.getInt("charId");
    			tp.xC = rs.getInt("xPos");
    			tp.yC = rs.getInt("yPos");
    			tp.zC = rs.getInt("zPos");
                    html.append("<tr>");
                    html.append("<td>");
                    html.append("<button value=\""+ tp.TpName +"\" action=\"bypass -h _bbsteleport;teleport; " + tp.xC + " " + tp.yC + " " + tp.zC + " " + 100000 + "\" width=100 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">");
                    html.append("</td>");
                    html.append("<td>");
                    html.append("<button value=\"Удалить\" action=\"bypass -h _bbsteleport;delete;" + tp.TpId + "\" width=100 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">");
                    html.append("</td>");
                    html.append("</tr>");
    		}
    		html.append("</table>");
    
            String content = HtmCache.getInstance().getHtmForce(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/50.htm");
            NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
            adminReply.setHtml(content);
            adminReply.replace("%tp%", html.toString());
            /*separateAndSend(adminReply.getHtm(), activeChar);*/
            return;
    
    	}
    	catch (Exception e)
    	{
    	}
    	finally
    	{
    		try
    		{
    			con.close();
    		}
    		catch (Exception e)
    		{
    		}
    	}
    
    }
    private void delTp(L2PcInstance activeChar, int TpNameDell)
    {
    				Connection conDel = null;
    				try
    					{
    						conDel = L2DatabaseFactory.getInstance().getConnection();
    						PreparedStatement stDel = conDel.prepareStatement("DELETE FROM comteleport WHERE charId=? AND TpId=?;");
    						stDel.setInt(1, activeChar.getObjectId());
    						stDel.setInt(2, TpNameDell);
    						stDel.execute();
    					}
    	catch (Exception e)
    	{
    	}
    	finally
    	{
    		try
    		{
    			conDel.close();
    		}
    		catch (Exception e)
    		{
    		}
    	}
    
    }
    
    private void AddTp(L2PcInstance activeChar, String TpNameAdd)
    {
            if(activeChar.isDead() || activeChar.isAlikeDead() || activeChar.isCastingNow() || activeChar.isAttackingNow())
            {
                activeChar.sendMessage("Сохранить закладку в вашем состоянии невозможно");
                return;
            }
    
            if(activeChar.isInCombat())
            {
                activeChar.sendMessage("Сохранить закладку в боевом режиме нельзя");
                return;
            }
    
            if(activeChar.isInsideZone((byte)11) || activeChar.isInsideZone((byte)5) || activeChar.isInsideZone((byte)9) || activeChar.isInsideZone((byte)10) || activeChar.isInsideZone((byte)3) || activeChar.isInsideZone((byte)16) || activeChar.isInsideZone((byte)8) || activeChar.isFlying())
            {
                activeChar.sendMessage("Нельзя сохранить данную локацию");
                return;
            }
    	if(TpNameAdd.equals("") || TpNameAdd.equals(null))
    	{
    		activeChar.sendMessage("Вы не ввели имя закладки");
    		return;
    	}
    				Connection con = null;
    				try
    					{
    						con = L2DatabaseFactory.getInstance().getConnection();
    
    						PreparedStatement st = con.prepareStatement("SELECT COUNT(*) FROM comteleport WHERE charId=?;");
    						st.setLong(1, activeChar.getObjectId());
    						ResultSet rs = st.executeQuery();
    						rs.next();
    							if(rs.getInt(1) <= 9)
    							{	
    								PreparedStatement st1 = con.prepareStatement("SELECT COUNT(*) FROM comteleport WHERE charId=? AND name=?;");
    								st1.setLong(1, activeChar.getObjectId());
    								st1.setString(2, TpNameAdd);
    								ResultSet rs1 = st1.executeQuery();
    								rs1.next();
    								if(rs1.getInt(1) == 0)
    									{		
    										PreparedStatement stAdd = con.prepareStatement("INSERT INTO comteleport (charId,xPos,yPos,zPos,name) VALUES(?,?,?,?,?)");
    										stAdd.setInt(1, activeChar.getObjectId());
    										stAdd.setInt(2, activeChar.getX());
    										stAdd.setInt(3, activeChar.getY());
    										stAdd.setInt(4, activeChar.getZ());
    										stAdd.setString(5, TpNameAdd);
    										stAdd.execute();
    									}
    									else
    									{
    										PreparedStatement stAdd = con.prepareStatement("UPDATE comteleport SET xPos=?, yPos=?, zPos=? WHERE charId=? AND name=?;");
    										stAdd.setInt(1, activeChar.getObjectId());
    										stAdd.setInt(2, activeChar.getX());
    										stAdd.setInt(3, activeChar.getY());
    										stAdd.setInt(4, activeChar.getZ());
    										stAdd.setString(5, TpNameAdd);
    										stAdd.execute();
    									}
    							}
    							else
    							{
    							activeChar.sendMessage("Вы не можете сохранить более десяти закладок");
    							}
    
    					}
    	catch (Exception e)
    	{
    	}
    	finally
    	{
    		try
    		{
    			con.close();
    		}
    		catch (Exception e)
    		{
    		}
    	}
    }
    @Override
    public void parsewrite(String ar1, String ar2, String ar3, String ar4, String ar5, L2PcInstance activeChar)
    {
    
    }
    }

×
×
  • Create New...