| Blockland Forums > Modification Help |
| How to use DSOs |
| (1/2) > >> |
| Ipquarx:
I've figured out how to make them without buying a $100 licence, but when i try to execute it in the console it gives me a popup saying "Your copy of blockland seems to be Damaged. Please reinstall Blockland or contact support." and then closes. All i put inside the .dso was literally this: --- Code: ---DSOWin(); function DSOWin() { echo("Success!"); } --- End code --- Why is this happening, and can it be fixed? |
| Headcrab Zombie:
1. DSO files are compiled scripts, you can't just take a script, shove it in a DSO file, and except it to work 2. Blockland's DSOs are further obfuscated so you can't read some things like function names. You can't use a DSO from another TGE game and expect it to work. 3. Why do you want to use DSOs anyways? Even if you could make it work, anything you release with them would be failed. 4. The exec function only allows .cs, .mis, or .gui files. How are you getting around this? |
| Superb:
That's not how .dso's work. DSO's are "used for compiled (uneditable, unreadable) script files." When you execute a .cs file, it creates a .dso file too. |
| Uristqwerty:
Blockland runs on a modified engine. One of the modifications is that it is impossible to create a compatible DSO file. It probably has a system so that if any DSO file is missing, modified, or not one of the default ones, then it gives a generic error and quits early. |
| MegaScientifical:
One of the original intents of not executing non-default DSO files was that in the past, people would use them in attempt to hide dangerous code. I believe I remember several times Badspot had gone through DSO files of others and could at most assume that the snips of text shown indicated it was the culprit of a given problem. Of course now, the code is so obfuscated that you can't read any of it, but only the default DSO files execute, so you're safe. |
| Navigation |
| Message Index |
| Next page |