Outpost Universe Forums
Projects & Development => Outpost 2 Programming & Development => Topic started by: HaXtOr on November 01, 2005, 11:57:51 PM
-
I want to make my own trainer for op2 , how do i go about doing this?
I want to see what cracked out things i can make op2 do
-
Either google for a memory editor to do it for you, or take a look at Windows API calls to edit the memory yourself. (I recommend finding a memory editor from google. It'll take a while to build something yourself).
Btw, if you make some sort of "trainer" (Cheat! *cough* *cough*) it might be wise to check if it's a multiplayer game, and refuse to work if it is. We wouldn't want to encourage cheating, and besides, it'd only desync the game and cause frustration.
As for Windows API, there are certain memory functions, such as ReadProcessMemory, and WriteProcessMemory. You'd still need to get a handle to the right process though. And doing that can be a pain. You also need to know the memory locations you are going to edit. (Most prebuilt memory editors have useful search features built in, thus making them much easier to use than the do-it-yourself approach).
-
what are some good tools to use?
-
First of all if you make a train under no way or form are you going to distribute it to the public. It would just cause to much BS.
-
First of all if you make a train under no way or form are you going to distribute it to the public. It would just cause to much BS.
if anything my trainers will make the game have more fun features.
for example..
Triped out graphics mode...
random system crash mode...
-
random system crash mode...
Umm yeah. I think Freeza put it quite correctly.
Maybe if you actually had an idea of what to do, you might be able to figure out how to do it. As it stands, a "trainer" is a little vague. That and it sounds much too close to "cheat". In other words, you're on your own here.
-
Partiot has experience with trainers for OP2.
-
if it is designed to do things that the op2 engine arent supposed to do, its not a trainer.
if its designed to give ore, faster units or reduce build time, then its a trainer/cheat.
if youre designing it to be the former, unless you give options to perform USEFUL functions then its basically wasted electrons.
if youre doing the latter, all it will do is encourage cheating, shorten games, piss people off and be the source of much arguing and complaining. noobs will get hold of it and if it has any problems (or you decide not to continue development ie: making it multiplayer capable) will get pissed and bail on opu altogether.
i think this is a really bad idea in general. irc would get filled with script kiddies in no time flat and the quality of the community in general would drop. up until now, opu has been a legitimate project. introducting any cheating would only aim it downward.
-
1. trainers dont work in multiplayer and
2. if someone was to release a trainer specificly for cheating, it would be pulled immediatly and then we would have to take time to evaluate if disiplinary action would have to be taken.
so, if it isnt something proactive like what philip was doing (probing the interiors of the game), theres really no point.
if someone was to cheat in multiplayer mode im prety sure that equates to a instant ban
so, feel free to develope ur trainers but dont plan on releasing them.
-
I think cheating in multiplayer would be a lil difficult.. even when two people have the same trainers going i have experienced desync ect...
still i dont think we need one.. maybe for fun in sp lol but not in multi.... neways what do yo mean by tripped out graphics mode..
-
If anyone does find a way to cheat in multiplayer, I'm sure we can find a way to patch against it.
Also, the nature of how OP2 works means a simple memory editor would likely only serve to desync multi games. But yeah, it promotes bad ideas.
-
Well this is sounding less like a trainer and more like a tweaker.
-
i see nothing wrong with a dev tweaker or anything else for experimentation but anything that allows cheating i consider a no-no.
-
Me and OP2Patriot are (well, I'm rusty now) experienced with memory editing OP2, and Patriot can make trainers.
-
Well this is sounding less like a trainer and more like a tweaker.
bingo!
why would i want to cheet if im good anyway?
I am hopeing i can play with things in the game, make wierd things happen make gameplay more dificult adding more fun to existing op2 levels.
ex:
slow down units
land mines randomly placed <- triggers explotions...
change graphics to wierd and different colors
change weaponds to funny things... custard pie cannon... fart bomb...
-
well, feel free to muck around in op2 just b sure to talk to one of us[ opu mod or dev teams ] before you consider releasing it.
-
Okay folks, it is a common myth that trainers don't work in multiplayer. Any person using the tools I can use can make a trainer that WORKS in multiplayer. Now, with trainers in multiplayer, if you do too much memory poking, it pretty much crashes the game. Also, it is most of the time easy to spot cheats being used, but with the right trainer subtle enough changes can be made so that the change will not be noticed by non-obcessive compulsives. For this reason, I am not going to publically say what you need to make a trainer. The tools I used are still publically available and can be found via the google search, and no real programming knowledge is required to make a trainer.
As for what you can do, Haxt0r,
Maybe you can do tripped out graphics.
You can freeze all of the units/structures for a particular player.
You can reduce the speeds of certain units for certain players.
Randomly placed mines, if at all possible, would require a heck of a good programmer and cannot be done unless it is a hidden cheat already in the game.
Changing the weapons, that is far beyond my skills if at all possible. You can create guard posts with randomly-changing-in-appearance starflare/supernova weapons.
-
The network code has been studied and any trainer WILL cause the game to desync or even crash during multiplayer.
Like has been said before, for example, the only way you can gain ore (as seen from the other players) is by actually mining it and trucking it to a smelter. The game actually needs to be receiving command packets informing it of the actions, for example, stating that a cargo truck has docked.
If you then try to create units with your 'hacked' ore the other games are going to start seeing a discrepancy as there are ctMoProduce messages coming in but not enough ore to handle them.
The game does NOT transmit the raw ore/power/colonists values, all it transmits are the events that cause these values to change.
The way the 'original' cheats worked, was the text was sent to all the players as a ctChat (or ctChatText? can't remember which command packet is used for chat messages) command packet. When each player received a chat packet, it would check to see if the text matched that of a cheat (I won't explain how this is done, sorry) and if it did, it would change the player values according to the cheat used.
Since all the clients in the game handled this exactly the same way, no desync would happen.
Desyncs start happening when one client's actions don't match up with another client's.
-
For the landmines thing, why not just randomly give units the order to self-destruct? (That is, if you can)
-
For the landmines thing, why not just randomly give units the order to self-destruct? (That is, if you can)
I already did that with the cargo truck disaster map
-
I never could get that map to do anything cargo truck disaster-ish... How does it work anyways?
-
Changing the weapons, that is far beyond my skills if at all possible. You can create guard posts with randomly-changing-in-appearance starflare/supernova weapons.
I actually did turn my laser weapons in Eden Mission 4 into Thor's Hammer weapons using TSearch. Had to find the memory locations by trial and error, though.
-
I liked changing the storage of the SF to give eden a nid fac or wutevea :)
-
I liked changing the storage of the SF to give eden a nid fac or wutevea :)
Yeah, but now since every structure, vehicle, and weapon is set to "both", you just need the "all units" code and you become a god.
-
No, you become a God with a couple of Rail Gun tigers on rapid fire and long range.
-
i think that he should be able to give it to people as long as everyone knows what there geting in to cause i would like to see thins thing if it would make the game more interesting i would like to try toi use it.
-
can anyone give me source code to their trainers for me to play with and examine?
I wont distribute this code just use it for my own experimenting and tinkering.
Note: I will never use anything that i find or am given to cheat EVER! Nor will i give anything to help anyone cheet in multi EVER!
-
No, you become a God with a couple of Rail Gun tigers on rapid fire and long range.
no... u becoem god when u have said weapons all around your base with 6 thor lynx firing at same time and range. NOTHING could get through then in all proability (well u could do a EMP over said tigers...)
-
No, you become a God with a couple of Rail Gun tigers on rapid fire and long range.
They don't fire over walls.