How to make a android app

well i'm just showing you guys something new that hasn't been done before. something that would be a + for your servers. : P but making flyff to run on an phone wouldn't make much sense to me at all
 
Last edited:
But a server has that functionality then you would like to play that server right? You can play during boring collegehours.
 
This is a handy piece of info to have. with this knowledge you could build an app to control your server from your phone, monitor the up and down time, etc. Possibilities are endless.

I don't think it's very useful to have a server controller for phone as you could simply create an automatic restarter... My server controller can send SMS messages when the server goes down(it also restarts it), which is more useful IMO. When a server crashes, the developers should be notified immediately so they can fix the bug that would cause the crash. They cannot do this on a phone, because it would require either reverse engineering or a fresh recompile.
 
lethels system is pro : P i just run a server restarter that logs time it goes down then i just look at the logs >.> might have to try to put a sms system on my restarter O;

---------- Post added at 03:43 PM ---------- Previous post was at 03:42 PM ----------

*server goes down -> sms received -> runs home*

its more like goes on tv via iphone on personal computer and conect to the dedicated server
 
lethels system is pro : P i just run a server restarter that logs time it goes down then i just look at the logs >.> might have to try to put a sms system on my restarter O;

---------- Post added at 03:43 PM ---------- Previous post was at 03:42 PM ----------



its more like goes on tv via iphone on personal computer and conect to the dedicated server

Reverse engineering/deving through RDP on a phone is a bit annoying...

Below is a pic of the monitor app(C#/C++) if anyone would like to see. It's meant to run on Win7 remote from the server(s). If anyone is interested, it's coded using DevExpress(framework for .NET). You can also send "System Notices" via the monitor. The controller app is run as a service on each machine that hosts server apps.

As for the phone stuff, SMS is enough for me because I'm not out that much and usually can get home pretty fast if necessary.

Johnny - How to make a android app - RaGEZONE Forums
 
Basis of restarting a process is pretty easy, if your doing it in C#

Code:
class ProcessRestarter
    {
        private string prog;
        private Process handle;

        public ProcessRestarter(string program)
        {
            this.prog = program;
            this.handle = new Process();
        }

        public void Start()
        {
            Process[] list = Process.GetProcesses();
            bool isRunning = false;
            foreach (Process p in list)
            {
                if (string.Compare(p.ProcessName, this.prog, true) == 0)
                    isRunning = true;
            }

            if (!isRunning)
            {
                try
                {
                    this.Restart();
                }
                catch (Exception e)
                {
                    throw e;
                }
            }
            Thread.Sleep(5000);
            Start();
        }

        private void Restart()
        {
            this.handle.StartInfo.FileName = this.prog + ".exe";
            this.handle.Start();
        }

        public void Close()
        {
            Process[] List = Process.GetProcesses();
            foreach (Process p in List)
            {
                if (string.Compare(p.ProcessName, this.prog, true) == 0)
                {
                    p.Kill();
                }
            }
        }
Coded awhile back by Ryuchao009 (Jordan Smith)
Very basic code, play around with it some, it'll help you grasp C# some :]
 
The idea of making an emulator for flyff on your phone would be so useless, U need to controll a mouse, have a keyboard in ur screen, which almost overlaps everything, and it would lagg like **** because phones aren't made for big online games like flyff.

The idea of making a chararacter panel thingy, sounds cool tho. Even though u could also log in on a character panel in a website, it would be funny to have an own app for it. Just costs a lot of time.

Anyways, thumbs up to Johnny for this helpful tutorial.
 
The idea of making an emulator for flyff on your phone would be so useless, U need to controll a mouse, have a keyboard in ur screen, which almost overlaps everything, and it would lagg like **** because phones aren't made for big online games like flyff.

That is also why you would need to remake everything, make it lightweight, made for smartphones, for touch screens.
 
A server restarting app would be kinda cool... But it is kinda pointless, considering I have TV on my Droid.
Anyone wanna look into making a char panel with me though? o:
 
Back