Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Tera on java last client rev

Newbie Spellweaver
Joined
Jul 25, 2013
Messages
31
Reaction score
10
Sorry. Had a lot of work those days.
I think github is working correctly now (had to destroy and recreate it ...).

I am working on npc dialog (actually got window but need text in :))

BTW if anyone want to contribute to my source, feel free to submit me some patches.

Updated first post :)

Angelis.

Count me ;)

I'll download and test.
 
Newbie Spellweaver
Joined
Jul 15, 2013
Messages
17
Reaction score
1

  • Angelis86 has exceeded their stored private messages quota and cannot accept further messages until they clear some space.
^^
 
Newbie Spellweaver
Joined
Oct 28, 2012
Messages
82
Reaction score
28
Hey,

The file tera jar after the compilation is only 354 ko...

Angelis86 - [Release] Tera on java last client rev - RaGEZONE Forums
 
Junior Spellweaver
Joined
Jul 19, 2013
Messages
119
Reaction score
70
Forget to commit something.
Fixed and tested

Angelis.
 
Newbie Spellweaver
Joined
Jul 25, 2013
Messages
31
Reaction score
10
If you want, I can restructure the emulator and organize better ;)
 
Newbie Spellweaver
Joined
Jul 15, 2013
Messages
17
Reaction score
1
Now i have this error when i try to connect
Error on parsing input from client - account: com.angelis.tera.game.network.connection.TeraGameConnection@6d05629f packet size: -23409 real size:60
java.lang.IllegalArgumentException
 
Junior Spellweaver
Joined
Jul 19, 2013
Messages
119
Reaction score
70
If you want, I can restructure the emulator and organize better ;)

What is the problem with the structure i made ?
I just need a couple of time to make this working. Actually i can make it working but it's quite long to compile the first time.
I want this to be as simple as possible.

BTW it's week end. So i will not work on this all the week end. So be patient.

Angelis.
 
Junior Spellweaver
Joined
Jul 19, 2013
Messages
119
Reaction score
70
Ok now it's working.

See first post.

(Sorry for double post)

Angelis.
 
Joined
Feb 2, 2012
Messages
412
Reaction score
249
hey! any news regarding with the other version you are working on?

thanks!
god bless!

havent worked much on tera server
but i removed all unnecessary dlls now.. (only nlog.dll for logging functions there, but i will remove that too later)
after that it should be a only clean c# server source and be easy possible to rebuild for mono/cross platform

loginserver and gameserver have now the same structure (network api and else)
launcher works so far with the loginserver, login& play buttons... (for register i have to do some copy& paste functions for a release)

gameserver i havent done some work i still stuck at the ingame.. with a character in heaven somewhere and no environent...
but i have to say angelis a big thanks for his work...with the java version..
ill take a look at his ingame (functions)packets.. so i can fix my ingame problem with correct packets and update them.....
sql database management is done for login and gameserver... some easy functions for querying the database and do read/writes
inventory is not fully done but character creation + start items for every class...

so as you see its not much done ..
.. have not much time for progging cause of firm-training...

so wishing angelis much effort.. think his project will be the next good emu..
 
Newbie Spellweaver
Joined
Oct 28, 2012
Messages
82
Reaction score
28
Hy, Start.sh Linux edit

