Jump to content

[Share]Visual NPC to PC transform [Freya/High Five]


pipiou21

Recommended Posts

I add This long time ago.. whitout problem, but on latest l2jserver revision i got a problem...

when i add FakeNpc, in game i have problem the NPC's doesn't move (PK Killer) when i atack PK killer or i got karma PK Killer dont move...

only when i go next to him.... if i go away he doesent atack me... same as other NPC's

i was make farm area whit fake Npc's but monster doesent atack players. whats wrong any1 can help me?

Link to comment
Share on other sites

I fix the problem.

Problem is comming because NPC is missing from "custom_npcaitable"

If you have custom_npc and isn't move you need to add it in to those table

and set "can_move" from 0 to 1

and all gona be fine.

Link to comment
Share on other sites

Does the current version of  NPC to Player Transform resolved the spawn heading?  Back in Gracia Final, when I spawn the NPC it always spawned facing east and I could never fix it.  Any advice on how to fix this if it's not currently fix in this version?

Link to comment
Share on other sites

  • 3 weeks later...

I make a Fake Gladi and i put some skills but he never land anyone <.<

 

EDIT: Ok skills now landed but don't make DMG for example i make a Fake Duelist and add the skill Sonic Blaster but this don't make any DMG is strange...

Link to comment
Share on other sites

I make a Fake Gladi and i put some skills but he never land anyone <.<

 

EDIT: Ok skills now landed but don't make DMG for example i make a Fake Duelist and add the skill Sonic Blaster but this don't make any DMG is strange...

hmmm... make m.damage high.. and make sure the target of the NPC is not an immortal status

Link to comment
Share on other sites

how to install FakePcsTable.java??I'm create this file in directory java/com/l2jserver/gameserver/datatables/FakePcsTable.java.

and when I want to compile ,have it:

 

Buildfile: G:\eclipse\workspace\L2J_Server\build.xml
clean:
   [delete] Deleting directory G:\eclipse\workspace\L2J_Server\build
verifyRequirements:
init:
    [mkdir] Created dir: G:\eclipse\workspace\L2J_Server\build
    [mkdir] Created dir: G:\eclipse\workspace\L2J_Server\build\classes
    [mkdir] Created dir: G:\eclipse\workspace\L2J_Server\build\dist
    [mkdir] Created dir: G:\eclipse\workspace\L2J_Server\build\dist\login
    [mkdir] Created dir: G:\eclipse\workspace\L2J_Server\build\dist\gameserver
version:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë
compile:
    [javac] Compiling 1522 source files to G:\eclipse\workspace\L2J_Server\build\classes
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:1: class, interface, or enum expected
    [javac] 1.Index: java/com/l2jserver/gameserver/datatables/FakePcsTable.java 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: <identifier> expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: <identifier> expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]      ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]       ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]        ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]         ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]           ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]            ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]             ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: class, interface, or enum expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]              ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: <identifier> expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]                   ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:5: <identifier> expected
    [javac] 5.@@ -0,0 +1,164 @@ 
    [javac]                    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:6: class, interface, or enum expected
    [javac] 6.+/* 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:6: class, interface, or enum expected
    [javac] 6.+/* 
    [javac]   ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:20: class, interface, or enum expected
    [javac] 20.+ 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:20: class, interface, or enum expected
    [javac] 20.+ 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:21: class, interface, or enum expected
    [javac] 21.+package com.l2jserver.gameserver.datatables; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:21: class, interface, or enum expected
    [javac] 21.+package com.l2jserver.gameserver.datatables; 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:21: class, interface, or enum expected
    [javac] 21.+package com.l2jserver.gameserver.datatables; 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:21: class, interface, or enum expected
    [javac] 21.+package com.l2jserver.gameserver.datatables; 
    [javac]             ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:22: class, interface, or enum expected
    [javac] 22.+ 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:24: class, interface, or enum expected
    [javac] 24.+import java.sql.PreparedStatement; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:25: class, interface, or enum expected
    [javac] 25.+import java.sql.ResultSet; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:26: class, interface, or enum expected
    [javac] 26.+import java.sql.SQLException; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:27: class, interface, or enum expected
    [javac] 27.+import java.util.logging.Level; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:28: class, interface, or enum expected
    [javac] 28.+import java.util.logging.Logger; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:29: class, interface, or enum expected
    [javac] 29.+ 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:31: class, interface, or enum expected
    [javac] 31.+ 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:33: class, interface, or enum expected
    [javac] 33.+import com.l2jserver.gameserver.model.actor.FakePc; 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:34: class, interface, or enum expected
    [javac] 34.+ 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:40: '{' expected
    [javac] 40.+public class FakePcsTable 
    [javac]                              ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:42: illegal start of type
    [javac] 42.+       /** The logger<br> */ 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:42: ';' expected
    [javac] 42.+       /** The logger<br> */ 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:43: illegal start of type
    [javac] 43.+       private static Logger _log = Logger.getLogger(FakePcsTable.class.getName()); 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:43: <identifier> expected
    [javac] 43.+       private static Logger _log = Logger.getLogger(FakePcsTable.class.getName()); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:43: ';' expected
    [javac] 43.+       private static Logger _log = Logger.getLogger(FakePcsTable.class.getName()); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:44: illegal start of type
    [javac] 44.+       
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:44: ';' expected
    [javac] 44.+       
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:45: illegal start of type
    [javac] 45.+       private FastMap<Integer, FakePc> _fakePcs = new FastMap<Integer, FakePc>(); 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:45: <identifier> expected
    [javac] 45.+       private FastMap<Integer, FakePc> _fakePcs = new FastMap<Integer, FakePc>(); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:45: ';' expected
    [javac] 45.+       private FastMap<Integer, FakePc> _fakePcs = new FastMap<Integer, FakePc>(); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:46: illegal start of type
    [javac] 46.+       
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:46: ';' expected
    [javac] 46.+       
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:47: illegal start of type
    [javac] 47.+       private FakePcsTable() 
    [javac] ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:47: <identifier> expected
    [javac] 47.+       private FakePcsTable() 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:47: ';' expected
    [javac] 47.+       private FakePcsTable() 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:47: ';' expected
    [javac] 47.+       private FakePcsTable() 
    [javac]                                  ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:49: not a statement
    [javac] 49.+               loadData(); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:50: illegal start of expression
    [javac] 50.+       } 
    [javac]            ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:50: not a statement
    [javac] 50.+       } 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:52: illegal start of expression
    [javac] 52.+       private void loadData() 
    [javac]            ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:52: not a statement
    [javac] 52.+       private void loadData() 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:52: illegal start of expression
    [javac] 52.+       private void loadData() 
    [javac]                    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:52: ';' expected
    [javac] 52.+       private void loadData() 
    [javac]                                 ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:54: not a statement
    [javac] 54.+               _fakePcs.clear(); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:56: not a statement
    [javac] 56.+               Connection con = null; 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:56: ';' expected
    [javac] 56.+               Connection con = null; 
    [javac]                              ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:58: illegal start of expression
    [javac] 58.+               try 
    [javac]                    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:58: not a statement
    [javac] 58.+               try 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:59: illegal start of expression
    [javac] 59.+               { 
    [javac]                    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:59: not a statement
    [javac] 59.+               { 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:62: not a statement
    [javac] 62.+                       PreparedStatement stmt = con.prepareStatement("SELECT * FROM `fake_pcs`"); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:62: ';' expected
    [javac] 62.+                       PreparedStatement stmt = con.prepareStatement("SELECT * FROM `fake_pcs`"); 
    [javac]                                             ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:63: not a statement
    [javac] 63.+                       ResultSet rset = stmt.executeQuery(); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:63: ';' expected
    [javac] 63.+                       ResultSet rset = stmt.executeQuery(); 
    [javac]                                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:65: not a statement
    [javac] 65.+                       FakePc fpc = null; 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:65: ';' expected
    [javac] 65.+                       FakePc fpc = null; 
    [javac]                                  ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:67: illegal start of expression
    [javac] 67.+                       while (rset.next()) 
    [javac]                            ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:67: not a statement
    [javac] 67.+                       while (rset.next()) 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:67: not a statement
    [javac] 67.+                       while (rset.next()) 
    [javac]                                  ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:67: ';' expected
    [javac] 67.+                       while (rset.next()) 
    [javac]                                               ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: '.class' expected
    [javac] 71.+                               int npcId = rset.getInt("npc_id"); 
    [javac]                                        ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: not a statement
    [javac] 71.+                               int npcId = rset.getInt("npc_id"); 
    [javac]    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: illegal start of expression
    [javac] 71.+                               int npcId = rset.getInt("npc_id"); 
    [javac]                                              ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: ';' expected
    [javac] 71.+                               int npcId = rset.getInt("npc_id"); 
    [javac]                                                    ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:133: not a statement
    [javac] 133.+                               _fakePcs.put(npcId, fpc); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:134: illegal start of expression
    [javac] 134.+                       } 
    [javac]                             ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:134: not a statement
    [javac] 134.+                       } 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:136: not a statement
    [javac] 136.+                       rset.close(); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:137: not a statement
    [javac] 137.+                       stmt.close(); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:138: illegal start of expression
    [javac] 138.+               } 
    [javac]                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:138: not a statement
    [javac] 138.+               } 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:139: illegal start of expression
    [javac] 139.+               catch (SQLException e) 
    [javac]                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:139: not a statement
    [javac] 139.+               catch (SQLException e) 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:139: ')' expected
    [javac] 139.+               catch (SQLException e) 
    [javac]                                        ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:139: not a statement
    [javac] 139.+               catch (SQLException e) 
    [javac]                           ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:139: ';' expected
    [javac] 139.+               catch (SQLException e) 
    [javac]                                          ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:141: not a statement
    [javac] 141.+                       _log.log(Level.SEVERE, "Error while creating fake pc table: " + e.getMessage(), e); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:142: illegal start of expression
    [javac] 142.+               } 
    [javac]                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:142: not a statement
    [javac] 142.+               } 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:143: illegal start of expression
    [javac] 143.+               finally 
    [javac]                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:143: not a statement
    [javac] 143.+               finally 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:144: illegal start of expression
    [javac] 144.+               { 
    [javac]                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:144: not a statement
    [javac] 144.+               { 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:145: not a statement
    [javac] 145.+                       L2DatabaseFactory.close(con); 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:146: illegal start of expression
    [javac] 146.+               } 
    [javac]                     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:146: not a statement
    [javac] 146.+               } 
    [javac]     ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:147: illegal start of expression
    [javac] 147.+       } 
    [javac]             ^
    [javac] G:\eclipse\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:147: not a statement
    [javac] 147.+       } 
    [javac]     ^
    [javac] 100 errors

