XaVeR Posted November 6, 2005 Posted November 6, 2005 hey i wrote scripts and i want to do them like MTAMA - they have crc checksum, well if i will edit them there will be an error ... How to do it ? :]
Si|ent Posted November 7, 2005 Posted November 7, 2005 New, self-made MTAmA scripts do not require CRC checks so just go ahead and create whatever you wish. Only scripts created by other people who do not give you permission to edit them use CRC, such as GRS.
XaVeR Posted November 7, 2005 Author Posted November 7, 2005 ah sorry, i dont read your post to end how do i can to protect them by CRC ? any tutorials / instructions ? PlIs Help :]
Harry Posted November 12, 2005 Posted November 12, 2005 Why would you need it? Well, you need a way to check the integry of the file from outsise... iwht a dll or something
{Static} Posted November 12, 2005 Posted November 12, 2005 A simple way would be to write a dll that is loaded with the script, and the DLL checks "myscript.mrc" to see how big the file is, and if it's the wrong size it's obviously been edited somehow. This isn't by far the best method though.
MeanpantheR Posted November 12, 2005 Posted November 12, 2005 you can simply do what oli did, before he had a dll for his script. he made a mtama.crc or somthing that stores the crc check sum
XaVeR Posted May 12, 2006 Author Posted May 12, 2006 ok, i generated a file verifu.crc.. and there is an text: F 21411 6506B2B1 D:\Skrypty\sbx.mrc Hmmm is it ok? i dont think so, now how to do correct crc checking? i need it... i wrote my own scripts and i want to publicate them... some people will want to write its their scripts... Sorry 4 my english ;f
MrJax Posted May 12, 2006 Posted May 12, 2006 The only trouble with trying to make a CRC check for a script, is that you'll need to be fluent in the language you're gonna make the DLL with.. because if there isn't a significant part of the script inside the DLL, people can very simply remove the call to the it (and rewrite the small part that was inside it). But if you're already good with the language, you may aswell write the whole thing with it.
XaVeR Posted May 12, 2006 Author Posted May 12, 2006 do you know a good program to making DLL files? and how i can to make to scripts read this parts from DLL?
Harry Posted May 12, 2006 Posted May 12, 2006 In any decent programming language you can create a DLL. C++ or C# are the most commonly used, but Delphi and VB are capable of making them as well.
Recommended Posts