Author Topic: Online Scenario Creator - Now up and Running!  (Read 6731 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Online Scenario Creator - Now up and Running!
« on: 13 June 2009, 10:55:01 »
It is now up, done, and ready... It's the all new (*drum roll*) Omega Scenario Creator. Using a simple online wizard found at http://glest.110mb.com/scenario_creator, ANYONE can make a scenario with NO skill in less than two minutes! It was planned to have 'custom resource' option, which allowed you to override the default resources to allow your own, but I was having some trouble with my code, which SHOULD work, but for some unknown reason, skips the block of code completely, so that feature is still to come. If anyone wants to take a look, tell me and I'll send you the script (PHP). I simply commented that part out for now.

Either way, the scenario creator is up and running, and I have tested it myself a few times. It's sure to speed up scenario creation for both people who have never even seen an XML before to people who have been working with them for years!

http://glest.110mb.com/scenario_creator
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Mark

  • Guest
Re: Online Scenario Creator - Now up and Running!
« Reply #1 on: 14 June 2009, 02:09:53 »
Cool, but i can't see how i am supposed to use it-there is nothing to click!

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Online Scenario Creator - Now up and Running!
« Reply #2 on: 14 June 2009, 02:24:06 »
i used it
cool
but not useful for someone who plays with the XMLs

only useful for someone whose never heard of XMLs

otherwise AWESOME!!! :D
Egypt Remastered!

Proof: Owner of glest@mail.com

modman

  • Guest
Re: Online Scenario Creator - Now up and Running!
« Reply #3 on: 14 June 2009, 02:55:15 »
It doesn't work with Internet Explorer.

gameboy

  • Guest
Re: Online Scenario Creator - Now up and Running!
« Reply #4 on: 14 June 2009, 05:49:01 »
NIce!! good work, and modman pls. use something better than IE, it sucks!

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Online Scenario Creator - Now up and Running!
« Reply #5 on: 14 June 2009, 07:02:07 »
of course it doesn't work on IE, cause IE doesn't work
Egypt Remastered!

Proof: Owner of glest@mail.com

gameboy

  • Guest
Re: Online Scenario Creator - Now up and Running!
« Reply #6 on: 14 June 2009, 07:36:52 »
LOL that was funny, u should download Chrome or Firefox, they are quite good, i mean they are the best.

modman

  • Guest
Re: Online Scenario Creator - Now up and Running!
« Reply #7 on: 14 June 2009, 21:56:45 »
No, I use Firefox, but my brother was using IE and it didn't work on his computer.

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Online Scenario Creator - Now up and Running!
« Reply #8 on: 15 June 2009, 04:23:16 »
meta tags for 'description' and 'keywords' aren't closed,
style tag in head has no type,
color value in said style needs a '#' in front of it,
script tag (line 53 of homepage output) has no type,
script tag (line 74 of homepage output) has type "application/javascript" ?!?

Feed it valid html and IE will usually display it properly... bad html will probably send it into 'quirks mode'.
You might want to set a DOCTYPE too.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Online Scenario Creator - Now up and Running!
« Reply #9 on: 15 June 2009, 15:49:17 »
meta tags for 'description' and 'keywords' aren't closed,
style tag in head has no type,
color value in said style needs a '#' in front of it,
script tag (line 53 of homepage output) has no type,
script tag (line 74 of homepage output) has type "application/javascript" ?!?

Feed it valid html and IE will usually display it properly... bad html will probably send it into 'quirks mode'.
You might want to set a DOCTYPE too.

The meta tags are closed using XHTML standards < />
The style tag has a type of text/css
color value is now fixed
Line 53's script tag, type application/javascript now added
Script tag on line 74 should have that type. I used to use text/javascript until I got scolded for it!
Reference: http://en.wikipedia.org/wiki/Internet_media_type

Doctype now added (transitional XHTML)
Also added changed html tag to include xmls (<html xmlns="http://www.w3.org/1999/xhtml">)
Still doesn't work in IE! Of course, EVERY other browser does. That's how bad IE is. I need to make a 'You are using IE and need to download this brilliant invention named firefox' page for IE users! It'd be better than hitting a non-working page!
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Online Scenario Creator - Now up and Running!
« Reply #10 on: 15 June 2009, 22:00:06 »
Script tag on line 74 should have that type. I used to use text/javascript until I got scolded for it!
Reference: http://en.wikipedia.org/wiki/Internet_media_type
Fair enough... I think I'll be sticking with text/javascript myself.

Quote
Still doesn't work in IE! Of course, EVERY other browser does. That's how bad IE is. I need to make a 'You are using IE and need to download this brilliant invention named firefox' page for IE users! It'd be better than hitting a non-working page!
Actually, your form no longer has any inputs, so I'd suggest you've actually broken it in every browser :)
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Online Scenario Creator - Now up and Running!
« Reply #11 on: 17 June 2009, 04:24:04 »
Jeeze, now I'm just going to reupload. What the H*LL DID I DO?!?!?!?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

 

anything