Location: JBPLAY \ Meteor 2 \ Error Reporting \ Microsoft Visual C++ map script compile error Back to Threads |
ParaSait Joined: 26 June 2007 Posts: 1478 |
21 February 2009 09:37 (UK time)
Uhh? Very weird indeed o.O Actually I didn't even the know the scripts were compiled by Visual C++, I thought James just built in a script interpreter in Meteor 2.
You need to login to create posts in this thread. |
arezey Joined: 16 June 2005 Posts: 1599 |
21 February 2009 14:47 (UK time)
You have an unbalanced quote on line 91, that's what is causing it. Consider using a text editor with syntax-highlighting: - Notepad++: http://notepad-plus.sourceforge.net/ - Notepad2: http://www.flos-freeware.ch/notepad2.html - Crimson Editor: http://www.crimsoneditor.com/ are quite cood ones IMO. ParaScythe wrote: What do you think SeeR runs on? Edited: 21 February 2009 14:53 You need to login to create posts in this thread. |
ParaSait Joined: 26 June 2007 Posts: 1478 |
21 February 2009 14:56 (UK time)
arezey wrote:Well, actually I had no idea how it really worked till now ;D
You need to login to create posts in this thread. |
Canuck Joined: 31 August 2007 Posts: 419 |
21 February 2009 15:28 (UK time)
Yeah, I've had this happen a few times too. It's always because I'm missing a quote mark somewhere, like this: SC_GameMessage("WTF?); It's funny how something so simple causes a crash... You need to login to create posts in this thread. |
Dthdealer Joined: 10 March 2007 Posts: 476 |
22 February 2009 01:24 (UK time)
I use crimson, and I knew it had a bug. The reason I posted it here was to report the error that should have canceled compiling and made M2 handle it by presenting an error message in the console. I used to use notepad++, but it would hide the last line of the file which would muck up the syntax highlighting.
Edited: 22 February 2009 01:25 You need to login to create posts in this thread. |
arezey Joined: 16 June 2005 Posts: 1599 |
22 February 2009 08:18 (UK time)
Oh, ok. Maybe I should do some sort of m2editor one day? But I don't have the time right now... You need to login to create posts in this thread. |
Dthdealer Joined: 10 March 2007 Posts: 476 |
22 February 2009 10:26 (UK time)
arezey wrote: ?? Do you mean de-compiling the M2 source-code and then releasing it with some sort of gui code editor?
You need to login to create posts in this thread. |
arezey Joined: 16 June 2005 Posts: 1599 |
24 February 2009 17:52 (UK time)
Dthdealer wrote: Of course not, I meant a dedicated script editor. You need to login to create posts in this thread. |
ParaSait Joined: 26 June 2007 Posts: 1478 |
24 February 2009 18:55 (UK time)
@arezey I wonder, would it be possible to find out the data structure of map files and make some sort of standalone map editor then? Actually I could use that due to: - The complexity of making sectors with the standard map editor - The way too fast scolling in the standard map editor on modern computers like mine =P
You need to login to create posts in this thread. |
arezey Joined: 16 June 2005 Posts: 1599 |
24 February 2009 20:10 (UK time)
ParaScythe wrote: Now that would be a lot more difficult.., - I would need the .map format from James - I don't how to read and write binaries with Tcl - I don't know much about the [canvas] and can't create too complex things with it, textures are out of the question - It would most probably lack a lot of things the map editor has, if not the most - Other big obstacles that I can't think of right now I don't think I would take on a project like this. A script editor is a different thing, though... - ctext could be easily made to provide syntax-highlighting - Perhaps I could find out a way to get the current line's data using some [text] subcommand and use that to automate some code bits - I could include a snippets storage, perhaps? - Automated export-command adding, sure. I bet it'd make life (or at least M2 scripting!) easier and is far more realistic as a goal. I'll try get some things out of the way and then take on this, perhaps. You need to login to create posts in this thread. |
ParaSait Joined: 26 June 2007 Posts: 1478 |
24 February 2009 21:26 (UK time)
@arezey Hey wait sec, maybe you should try to make some sort of WYSIWYG script editor. You know, like with a graphical user interface and such, and at the end it generates your script?
You need to login to create posts in this thread. |
nyasudah Official Sponsor Joined: 06 February 2005 Posts: 832 |
27 February 2009 12:03 (UK time)
that would be too hard to make
You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use