Tomb Titivator
Posts: 857
Joined: Monday, 31st January 2011, 23:19
Ask fellow adventurers how to stay alive in the deep, dark, dangerous dungeon below, or share your own accumulated wisdom.
Tomb Titivator
Posts: 857
Joined: Monday, 31st January 2011, 23:19
Dungeon Master
Posts: 4031
Joined: Thursday, 16th December 2010, 20:37
Location: France
Dungeon Dilettante
Posts: 3
Joined: Monday, 9th May 2011, 20:14
Snake Sneak
Posts: 109
Joined: Wednesday, 2nd February 2011, 03:20
galehar wrote:This won't be easy. You would need to write a lua script. Check dat/lua/autofight.lua and other lua scripts for examples. But not everything is exposed to lua, so maybe you will need to also patch the source to add the needed lua hooks. If you achieve it, you'll be able to use your script online, as long as it doesn't put too much stress on the server (if it does, your code is wrong).
Or implement permanent spell effects
Dungeon Master
Posts: 4031
Joined: Thursday, 16th December 2010, 20:37
Location: France
7hm wrote:galehar wrote:This won't be easy. You would need to write a lua script. Check dat/lua/autofight.lua and other lua scripts for examples. But not everything is exposed to lua, so maybe you will need to also patch the source to add the needed lua hooks. If you achieve it, you'll be able to use your script online, as long as it doesn't put too much stress on the server (if it does, your code is wrong).
Or implement permanent spell effects
Even if it was exposed to lua, you would also need to be calling the script every turn as its not automated. That'd be fairly annoying.
Though I guess you could set something up where any keypress called the overall setting function.
Return to Dungeon Crawling Advice
Users browsing this forum: No registered users and 70 guests