Jump to content

Recommended Posts

Posted

Hello dudes, many guys ask me how to compile the last revision of l2jserver freya client.

MELLERIX did some changes and if you want to compile this project you need some more  programs.

I'll show you step by step how to do it.

First of all we need the latest version of

  • Eclipse --> Here
  • Java JDK 7 --> Here
  • Subclipse 1.6.18 --> Here(You have to choose the version of your windows)
  • Subversion 1.6.17 --> Here(You have to choose the version of your windows)

 

JAVA

Let's start, first of all we have to install the java files, is too simple, next, next, next finish and done  :)

After this we have to set up the JAVA_HOME environment variable in your computer.

[*]Right-click on the My Computer icon on your desktop and then click Properties.

[*]Click the Advanced tab.

[*]Click Environment Variables.

[*]Under System Variables, click New.

[*]In the Variable name field, enter JAVA_HOME.

[*]In the Variable value field, enter the installation path of the Java Development Kit.

[*]Click OK.

[*]Click Apply Changes.

set-java-home.jpg(I took the image from wso2.org)

Ok with this.


SUBVERSION

Now we have to install the subversion!

It's the same, next, next, next, finish and done. :)


ECLIPSE

After this, we must install the subclipse.

Now go in Help>Install New Software

25737687.png

Now In workwith add this link http://subclipse.tigris.org/update_1.6.x Press enter and click in the boxes and Next

12830775.png

After this installation press Next

Now click in I accect and Finish

39509427.png

Here you must wait!

70747974.png

Now Close Eclipse and Open Again!

L2jServer recommend to enable this option.

 

Window -> Preferences-> Team -> SVN -> Console

kzemU.gif

 

When Subclipse has been installed, press on:

Window -> Show View -> Other and select SVN Repository.

XwAn.gif

 

Anywhere in the white space of the SVN Repository window, Right click

Choose New -> Repository Location

tXR.gif

 

Put this in the Url field

http://svn.l2jserver.com/trunk/L2J_Server

Then press Finish

QELrw.gif

 

Right click in the GameServer Repository

and select Checkout.

SZdn.gif

Note:You will do the same from the other Urls

 

After Checkout is done...

Expand the directory tree to find the build.xml of the GameServer

Right click on build.xml -> Run As -> 1 Ant Build

Now it will compile the GameServer to a ZIP File on your workspace.

DKxV.gif

That's all, i hope to help you!

 

 

Credits:Vampirenios for the compile

          http://trac.l2jserver.com/wiki/Eclipse for photos

          Me for some parts

Posted

I did what ever u say but i have an error...

 

Buildfile: C:\Program Files\workspace\Test\L2J_Server\build.xml
clean:
   [delete] Deleting directory C:\Program Files\workspace\Test\L2J_Server\build
checkRequirements:
getChangelogDateVersion:
init:
    [mkdir] Created dir: C:\Program Files\workspace\Test\L2J_Server\build
    [mkdir] Created dir: C:\Program Files\workspace\Test\L2J_Server\build\classes
