Instant Own
April 19, 2024, 09:07:45
Welcome, Guest. Please login or register.

Login with username, password and session length
News: ioclan.tk domain remains.
 
  Home Forum Help Search Gallery Staff List Members Login Register  
  Show Posts
Pages: 1 [2] 3 4
16  Other / Offtopic / Re: Nr 100 on: September 13, 2011, 18:12:00
I am still in Evil. yes
17  Other / Offtopic / Re: Nr 100 on: September 13, 2011, 07:28:55
Yeeeeeah  Grin. Thank u!

18  Other / Offtopic / Re: Nr 100 on: September 12, 2011, 17:38:40
I could have a mumble channel if needed Wink

Would be awesome, Simon. Smiley

That's a long time since I've seen that avatar Smiley

Indeed!  Sad, Will try to post more regularly here from now on. Cheesy

But to stay on topic, it's almost clear it's not happening tonight.
This are the result atm:
Quote
Monday:   3
Tuesday:   5
Wednesday:   4
Thursday:   4
Friday:   6
Saturday:   6
Sunday:   6

So I guess it will be Friday/Saturday/Sunday.
I will send a mail about it, to ask all which haven't sumitted yet, to do this a.s.a.p.

grtz Diho
19  Other / Offtopic / Re: Nr 100 on: September 11, 2011, 12:20:47
Currently 6 ppl have submitted the form. Let's hope more ppl will hop in. Cheesy
I guess we will need to send the final results monday afternoon, at the latest?

grtz Diho

EDIT: I was btw thinking about setting up a mumble server for the reunion. I remember some site for free mumble servers, with nice connection. I gues I am going to check it out and let you guys know if it's good enough.
20  Welcome / News / Re: Very sad message on: December 26, 2010, 20:56:40
Sad to hear( read ) all this. But it's true IO had been inactive for quite some time.
But the most important thing right now is, that you guys keep on playing OA, we won't like losing you guys  Smiley

So I wish you all the best in whatever you gonna do right now  Grin But if one of you dears to leave oa, we will all kill you! xD

grtz Diho
21  Welcome / News / Re: Finally! on: May 30, 2010, 18:17:52
CUCU HIHI Cheesy
He is cool Cheesy HAHAHAHA XD CUCUCUCU
22  Welcome / News / Re: The show must go on!! :) on: May 13, 2010, 11:08:28
Hey IO mates Smiley
The post was inspirational. Sadly I don't see you online often the last few days :/
Just wanted to say if you are online with enough, then just ask, maybe we could have a fun match Smiley
 
23  Other / Openarena general / Re: voila je vous dis tout . on: May 07, 2010, 14:47:28
even thought I can't speak french perfectly I also can use google translator Simon Smiley 
correct me if I am wrong.  (google translater is sometimes **** Tongue
But i thought you said its OUR fault instead of something else..

 If you have something to say about me, then say it in english;) talking after someone his back is just ****
If I am totally wrong then sorry  Grin
24  Other / Offtopic / Re: Linux! on: May 02, 2010, 11:38:00
Reasons why windows is no virus:

1st A virus is small and fast.
2nd A virus is well thought out.
3rd A virus is working correctly.
4th A virus can be removed easily.
5th The programmer of the virus knows its features.
6th Before a virus can protect themselves.
7th A virus must sign up every day and you do not update online.
8th The damage the virus causes can be predict.
9th A virus is forcing a user not to use MS Internet Explorer
10 A virus is free.
HATE WINDOWS Cheesy LOVE LINUX!
25  Other / Offtopic / Re: the weather! on: April 23, 2010, 13:20:25
In Italy it was 23 degrees celsius Cheesy  whooh, when i came back home i thought it was winter here in the netherlands, what a deference:P
26  Welcome / News / Re: autodownload trouble on the server on: April 14, 2010, 17:37:49
Maybe talk to some server hoster you know ( f.e. Obama from evil or whatever )  Maybe it's because of the dir tree. I mean you have to upload a baseoa dir with all maps. And a dir "oanage" with the mod.  If it looks like this:

http://yourwebspaceformaps.com/ftp/baseoa
http://yourwebspaceformaps.com/ftp/oanage

