What about it? What should i do to i fix it?
Forum
CS2D Scripts Max Entities?Max Entities?
24 repliesWhat about it? What should i do to i fix it?
The script shows an error. Do you mind showing all of the neccessary code?
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.
TL;DR Need more information.
Edit 2x: Trigger: "If" crashes the game(in the map), my question is "How lua can crash the game?
edited 3×, last 04.04.19 04:06:50 pm
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..?
Which option is it?
My question is this, so can you answer it? "How lua can crash the game?"
I run it with another method? while there is more than 100 "if" triggers?
When i delete 90% of that "if" triggers, the game won't crash.
It's a map protection of some sort.
If lubo come back, i'll ask lubo about it, and if he say no, i close my server.
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.
edited 1×, last 04.04.19 08:36:25 pm
Ranu has written
@ Rainoth: It's without lua script, only (mp_luamap 1).
Edit 2x: Trigger: "If" crashes the game(in the map), my question is "How lua can crash the game?
Edit 2x: Trigger: "If" crashes the game(in the map), my question is "How lua can crash the game?
Stop using hacks man
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.
It's for when Lubo had a server with that map, the original [96] Jail.
It's map protection that can be removed (and I have removed it) but I wont tell you how, to prevent map theft.
I might tell him how to disable the "protection" wich is kinda easy
If lubo tell me to i close it, Be sure that i close it.
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.
@ Quattro: Thanks for your attention, Done.
edited 1×, last 05.04.19 03:43:16 pm