Ambrosia Garden Archive
    • By interpreted code I mean that it's not compiled down to machine language and it requires another program to 'run' it. Kind of like an old micro BASIC (C=64, anyone?). I think that Flash fits that category, HTML does, so does Java (But I think that Java is perhaps semi-compiled?) I've seen lots of stuff that looks pretty cool in PCworld but when it all comes down to it I can open it in a text editor and see understandable code, not a bunch of machine language.

      ------------------
      Drinking causes hangovers.
      (url="http://"http://www.freewebs.com/rmx256/index.htm")Kemet T.C. Website(/url)

    • That's because compiled code is faster. While you may be able to see the actual code used in an interpreted environment, I've found most Mac users, nay most computer users don't really care about underlying code- they care about performance. Compiled code is more stable and much faster.

      That isn't to say I don't like open source projects, of course.
      ~ SP

      ------------------
      Fear the SpacePirate,
      He made a (url="http://"http://www.evula.org/infernostudios/search.html")plug-in search page(/url)...
      And he'll board your ship!
      -mrxak
      *** (url="http://"http://www.evula.org/infernostudios/")InfernoStudios(/url) was last updated 06 June, 2004. ***

    • SpacePirate said:

      **That's because compiled code is faster. While you may be able to see the actual code used in an interpreted environment, I've found most Mac users, nay most computer users don't really care about underlying code- they care about performance. Compiled code is more stable and much faster.

      That isn't to say I don't like open source projects, of course.
      ~ SP

      **

      I prefer open source when I'm doing things for fun. It allows others to look at the code and criticize it (constructively, of course.) And after I'm done with it, it allows others to pick up where I left off. My only request is that changes be sent to me so I can add them to my copy.

      Anyway, I just opened it the .exe in Notepad and noticed semi-legible code within five lines. After a couple blocks of giberrish (probably code for the form itself.) It looks like commands ( if-then statements, for loops, variable declarations, ect) are compiled, while object names, strings, and parentheses are not. I did notice that there is an encryption option that you can use, if you want your code secret.

      (removing duplicate sig, fixing ubb)

      This post has been edited by Artanis : 12 September 2004 - 12:36 AM

    • Download 68k

      File open added.
      I got some free time to work on it.

      The "Find" button doesn't do anything yet, gotta go to work soon, be back later.

      Please test open on something you have already (like the nova files or something) and post images.

      It doesn't update automatically after open, so you'll need to r-click on the map.

      Have fun.

      This post has been edited by Artanis : 19 November 2004 - 11:04 PM

    • Hey, it's great to see this. It's certainly an idea I thought about putting in EVNEW, but I don't really have time any more to work on it. Here's a bunch of stuff I found that could be fixed, in no particular order:

      • The tab order of the controls on the bottom is messed up

      • Once you change the zoom level, you can't get it back to exactly 100% (it will go to either 99% or 101%)

      • Because of the above, the coordinates then get displayed as something like (-0.0808080808080813, -0.424242424242424)

      • The axes aren't drawn when it first loads up

      • If you set a mouse click to center on click, it functions somewhat counter-intuitively: it moves the (0, 0) to where you click. In most applications, the point at the center of the screen is moved to where you click, not the origin. Because of this, you can't scroll the origin off the screen.

      • When you save a file, it prints: "Created by:" "EVNEW Public Beta 1.0.2". You should print out that it was created by EVN Cartographer, not EVNEW.

      • Why are you only allowing 1000 systems? The Nova engine supports up to 2048

      • When opening a file you shouldn't break out when an empty line is encountered

      • The tool tip for the map area is more annoying than it is helpful. Either reduce the time it will appear for to a few seconds or get rid of it entirely.

      • The checkbox for turning system labels on and off should have a label or a tool tip; currently it has neither.

      • The keyboard shortcut for exiting probably should not be Ctrl+X, since that is normally used for cutting. I recommend Alt+F4 for exitting, that's what almost every program uses.

      • The titles of the file open and file save dialogs are "Open EVNew Text" and "Save EVNew Text" respectively. Please capitalize every letter of EVNEW.

      • If you attempt to exit with unsaved changes, the message box that appears should have a Cancel option like every other application.

      • If you exit immediately upon opening without creating or opening anything, it should not prompt you about saving unsaved changes, also like every other application

      But so far, you've done a great job. Unfortunately, VB does not convert very easily into C++ (and vice-versa), especially for heavy Windows GUI code.

      Oh yeah, and the latest version of EVNEW (Public Beta 1.0.3) has been out long enough that I may slash the "Public Beta" from its status and declare it a release. There has been only one bug reported since the last release, and that involved sounds, a feature used much less frequently by the average Nova developer, and there are a few features I threw in also.

      ------------------
      Get (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url) - the free, open-source EVN plugin Editor for Windows!

      (This message has been edited by Aprosenf (edited 07-28-2004).)

    • (Post deleted, above post edited)

      (This message has been edited by Aprosenf (edited 07-28-2004).)

    • Quote

      Originally posted by: Aprosenf
      The tab order of the controls on the bottom is messed up

      fixed (I went through and set the order before compiling. Don't know what happened)

      Quote

      Originally posted by: Aprosenf
      Once you change the zoom level, you can't get it back to exactly 100% (it will go to either 99% or 101%)

      fixed (now using numeric scroller)

      Quote

      Originally posted by: Aprosenf
      Because of the above, the coordinates then get displayed as something like (-0.0808080808080813, -0.424242424242424)

      Coordinate display has been locked to integers.

      Quote

      Originally posted by: Aprosenf
      The axes aren't drawn when it first loads up

      fixed (it's hell when debugging some sections of the code though. The event triggers everytime you switch to the program, sometimes that runs it straight into a breakpoint, bumping focus back to the code view.)

      Quote

      Originally posted by: Aprosenf
      If you set a mouse click to center on click, it functions somewhat counter-intuitively: it moves the (0, 0) to where you click. In most applications, the point at the center of the screen is moved to where you click, not the origin. Because of this, you can't scroll the origin off the screen.

      Didn't realize it was counter intuitive. That's changed (add/subtract swap), and consectutive centers go farther.

      Quote

      Originally posted by: Aprosenf
      When you save a file, it prints: "Created by:" "EVNEW Public Beta 1.0.2". You should print out that it was created by EVN Cartographer, not EVNEW.

      fixed. Copy-paste error from a sample EVNEW text export. Posted Image

      Quote

      Originally posted by: Aprosenf
      Why are you only allowing 1000 systems? The Nova engine supports up to 2048

      I missed that somewhere. Max systems increased to 2048.

      Quote

      Originally posted by: Aprosenf
      When opening a file you shouldn't break out when an empty line is encountered

      I know. I cant locate an end-of-file test to avoid crashing at the end of the file. I'm going to try a couple more things and then ask the professor tomorrow.

      Quote

      Originally posted by: Aprosenf
      The tool tip for the map area is more annoying than it is helpful. Either reduce the time it will appear for to a few seconds or get rid of it entirely.

      Time shortened. Added ability to turn them off, as well.

      Quote

      Originally posted by: Aprosenf
      The checkbox for turning system labels on and off should have a label or a tool tip; currently it has neither.

      fixed.

      Quote

      Originally posted by: Aprosenf
      The keyboard shortcut for exiting probably should not be Ctrl+X, since that is normally used for cutting. I recommend Alt+F4 for exitting, that's what almost every program uses.

      changed.

      Quote

      Originally posted by: Aprosenf
      The titles of the file open and file save dialogs are "Open EVNew Text" and "Save EVNew Text" respectively. Please capitalize every letter of EVNEW.

      fixed.

      Quote

      Originally posted by: Aprosenf
      If you attempt to exit with unsaved changes, the message box that appears should have a Cancel option like every other application.

      fixed. Accidently left the message box out of a saved test.

      Quote

      Originally posted by: Aprosenf
      If you exit immediately upon opening without creating or opening anything, it should not prompt you about saving unsaved changes, also like every other application

      That uses the same test as above.

      Quote

      Originally posted by: Aprosenf
      But so far, you've done a great job. Unfortunately, VB does not convert very easily into C++ (and vice-versa), especially for heavy Windows GUI code.

      Yeah. I'd would have used C++ (and probably built it into EVNEW), except my knowledge of C++ covers the basics in DOS, and I can't make heads or tails of your code. I was surprized I found the copy-paste error in the shan source.

      Quote

      Originally posted by: Aprosenf
      Oh yeah, and the latest version of EVNEW (Public Beta 1.0.3) has been out long enough that I may slash the "Public Beta" from its status and declare it a release. There has been only one bug reported since the last release, and that involved sounds, a feature used much less frequently by the average Nova developer, and there are a few features I threw in also.

      I was wondering about the state of the beta.
      Are those features you speak of in 1.0.3, or did you just tweak your copy?

      Quick Q on cicns: what exactly is EVNEW looking for when it says Palleted Bitmaps? I've tried multiple settings from both Paint and Photoshop, and the resource won't take them.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • Looking good, so far. I did encounter one problem with saving, it seemed to be adding 128 to the hyperlink systems in the text file. Maybe I'm just doing it wrong, I dunno.

      ------------------

    • Yeah. I caught that yesterday. Haven't uploaded it.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • Quote

      Originally posted by Artanis:
      Quick Q on cicns: what exactly is EVNEW looking for when it says Palleted Bitmaps? I've tried multiple settings from both Paint and Photoshop, and the resource won't take them.(/B)

      That means 8-bit (256 colors), 4-bit (16 colors), or monochrome (2 colors) bitmaps. In Paint, choose the bit depth in the Save As dialog.

      ------------------
      Get (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url) - the free, open-source EVN plugin Editor for Windows!

    • Quote

      Originally posted by Aprosenf:
      **That means 8-bit (256 colors), 4-bit (16 colors), or monochrome (2 colors) bitmaps. In Paint, choose the bit depth in the Save As dialog.

      **

      It worked. I swear I tried those, though...

      Off to class. I'm going to see if there is a graceful solution to the blank line problem, since the program no longer detects and stops the end of the file. It just crashes.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • (url="http://"http://evula.org/artanis/Projects/EVN_Cartographer/EVN_Cartographer.zip")Download(/url) 68k

      I've found a problem I can't wrap my brain around.
      After I got open working near perfectly, I converted Nova Data 2 to text and opened it.
      No errors, thats a good thing, except the hyperlinks were drawn wierd.

      It was a tangle in some places. You'll have to see for yourselves:(url="http://"http://evula.org/artanis/ImageGallery/EVNCartographer_NovaData2.jpg")Nova Data 2 test(/url) 224k
      (edit: Found it. it was an indexing problem. Because Nova Data 2 skips some systems, hyperlinks would evaluate to the wrong system.)

      Tasklist:

      • Maximize Map Area: Done

      • Zooming: Done

      • Panning: Done

      • Opening Files: Opens & saves without destroying any other resources in the file.

      • Displaying Complex maps: Perfect.

      • Undo/Redo: Undo is Semi-Functional. Redo is not there.

      • Revert to Saved: Non-functional.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

      (This message has been edited by Artanis (edited 08-01-2004).)

    • Would it be possible to wait for input in say the "name" and "hyperlinks" fields and when the user presses enter or tab to confirm these numbers that the screen just refreshes , it now goes to black and you have to right-click to see it again. Also to see hyperlinks I have to select another system from the list to the right before it will show. This should all be automated I think.

      Entarus,

      ------------------
      "Don't wait for your life to happen , find something you are happy with and do it"
      (url="http://"http://www.ariossoftware.com/products/evone/")EVONE 1.0pb2 - the plugin editor for EV/EVO/EVN(/url) -- (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go&urgaylol;=yes")EV Developer's Corner(/url)

    • Keeps on gettin' better...

      One more thing I've ran into: The move selected system doesn't seem to work properly when the view is not centered on (0,0).

      Edit:Actually, this problem seems to happen even when the view is centered on (0,0).
      ------------------

      (This message has been edited by slouch (edited 08-02-2004).)

    • Entarus, you'll have to wait on the auto-update thing. Every time I've tried that, it wreaks havoc with placing systems (considering every new system goes to 0,0 instead of where you clicked.)
      I couldn't replicate the blank screen thing more than once per execution, and I just got another idea for fixing it, so I'm gonna go try again.

      I've added a hotkey and a button that take the data in the text boxes and updates the array with it, so you don't have to select another system.

      Move has been fixed. Somehow missed it when I fixed all the other formulas for panning and zoom.

      Also, the reason for a lack of recent updates: I've been trying to fix the blank screen bug, and class just learned about structures and arrays, and I learned that I can put functions in structures. So I've been moving everything I can into the structure (it's easier to read there.) Because of this, Move bypasses the text boxes and just edits the array and updates the map instantly. I had fun dragging (well, not really "drag" so much as consecutive moving) S7evyn around earlier.

      And soon, less talk and more update.

      (edit: speeling)

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

      (This message has been edited by Artanis (edited 08-04-2004).)

      (This message has been edited by Artanis (edited 08-04-2004).)

    • (url="http://"http://evula.org/artanis/Projects/EVN_Cartographer/EVN_Cartographer.zip")Download(/url) 57k

      Ok. Blank screen bug is still there. I've noticed it occures on the first TAB or two, and the first time you switch to a tab panel.
      I can't find an event that triggers when you switch panels and intercepting the TAB key is difficult and stops focus changes, so I'm having trouble making the map refresh directly afterwards. However, after those first few times, it tabs and switches panels without that problem. Not sure why.

      As I said earlier, Move is fixed, plus some.

      And there are two new features:
      You can save preferences (File->Save Preferences). Everything in the display tab can be saved to a simplistic text file that is loaded when you run the program, so you don't have to keep setting it back everytime.
      Also, you can select the quality of the image. So on big maps, you don't have to be slowed by long draw times. This setting is also saved.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • I'm getting some errors on starting the program, and it won't allow me to continue.

      Quote

      From the error details:
      See the end of this message for details on invoking
      just-in-time (JIT) debugging instead of this dialog box.

      ************** Exception Text **************
      System.NullReferenceException: Object reference not set to an instance of an object.
      at EVN_GUI_Map.frmMap.Load_Prefs()
      at EVN_GUI_Map.frmMap.frmMap_Load(Object sender, EventArgs e)
      at System.Windows.Forms.Form.OnLoad(EventArgs e)
      at System.Windows.Forms.Form.OnCreateControl()
      at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
      at System.Windows.Forms.Control.CreateControl()
      at System.Windows.Forms.Control.WmShowWindow(Message& m)
      at System.Windows.Forms.Control.WndProc(Message& m)
      at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
      at System.Windows.Forms.ContainerControl.WndProc(Message& m)
      at System.Windows.Forms.Form.WmShowWindow(Message& m)
      at System.Windows.Forms.Form.WndProc(Message& m)
      at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
      at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

      ************** Loaded Assemblies **************
      mscorlib
      Assembly Version: 1.0.5000.0
      Win32 Version: 1.1.4322.573
      CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
      ----------------------------------------
      EVN Cartographer
      Assembly Version: 1.0.1679.1165
      Win32 Version: 1.0.1679.1165
      CodeBase: file:///C:/WINDOWS/DESKTOP/ESCAPE%20VELOCITY/EVN_CARTOGRAPHER/EVN%20CARTOGRAPHER.EXE
      ----------------------------------------
      System.Windows.Forms
      Assembly Version: 1.0.5000.0
      Win32 Version: 1.1.4322.573
      CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
      ----------------------------------------
      System
      Assembly Version: 1.0.5000.0
      Win32 Version: 1.1.4322.573
      CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
      ----------------------------------------
      System.Drawing
      Assembly Version: 1.0.5000.0
      Win32 Version: 1.1.4322.573
      CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
      ----------------------------------------
      Microsoft.VisualBasic
      Assembly Version: 7.0.5000.0
      Win32 Version: 7.10.3052.4
      CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
      ----------------------------------------

      ************** JIT Debugging **************
      To enable just in time (JIT) debugging, the config file for this
      application or machine (machine.config) must have the
      jitDebugging value set in the system.windows.forms section.
      The application must also be compiled with debugging
      enabled.

      For example:

      <configuration>
      <system.windows.forms jitDebugging="true" />
      </configuration>

      When JIT debugging is enabled, any unhandled exception
      will be sent to the JIT debugger registered on the machine
      rather than being handled by this dialog.

      ------------------

    • Yikes!

      It doesn't do that on my machine...

      I think what the means is that I'm trying to set the properties of objects don't exist yet.

      I've shifted the auto-load of prefs.txt to a differnt place.

      Ok: (url="http://"http://evula.org/artanis/Projects/EVN_Cartographer/EVN_Cartographer.zip")Download(/url) 57k

      Since I'm not getting the error, could you try a couple things?
      1st: unzip the exe and just run it.
      2nd: If it errors again, unzip prefs.txt (it's just the defaults) and try again.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • That fixed it, no errors on my end. Thanks!

      ------------------

    • Quote

      Originally posted by slouch:
      **That fixed it, no errors on my end. Thanks!

      **

      Great!

      It's weird that it didin't happen on my machine, though.

      ------------------
      The only intelligent thing a computer can do without the aid of its programmer is go on strike when required to work without air conditioning
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/EVNOdds.html")My EVN Capture Odds Calculator(/url) (flash 7 required) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)