compile:
    [javac] Compiling 1525 source files to C:\Program Files\workspace\Test\L2J_Server\build\classes
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4390: error: class, interface, or enum expected
    [javac]  		if (Config.DEBUG)
    [javac]  		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4393: error: class, interface, or enum expected
    [javac] 		broadcastPacket(new NicknameChanged(this));
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4394: error: class, interface, or enum expected
    [javac] 	}
    [javac] 	^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4397: error: class, interface, or enum expected
    [javac] 	public final void broadcastPacket(L2GameServerPacket mov)
    [javac] 	             ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4402: error: class, interface, or enum expected
    [javac] 		mov.setInvisible(getAppearance().getInvisible());
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4404: error: class, interface, or enum expected
    [javac] 		Collection<L2PcInstance> plrs = getKnownList().getKnownPlayers().values();
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4406: error: class, interface, or enum expected
    [javac] 		{
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4411: error: class, interface, or enum expected
    [javac] 				player.sendPacket(mov);
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4412: error: class, interface, or enum expected
    [javac] 				if (mov instanceof CharInfo)
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4415: error: class, interface, or enum expected
    [javac] 					Integer oldrelation = getKnownList().getKnownRelations().get(player.getObjectId());
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4416: error: class, interface, or enum expected
    [javac] 					if (oldrelation != null && oldrelation != relation)
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4419: error: class, interface, or enum expected
    [javac] 						if (getPet() != null)
    [javac] 						^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4421: error: class, interface, or enum expected
    [javac] 					}
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4428: error: class, interface, or enum expected
    [javac] 	public void broadcastPacket(L2GameServerPacket mov, int radiusInKnownlist)
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4433: error: class, interface, or enum expected
    [javac] 		mov.setInvisible(getAppearance().getInvisible());
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4435: error: class, interface, or enum expected
    [javac] 		Collection<L2PcInstance> plrs = getKnownList().getKnownPlayers().values();
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4437: error: class, interface, or enum expected
    [javac] 		{
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4442: error: class, interface, or enum expected
    [javac] 				if (isInsideRadius(player, radiusInKnownlist, false, false))
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4445: error: class, interface, or enum expected
    [javac] 					if (mov instanceof CharInfo)
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4448: error: class, interface, or enum expected
    [javac] 						Integer oldrelation = getKnownList().getKnownRelations().get(player.getObjectId());
    [javac] 						^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4449: error: class, interface, or enum expected
    [javac] 						if (oldrelation != null && oldrelation != relation)
    [javac] 						^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4452: error: class, interface, or enum expected
    [javac] 							if (getPet() != null)
    [javac] 							^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4454: error: class, interface, or enum expected
    [javac] 						}
    [javac] 						^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4464: error: class, interface, or enum expected
    [javac] 	public int getAllyId()
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4468: error: class, interface, or enum expected
    [javac] 		else
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4470: error: class, interface, or enum expected
    [javac] 	}
    [javac] 	^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4472: error: class, interface, or enum expected
    [javac] 	public int getAllyCrestId()
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4477: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4481: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4483: error: class, interface, or enum expected
    [javac] 	}
    [javac] 	^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4503: error: class, interface, or enum expected
    [javac] 	protected void onHitTimer(L2Character target, int damage, boolean crit, boolean miss, boolean soulshot, byte shld)
    [javac] 	          ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4506: error: class, interface, or enum expected
    [javac] 	}
    [javac] 	^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4508: error: class, interface, or enum expected
    [javac] 	public void queryGameGuard()
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4511: error: class, interface, or enum expected
    [javac] 		this.sendPacket(new GameGuardQuery());
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4512: error: class, interface, or enum expected
    [javac] 		if (Config.GAMEGUARD_ENFORCE)
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4515: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4540: error: class, interface, or enum expected
    [javac] 	public void sendPacket(L2GameServerPacket packet)
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4545: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4552: error: class, interface, or enum expected
    [javac] 	public void sendPacket(SystemMessageId id)
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4555: error: class, interface, or enum expected
    [javac] 	}
    [javac] 	^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4568: error: class, interface, or enum expected
    [javac] 	public void doInteract(L2Character target)
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4573: error: class, interface, or enum expected
    [javac] 			sendPacket(ActionFailed.STATIC_PACKET);
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4575: error: class, interface, or enum expected
    [javac] 			if (temp.getPrivateStoreType() == STORE_PRIVATE_SELL || temp.getPrivateStoreType() == STORE_PRIVATE_PACKAGE_SELL)
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4577: error: class, interface, or enum expected
    [javac] 			else if (temp.getPrivateStoreType() == STORE_PRIVATE_BUY)
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4579: error: class, interface, or enum expected
    [javac] 			else if (temp.getPrivateStoreType() == STORE_PRIVATE_MANUFACTURE)
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4582: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4588: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4605: error: class, interface, or enum expected
    [javac] 	public void doAutoLoot(L2Attackable target, L2Attackable.RewardItem item)
    [javac] 	       ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4609: error: class, interface, or enum expected
    [javac] 		else if (item.getItemId() == 57) addAdena("Loot", item.getCount(), target, true);
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4610: error: class, interface, or enum expected
    [javac] 		else addItem("Loot", item.getItemId(), item.getCount(), target, true);
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4611: error: class, interface, or enum expected
    [javac] 	}
    [javac] 	^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4635: error: class, interface, or enum expected
    [javac] 		getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4638: error: class, interface, or enum expected
    [javac] 		if (! (object instanceof L2ItemInstance))
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4642: error: class, interface, or enum expected
    [javac] 			return;
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4643: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4648: error: class, interface, or enum expected
    [javac] 		sendPacket(ActionFailed.STATIC_PACKET);
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4651: error: class, interface, or enum expected
    [javac] 		StopMove sm = new StopMove(this);
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4652: error: class, interface, or enum expected
    [javac] 		if (Config.DEBUG)
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4654: error: class, interface, or enum expected
    [javac] 		sendPacket(sm);
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4656: error: class, interface, or enum expected
    [javac] 		synchronized (target)
    [javac] 		             ^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4663: error: class, interface, or enum expected
    [javac] 				return;
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4664: error: class, interface, or enum expected
    [javac] 			}
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4669: error: class, interface, or enum expected
    [javac] 				sendPacket(SystemMessage.getSystemMessage(SystemMessageId.SLOTS_FULL));
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4670: error: class, interface, or enum expected
    [javac] 				return;
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4671: error: class, interface, or enum expected
    [javac] 			}
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4676: error: class, interface, or enum expected
    [javac] 				SystemMessage smsg = SystemMessage.getSystemMessage(SystemMessageId.FAILED_TO_PICKUP_S1);
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4677: error: class, interface, or enum expected
    [javac] 				smsg.addItemName(target);
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4678: error: class, interface, or enum expected
    [javac] 				sendPacket(smsg);
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4679: error: class, interface, or enum expected
    [javac] 				return;
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4680: error: class, interface, or enum expected
    [javac] 			}
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4686: error: class, interface, or enum expected
    [javac] 				if (target.getItemId() == 57)
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4689: error: class, interface, or enum expected
    [javac] 					smsg.addItemNumber(target.getCount());
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4690: error: class, interface, or enum expected
    [javac] 					sendPacket(smsg);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4691: error: class, interface, or enum expected
    [javac] 				}
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4695: error: class, interface, or enum expected
    [javac] 					smsg.addItemName(target);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4696: error: class, interface, or enum expected
    [javac] 					smsg.addItemNumber(target.getCount());
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4697: error: class, interface, or enum expected
    [javac] 					sendPacket(smsg);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4698: error: class, interface, or enum expected
    [javac] 				}
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4702: error: class, interface, or enum expected
    [javac] 					smsg.addItemName(target);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4703: error: class, interface, or enum expected
    [javac] 					sendPacket(smsg);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4704: error: class, interface, or enum expected
    [javac] 				}
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4707: error: class, interface, or enum expected
    [javac] 			}
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4714: error: class, interface, or enum expected
    [javac] 			}
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4721: error: class, interface, or enum expected
    [javac] 			target.pickupMe(this);
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4722: error: class, interface, or enum expected
    [javac] 			if(Config.SAVE_DROPPED_ITEM) // item must be removed from ItemsOnGroundManager if is active
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4725: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4731: error: class, interface, or enum expected
    [javac] 			if (handler == null)
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4733: error: class, interface, or enum expected
    [javac] 			else
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4735: error: class, interface, or enum expected
    [javac] 			ItemTable.getInstance().destroyItem("Consume", target, this, null);
    [javac] 			^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4736: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4741: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4745: error: class, interface, or enum expected
    [javac] 		}
    [javac] 		^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4754: error: class, interface, or enum expected
    [javac] 					msg.addPcName(this);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4755: error: class, interface, or enum expected
    [javac] 					msg.addNumber(target.getEnchantLevel());
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4756: error: class, interface, or enum expected
    [javac] 					msg.addItemName(target.getItemId());
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4757: error: class, interface, or enum expected
    [javac] 					broadcastPacket(msg, 1400);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4758: error: class, interface, or enum expected
    [javac] 				}
    [javac] 				^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4762: error: class, interface, or enum expected
    [javac] 					msg.addPcName(this);
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4763: error: class, interface, or enum expected
    [javac] 					msg.addItemName(target.getItemId());
    [javac] 					^
    [javac] C:\Program Files\workspace\Test\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:4764: error: class, interface, or enum expected
    [javac] 					broadcastPacket(msg, 1400);
    [javac] 					^
    [javac] 100 errors

