Reply to Re: New D-Mod: Cursed Blades Part 1: Charlie's Legacy
If you don't have an account, just leave the password field blank.
@millimieter
After further testing, I found out &arg1-3 in FreeDink Linux is working perfectly. Each script gets it's own &arg1-3. If no arguments are passed to &arg1-3, it defaults to 0 (as it should).
For &arg4-9, each script does indeed actually get it's own &arg values (I don't know what happened in my test earlier in this thread but I apparently got something mixed up). Only thing wrong that is happeneing in that version is if you DON'T pass an argument to &arg4-9, it will not default them to 0, it will use the last known passed argument value (for that respective argument number), from the previous precoedure call(even if you have saved/loaded a game since then - that doesn't clear it either, or at least it didn't in my testing)
So, I'm convinced that the reason Charlie brought this to light, was because, there probably isn't many other dmods that have used many complex procedures that require more than 3 arguments.
So, I fixed Charlie by passing 0's to arguments 4 - 9(when I didn't want to pass a value) in all prcoedure calls that use more than 3 arguments, and it fixed it on Linux.
After further testing, I found out &arg1-3 in FreeDink Linux is working perfectly. Each script gets it's own &arg1-3. If no arguments are passed to &arg1-3, it defaults to 0 (as it should).
For &arg4-9, each script does indeed actually get it's own &arg values (I don't know what happened in my test earlier in this thread but I apparently got something mixed up). Only thing wrong that is happeneing in that version is if you DON'T pass an argument to &arg4-9, it will not default them to 0, it will use the last known passed argument value (for that respective argument number), from the previous precoedure call(even if you have saved/loaded a game since then - that doesn't clear it either, or at least it didn't in my testing)
So, I'm convinced that the reason Charlie brought this to light, was because, there probably isn't many other dmods that have used many complex procedures that require more than 3 arguments.
So, I fixed Charlie by passing 0's to arguments 4 - 9(when I didn't want to pass a value) in all prcoedure calls that use more than 3 arguments, and it fixed it on Linux.