Jump to content

Recommended Posts

Posted

:Preperations:

 

For this guide you need the following softwares

 

SmartSVN

Eclipse

Java Developement Kit

 

Note: It doesnt matter where you install any of these.

 

:Step I:

Install all of the softwares.

 

Just extract eclipse where ever you want.

But dont loose it incase you need to re-compile, or if a new rev is released.

 

Install SmartSVN.

Install JDK(Java Developement Kit).

 

When all of this is done then your ready to proceed to :Step II:

 

:Step II:

 

Then you will probably think:

"Oh no, now its going to very complicated. And im going to get many errors."

 

I can guarantee that its not going to be complicated.

 

Open SmartSVN.

 

When you open SmartSVN you should be promted with this window:

 

t1.png

 

Press OK.

 

The window should now look like this:

 

t2.png

 

And as the image says.

 

Put http://my-svn.assembla.com/svn/aion-emu/ where it says URL

and your Destinated Folder where it says Local Directory.

 

And the press Next.

 

The window should now look like this.

 

t3.png

Just Press Finish.

 

And now it should begin "downloading" the core from the site.

 

When its done it should look something like this.

 

t4.png

 

Note that now your able to see directories now, aswell as files.

 

When your done with all of this then your able to proceed to :Step III:

 

:Step III:

You should now have some new files on your harddrive. The once that you downloaded.

 

For me the files are in C:\Program Files\Aion SVN.

 

So go there.

 

It should look like this in the folder.

 

t5.png

 

Don't get a panic attack if you cant see the .svn folder. You've done nothing wrong.

 

If you cant see the folder then you havent enabled "Show hidden folders".

I will not explain how to do this, since its not necessary.

 

Navigate to. Trunk> AE LoginServer

 

Make sure that theres a file in there called build.xml

 

Navigate to. Trunk> AE GameServer

 

Make sure that theres a file in there called build.xml

 

Navigate to. Trunk> AE_Commons

 

Make sure that theres a file in there called build.xml

 

When youve done this then your ready to start compiling.

 

If youve done all this then your able to proceed to :Step IV:

 

:Step IV:

 

Open Eclipse.

 

t6.png

 

You should be prompted with this window.

 

t7.png

 

It doesnt really matter where the workspace is.

But if your not really in to this then you should just go with the default one.

 

Press OK.

 

Navigate to File> Open File.

 

Go to your SVN folder. In my case: C:\Program Files\Aion SVN

 

Navigate to Trunk> AE LoginServer.

 

Click at build.xml.

 

If nothing appears when you do this then double click beside the Welcome Tab.

 

t9.png

 

A new tab should appear. It should be called build.xml.

 

If youve done all this then your able to proceed to :Step V:

:Step V:

Navigate to Window> Preferences

 

Navigate to Ant> Runtime

 

Press Global Entries

 

And then Press Add External JARs.

 

Go to the folder where your Java is installed. In my case C:\Program Files\Java

 

In that folder there may be several folders or just one.

 

Press the one that says jreX

 

X being a number.

 

Example: jre4 (thats where i found my file)

 

Navigate to lib

 

And in there find tools.jar.

 

If you cant find it then pick another folder.

 

Press OK.

t12.png

Navigate to Run>Run

t10.png

 

You should get prompted with a window.

 

Press Ant Build.

t11.png

 

This will start compiling the file.

 

When the compiling the "Console" window should look like this:

t13.png

 

When your done compiling LoginServer then just repeat step iv-step v.

 

The only thing your going to do different is to choose another file.

 

Instead of choosing the build.xml file in the AE LoginServer, you will now compile the build.xml file in the AE_GameServer folder and AE_Commons folder.

 

When your done with all of this you may proceed to :Step VI:

 

:Step VI:

 

When you've reached this step you should have your Core Compiled.

 

*Credit : "P1raten"  *Source : http://aion-emu.com/

  • 1 month later...
  • 4 weeks later...
  • 7 months later...
  • 2 weeks later...
  • 1 year later...
Posted

Do any of you know how to fix this error? Can't figure it out... :S

