![]() |
#76 | |
User
Join Date: Nov 2007
Posts: 129
![]() ![]() |
![]() Quote:
1: Yes, that was its first purpose. 2: dunno exactly what you mean. You mean you want to create a gsl script that would, when executed, create the same map as you had? You had to write a script that does this stuff yourself, but I think it should be possible, as you can create / modify everything you want with the script and thus you are able to create a complete map only in GMSI without touching the editor. |
|
![]() |
![]() |
Sponsored Links - Login to hide this ad! |
|
![]() |
#77 | ||
User
Join Date: Nov 2003
Posts: 37
![]() |
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#78 |
User
Join Date: Nov 2003
Posts: 37
![]() |
![]() Oh by the way, is GMSI open source?
__________________ |
![]() |
![]() |
![]() |
#79 |
User
Join Date: Nov 2007
Posts: 129
![]() ![]() |
![]() I guess the easiest option for turning a whole map into text and back is using my xml api from YouTD which has a structToXML and structFromXML function and just stuffing the whole map (which is a struct) into it. Dunno if it works ;D
__________________Turning object editor data to plain text and back should be an easy job. Well I haven't released the source because big parts of it suck^^ (no comments, quickndirty coding,...), but you can have it if you want, its no secret. |
![]() |
![]() |
![]() |
#80 | |
User
Join Date: Nov 2003
Posts: 37
![]() |
![]() Quote:
Could you upload it somewhere or do you have some kind of subversion server or git repo or whatever setup? |
|
![]() |
![]() |
![]() |
#81 |
User
Join Date: Feb 2006
Posts: 38
![]() |
![]() I might have found 2 bugs:
__________________1. Imported file (cs dummy model) paused the script after loadMap(1 arg) 2. Some wierd thing was related to items when executing loadMap. Script execution was aborted and red "null" was echoed. The script stopped after extracting w3t from map. Additionaly after executing another script with loadmap IO tells me cant delete copied files (w3t and wts files remain in the the temp folder). Maybe something is wrong with loadObjects. The problem was solved after deleting items. However I could not reproduce this error. Some of the items were created with grimex. I have the non working map if you wanna check that. Sry for wasting your time if i be noob :) |
![]() |
![]() |
![]() |
#82 |
User
Join Date: Oct 2007
Posts: 170
![]() |
![]() I'm running into a problem when I'm using GMSI. (I'm using v2.1.18)
I have some code which should just insert an ability into a tower, that seems to work. But, the triggers somehow gets messed up, the code is shifted 1 row down in the list but the name stays and some triggers are just pointing to nothing which causes WE to crash. My code: (I know some parts of it is not that nice coded but it works :P) PHP Code:
Edit - I got another problem but this is with the IO library. I have this code but it causes an syntax error. Code: PHP Code:
Error: script.SyntaxError: Syntax error in line 5 in file iotest.gsl: Writer ->w<- ; <EOF> (Identifyer) 49Insert semicolon ";" to finish previous statement Last edited by Gwypaas : 08-21-2009 at 11:46 PM. |
![]() |
![]() |
![]() |
#83 |
It feels good
Join Date: Mar 2006
Posts: 1,305
![]() ![]() ![]() |
![]() Wrtier?
__________________ |
![]() |
![]() |
![]() |
#84 |
User
Join Date: Oct 2007
Posts: 170
![]() |
![]() Just remade the code fast, that wasn't the error.
Edited the post now. Last edited by Gwypaas : 08-21-2009 at 11:45 PM. |
![]() |
![]() |
![]() |
#85 |
User
Join Date: Dec 2008
Posts: 43
![]() |
![]() A friend is using WEU and when I tried to GMSI his script for a test, all of the WEU triggers it found which it had not gotten from sycning with WC3 were deleted. So >.>
|
![]() |
![]() |
![]() |
#86 |
User
Join Date: Oct 2007
Posts: 170
![]() |
![]() Ugh... I still haven't found any solution for the problem that makes so all my triggers are shifted down 1 row causing retarded bugs when you try to open triggers that points to nothing and then causes the WE to crash.
|
![]() |
![]() |
![]() |
#87 |
User
Join Date: May 2008
Posts: 80
![]() |
![]() I heard, that this is written in java. So I ask you, can you publish the Apis you have as normal Java classes. That should not be the big problem when you thought about encapsulation (what you did; you are a java programmer) That would be great. Your language does not really have the power for bigger things I need yet. I would love to play around with you apis in groovy or scale.
Great work; stay tuned. |
![]() |
![]() |
![]() |
#88 |
User
Join Date: Feb 2008
Posts: 125
![]() |
![]() EDIT: Problem Solved!
Last edited by Na_Dann_Ma_GoGo : 02-09-2010 at 10:37 PM. |
![]() |
![]() |
![]() |
#89 | |
master of fugue
Join Date: Jun 2007
Posts: 2,453
![]() ![]() ![]() ![]() ![]() |
![]() Quote:
This is open source. API is included, so you can program with this directly from eclipse or netbeans if you really need to. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
|