English Max Entities?

24 replies
Goto Page
To the start Previous 1 2 Next To the start
03.04.19 06:59:08 pm
Up
Ranw-X
User
Offline Off
• 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"

IMG:https://i.imgur.com/h0LeCQR.png


• What about it? What should i do to i fix it?
VTA Community Discord: https://discord.gg/6rHKWvJ
03.04.19 07:27:30 pm
Up
Bowlinghead
User
Offline Off
Does the map work without the script (mp_luamap 0)?

The script shows an error. Do you mind showing all of the neccessary code?
Share time limited free games here
03.04.19 07:30:13 pm
Up
Ranw-X
User
Offline Off
@user Bowlinghead: Yeah, it works without the script (mp_luamap 0)
VTA Community Discord: https://discord.gg/6rHKWvJ
03.04.19 07:32:57 pm
Up
Goo
User
Offline Off
Does the lua work on another map like de_dust?
03.04.19 07:34:38 pm
Up
Ranw-X
User
Offline Off
The lua works well, but i have problem with mp_luamap(lua map).
VTA Community Discord: https://discord.gg/6rHKWvJ
03.04.19 09:46:54 pm
Up
Rainoth
Moderator
Offline Off
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.

TL;DR Need more information.
04.04.19 11:58:18 am
Up
Ranw-X
User
Offline Off
@user Rainoth: It's without lua script, only (mp_luamap 1).

IMG:https://i.imgur.com/g7itc9M.png


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
VTA Community Discord: https://discord.gg/6rHKWvJ
04.04.19 04:10:12 pm
Up
Rainoth
Moderator
Offline Off
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..?

Which option is it?
04.04.19 04:18:12 pm
Up
Ranw-X
User
Offline Off
@user Rainoth: If i enable mp_luamap on de_dust, it wouldn't crash.

• 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.
VTA Community Discord: https://discord.gg/6rHKWvJ
04.04.19 05:01:25 pm
Up
Goo
User
Offline Off
Stop trying to steal the map, you need permission from Lubo to use the map.

It's a map protection of some sort.
04.04.19 06:04:48 pm
Up
Ranw-X
User
Offline Off
@user Goo: 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.
VTA Community Discord: https://discord.gg/6rHKWvJ
04.04.19 07:26:47 pm
Up
Goo
User
Offline Off
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.
edited 1×, last 04.04.19 08:36:25 pm
04.04.19 07:43:40 pm
Up
Gaios
Security Supporter
Offline Off
user Ranw-X has written:
@user Rainoth: It's without lua script, only (mp_luamap 1).

IMG:https://i.imgur.com/g7itc9M.png


Edit 2x: Trigger: "If" crashes the game(in the map), my question is "How lua can crash the game?

Stop using hacks man flame
04.04.19 09:11:17 pm
Up
DC
Admin
Offline Off
@user Ranw-X: 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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
05.04.19 12:01:39 am
Up
Goo
User
Offline Off
It is map protection, read the last message on his console.
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.
05.04.19 03:03:33 am
Up
G3tWr3ck3d
User
Offline Off
@user Goo: 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
Mess with the best, die like the rest. ༼ つ ◕_◕ ༽つ
05.04.19 09:57:48 am
Up
Ranw-X
User
Offline Off
@user Goo: 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.
VTA Community Discord: https://discord.gg/6rHKWvJ
05.04.19 12:54:41 pm
Up
Goo
User
Offline Off
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.
05.04.19 12:55:32 pm
Up
Quattro
User
Offline Off
search for the string in code "you gotta go play the server morty" and you will find the protection function.
05.04.19 01:17:46 pm
Up
Ranw-X
User
Offline Off
@user Goo: I wanted to make my own jail, but i hadn't tiles for my map, so i stopped working on it.

@user Quattro: Thanks for your attention, Done.
edited 1×, last 05.04.19 03:43:16 pm
VTA Community Discord: https://discord.gg/6rHKWvJ
To the start Previous 1 2 Next To the start