[Release] Source code from Sons Of Erenia

03/07/2014 19:53 ernilos#1
[Only registered and activated users can see links. Click Here To Register...]
GFX [Only registered and activated users can see links. Click Here To Register...]

Google drive tells me the last day I worked on SoE was 06/08/2013, a lot of time ago. Since this, I worked in other thing's, thing's they wouldn't be possible for me without creating this long project. Here I learned about how the hell works pointers, sockets, threading and why it's important use well memory... Also I had fun seeing the "conspiracies" where born in that forum, I got too many warns for flamming, and a few days ago I got another xD.
Anyway, I'm releasing this for maybe someone can create finally one good p.server or community grow and learn. I don't want throw my work of months to rubbish bin. I know I have a lot of errors and importants memory leaks (I was to lazy to delete everything after the use), the items are too bugy (really, too bugy) and now I can't remember what's is working well, cause I don't have any client download. I'm NOT gonna fix this, give support or anything. If you download JUST use your brain to understand, the code aren't the better, but could be understood correctly I thing.
Please don't try fix it, just learn how works, packets and everything, that could be your "Test server", the place where you try crazy thing's, or why what the hell a new packet it isn't working. Create your own code it's more gratifying.
I have great memories from that project, I hope someone can live that experience too.
My old youtube channel where I upload the first's days of development:

The server files with source code can be download from the bottom of the post, also, the only SQL file I found is this, so it might be possible it's from old version and don't work properly, sorry...

¡ENJOY!


PD: For some haters, I coded at least 90% of code, so don't flame from who is this. IT'S MAIN.cpp, OK? Hahahah :')
PD2: There's really baddly code, I know, don't flame about it please :3
03/07/2014 19:58 Kingrap#2
Nice release man ! It's a good contributing for beginners ;)
03/07/2014 20:43 IceTrailer#3
Thank you, good work.

I prepared all of it, but if I start WAAT's Loginserver and connect with local client, the loginserver crashes.
03/07/2014 20:55 ernilos#4
Quote:
Originally Posted by sk8ter08 View Post
Thank you, good work.

I prepared all of it, but if I start WAAT's Loginserver and connect with local client, the loginserver crashes.
AuthServer is equal to LoginServer, only you need update client version (in sourcecode) or it will deny the login

EDIT: the client version are located at HClient.cpp:34
03/07/2014 21:22 Kingrap#5
Noob i've looked now the source code and your promise is a bullshit for get compliments !

It's Sync structure and not Async !!

_beginthread(this->UserThread,0,this);
_beginthread(this->LiveThread,0,this);

Mmh.. Nice, you open 2 threads for any connection..
It's your pro code ? you seriusly write negative comments when you have this shit coded by you ?
Wow.. Go to sleep, please.. Ahah !
03/07/2014 21:28 IceTrailer#6
Quote:
Originally Posted by ernilos View Post
AuthServer is equal to LoginServer, only you need update client version (in sourcecode) or it will deny the login

EDIT: the client version are located at HClient.cpp:34
how to find out actual nostale version?
03/07/2014 21:32 Kingrap#7
Quote:
Originally Posted by sk8ter08 View Post
how to find out actual nostale version?
Inject the packetlogger, do the login and see the packet NoS.. You will see 0.1.xxx or something like this ;)
03/07/2014 21:37 IceTrailer#8
Quote:
Originally Posted by Kingrap View Post
Inject the packetlogger, do the login and see the packet NoS.. You will see 0.1.xxx or something like this ;)
I got following packet
NoS0575 2842815 <censored name>
03/07/2014 21:47 Paint3r#9
Quote:
Originally Posted by Sahibah View Post
so...........you think you are a pro? release somthing or shut up
wtf he didnt said he is a pro he said its good for beginners and he released some things...
03/07/2014 21:51 Sahibah#10
Quote:
Originally Posted by Paint3r View Post
wtf he didnt said he is a pro he said its good for beginners and he released some things...
read the other post after that aand u will see that he only want to show off
03/07/2014 22:07 IceTrailer#11
Or can someone tell me the actual version of nostale?
03/07/2014 22:51 Kingrap#12
Quote:
Originally Posted by Sahibah View Post
so...........you think you are a pro? release somthing or shut up
Shup leecher ( get a social life ), i haven't told to him of not release something at this community but of change Async in Sync. :D And the second comment was for the all negative comments that him written in our threads about the code..

Why you want write about something that you don't know ? ahah noob.

Quote:
Originally Posted by Kingrap View Post
Noob i've looked now the source code and your promise is a bullshit for get compliments !

It's Sync structure and not Async !!

_beginthread(this->UserThread,0,this);
_beginthread(this->LiveThread,0,this);

Mmh.. Nice, you open 2 threads for any connection..
It's your pro code ? you seriusly write negative comments when you have this shit coded by you ?
Wow.. Go to sleep, please.. Ahah !
And.. Where is written that im a pro ? Bha. !

Quote:
Originally Posted by sk8ter08 View Post
Or can someone tell me the actual version of nostale?
Stop to leech all and begin to do the stuffs without ask !

Quote:
Originally Posted by Kingrap View Post
Inject the packetlogger, do the login and see the packet NoS.. You will see 0.1.xxxx or something like this
03/07/2014 23:05 ernilos#13
Quote:
Originally Posted by sk8ter08 View Post
Or can someone tell me the actual version of nostale?
It's really simply, when you login the packet with "NoS0575" header, there's a string wich contains 0.9... this is the version (Someone in skype tells me the version right now is 0.9.3.3029 , try it :P)
03/07/2014 23:07 Sahibah#14
Quote:
Originally Posted by Kingrap View Post
Shup leecher ( get a social life ), i haven't told to him of not release something at this community but of change Async in Sync. :D And the second comment was for the all negative comments that him written in our threads about the code..

Why you want write about something that you don't know ? ahah noob.



And.. Where is written that im a pro ? Bha. !



Stop to leech all and begin to do the stuffs without ask !
that confirme every think u are a real sh1t i will not waist my time with ure existence
03/07/2014 23:56 Shıgeo#15
So I'm thrilled. Super. Good for beginners. Good for developers. Super work: P
I like it.
Edit:
So I'm thrilled. Super. Good for beginners. Not Good for developers. Not Super work.*
I like it. <- For Enigma. :D