Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Magic mouth bug  (Read 3770 times)

0 Members and 0 Guests are viewing this topic.

grommit

« on: 30, August 2010, 11:46:35 »
There seems to be a minor bug in the Editor in the logic that sets direction on magic mouths.

When I set a direction, I get two 'direction 1' (or whatever the direction is) in the map file - these appears in the attributes list in blue and the extra one can be edited out manually, of course.

Ragnor

« Reply #1 on: 30, August 2010, 20:41:44 »
I cannot reproduce this problem. After reviewing Gridarta's source code, I think it should prevent the editor from adding any duplicate attributes.

Therefore, could you explain the exact steps to help me reproduce the problem? And: which editor version and what archetypes are you using?

Btw: while checking this issue I've discovered a related issue: setting the archetype's default direction did add a redundant "direction" attribute to the game object.

grommit

« Reply #2 on: 31, August 2010, 11:26:24 »
First of all, here is the command window output on startup, which may be useful. I'll post again with more info.

Code: [Select]
c:\Users\Jeff\daimonin_mapmaker-B5>w32_start_editor.bat

c:\Users\Jeff\daimonin_mapmaker-B5>REM *** this should start the editor **

c:\Users\Jeff\daimonin_mapmaker-B5>cd editor

c:\Users\Jeff\daimonin_mapmaker-B5\editor>copy DaimoninEditor.jar.tmp DaimoninEditor.jar
The system cannot find the file specified.

c:\Users\Jeff\daimonin_mapmaker-B5\editor>java.exe -jar DaimoninEditor.jar
INFO (main) net.sf.gridarta.var.daimonin.maincontrol.DaimoninEditor  - build number: 6887
Running java version 1.6.0_20
Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
set, which is probably not what is desired.  Parser will use a default
ErrorHandler to print the first 10 errors.  Please call
the 'setErrorHandler' method to fix this.
Error: URI=file:/C:/Users/Jeff/daimonin_mapmaker-B5/arch/dev/editor/conf/GameObjectMatchers.xml Line=95: Element type "Env" must be declared.
Error: URI=file:/C:/Users/Jeff/daimonin_mapmaker-B5/arch/dev/editor/conf/GameObjectMatchers.xml Line=97: The content of element type "GameObjectMatche
r" must match "(title+,(And|Or|Attrib|TypeNrs))".
Error: URI=file:/C:/Users/Jeff/daimonin_mapmaker-B5/arch/dev/editor/conf/GameObjectMatchers.xml Line=192: Element type "Env" must be declared.
Error: URI=file:/C:/Users/Jeff/daimonin_mapmaker-B5/arch/dev/editor/conf/GameObjectMatchers.xml Line=194: The content of element type "GameObjectMatch
er" must match "(title+,(And|Or|Attrib|TypeNrs))".
INFO (main) net.sf.gridarta.gameobject.match.GameObjectMatchersParser  - Loaded 21 GameObjectMatchers from 'file:/C:/Users/Jeff/daimonin_mapmaker-B5/a
rch/dev/editor/conf/GameObjectMatchers.xml'.
INFO (main) net.sf.gridarta.treasurelist.TreasureLoader  - 147 treasurelists loaded.
INFO (main) net.sf.gridarta.archtype.ArchetypeTypeSetParser  - Loaded 98 types from 'file:/C:/Users/Jeff/daimonin_mapmaker-B5/arch/dev/editor/conf/typ
es.xml'
INFO (main) net.sf.gridarta.var.daimonin.MultiPositionData  - Loaded multipart position data from 'archdef.dat'
INFO (main) net.sf.gridarta.maincontrol.DefaultMainControl  - Start to load archetypes...
INFO (main) net.sf.gridarta.maincontrol.DefaultMainControl  - Archetype loading took 15.703 seconds.
INFO (main) net.sf.gridarta.spells.XMLSpellLoader  - Loaded 20 defined spells from 'spells.xml'
INFO (main) net.sf.gridarta.script.ScriptModelLoader  - Loaded 1 scripts from C:\Users\Jeff\daimonin_mapmaker-B5\maps\dev\editor\scripts

grommit

« Reply #3 on: 31, August 2010, 11:31:03 »
OK. I put the MM on a map. I then set direction to north, and 'direction 1' appeared. I then double-clicked on the object to bring up the dialog. I then entered the message on the message tab. When I clicked OK on the dialog, a second 'direction 1' appeared.

Edit: I checked arch/dev/editor/conf and I have all the up-to-date trunk files.
« Last Edit: 31, August 2010, 11:36:24 by grommit »

