[Development] C# sources

07/18/2010 05:58 hio77#76
Quote:
Originally Posted by AaronzitoBR View Post
It seems you do not understand what I meant in another topic.

I gave the idea of making a server with anything original. Rates, drops, etc.. Got it?

Then, if you wanted to edit the server to your liking, edit with their Prefences.

And did not want to brag that I did speak to one of Aion and helped in Ragnarok (Cronus-Emulator). Just wanted to say that yes I understand the code, in my case C + +.

Only I have no patience and do not know anything Eudemons codes. In the case of aion, I had the Lineage 2 as a reference and Aion-Unique. In the op I had eAthena Ragnarok Emulator:)

Eudemons none exists.

Good work

thank you ... it sounded like you were just telling me to make a server just like any other out there

btw someone who understands the login process well can they msg me ... i just need to check a few things over with ya :)
07/19/2010 20:35 Mr_Black#77
Hallo hio77 and funhacker,

i would like to join ur Project.

Now some Words about me. I am an Softwaredeveloper for embedded Systems, but i got my diploma as communication engineer. I programm most of the time with C and C++ and i have to say that im a beginner with C#, but i want to make some Experience with that language, so the best way to get some experience is to join a project.

well if u guys have some more questions just ask.

I would like to have a chat with u guys, to see if the chemical fits hehe

cya
07/19/2010 20:52 DEADP00L#78
finally a newcommer who is willing to put some work into a project. You my friend get a kudos
07/24/2010 14:35 funhacker#79
Just letting ya know I still drop in just aint had the time to reply :/ stupid car's throttle body circuit fried >.< so my car has been in getting looked over by holden engineers and the service center's foreman sadly it will cost me a further $730 to fix the damn thing :( good thing about the VE engines though they wont allow it to overheat so it cuts engine power once it gets over a certain temperature. (Since the throttle body ciruit is fried it is causing problems with the thermo fans thus the heating issue not to mention it's a little slow on changing gears when you give it to it... 6-7K RPM before it changes when you flat foot )

I have however been working on some very interesting coding methods :)
I made a basic Keylogger which then also uses Gmail SMTP server to send emails of the keylogs, No I am not using it for anything illegal or even to spy on anyone just learning some new shit. I am now trying to introduce a screenshot method which will screenshot every so often dependant on things like window changes and clicking of the mouse :)
07/24/2010 22:19 Eurion#80
It tells you exactly what your issue is, you don't have .net framework 4.0

You can get it from [Only registered and activated users can see links. Click Here To Register...]
07/25/2010 00:40 hio77#81
sorry i aint had a chance to drop in here till now ...

Quote:
Originally Posted by Mr_Black View Post
Hallo hio77 and funhacker,

i would like to join ur Project.

Now some Words about me. I am an Softwaredeveloper for embedded Systems, but i got my diploma as communication engineer. I programm most of the time with C and C++ and i have to say that im a beginner with C#, but i want to make some Experience with that language, so the best way to get some experience is to join a project.

well if u guys have some more questions just ask.

I would like to have a chat with u guys, to see if the chemical fits hehe

cya
would love a chat :) you sound like uld be an awesome part in the development ... you may be a beginner at C# but things like dlls could even be written in C++ :)

i also hear its easy(ish) to go between C++ and C# :)

let me know how we can have a chat and ild be more than happy to sit down and talk :) all my contacts are on my profile i belive the others are the same but might not be ... myself personally i like to use skype as it allows a group to have a conversation and you can keep up with that even if you weren't logged in at the time (text based chat not voice) and this is a feature i and my staff (on my eo server) make a lot of use of to talk about things

just so you know atm im working on a emulator for eudemons online but if we could start on the idea of making a game that would be an awesome idea

as for the chemicals :D im sure they would work ... put all the ideas into a pot stir them up and come out with something awesome

Quote:
Originally Posted by DEADP00L View Post
finally a newcommer who is willing to put some work into a project. You my friend get a kudos
yup :) a newcomer who sounds soooo good at that :D