BUILD FAILED
G:\eclipse\workspace\L2J_Server\build.xml:63: Compile failed; see the compiler error output for details.

Total time: 7 seconds

Link to comment
Share on other sites

hmmm... make m.damage high.. and make sure the target of the NPC is not an immortal status

 

Well this is strange the Fake PC's attack with Magic/Ranged skills without problems, but when i put a skill for example soul breaker, triple sonic slash, etc... don't attack with skill and i m doing all correct i make the class, put the mastery for the weapon, in NPCAI i put like 30% CHANCE FOR USE SKILL BUT NOTHING HAPPEND.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
    • L2LIVE.PRO- Dynamic Mid-rates Essence Seven Signs GRAND OPENING - July 5, 20:00 GMT+3 (EEST) TEST SERVER IS OPEN - COME AND CHECK IT OUT TODAY! Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu   Server description * EXP/SP: Dynamic (x1- x100 based on your level, *before* Sayha and EXP buffs * Adena: x50 / Item Drop: x10 / Fishing EXP increased / Attribute EXP increased * Simplified gameplay to stay in the loop while not spending hours and hours farming * Starter Pack containing very useful items for beginners * MP replenishing potions with auto-consumption * No overpowered donations L2LIVE shop * All spellbook coupons, pet spellbook coupons and master books are sold via Game Assistant * Additionally you can buy SP pouches, enchanted talismans, pet training guides and various other consumables for Adena and L-Coin * More items such as cloaks, more talismans, agathions, belts, pendants, enchantment scrolls of various grades, evolution stones, etc will be added! Shop server as a shortcut, and all retail-like ways of earning items are still here! L-Coins * Drops with small change and in random amounts from Lv60+ monsters  * All raidbosses drop random amount of L-Coin Pouches generating up to 420 Lcoin per unit. **Grand Olympiad and Events** * Grand Olympiad is held week day * Format is 1v1, unlimited weekly fights  * Heroes are declared weekly at Sunday * There are three automated events - TvT, CTF and Deathmatch, running at evenings * Orc Fortress, Battle with Balok, Keber Hunter, Archievements Box, Daily Gift Calendar provisional events are active too Custom user commands * .offlineplay command, your character will keep playing till death or server restart * .offlineshop command, keeps your shop sitting until all items are purchased * .apon / .apoff - enable/disable HP/MP autoconsume And lots of other small improvements are waiting for you!   Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu
  • Topics

×
×
  • Create New...