grommit

« Reply #4 on: 01, September 2010, 20:07:11 »
*Bump*

So, Ragnor, any news?

Ragnor

« Reply #5 on: 02, September 2010, 08:21:29 »
"build number: 6887" - this version is more than one year old. Many things have changed and fixed since, including this bug. You probably should update to an up-to-date Gridarta release.

"Error: URI=file:/C:/Users/Jeff/daimonin_mapmaker-B5/arch/dev/editor/conf/GameObjectMatchers.xml Line=95: Element type "Env" must be declared." - this too is caused by using an outdated Gridarta version. This version does not understand the (newly introduced) "Env" tags used by recent Daimonin archetypes. Not being able to load GameObjectMatchers.xml might break some features like View or Analyze menu actions or even make inserting or deleting game objects in/from maps work less reliably.

grommit

« Reply #6 on: 02, September 2010, 11:39:28 »
You probably should update to an up-to-date Gridarta release.
In which case it might be a good idea for the Gridarta maintainers to make a new release available :)


clobber

« Reply #7 on: 02, September 2010, 13:08:40 »
OOOH!! Beef!

Look at the Dai DL page
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

grommit

« Reply #8 on: 02, September 2010, 14:35:09 »
Look at the Dai DL page
That's not the point. Any upgrade should be available through the Editor Help menu. Why would anyone who has already downloaded everything look at the Dai DL page?

You have to know an update exists, you know.

Edit: I just looked at the DL page and it doesn't say which version of the Editor is included. So how am I to know if it has been updated without downloading the whole Mapmaker package. That's just daft.
« Last Edit: 02, September 2010, 14:37:45 by grommit »

clobber

« Reply #9 on: 02, September 2010, 14:37:02 »
I'm buying you a stress ball.

EDIT: Or a picture of the gridarta devs for your dart board ;)

EDIT for the EDIT: No pun intended with griDARTa and dart...
« Last Edit: 02, September 2010, 14:51:40 by clobber »
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

smacky

« Reply #10 on: 02, September 2010, 14:53:25 »
Look at the Dai DL page
That's not the point. Any upgrade should be available through the Editor Help menu. Why would anyone who has already downloaded everything look at the Dai DL page?

You have to know an update exists, you know.

Edit: I just looked at the DL page and it doesn't say which version of the Editor is included. So how am I to know if it has been updated without downloading the whole Mapmaker package. That's just daft.

I go to a lot of trouble to announce it in the project news of the home page every time. Sorry if you can't read.

If you want to figure out how to put an update onto daimonin.sourceforge.net/editor so one can update the editor only and then maintain this update so it is always the same as in the latest map maker, go for it. You're a sf admin. You have the same capabilities as me.

Equally, if you want to put extra info on the dl page, do it. You're a site admin. You have the same capabilities as me.

Or to put it another way, your as responsible for any daftness as any other dev.

grommit

« Reply #11 on: 02, September 2010, 14:58:49 »
I am not a Gridarta maintainer, so why if a new version is available, isn't it made available on the Help/Update menu? Every other piece of software I use does this - and most even say "hey, are you aware you are running an old version?"

Edit: OK - I have read the 201006xx Mapmaker announcement now. Since I maintain my own client and server and update everything from SVN, I don't normally bother reading Mapmaker announcements.

In fact the only piece of software I would need to download separately would be the editor jar file if and when it's updated. So it might be a good idea to have this as a separately downloadable item.
« Last Edit: 02, September 2010, 15:04:46 by grommit »

smacky

« Reply #12 on: 02, September 2010, 15:06:01 »
Because, rightly or wrongly, Gridarta is a different project to Daimonin. The Gridarta dev(s) don't maintain a specific build of their project for our project and no-one from our project has shown anything but fleeting interest in maintaining such a build.

grommit

« Reply #13 on: 02, September 2010, 15:10:12 »
Anyway, I now have 8557 :)

Can I ask here or should I open a new topic: How do I adjust the position of the panes so that the layout is as it used to be? e.g. like the selected square pane not extending to the top of the window.
« Last Edit: 02, September 2010, 15:16:59 by grommit »

Tags:
 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1121 Views
Last post 18, October 2006, 17:29:43
by grommit
2 Replies
1079 Views
Last post 21, October 2006, 18:05:40
by Shroud
9 Replies
1847 Views
Last post 23, November 2006, 16:47:07
by smacky
3 Replies
1315 Views
Last post 22, November 2006, 17:20:07
by Gecko
19 Replies
93759 Views
Last post 11, December 2015, 10:57:47
by smacky