Hello, I have a big map and there is more than 10000entities, and when i use mp_luamap 1, The game will be crashed and in the Message.Box it says "EXCEPTION_ACCESS_VIOLATION"
That error can be thrown out for multiple reasons. We'll need more context.
What is the script? Can you share the code?
What does it do and how does it do it? Are there any particularly 'complex' parts of code or something you could point out? Maybe it's utilizing the newest lua commands or experimental features that came from 1.0.0.8?
This is most likely not caused by the map but by the script, unless they both interact or maybe it IS caused by the map but you just can't set up the conditions to get the error again.
Uhm. Well, if it doesn't work with mp_luamap on then there must be a map with a script (most likely RattleSnakes.lua in the 'maps' folder in your cs2d installation directory) and that's a lua script.
Or are you saying that regardless if you run the script, it works either way (you just run the script with another method) but it just starts crashing any time you try to use it.
So you could enable mp_luamap 1 on de_dust and it would crash, essentially..?
@ Mami Tomoe: Lot of pepole offered me to i back 96 jail again, Lubo stopped playing cs2d and he closed his server, so i do that, I'm waiting for lubo more than 2months, he is still offline. and it isn't map protection.
If lubo come back, i'll ask lubo about it, and if he say no, i close my server.
It is map protection, because I know how to remove it.
Even if he doesn't come back, as long as you don't have his permission you shouldn't attempt to steal the map.
Assume there was a store near your house and it was closed for 20 years, does it make it so if you decide to break in and steal everything not considered stealing? No it doesn't.
And those "lots of people" wouldn't want their maps to be stolen.
And even if they didn't care if their maps were stolen, Lubo does care which is proven by his map protection.
@ Ranu: It doesn't work like that. You are NOT allowed to use something BEFORE you got permission! So if Lubo doesn't answer it's bad luck. You can't just use his stuff without permission.
If this is not about map protection and stealing things: We would have to see the Lua script(s) to help.
And there are at least 4 ways how Lua can crash CS2D: bugs in CS2D (or the scripts) bad/weird use of commands/hooks (bad parameters etc.) infinite loops (either direct or indirect via hooks) the scripts are too heavy and take too long to execute
The last two would probably lead to freezes, not to the exception error you got.
@ Mami Tomoe: whats so bad about it? He is trying to revive a server that was fun. At least he tries sharing is caring.
I might tell him how to disable the "protection" wich is kinda easy
@ Mami Tomoe: If i revive this server again, CS2D will be revived, This server had 32/32 24hours, so i should revive it to revive cs2d,96, I do everything to revive cs2d, cs2d.net is dead forever, so i revive CS2D.
If lubo tell me to i close it, Be sure that i close it.
Doing a crime in order to do something good isn't doing something good.
There are other more moral-friendly ways to revive the game, such as: MAKE YOUR OWN DAMN MAP.
Like really, if you care so much about reviving CS2D you should work on something of your own.
There are many great project ideas out there and if you're willing to use even one of them I'm sure you wont regret it.