Forum > Noggit
[QUESTION/BUG] Why does noggit 1.3 create duplicate objects?
<< < (2/3) > >>
schlumpf:
--- Quote from: "ProfVice" ---Is there any way to delete this multiple Objects faster then one by one in Noggit? Tried it with Cryec Tools but it only displaced my water and deletes my WMOs but not the M2 like i want.... --- End quote --- if file info&loadinfo does not work, you're fucked, unless you have an own tool for it, like ...
http://pastie.org/9628702
Lurivar:
Hi,
So, I know I probably should'nt bring back old posts like these, but I've been struggling to find a way to delete all the duplicates I've had with Noggit in the past in one of my map (and there's easily around 40k of them, so no way I'm going to delete them one by one) and I stumbled upon this :
--- Quote from: "schlumpf" ---if file info&loadinfo does not work, you're fucked, unless you have an own tool for it, like ...
http://pastie.org/9628702 --- End quote ---
If I understand correctly, this should do the job. The thing is... I can't seem to compile it. I'm no expert in those types of thing, but I've tried to open it with WxDev and CodeBlock then compile it, but both tells me there's an error :
[spoiler:3f7panav]C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|43|warning: multi-character character constant [-Wmultichar]| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|44|warning: multi-character character constant [-Wmultichar]| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|47|warning: multi-character character constant [-Wmultichar]| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|48|warning: multi-character character constant [-Wmultichar]| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp||In function 'int main(int, char**)':| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|65|error: 'memset' was not declared in this scope| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|78|error: 'memset' was not declared in this scope| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|85|error: 'memcpy' was not declared in this scope| C:UsersLucDocumentsLunaworkDuplicate Deletepastie-9628702 (1).cpp|88|error: 'memset' was not declared in this scope| ||=== Build failed: 4 error(s), 4 warning(s) (0 minute(s), 0 second(s)) ===|[/spoiler:3f7panav]
So, my questions are : Am I doing something wrong ? Could someone help me use this correctly ?
In advance, thanks for the help.
schlumpf:
It appears that on your platform memset and memcpy are in a different header. Try adding '#include <cstring>'.
Skarn:
There is a button in SDL 1.4 to clean duplicates.
Lurivar:
Hi again, and thanks for the quick answers.
I've tried to add '#include <cstring>' and it worked indeed. Too much, in fact, as it even delete the original object, leaving nothing behind, and even some that werent duplicated.
--- Quote from: "Skarn" ---There is a button in SDL 1.4 to clean duplicates. --- End quote ---
I wans't aware of the kill duplicate button on SDL 1.4, as I was still at the 3.0.15, i'm gonna try it right now and see what happens. ( I'm a bit scared that it'll make Noggit crash because of the too high number of duplicates, but we'll see). Thank you anyway, I'll tell you if it worked.
Edit : It... It worked.... Thank you so much, you have no idea how much I love you right now. I've been trying tons of things in the past year to try and delete those fuckers, and there it is, finally. I'll forever be in your debt :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
|