| 09-10-2003, 11:28 PM | #181 | |
Quote:
I think the best solution would be on the first pass to have it check to make sure that abcd is surrounded by characters that aren't permitted inside variable names (spaces, parenthesis, etc.). Or just check the front of the line to see if it's declaring a variable. If not, don't change it. |
| 09-11-2003, 09:04 AM | #182 |
I added some checks to it on 0.2.6, dataangel. In this new version I got your map to work (tested only if the map opened on single player, did not actually played it). Nota that the new "PurgeConstants" stuff read those values directly from the game´s scripts, so if it is unable to find the game´s files, "PurgeConstants" will not show up. BTW, your map´s "Captain Mine Walk" ability is screwed. I guess you missed a "|" there. |
| 09-12-2003, 12:46 AM | #183 | |
Quote:
That's been fixed since I sent it to you ;) The new version works great, and it lowers my map size by 119KB =) Can't wait until you think up new cool features to add! |
| 09-13-2003, 05:34 AM | #184 |
Eh, I'm having two problems. I'm having some wierd problems with obfuscate -- sometimes it works at level 3 but not at level 2. No idea why. The second is that the minimap preview is really inaccurate. I set it to 50% for my map and in game it shows up 10,000 times crappier than in preview ;) Also, just thought of another script optimization (something to add if you're out of features ;)) -- look through all the ifs, and find stuff like: Code:
if( myfunc(unit) == true) then .... endif And change it to: Code:
if( myfunc(unit) ) then ... endif This should slice off a ton of characters for complex maps =) Changing "== false" to use not() isn't really much of an improvement though, so I'd just do it for true. |
| 09-14-2003, 05:04 PM | #185 |
Definite Bug: If you set it to full lock, set the obfuscate level to something greater than 0, then set it to no lock, it still obfuscates. Wierd *** bug: Also, I'm e-mailing you another copy of my map -- in its current state if you use no lock, preview, OR full, any one of them, Warcraft crashes when you select the map (you don't even have to open and play it). I have no idea why. I tried turning off each map optimization at a time, and it still crashed each time. What's interesting is that unchecking clean slks boosted it from reducing by 19% to reducing by 26%, which is odd by itself, but it's even wierder because my map has no imported slks! :P Then I experimented with every single option I could, but it was impossible for me to save the map with heavylock without the game crashing when I selected the map in the list. I'll try one of the older versions of heavylock and see if this still happens.... Update: 0.2.2 doesn't have this problem with preview lock (didn't try heavy), but 0.2.5 does. I don't have any other old versions to test with though. |
| 09-14-2003, 08:05 PM | #186 | ||
About ijl15.dll: Quote:
Quote:
2.) In some cases it makes the script more difficult to read, so it also adds a little protection. |
| 09-15-2003, 03:30 AM | #187 | |||
Quote:
Yeah I know. But I would need to locate the MPQ. Of course I can grab the W3 InstallPath from the Windows Reg (HLocker is already doing that for some other things) but I think it is better to just include the DLL whithin the package anyway. dataangel, I won´t try to improve the JASS script anymore. The improvements are small and hard to create/develop. I´ll try to finish the one´s I´ve created and fix the bugs, but I won´t create any new improvements. Quote:
I´ll try to fix this. Quote:
|
| 09-15-2003, 07:38 PM | #188 | |
Quote:
|
| 09-20-2003, 10:33 PM | #189 |
Heavylock is my friend too, just posting here to subscribe to the thread and shameless bumping... Just to avoid myself missing the newest version you know... |
| 09-21-2003, 04:41 AM | #190 |
Great job so far BlackdicK. What language are you using to program it in? And by the way guys, you can subscribe to a thread without posting in it ![]() |
| 09-21-2003, 02:20 PM | #191 |
I've been making experiments with HeavyLocker, locking several maps, and than unprotecting them. The results were pretty wierd: On some maps, unprotecting would simply makse the triggers disapear, on others, it didn't protect at all, on others, it crashed when i tried to unprotect, and on the last map, it crashed the World Editor. The thing is, that in all those maps, i used the same locking method, and the same version of heavy locker. Do you know where this wierd behaviour come? |
| 09-22-2003, 03:07 AM | #192 | |
Quote:
How are you 'unprotecting' them? |
| 09-22-2003, 10:36 AM | #193 |
Unprotecting maps is no big secret. He might have done it with WinMPQ, or with the only good map protecting program that I won't mention here. It is quite possible to make a protector that dis-allows opening the map in the world editor. However, I don't think its possible to actually stop someone from editing a file inside the map using something like winMPQ is it? |
| 09-22-2003, 12:20 PM | #194 |
Ha ha, unprotecting maps locked by this program seems imposible to me, even if they use mpq editing to just change the name of the author in my map, the new map protection invented by AIAndy will make the map crash Heavy locker takes out files required by WE to work, I don't think that a newbie can do a lot of things with a non triggers, no cameras and no other stuff map. |
| 09-23-2003, 03:47 AM | #195 |
I know it's no big secret -- but if you're not stealing artwork, you're trying to steal triggers -- and no .wtg and an obfuscated script make that not worth it. |
