I'm getting a little bored of IHI today. I have decide to use some of the IHI Server development time to work on IHI Website (commonly refered to as the CMS).
01-09-11
Mithex
Re: Ion H[a]bbo Impersonate (IHI)
Can you unblock me from MSN?
01-09-11
Cecer
Re: Ion H[a]bbo Impersonate (IHI)
Quote:
Originally Posted by Mithex
Can you unblock me from MSN?
I blocked you?
07-09-11
Cecer
Re: Ion H[a]bbo Impersonate (IHI)
More Plugin Changes
The other day I improved my installation code which makes it far more useful.
Plugins can now hook into the installer and get values later on.
Before:
Spoiler:
IHI sets the encoding to UTF8 by default then initializes an instance of the StandardOut class.
IHI checks for the config.xml file and runs the installation if missing.
The rest of IHI loads up.
IHI scans the plugin directory of plugins then loads and starts them.
Now:
Spoiler:
IHI sets the encoding to UTF8 by default then initializes an instance of the StandardOut class.
IHI scans the plugin directory for plugins then loads them.
IHI checks for any installation tasks and will execute.
The rest of IHI loads up.
The plugins are started.
What is important here is when the plugins are loaded. All plugins have a class which inherits IHI.Server.Plugin. An instance of this class is created when loading the plugin and therefore executing the constructor.
The constructor is the only place you should register installation pages. You should save the return values from the constructor when the plugin is started.
For anyone interested, here is the current installation configuration:
InstallerCore. AddCategory( "StandardOut", new Install.Category("Standard Out Configuration"). AddStep("Importance", new Install.StringStep( "Default Importance", "This is the minimum importance level that messages must have to be printed to standard out.", new string[] { "DEBUG", "NOTICE", "IMPORTANT", "WARNING", "ERROR" }, "NOTICE"))). AddCategory( "Database", new Install.Category("Database Configuration"). AddStep("Host", new Install.StringStep( "MySQL Host", "This is the Hostname or IP Address used to connect to the MySQL server.", new string[] { "localhost", "127.0.0.1", "db.somedomain.com" }, "localhost")). AddStep("Port", new Install.UShortStep( "MySQL Port", "This is the Port used to connect to the MySQL server.", new string[] { "3306", "12345" }, 3306)). AddStep("Username", new Install.StringStep( "MySQL Username", "This is the Username used to authenticate with the MySQL server.", new string[] { "ihi", "root", "chris" }, "ihi")). AddStep("Password", new Install.PasswordStep( "MySQL Password", "This is the Password used to authenticate with the MySQL server.", "ChangeMe")). AddStep("MinimumPoolSide", new Install.IntStep( "MySQL Minimum Pool Side", "This is the minimum amount of MySQL connections to maintain in the pool.", new string[] { "1", "5" }, 1, 1)). AddStep("MaximumPoolSide", new Install.IntStep( "MySQL Maximum Pool Side", "This is the maximum amount of MySQL connections to maintain in the pool.", new string[] { "1", "5" }, 1, 1))). AddCategory("Network", new Install.Category("Network"). AddStep( "GameHost", new Install.StringStep( "Game Host", "This is the host (normally an IP) to bind the listener for normal game connections.", new string[] { "127.0.0.1", "192.168.1.12", "5.24.246.133" }, "127.0.0.1")). AddStep( "GamePort", new Install.UShortStep( "Game Port", "This is the port to bind the listener for normal game connections.", new string[] { "14478", "30000" }, 14478)). AddStep( "WebAdminPort", new Install.UShortStep( "WebAdmin Port", "This is the port to bind the WebAdmin listener.", new string[] { "14480", "30002" }, 14478)));
03-10-11
Cecer
Re: Ion H[a]bbo Impersonate (IHI)
Okay, college has been getting quite time consuming recently.
To show that I do still work on IHI when I get some time I made a new (yet random) video.
Ah my Shenmue buddy, that video was indeed awesome.
03-10-11
Hejula
Re: Ion H[a]bbo Impersonate (IHI)
Quote:
Originally Posted by cecer1
Okay, college has been getting quite time consuming recently.
To show that I do still work on IHI when I get some time I made a new (yet random) video.
Is it me or did i see a chinese bloke on Chris's screen!?!?:scared:
Anyway nice job good luck:closedeyes:
05-10-11
Dominic A Gunn
Re: Ion H[a]bbo Impersonate (IHI)
Wish i could use resharper as incredibly as the guy who created that video.
10-10-11
Cecer
Re: Ion H[a]bbo Impersonate (IHI)
Quick question to potential plugin developers:
Would you rather methods like ItemShape.Get/SetLength() or properties like ItemShape.Length?
Properties have a few nice syntactical sugar features that methods lack but I think the methods look nicer.
What do you think I should use?
(Converting them won't take long)
10-10-11
Makarov
Re: Ion H[a]bbo Impersonate (IHI)
Quote:
Originally Posted by cecer1
Quick question to potential plugin developers:
Would you rather methods like ItemShape.Get/SetLength() or properties like ItemShape.Length?
Properties have a few nice syntactical sugar features that methods lack but I think the methods look nicer.
What do you think I should use?
(Converting them won't take long)
Properties.
10-10-11
Wupz0r
Re: Ion H[a]bbo Impersonate (IHI)
Quote:
Originally Posted by cecer1
Okay, college has been getting quite time consuming recently.
To show that I do still work on IHI when I get some time I made a new (yet random) video.