[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Master of Magic - Implode's Multiplayer Edition • View topic - Still alive :)

Still alive :)

Anything else to do with MoM IME

Re: Still alive :)

Postby MichaelZett » Mon Feb 06, 2012 2:04 pm

[quote="Implode]Did you install the m2eclipse plugin? When you right click a project do you get the extra "Maven" item (with the little red "m2" icon next to it) on the popup menu?
[/quote]
I had to convert the projects to maven projects (Configure item in context menu). Now install produced the code. The generated code in the folder 'target' was not recognized so I had to add the folder xjc to the classpath of the project.
Now there's only one Eclipse error message left: In pom.xml it says: "Plugin execution not covered by lifecycle configuration: org.apache.cxf:cxf-xjc-plugin:2.3.2:xsdtojava (execution: main-xjc-generate, phase: generate-sources)"
Do you know what that means? EDIT: So, I googled and found this: http://wiki.eclipse.org/M2E_plugin_exec ... ot_covered
It seems that one has to manage the lifecycle of some goals. Perhaps that solves the problem why the generation sometimes does not work. For a start I used the QuickFix to ignore the message...

Edit http://www.roughseas.ca: "Missing artifact com.ndg.common:javautils:jar:0.0.1-SNAPSHOT" it says on XmlEditor.
MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby Implode » Mon Feb 06, 2012 2:28 pm

User avatar
Implode
Site Admin
 
Posts: 432
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada

Re: Still alive :)

Postby MichaelZett » Mon Feb 06, 2012 2:42 pm

MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby Implode » Tue Feb 07, 2012 12:28 am

User avatar
Implode
Site Admin
 
Posts: 432
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada

Re: Still alive :)

Postby MichaelZett » Tue Feb 07, 2012 7:23 am

I will try it as soon as I get some time at home again. In short: I used a Quick fix on the message above. That added a lifecycle management tag into the pom.xml that is only used by eclipse to ignore the problem, the build is not harmed. Maybe we should add a ticket that someone looks into this because I assume that with a proper managed lifecycle the problems you mentioned with m2e and generating sources can be resolved. Then there was a maven file in .settings that hasn't been in SVN - perhaps that has something to do with different Eclipse versions (I use Indigo)? I will look into the changes in .project and .classpath. The latter are probably my adding of the target source folders to the projects.

EDIT: removed wron quote roughseas.ca
MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby Implode » Tue Feb 07, 2012 10:49 pm

Fixing the XML editor to not need the date control and NdgJavaUtils is done... and was a real headache trying to decide how best to organize stuff. Basically I split my old NdgJavaUtils library into three, and made a NdgUtils (just had to make the maven artefact a different name :P) containing things that were actually useful and not MoM-specific, moved some MoM specific stuff like reading .LBX files into MoMIMEUtils, and left anything that MoM doesn't need in my own lib (that isn't public on sourceforge, besides it has mostly junk left now). Plus moved the date-specific stuff out of NdgXmlEditor into an extension to this (the extension then isn't on sourceforge because MoM editors don't need it).

Basically at some point the editor needs a general overhaul to reduce/eliminate all the dependencies it has on other libs. I'm happy that at least none of the main MoM IME projects (i.e. client + server) include any of these libs so they're still done neatly; the editor is of lesser priority to get right so can worry about making all this a bit nicer later.

You'll have a lot of pulling down updates to do, check out the additional 2 projects, and maybe a lot of 'Update dependencies' to do in Eclipse... although the Maven plugin in Eclipse seems much better at doing that now - when I was changing the POMs it was fixing all the dependencies itself without me having to tell it to do so (never used to work like that).
User avatar
Implode
Site Admin
 
Posts: 432
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada

Re: Still alive :)

Postby MichaelZett » Wed Feb 08, 2012 7:24 pm

MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby Implode » Thu Feb 09, 2012 1:56 am

User avatar
Implode
Site Admin
 
Posts: 432
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada

Re: Still alive :)

Postby MichaelZett » Thu Feb 09, 2012 7:44 am

MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby MichaelZett » Sat Feb 11, 2012 1:16 pm

I do still get "not authorized".
There are 6 test-errors in NdgUtils, so that it won't be build (XmlEditor, too).
Then I noticed the following Error in ndgMultiplayerSessionBase:
[ERROR] src-resolve: Name "mp:clientToServerMessage" could not be resolved as"type definition.
line 132 of file:.../Workspace_Mom/NdgMultiplayerSessionBase/trunk/src/main/resources/com.ndg.multiplayer.messages/MultiplayerSession.xsd
MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby Implode » Mon Feb 13, 2012 2:39 am

Eh that's all really weird, works fine for me, what are the 6 test errors you get? There isn't even much in NdgUtils to go wrong...
User avatar
Implode
Site Admin
 
Posts: 432
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada

Re: Still alive :)

Postby MichaelZett » Wed Feb 15, 2012 6:11 pm

Failed tests:
testStartOfDaylightSavingsWorksUnfixed(com.ndg.utils.DateUtilsTest)
testEndOfDaylightSavingsFailsUnfixed(com.ndg.utils.DateUtilsTest)
testEndOfDaylightSavingsWorksFixed(com.ndg.utils.DateUtilsTest)
testCalcDaysBetweenDatesStartOfDST(com.ndg.utils.DateUtilsTest)
testCalcDaysBetweenDatesEndOfDST(com.ndg.utils.DateUtilsTest)
testCalcDaysBetweenDatesCrossesDST(com.ndg.utils.DateUtilsTest)

Mainly parsing errors of some dates. I did not look into it yet, perhaps a locale thing. Does anyone other than me had success committing something yet?
MichaelZett
 
Posts: 14
Joined: Wed Oct 05, 2011 9:41 pm

Re: Still alive :)

Postby npilgaard » Sat Feb 25, 2012 7:26 pm

Excellent idea to revive the old MoM - with multiplayer on top!
The amount of work you have done here is truly impressive!

Thanks for the effort you have put into this. And keep going! ;)

Regards
Nikolaj
npilgaard
 
Posts: 5
Joined: Sat Feb 25, 2012 7:18 pm

Re: Still alive :)

Postby gregz » Thu Mar 15, 2012 12:03 am

Glad to see this project still has legs, good job Implode.

Image
gregz
 
Posts: 8
Joined: Tue Sep 22, 2009 11:00 pm

Re: Still alive :)

Postby RockOrSomething » Mon Jun 18, 2012 4:03 pm

If you need a functional copy of the original game, a simple Google search + DOSBox will bear fruit. If the links fail, I keep backups of both on my computer. Send a message to the above username at gmail dot com.
RockOrSomething
 
Posts: 3
Joined: Mon Jun 18, 2012 3:43 pm

PreviousNext

Return to General - MoM IME

Who is online

Users browsing this forum: No registered users and 2 guests

cron