PDA

View Full Version : Add virtual Players...


reima
Apr 30, 2006, 09:31 AM
hello

i want to make a bot for JJ2

but i have too less informations about JJ2


So i have questions:

How i can add vitual Players in the Game (they musst "only" spawn in the game and do nothing)?

When i know how i make this, then i can beginn with programm the bots

thx for all inforamtions.

reima

Grytolle
Apr 30, 2006, 10:49 AM
You should ask ahat

Birdie
Apr 30, 2006, 10:56 AM
You also must find all the memory adresses also for movment jumping shooting ect.
and edit them acordingly.

Black Ninja
Apr 30, 2006, 08:16 PM
I suggest contacting either ahat or myself. We are both currently working on different approaches to JJ2 AI.

reima
May 1, 2006, 02:43 AM
that is great!!
i can not very much about jj2 but i can programm with c++ and assembly


reima

CrimiClown
May 1, 2006, 02:53 AM
I have experimented somewhat with this... Do you know the program 'Tasker'? It allows you to record keyboard and mouse movement and playback. I've made a 'bot' this way, or simply put, a hard-to-hit target that runs around. If I (finally) kill it, I reset the program and position and voilà... One thing, though, if you hit the bot, its movement is slightly corrupted because the recording continues while it flinches from the hit... I guess there COULD be a way to make tasker 'pause' at that very moment...

reima
May 1, 2006, 03:31 AM
I have experimented somewhat with this... Do you know the program 'Tasker'? It allows you to record keyboard and mouse movement and playback. I've made a 'bot' this way, or simply put, a hard-to-hit target that runs around. If I (finally) kill it, I reset the program and position and voilà... One thing, though, if you hit the bot, its movement is slightly corrupted because the recording continues while it flinches from the hit... I guess there COULD be a way to make tasker 'pause' at that very moment...


thats also a idea of there i think to do, i can with winapi sumulate pressed key and much more and i can send it to the ProgrammHandle (can search witch programm is in the foreground, to this i send the events) the problem is that i can only add 3 bots per player and i musst play in spitscrean....

reima
May 1, 2006, 04:06 AM
B.T.W

know everybody a good diassembler?

Cpp
May 1, 2006, 10:11 AM
I have experimented somewhat with this... Do you know the program 'Tasker'? It allows you to record keyboard and mouse movement and playback. I've made a 'bot' this way, or simply put, a hard-to-hit target that runs around. If I (finally) kill it, I reset the program and position and voilĂ(-)... One thing, though, if you hit the bot, its movement is slightly corrupted because the recording continues while it flinches from the hit... I guess there COULD be a way to make tasker 'pause' at that very moment...That's not exactly AI there. It may run around, shoot, but it's not AI and I suppose you would need a different recording for every level which would not be that efficient.

know everybody a good diassembler?W32DASM

CrimiClown
May 2, 2006, 03:29 AM
That's not exactly AI there. It may run around, shoot, but it's not AI and I suppose you would need a different recording for every level which would not be that efficient.
I'm aware... ;)

DanYjel
May 4, 2006, 09:19 AM
Jazz Jackrabbit 3 is on the way!

ahat
Aug 11, 2006, 11:13 AM
I didn't know people talked about me! ;| Evil.

Erik
Aug 14, 2006, 02:43 AM
I would also recommend to try the English language

KRSplat
Aug 14, 2006, 07:12 PM
I didn't know people talked about me! ;| Evil.
All the time. We are bad people.