Quote:
Originally Posted by funhacker View Post
Just letting ya know I still drop in just aint had the time to reply :/ stupid car's throttle body circuit fried >.< so my car has been in getting looked over by holden engineers and the service center's foreman sadly it will cost me a further $730 to fix the damn thing :( good thing about the VE engines though they wont allow it to overheat so it cuts engine power once it gets over a certain temperature. (Since the throttle body ciruit is fried it is causing problems with the thermo fans thus the heating issue not to mention it's a little slow on changing gears when you give it to it... 6-7K RPM before it changes when you flat foot )

I have however been working on some very interesting coding methods :)
I made a basic Keylogger which then also uses Gmail SMTP server to send emails of the keylogs, No I am not using it for anything illegal or even to spy on anyone just learning some new shit. I am now trying to introduce a screenshot method which will screenshot every so often dependant on things like window changes and clicking of the mouse :)
ugh car trubbles .. hate that so much lol

this all sounds good :D we should really get together (as in everyone) and discus ideas etc and see what we can come up with :)

Quote:
Originally Posted by conal View Post
why this Error
IMG REMOVED
How do I run this file correctly
ok clearly you did NOT read my first post ... this WILL NOT work with the rev db OR any other server other than my very own which has not been released ...

as for your error it states that you need .net frameworks 4.0 if you google that you get the download link ([Only registered and activated users can see links. Click Here To Register...])

this is an advance development far beond EO Binarys (which every single server uses atm) with the full setup of this it can do things such as run current eo but also would be able to run a legacy client (eo 1.0 for example)

this binary file which i relesed was purely to show off the speed in which the acc server can work and so on ... this is comparing the current C++ to my C# which is actually faster currently between connection time of the client and time till the client leaves the acc server and moves to the game server

the game server currently has very similar speed were its taking me 1/2 the time to login BUT my packets are a bit wrong atm so its not what ild call a stable login

EDIT:
Quote:
Originally Posted by Eurion View Post
It tells you exactly what your issue is, you don't have .net framework 4.0

You can get it from [Only registered and activated users can see links. Click Here To Register...]
thanks for that eurion :)
07/25/2010 08:53 hio77#82
Quote:
Originally Posted by conal View Post
i have now new Error
what i will make
well ... i just noticed i released the binary complied had the db with my ip in it ... it was that way for testing purposes so ill change that soon ...

as for the sql error ... it should work ...
07/25/2010 14:57 Eurion#83
On the SQL error, if you scroll it up, it will tell you what the problem is. But I'm going to assume you are running a Mysql Version 4.x. Those versions don't like when you have a default charset set to the columns or An ENGINE set.


To fix that try opening up the .sql file in notepad and take off the


Code:
ENGINE=MyISAM DEFAULT CHARSET=latin1
Make sure you keep the trailing (ending) ;
07/25/2010 21:31 hio77#84
Quote:
Originally Posted by conal View Post
u can use teamviewer to enter to my comp And operated
can you tell me what you hope to achive by using my acc server? once again i will remind you its PURELY TO SHOW HOW IT WORKS NOT TO RUN A SERVER OFF

this is a development not a release

Quote:
Originally Posted by Eurion View Post
On the SQL error, if you scroll it up, it will tell you what the problem is. But I'm going to assume you are running a Mysql Version 4.x. Those versions don't like when you have a default charset set to the columns or An ENGINE set.


To fix that try opening up the .sql file in notepad and take off the


Code:
ENGINE=MyISAM DEFAULT CHARSET=latin1
Make sure you keep the trailing (ending) ;
thanks for that :) i forgot about the change between 4.x and 5.x

Quote:
Originally Posted by conal View Post
u can updet ur Mysql Version 4.x.
Eurion has explained this very clearly :rolleyes:
07/25/2010 23:17 DEADP00L#85
ok conal let me put it to you this way... in big letters for you..ready?

THIS IS NOT TO BE USED FOR A DATABASE, THIS IS AN EXAMPLE NOT A REAL THINGS. DO NOT USE IT. GO ELSE WHERE FOR A ACC SERVER. ASK ANY MORE QUESTIONS ABOUT HOW TO FIX SOMETHING THAT ISNOT MENT TO BE USED AND I AM GOING TO INFRACT YOU.

you were already told at least twice about it. Understood?
07/26/2010 00:29 DEADP00L#86
the garbage has been removed. If Conal posts again i am infracting. Its plainly stated this is not a release but an example.
07/26/2010 05:02 hio77#87
Quote:
Originally Posted by DEADP00L View Post
the garbage has been removed. If Conal posts again i am infracting. Its plainly stated this is not a release but an example.
thanks deadpool now we can get this ontopic again :)


in a few hrs ima put some sources up here. .. ill also put my packet splitter up incase anyone wants to join in on understanding the packets some more :)
07/26/2010 05:16 Eurion#88
I would offer help hio77 but my C# knowledge is about as much as most of these newcomers knowledge to action types which sadly isn't much at all. But I do wish you luck on this project.
07/26/2010 05:33 hio77#89
Quote:
Originally Posted by Eurion View Post
I would offer help hio77 but my C# knowledge is about as much as most of these newcomers knowledge to action types which sadly isn't much at all. But I do wish you luck on this project.
in some ways i still say i only have basic knowledge lol

EDIT:

first post updated ... sources for packet splitter and acc server up and packet splitter binarys with example files inside the rar

a reminder if i catch anyone trying to claim my work for their own i will do everything i can to stop it
07/26/2010 23:43 funhacker#90
Just took a quick look at the account server code looks good. I just have a suggestion since there is obviously going to be a lot of specialised output like green/red text I have this suggestion see the code box for new method and quick modification to the code.

Code:
using System;
using System.Threading;
using LoginServer.Database;

namespace LoginServer
{
    class Program
    {
        public  void Main(string[] args)
        {
            Console.Title = "Eudemons C# Login Server © Hio77";
            Console.ForegroundColor = ConsoleColor.Red;
            Console.WriteLine("--------------------------------------------");
            Console.WriteLine("---Eudemons C# LoginServer - Starting up!---");
            Console.WriteLine("--------------------------------------------");
            Console.ResetColor();
            Console.WriteLine("");
            Console.WriteLine("Account Server Created by Hio77");
            Console.WriteLine("This Account Server has been based off the COEMUv2 source");
            Console.WriteLine("COEMUv2 was created by andyd123");
            Console.WriteLine("The CoEMUv2 source can be found at: http://tinyurl.com/coemuv2");
            Console.WriteLine("");
            Console.WriteLine("This is made to work with the game server created by hio77 not any eo binary!");
            Console.WriteLine("");
            Console.WriteLine("[LoginServer] Starting MasterSocket Thread.");
            Connections.MasterSocket LoginSocket = new Connections.MasterSocket("LoginServer");
            new Thread(LoginSocket.AcceptNewConnections).Start();
            Console.WriteLine("[LoginServer] Init OK.");
            Console.WriteLine("[LoginServer] Connecting to Mysql.");
            if (Database.Database.TestConnect())
            {
                WriteSpecialText("green","[Database] Connection OK.",true);
            }
            else
            {
                WriteSpecialText("Red","[Database] Connection FAIL.",false);
                LoginSocket.Close();
                WriteSpecialText("Red", "[LoginServer-End-ERROR] Mastersocket closed, thread killed.",false);
                WriteSpecialText("Red", "[LoginServer-End-ERROR] Server Shutdown",true);
            }
            Console.WriteLine("[LoginServer] Searching for the Game Server....");
            Console.WriteLine("[LoginServer] Press enter to kill the server.");
            Console.Read();
            Console.WriteLine("");
            LoginSocket.Close();
            Console.ForegroundColor = ConsoleColor.Red;
            Console.WriteLine("[LoginServer-End] Mastersocket closed, thread killed.");
            Console.WriteLine("[LoginServer-End] Server Shutdown");
        }


        /// <summary>
        /// Writes a special message with low level formating
        /// </summary>
        /// <param name="colour">Colour the text is to be written in. (Red/Green)</param>
        /// <param name="text">Message to be written to console.</param>
        /// <param name="emptyline">True will allow for a proceding empty line after the message.</param>
        public void WriteSpecialText(string colour, string text, bool emptyline)
        {
            switch (colour.ToLower())
            {
                case "green":
                    Console.ForegroundColor=ConsoleColor.Green;
                    break;
                case "red":
                    Console.ForegroundColor = ConsoleColor.Red;
                        break;
                default:
                    Console.ResetColor();
                    break;
            }
            Console.WriteLine(text);
            if (emptyline) { Console.WriteLine(); }
            Console.ResetColor();
        }
    }

}