Forum

> > CS2D > General > Terms of use: Modify CS2D/Memory (DLL Injection)
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Terms of use: Modify CS2D/Memory (DLL Injection)

14 replies
To the start Previous 1 Next To the start

old Terms of use: Modify CS2D/Memory (DLL Injection)

AtomKuh
User Off Offline

Quote
The terms of use (readme.txt) state that the following is forbidden:
• modify or manipulate CS2D.exe
• modify any data of the game in the system memory/ram while it is running
• reverse engineer CS2D
• any usage of programs which somehow change the way this game works and runs (hacks/cheats) is not allowed

Do all of these rules primarily exist to prevent cheating software?

> Original Readme.txt:
IMG:https://i.ibb.co/80sKrDz/image.png


Why do I ask this?
I thought about making a "standalone" mod for CS2D. In order to do this I would need to change how the game works (modify system ram or even the executable). Maybe DLL Injection?

For example: I could change how the main menu looks like. I would remove all unnecessary options (Quick Play, Discord...) and modify some options like "New Game". Pressing "New Game" would automatically start the standalone mod. In this case it would load a certain map instantly. So I could change the game in a way that it appears almost like an entirely new game.

> Screenshot Example:
IMG:https://i.ibb.co/KDJN6XC/image.png


Is something like this even allowed and would it be possible to publish (share, copy) such a standalone mod for free (of course giving credits to DC/Unreal Software)?
edited 4×, last 11.09.23 05:27:18 pm

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

Mora
User Playing CS2D

Quote
Yeah but u skip options and the given image is an example, might be he want to add "load game" or "delete game" or any other things but still u cannot change (while in game, for example on map playing) ESCape menu, where listed things are "disconnect, leaderboard, add bots" and so on.
Not sure in all ur plans since afair with dll u can only add things that overwrites screen and changes some values that gives u output, such as players positions but game engine - not.

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

AtomKuh
User Off Offline

Quote
@user Gaios: Could you provide an example for these inline commands pls?

user Mora has written
Yeah but u skip options and the given image is an example, might be he want to add "load game" or "delete game" or any other things


I guess that I could change the strings of "Find Server" to "Load Game" (for example)...

user Mora has written
but still u cannot change (while in game, for example on map playing) ESCape menu, where listed things are "disconnect, leaderboard, add bots" and so on.


I was thinking about preventing the opening of all menus, leaderboard, server info box when the user presses the keys that are binded for that.

I would create my own menus (using dll injection) with their own gui to change stuff.

I could also just remove default keybindings for this:
IMG:https://i.ibb.co/tpFCYYc/image.png

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

DC
Admin Off Offline

Quote
user AtomKuh has written
Do all of these rules primarily exist to prevent cheating software?

Yes.

user AtomKuh has written
Is something like this even allowed and would it be possible to publish (share, copy) such a standalone mod for free (of course giving credits to DC/Unreal Software)?

No, it's not allowed unless I give you permission to do it. I hereby give you permission to do these things for your mod project. Your custom client must not connect to other CS2D game servers though.

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

AtomKuh
User Off Offline

Quote
@user DC: Thank you for giving me permission to do this project.

user DC has written
Your custom client must not connect to other CS2D game servers though.


So...

I actually thought a bit bigger than creating just a singleplayer standalone mod. Do you allow that the players of my mod can use the custom client to connect to game servers that are only hosted by me? There will be no option for them to create their own game.

I would like to create a big world where players can play on and their progress would be saved. It would be like a mmorpg.

IMG:https://i.ibb.co/DVZLXhZ/image.png


What happens when a server (map part) reaches 32 players?
In this case another dedicated server for the map would be hosted and players will join this server instead of the already full server. This would mean that the map parts would consist of multiple Layers (Servers).

This is an example:
IMG:https://i.ibb.co/xLGKf4g/image.png


I do not know if I really want to start this project, because it would take very long to complete this.

@user DC: Do you even allow such an online/mmo mod project?

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

AtomKuh
User Off Offline

Quote
@user Marcell: Interesting. Was MiamiRP designed only for singeplayer or also for multiplayer (server)?

In case of multiplayer with multiple servers for different map parts:
Did you eventually thought about preventing users from connecting/playing with the same login (steam/usgn) on more than one dedicated server?

I mean all of my servers for each map part would access the player data at the same location/directory on the VPS/Computer. It would lead to problems if a user is playing with the same login credentials on multiple of my servers.

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

MikuAuahDark
User Off Offline

Quote
With that approach, you also need to be aware that USGN limits to 5 visible servers/IP, so you need most of them to be unlisted or USGN will stop your server registration.

Speaking of big maps, CS2D has internal limit of 8388608 tiles. Are there other reason why you need to split the map, other than big map and to handle more than 32 players?

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

Marcell
Super User Off Offline

Quote
@user MikuAuahDark:

I guess there is a lot of reason, at some point the editor is very difficult to deal with with large maps, try creating a map with a big size and see for yourself the little minimap that interferences with the whole UI.

Additionally, he might wants to have more maps or simply different designs, etc. Maybe different levels per map, etc. Think of his project like MMORPG, where you can't visit several words until you have the skill due to NPCs, etc.

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

AtomKuh
User Off Offline

Quote
user MikuAuahDark has written
With that approach, you also need to be aware that USGN limits to 5 visible servers/IP, so you need most of them to be unlisted or USGN will stop your server registration.

This is not a problem because I do not want the players of my client to be able to search for servers. They should just press "Start Game" and they will be connected to the one of my servers. There will be an automated process that searches for a servers which is not full (32/32 players).

user MikuAuahDark has written
Speaking of big maps, CS2D has internal limit of 8388608 tiles. Are there other reason why you need to split the map, other than big map and to handle more than 32 players?

I also think that the maximum size of a map is 1000x1000. I believe that even this size is not big enough for an entire world for my mmorpg project.

@user Marcell: Also said important stuff which wants me to cut the map in pieces.

@user DC: Thank you for allowing me to do this.

user DC has written
The only thing I don't want to happen is that your modified client connects to original CS2D servers or that your servers appear in the CS2D server list because both would be kind of a mess.

I will not make it possible for my players that they can connect to normal cs2d servers. I may create one server that appears in the server list, so that cs2d players can check out this game (something like a server which automatically forwards you to a free server).

user mrc has written
These projects never come to fruition anyway. I am wrong? So prove it.

I am going to create the next World of Warcraft

old Re: Terms of use: Modify CS2D/Memory (DLL Injection)

MikuAuahDark
User Off Offline

Quote
@user Marcell: Ah right, the minimap is an issue on large maps.

user AtomKuh has written
I also think that the maximum size of a map is 1000x1000. I believe that even this size is not big enough for an entire world for my mmorpg project.

What I'm saying is CS2D has internal limit of 8388608x8388608 tiles (which you likely hit memory limit on 32768x32768 tiles anyway). 1000x1000 is nowhere close, although it starts getting annoying as user Marcell said.

Alternatively you could map in Tiled and somehow have code that converts Tiled map to CS2D map, but not sure how feasible this approach is. It also doesn't solve the minimap issue.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview