Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Ideas for CS2D - READ THE FIRST POST (OP)!

3,231 replies
Page
To the start Previous 1 260 61 62161 162 Next To the start

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

DC
Admin Off Offline

Quote
About the registry: Yes, would probably be clever to put it in the installer... I should look for a way to do so.

@user hacked: It would be there already if it would work with the current Lua execution model - but it doesn't. Imagine you would have to wait for the server to respond (after it executed your Lua script) if the attack should be executed or not. Only after that you would actually see the attack (or not). That delay would be really annoying and is not acceptable for that reason.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Yates
Reviewer Off Offline

Quote
DC, a way to work around the attack(2) problem would to add a no-attack state to the player via Lua. It could even be another item acting as nothing and doing nothing (I wouldn't recommend this one but it could maybe a fast implementation without major hassle depending on the code). We could easily set a client variable and no attack "request" would be sent to the server (I assume it works like this, one way only when it comes to attack).

Just an idea. There are probably more effecient ways to do this but then again no one here can see the code to help out. But I for one would be grateful for a no-attack functionality.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Starkkz
Moderator Off Offline

Quote
@user DC: I'm tired of being constantly asking for the same thing, but I guess I'm not the only person who's in need of it. CS2D doesn't run .so libraries on Linux, so I'm begging you to please add LuaJIT. I can ensure you that CS2D is NOT going to break for replacing the Lua core with the LuaJIT core, it's the same code with some enhancements that make it faster, and better coders will be able to use the FFI library to develop tools which people needs, I have received messages of people asking me for help with such things but I always have to reply that I cannot help them. Most of the CS2D servers are running on a Linux machine and that's when it becomes essential to have a FFI interface whenever you can't run a Linux library, creating a DLL for windows is easy but what's the point if no one is going to use it?
LuaJIT has lower RAM usage, higher speed and a solution for Linux libraries. Much better than just Lua 5.1. I don't actually see a reason why it shouldn't be added, you should stop saying that CS2D could break if you haven't already tested it. And if the problem is that you don't know how to install LuaJIT on BlitzMax, I could help you on that. I'm not asking you to do it now, but to do it as soon as you're planning to release a new version, because we're already in need of it.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Ajmin
User Off Offline

Quote
Ofcourse I am with starkkz.

And also why cs2d is not edigible for custmozing the texts.
Since,we can modify the text colour but what about the style,size etc.
It will be pretty great if Dc add it.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

gotya2
GAME BANNED Off Offline

Quote
user Starkkz has written
@user DC: I'm tired of being constantly asking for the same thing, but I guess I'm not the only person who's in need of it. CS2D doesn't run .so libraries on Linux, so I'm begging you to please add LuaJIT. I can ensure you that CS2D is NOT going to break for replacing the Lua core with the LuaJIT core, it's the same code with some enhancements that make it faster, and better coders will be able to use the FFI library to develop tools which people needs, I have received messages of people asking me for help with such things but I always have to reply that I cannot help them. Most of the CS2D servers are running on a Linux machine and that's when it becomes essential to have a FFI interface whenever you can't run a Linux library, creating a DLL for windows is easy but what's the point if no one is going to use it?
LuaJIT has lower RAM usage, higher speed and a solution for Linux libraries. Much better than just Lua 5.1. I don't actually see a reason why it shouldn't be added, you should stop saying that CS2D could break if you haven't already tested it. And if the problem is that you don't know how to install LuaJIT on BlitzMax, I could help you on that. I'm not asking you to do it now, but to do it as soon as you're planning to release a new version, because we're already in need of it.


You can load .so files.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

XoOt
Super User Off Offline

Quote
Adding a floorlevel system would be a nice add, too. It should be possiblebto be added in map editor as an entity. Several functions could be set in properties like the stage number (1-5) and that you can enter one or more numbers for the levels where you cant see or hit other players, also the fog of war should be affected by this setting. Like you're at level 5 you wont see other players on level 1-3, same for the opposite. The different stages should be selectable like you can select the area on env_room for example. The fog of war should be even enabled in the sightfield when there is another level which wont fit to the settings of your current level. I explained it really bad, but i will show some images to explain what im talking about when i'm at pc next time.
To the start Previous 1 260 61 62161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview