cato-a / CoDaM_MiscMod

Official MiscMod for CoDaM in Call of Duty 1.1
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

MiscMod works with libcod1 #21

Closed raphael12333 closed 8 months ago

raphael12333 commented 8 months ago

Hello, this pull request makes MiscMod working with libcod1

I tried different commands, I think everything is working

The mapvote has been replaced by one which uses hud elements instead of iPrintLnBold to display more choices It displays the maprotation thanks to the makeLocalizedString custom gsc function


libcod1 is not ready yet for a safe deployment, until I look into some of the quake 3 engine exploits to ensure they are patched


Since everything seems to be working, I'm making this pull request before libcod1 is ready for safe deployment, in case in the meantime you can/want to see what this server extension alternative looks like I also plan to implement SQLite

Attached is a build of libcod1 Regards

(updated build below in comment)

raphael12333 commented 8 months ago

You can set the sv_cracked cvar to 1 to join the server without a valid cd key

raphael12333 commented 8 months ago

libcod1 is now ready for a safe deployment i added protections for:

also added rate limiting for commands such as getstatus and getinfo

i attacked the server before and after to ensure the protections are needed and that they work

attached is an updated build libcod1_1_1.zip

and here is how the new mapvote looks:

newmapvote

Regards