BUILD FAILED
C:\Program Files\workspace\Test\L2J_Server\build.xml:59: Compile failed; see the compiler error output for details.

Total time: 26 seconds

 

What i suppose to do?

Posted

In the beginning I had the same problems with error messages. And I was wondering...I did everything as in the guide, so I was going to manually take care of the errors inside the code *;D* ... and I did well, but during gameplay I had TvT error and server crashed all the time :o, even if eclipse compiler told me something different that there is no error inside the code!

 

Finally I found out that using 3.7 eclipse isn't enough (I don't know why)...but while reading on L2java forum I found out that they used a eclipse beta build.

After I reinstalled that bete eclipse whatever - I didn't had compile errors but therefore I couldn't see progress status bar, so I had to wait some time without noticing if the Server+Datapack.rar's where build or not, but they where.

 

That's at least my strange story.

Posted
For the first i gave credits for the second i forgot.

What about my problem?

 

I am ok with the others builds but i have prob only with l2jserver...

Did you install Java jdk 7/subversion?

Did you set JAVA_HOME path?

Posted

Buildfile: E:\workspace\L2J_Server_BETA\build.xml

clean:

checkRequirements:

 

BUILD FAILED

E:\workspace\L2J_Server_BETA\build.xml:186: Ant 1.8.2 is required. But your version is Apache Ant version 1.7.1 compiled on June 27 2008

 

Total time: 156 milliseconds

 

the same problem every time

Posted

Buildfile: E:\workspace\L2J_Server_BETA\build.xml

clean:

checkRequirements:

 

BUILD FAILED

E:\workspace\L2J_Server_BETA\build.xml:186: Ant 1.8.2 is required. But your version is Apache Ant version 1.7.1 compiled on June 27 2008

 

Total time: 156 milliseconds

 

the same problem every time

Why you spam?

did you try the guide?

 

Posted

i try it  i swear but nothing i will look for upload packs i think that the  only way for me to get it

omg!

you don't even try to do what the guide says, when you will reply again, now gtfo and stop with the offtopic replies.

Thanks

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.


×
×
  • Create New...