AI BOT
Moderator: Board moderators
For a quick way to get a list of faces corresponding to different combinations of object attributes, you can look at the script I made a while back here
It has piles and piles of options so be sure to look at it's "--help"
Of course, remember this doesn't account for the many many exceptions in the map tree
It has piles and piles of options so be sure to look at it's "--help"

Of course, remember this doesn't account for the many many exceptions in the map tree

Your script is useful, as a start.
Once databases of walls, monsters, et cetera are built, a brute-force comparison should be done of each face against the database. The bot will begin by assuming that all walls are real. The bot will compare the "PNUM" of each image to "PNUM" in the table, as described in the "bmaps" file. We are going to stick with the 1.9.1 arch list from the CVS of metalforge, for example; inconsistency would kill it.
Once databases of walls, monsters, et cetera are built, a brute-force comparison should be done of each face against the database. The bot will begin by assuming that all walls are real. The bot will compare the "PNUM" of each image to "PNUM" in the table, as described in the "bmaps" file. We are going to stick with the 1.9.1 arch list from the CVS of metalforge, for example; inconsistency would kill it.
when you click on an object with the mouse, "client_send_examine( )" is called and
the word "examine %" is sent to the server. The server processed "examine_cmd"
and "examine" before feeding a text string back to the client.
Might there be a sneaky way to probe the level with "client_send_examine( )"
and process the returns? You will have to pause long enough to receive returns in order,
but will have to sweep fast enough to gather reasonable information.
This can tell you the actual pixmap names.
the word "examine %" is sent to the server. The server processed "examine_cmd"
and "examine" before feeding a text string back to the client.
Might there be a sneaky way to probe the level with "client_send_examine( )"
and process the returns? You will have to pause long enough to receive returns in order,
but will have to sweep fast enough to gather reasonable information.
This can tell you the actual pixmap names.
keyboard events
hi
My bot is communicating with the gcfclient over a TCP socket.
My bot has simulated the mouse button presses by directly calling the functions like look_at() and move_player() in common/player.c.
I want to do the same for the keyboard press events but not sure what functions are called when a key is pressed on keyboard. can some one please help.
Also my bot need to know all the player related info, like its current position, the current map, current inventory , current vital stats etc. can u please let me know in which source files i look to collect them.
thanks
My bot is communicating with the gcfclient over a TCP socket.
My bot has simulated the mouse button presses by directly calling the functions like look_at() and move_player() in common/player.c.
I want to do the same for the keyboard press events but not sure what functions are called when a key is pressed on keyboard. can some one please help.
Also my bot need to know all the player related info, like its current position, the current map, current inventory , current vital stats etc. can u please let me know in which source files i look to collect them.
thanks