java -Xms2042m -Xmx2042m -cp ./lib/*:TeraGame.jar com.angelis.tera.game.MainGame


Tested Ok and working

root@ns3296905:/home/tera/serveur# ./start.sh
==================================================================-[ Services ]
ConfigService started
ObjectIDService started
DatabaseService started
Loaded 10 experiences !
Loaded 0 quests !
Loaded 8 item sets !
Loaded 8 base stats !
Loaded 39 creatures !
Loaded 5 gathers !
XMLService started
ChatService started
AccountService started
PlayerService started
QuestService started
AdminService started
UserService started
ThreadPoolService started
WorldService started
StorageService started
SpawnService started
DialogService started
RequestService started
VisibleService started
Server is now running with 1 accept processor(s) and 3 read/write processor(s)
NetworkService started
=================================================================-[ Launching ]
Server started in 6 seconds



Problem for Linux World Connection ...

Read buffer has remaining
Error on parsing input from client - account: com.angelis.tera.game.network.connection.TeraGameConnection@699e3615 packet size: -13922 real size:2205
java.lang.IllegalArgumentException
at java.nio.Buffer.limit(Buffer.java:267)
at com.angelis.tera.common.network.processors.ReadWriteProcessor.parse(ReadWriteProcessor.java:197)
at com.angelis.tera.common.network.processors.ReadWriteProcessor.doRead(ReadWriteProcessor.java:109)
at com.angelis.tera.common.network.processors.ReadWriteProcessor.dispatch(ReadWriteProcessor.java:50)
at com.angelis.tera.common.network.processors.Processor.run(Processor.java:34)
at java.lang.Thread.run(Thread.java:744)
Failed to parse data
Client left
 
Junior Spellweaver
Joined
Jul 19, 2013
Messages
119
Reaction score
70
I've noticed this bug.
Edit ReadWriteProcessor.jar

if (buffer.hasRemaining()) {
log.error("Read buffer has remaining");
buffer.compact();
} else {
buffer.clear();
}

Comment the if part and it should work.
I need to check why this is happend on nix (maybe i think nix is big endian for bytebuffer).

Angelis
 
Experienced Elementalist
Joined
Apr 18, 2011
Messages
280
Reaction score
11
got many error when compile

[ERROR] required: Player
found: AbstractTeraModel
D:\Tera2\teraemu-master0\TeraGame\s
per\AccountMapper.java:[43,4] error
hod from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[69,
nt a method from a supertype
[INFO] 58 errors
[INFO] ----------------------------
[INFO] ----------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------
[INFO] Total time: 19.882 s
[INFO] Finished at: 2014-04-07T13:1
[INFO] Final Memory: 14M/490M
[INFO] ----------------------------
[ERROR] Failed to execute goal org.
5.1:compile (default-compile) on pr
ion failure:
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_PLAYER_EMOTe
public, should be declared in a fil
[ERROR] D:\Tera2\teraemu-master0\Te
tabase\entity\Player.java:[94,32] e
layerController cannot be applied t
[ERROR] required: no arguments
[ERROR] found: Player
[ERROR] reason: actual and formal a
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\PlayerMapper.java:[21,7
s not override abstract method equa
apper
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\PlayerMapper.java:[82,1
[ERROR] required: AccountEntity
[ERROR] found: AbstractDatabaseE
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\PlayerMapper.java:[83,5
[ERROR] required: AccountEntity
[ERROR] found: AbstractDatabaseE
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\PlayerMapper.java:[23,4
t a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\PlayerMapper.java:[91,4
t a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\PlayerMapper.java:[162,
nt a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Player.java:[17,7] error: Play
ract method getController() in Tera
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Player.java:[39,54] error: con
roller cannot be applied to given t
[ERROR] required: no arguments
[ERROR] found: Player
[ERROR] reason: actual and formal a
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Player.java:[42,8] error: no s
r)
[ERROR] constructor Creature.Creatu
applicable
[ERROR] (actual and formal argument
[ERROR] constructor Creature.Creatu
) is not applicable
[ERROR] (actual and formal argument
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Player.java:[45,20] error: no
[ERROR] constructor Creature.Creatu
applicable
[ERROR] (actual and formal argument
[ERROR] constructor Creature.Creatu
) is not applicable
[ERROR] (actual and formal argument
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Player.java:[212,39] error: ca
[ERROR] symbol: method getValue()
[ERROR] location: variable race of
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Player.java:[212,100] error: c
[ERROR] symbol: method getValue()
[ERROR] location: variable playerCl
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method getValue()
[ERROR] location: class RaceEnum
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method getValue()
[ERROR] location: class PlayerClass
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method saveBufferPo
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method restoreBuffe
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method saveBufferPo
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method restoreBuffe
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method saveBufferPo
[ERROR] D:\Tera2\teraemu-master0\Te
twork\packet\server\SM_FRIEND_LIST.
[ERROR] symbol: method restoreBuffe
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\xml\MonsterMapper.java:
[ERROR] symbol: method setTemplat
[ERROR] location: variable monster
[ERROR] D:\Tera2\teraemu-master0\Te
dels\Monster.java:[7,8] error: cons
nnot be applied to given types;
[ERROR] required: Integer
[ERROR] found: no arguments
[ERROR] reason: actual and formal a
[ERROR] D:\Tera2\teraemu-master0\Te
sks\player\PlayerDisconnectTask.jav
[ERROR] symbol: variable PLAYER_D
[ERROR] location: class TaskTypeEnu
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
ct and does not override abstract m
AbstractMapper
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
[ERROR] required: StorageEntity
[ERROR] found: AbstractDatabaseE
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
[ERROR] required: StorageEntity
[ERROR] found: AbstractDatabaseE
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
lement a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
[ERROR] required: Storage
[ERROR] found: AbstractTeraModel
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
[ERROR] required: Storage
[ERROR] found: AbstractTeraModel
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
lement a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageItemMapper.java:
lement a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\GuildMapper.java:[9,7]
ot override abstract method equals(
er
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\GuildMapper.java:[11,4]
a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\GuildMapper.java:[16,4]
a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\GuildMapper.java:[22,4]
a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageMapper.java:[16,
oes not override abstract method eq
tMapper
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageMapper.java:[18,
nt a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageMapper.java:[35,
nt a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\StorageMapper.java:[52,
nt a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\xml\SpawnMapper.java:[9
within bounds of type-variable E
[ERROR] where E is a type-variable:
[ERROR] E extends AbstractXMLEntity
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\xml\SpawnMapper.java:[2
[ERROR] symbol: method getHeading
[ERROR] location: variable entity o
[ERROR] D:\Tera2\teraemu-master0\Te
mmand\admin\LevelCommand.java:[9,7]
not override abstract method getSy
[ERROR] D:\Tera2\teraemu-master0\Te
mmand\admin\LevelCommand.java:[13,8
[ERROR] required: com.angelis.tera.
[ERROR] found: com.angelis.tera.
[ERROR] D:\Tera2\teraemu-master0\Te
mmand\admin\LevelCommand.java:[18,3
rService cannot be applied to given
[ERROR] required: com.angelis.tera.
[ERROR] found: com.angelis.tera.gam
[ERROR] reason: actual argument com
nverted to com.angelis.tera.game.mo
rsion
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[16,
n bounds of type-variable M
[ERROR] where M is a type-variable:
[ERROR] M extends AbstractModel dec
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[16,
oes not override abstract method eq
tMapper
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[32,
[ERROR] required: PlayerEntity
[ERROR] found: AbstractDatabaseE
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[32,
s(Player,AbstractDatabaseEntity)
[ERROR] method AccountMapper.equals
not applicable
[ERROR] (actual argument Player can
od invocation conversion)
[ERROR] method AbstractMapper.equal
able
[ERROR] (actual argument AbstractDa
ntity by method invocation conversi
[ERROR] method Object.equals(Object
[ERROR] (actual and formal argument
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[33,
[ERROR] required: PlayerEntity
[ERROR] found: AbstractDatabaseE
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[38,
Entity cannot be applied to given t
[ERROR] required: Set<PlayerEntity>
[ERROR] found: List<PlayerEntity>
[ERROR] reason: actual argument Lis
ayerEntity> by method invocation co
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[18,
nt a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[57,
[ERROR] required: Player
[ERROR] found: AbstractTeraModel
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[57,
s(AbstractTeraModel,PlayerEntity)
[ERROR] method AccountMapper.equals
not applicable
[ERROR] (actual argument PlayerEnti
ity by method invocation conversion
[ERROR] method AbstractMapper.equal
able
[ERROR] (actual argument AbstractTe
by method invocation conversion)
[ERROR] method Object.equals(Object
[ERROR] (actual and formal argument
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[58,
[ERROR] required: Player
[ERROR] found: AbstractTeraModel
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[43,
nt a method from a supertype
[ERROR] D:\Tera2\teraemu-master0\Te
main\mapper\AccountMapper.java:[69,
nt a method from a supertype
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace
ch.
[ERROR] Re-run Maven using the -X s
[ERROR]
[ERROR] For more information about
d the following articles:
[ERROR] [Help 1]
eption
Press any key to continue . . .





create database tera
then launch start.bat
got this

D:\Tera2\teraemu-master0\build>
===============================
ConfigService started
DatabaseService started
Loaded 10 experiences !
Loaded 0 npcs !
Loaded 0 quests !
Loaded 8 item sets !
Loaded 8 base stats !
XMLService started
AccountService started
PlayerService started
QuestService started
AdminService started
ThreadPoolService started
WorldService started
InventoryService started
NetworkService started
Server is now running with 1 ac
===============================
Server started in 4 seconds


start game using launch.bat
enter random username and password, enter eng for english but got others language, dont know why.

stuck on server selection
got this error " server connexion deu imposible"
 
Last edited:
Back
Top