HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

JASS Help

07-16-2006, 01:32 AM#1
khaozknight
Hello triggerers. Im just here looking to see if anyone would like to help me out with JASS on my map. Any and all help is appreciated. main thing i would need though is a save/load code. if anyone could help me make one please just post it here. thanks.
07-16-2006, 01:51 AM#2
PipeDream
http://www.wc3campaigns.net/showthread.php?t=78825
Since it seems you haven't visited it, check out the rest of the neat systems:
http://www.wc3campaigns.net/resources.php?f=648

You might also check the section for recruitment.
07-17-2006, 01:22 AM#3
khaozknight
Sorry. havnt been here in a long time, since it was shut down last time. but thanks.
07-17-2006, 11:05 PM#4
SentryIII
Implementing load/save functionality is somewhat hard without some basic knowledge of programming. You'd need to store data into an obscured string, add validation, then be able to extract the data from it. On top of that, creating it in JASS would be tedious and hard to troubleshoot.

You could try learning from the Codemaker Engine in PipeDream's link, but I would not recommend releasing your map with that in it since it would be really easy for someone to crack since the triggers are freely available to everyone.

If you're interested, I would recommend downloading Visual Studio .NET Express which is basically the free version of it. You can use it to develop and debug your load/save functionality before converting it to JASS. That's what I did in my maps.

http://msdn.microsoft.com/vstudio/express/default.aspx

IMO Visual Basic would be the easiest to learn and use, but I personally use C#.
07-17-2006, 11:19 PM#5
Captain Griffen
Quote:
but I would not recommend releasing your map with that in it since it would be really easy for someone to crack since the triggers are freely available to everyone.

All triggers are freely available to everyone. Seriously, the fact they are freely available makes little difference, since getting a map's triggers takes all of 30 seconds. If someone cannot do that, they cannot break a code anyway.
07-18-2006, 12:03 AM#6
SentryIII
Just because it can be accessed by anyone doesn't mean you shouldn't do everything in your power to secure it. I took a quick peak at the Codemaker Engine map from that link. Not only does it have the triggers, it also has *gasp* instructions on how it works! Sure, he can probably modify the triggers a bit, but all it takes is someone with the Codemaker map and his map to figure it out and generate a code to load a hero that can overpower everyone else that had played the map many times just to get fairly decent stats.

Of course nothing can be completely secure, but making it as difficult as possible to crack would discourage the more malicious users. A few modifications to the triggers and using Vexorian's Map Optimizer are just a couple ways to do it.

...and before you bring up the point of how new map makers can't learn from protected maps, just remember that websites/forums like this exist.

07-18-2006, 12:18 AM#7
PipeDream
Quote:
Of course nothing can be completely secure, but making it as difficult as possible to crack would discourage the more malicious users
Chances are breaking your map is an order of magnitude more entertaining than playing it. You can encourage honest people to be honest, that's it. Vex's code engine does that.
--locked--