[ERROR] 2012-04-20 18:55:38 - Unknown column 'players.exp' in 'field list'
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'playe
rs.exp' in 'field list'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
        at com.mysql.jdbc.Util.getInstance(Util.java:384)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2113)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2275)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        at mysql5.MySQL5AbyssRankDAO.getAbyssRankingPlayers(MySQL5AbyssRankDAO.j
ava]:393)
        at gameserver.services.AbyssRankingService.reloadRankings(AbyssRankingSe
rvice.java:150)
        at gameserver.services.AbyssRankingService.access$100(AbyssRankingServic
e.java:42)
        at gameserver.services.AbyssRankingService$3$2.run(AbyssRankingService.j
ava:140)
        at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWr
apper.java:54)
        at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrappe
r.java:39)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[ERROR] 2012-04-20 18:55:38 - Unknown column 'players.exp' in 'field list'
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'playe
rs.exp' in 'field list'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
        at com.mysql.jdbc.Util.getInstance(Util.java:384)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2113)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2275)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        at mysql5.MySQL5AbyssRankDAO.getAbyssRankingPlayers(MySQL5AbyssRankDAO.j
ava]:393)
        at gameserver.services.AbyssRankingService.reloadRankings(AbyssRankingSe
rvice.java:151)
        at gameserver.services.AbyssRankingService.access$100(AbyssRankingServic
e.java:42)
        at gameserver.services.AbyssRankingService$3$2.run(AbyssRankingService.j
ava:140)
        at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWr
apper.java:54)
        at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrappe
r.java:39)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[iNFO] 2012-04-20 18:55:38 - AbyssRankService: Rankings were reloaded!
[iNFO] 2012-04-20 19:15:05 - Legion WH update task started.
[iNFO] 2012-04-20 19:15:05 - Legion WH update: 28 ms, legions: 0.

Thx, >.<;

Guest
This topic is now closed to further replies.


  • Posts

    • Hi, great work! Are there any bugs? And will it work with a high five?
    • For others that would like to understand in more details:   The login server also uses a protocol (sent by the server to the client in the very first packet). For instance, the C4 client (the one I'm developing my emulator for) expects the protocol number `50721` (or `0xc621`) which works as follow (from what I've gathered): Preamble: L2 packets are divided into two parts: size and payload; As mentioned, every packet starts with two bytes containing the whole packet size (thus including those two bytes, e.g. a packet of size 15 will have the number `15` written onto its first two bytes and a following payload of 13 bytes); For login server, first byte of the payload is the opcode (game server must deal with variable-sized opcodes); Next bytes are the packet content; Before sending the packet, its buffer size (minus the initial two bytes) is padded to 8 bytes (required by upcoming Blowfish encoding); A checksum of the packet is appended at the end, then the payload is again padded to 8 bytes; If the opcode is not `0` (also written as `0x00`), then the payload is encoded by Blowfish; Packet is sent over the network. You can have a look at my implementation (in C++) here (do note I'm assuming little-endian).   In this protocol, the auth packet (`0x00`) sent back by the client is RSA encrypted using the RSA modulus sent in the first server packet, inserted right after the protocol number.  
    • Hello guys I wanna buy some  Lessons for an L2J Developer
    • Let me give you something for inspiration and get you addicted to bot AI     And a siege 😛     What I have notice helps a lot the LLM to act real, is to give it a real-persons background. So for each LLM in the context beggining, besides the L2 facts, give it a real-life back story "You are a 67 years old retired nurse who plays Lineage 2 while her husband reads his newspaper, you are calm, collected but get mad if insulted". But that makes for a creative bot but its repetitive. So what you can also do, is pick random 20 news sites and for each bot every 2-3 days, initialize a context that is affected by the "news" the bot reads in the "real world".  So for example there's Iran - US war ok ? You take the news, put it in an LLM and ask it, extract the "abstract feelings" that this news piece invokes into you without mentioning anything related to the news. Then you take the result and inject it to the bots LLM prompt after its backstory.  This leads to some VERY human-like behavior from bots. 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..