PDA

View Full Version : modify cod2.exe



randall
4th January 2013, 20:43
Hi everyone!

I'd like to make a new patch or something for cod2 to fight the mod-thieves. I thought that I lock the iwd files with a password what the client program can read but the user not. So my first problem is: where can i find the place where the exe loads the iwds?
Or have somebody a better idea? I hate that i work hard and others only steal my mod from the server.

kung foo man
5th January 2013, 06:50
I can understand that you dont want to have your hard work stolen, but the problem is, that you cant "just" patch the client.

Lets say you would add a password-function (for .iwd) to the client. the result would be: EVERY gamer would need to download the patch. It would be like Call of Duty 1.4.

Lets say 20 ppl would download it... then you can play with maximal 20 ppl on your server at peak times :D

But to be honest, I would love a new client. When I would have the time, I would like to do it (might be related to the success of Killtube aka. selling servers).

Functions:
- Auto Update System like Steam (So clients always have the newest version)
- Backwards Portability (with Version 1.4 you can play on 1.0/1.2/1.3... well, fuck off PB)
- Scripting-Language for the Client (some Features like drawing a Speed-O-Meter dont need to be done on the server) Extension: csc like in WorldAtWar: client script
- Your iwd-password-protection
- Missing Function? Look at Auto Update System

randall
5th January 2013, 10:38
I think the propagation is not our biggest problem, if the people see the 1.4 is more better, they will update their client.

Well, if you make this 1.4 patch, pls let me know. I also have few time and I'm not a C++ specialist, so i dont wanted to start it unnecessary.
Your function-list is good, there are also many script-function what ppl can use in singleplayer but cant in multi. Maybe u can unlock these functions.
It would very useful for humanity :D

kung foo man
5th January 2013, 11:53
Your function-list is good, there are also many script-function what ppl can use in singleplayer but cant in multi. Maybe u can unlock these functions.

Thats server-side and doesnt need a new client-version. If you want to keep the server-extending alive, just rent a server on killtube and tell me what functions you need. I will try to implement them. "Unlocking" sounds easy, but the functions in SP arent in the MP-binary (e.g. you only find the function-name "magicbullet" in CoD2SP_s.exe).

Already very useful functions added are:
- setVelocity, getVelocity, addVelocity (needed for the mods: portal, surf)
- keyPressed-functions for left, right, forward, backward, leanleft, leanright, jump etc., (needed for: surf, doublejump made by IzNoGod)
- blazing fast astar-implementation (needed for: zombots)
- setAlive-function (needed for: zombots, so xmodels are damagable without damage-trigger... zombots in stockmaps)

So if you need more, just rent a server, tell me what you need and make awesome mods.

randall
5th January 2013, 14:39
Thanks, but i have already a cod2 server, and my primary purpose is protect my mod. So have you any idea, where can i start off?

kung foo man
5th January 2013, 15:27
Learn C/C++/Assembler, extend the Client with password-protected .iwd's, make everybody using it and mod-thiefs might not be able to steal your files anymore.

Since you wont do that, just accept it and concentrate more on good scripts: they may steal your client-files but nothing on your server-side (at least if the hoster is trustable).

Tally
5th January 2013, 18:02
Hi everyone!

I'd like to make a new patch or something for cod2 to fight the mod-thieves. I thought that I lock the iwd files with a password what the client program can read but the user not. So my first problem is: where can i find the place where the exe loads the iwds?
Or have somebody a better idea? I hate that i work hard and others only steal my mod from the server.

The most effective way to combat plagerism, is to give your stuff away first. Make a big song and dance about it, and release everything on as many mod websites as possible. Then, if someone want's to "steal" your work, they will find that others already know who the original author is. You cannot steal what is already freely given away.

randall
5th January 2013, 18:35
The most effective way to combat plagerism, is to give your stuff away first. Make a big song and dance about it, and release everything on as many mod websites as possible. Then, if someone want's to "steal" your work, they will find that others already know who the original author is. You cannot steal what is already freely given away.Trust me, it's not solution. The most players are 15-years-old and they only steal the images, xmodels, sounds, etc. from the iwd files. And why? They cannot make their own mod, stealing is the simplest way. I tried everything i can, but nothing used. Now i work hard to study scripting very well, but usually i need custom models and images too. But back to the original theme :)

At now i have no time (new botmod, and i'd like to make a last, big mod), in the summer i wanna learn Android programming, after that maybe i can start to C++ and Assembler.