you have to put http://yourwebspaceformaps.com/ftp/  in the server cfg as dl url.  ( if i remember it correctly )
27  Welcome / News / Re: autodownload trouble on the server on: April 13, 2010, 16:51:50
Hm, at the time when i was having a server ( was just online when i was)  i used http://www.zymic.com/ as host for the maps.  Maybe it will also work for you.
28  Other / Openarena general / Re: Screenshots on: April 07, 2010, 15:04:45
@Tiny, nice training, okay can be. BUT I think we should practise allw teamplay. And not insta. Since we are not that good with allw in our teamplay, we will need training for the oacl. So maybe the next training, when finally someone can come. We should do allw.
29  Other / Openarena general / Re: 0.8.5 on: February 24, 2010, 17:49:53
It's sure nice that the new version is released, but as rmf said, we could better wait till all or most of the big clans moved to 0.8.5
30  Other / OAcon / The source! on: February 20, 2010, 18:31:24
of course we want to make the source of the handler.exe public.
You may help with making it work better, but we trust you guys that you don't use it to make your own version of it. Smiley

So here you go:
 
It's written in CSharp ( C# )
handler.exe

Code:

using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Diagnostics;



namespace alert
{
    class Program
    {
        static string ProcessInput(string s)
        {
            // TODO Verify and validate the input
            // string as appropriate for your application.
            return s;
        }

        static void Main(string[] args)
        {

            foreach (string s in args)
            {
                string ss = s.Replace("oacon://", "");
                string sss = ss.Replace("%20", " ");
                string ssss = sss.Replace("/", "");
               
               

                Console.WriteLine(ProcessInput(ssss));



                Process p = null;
                try
                {





                    p = new Process();


                    string Dir2 = AppDomain.CurrentDomain.BaseDirectory;






                    p.StartInfo.FileName = "openarena.exe";
                    p.StartInfo.Arguments = " + connect " + ssss;
                    p.StartInfo.WorkingDirectory = Dir2;


                    p.StartInfo.CreateNoWindow = false;
                    p.Start();
                    p.WaitForExit();



                }
                catch (Exception ex)
                {
                    Console.WriteLine("Exception Occurred :{0},{1}",
                              ex.Message, ex.StackTrace.ToString());
                }




            }

        }
    }
}


the oacon installer (oacon_install.exe) extracts 3 files:
add.reg
install.exe
handler.exe
And then it will exec install.exe

>> install.exe will change the add.reg to the path where handler.exe is.
>> install.exe will add add.reg to the registry.
>> install.exe will extract handler.exe to the openarena folder.

That's all Smiley

Here are the sources of add.reg and install.exe:

add.reg

Code:

REGEDIT4

[HKEY_CLASSES_ROOT\oacon]
@="URL:oacon Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\oacon\DefaultIcon]
@="handler.exe"

[HKEY_CLASSES_ROOT\oacon\shell]

[HKEY_CLASSES_ROOT\oacon\shell\open]

[HKEY_CLASSES_ROOT\oacon\shell\open\command]
@="\"path-to-handler.exe" \"%1\""




Install.exe

Code:



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Windows.Forms;




namespace install
{
    class Program
    {
        static void Main(string[] args)
        {
           
           
            string sName1 = @"\add.reg";
            string sName2 = @"\handler.exe";

            string sDir = Directory.GetCurrentDirectory();
            string sDir1 = Directory.GetCurrentDirectory() + sName1;
            string sDir2 = Directory.GetCurrentDirectory() + sName2;

            string ss = sDir2.Replace("\\", "\\\\");
            string sss = ss + @"\";
           





     


                    string temp;

                    StringBuilder sb = new StringBuilder();

                    string[] file = File.ReadAllLines(sDir1);

                    foreach (string line in file)
                    {

                        if (line.Contains("path-to-handler.exe"))
                        {

                            temp = line.Replace("path-to-handler.exe", sss);

                            sb.Append(temp + "\r\n");

                            continue;

                        }

                        else

                            sb.Append(line + "\r\n");

                    }

                    File.WriteAllText(sDir1, sb.ToString());


                    Process regeditProcess = Process.Start("regedit.exe", "/s add.reg");
                    regeditProcess.WaitForExit();




             
           
        }
    }
}


Pages: 1 [2] 3 4

+--ignore-
Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.049 seconds with 17 queries.