Edit: new .zip file link, now 100% working
ThaisWar.net release!
Thais war server with scripted AI!
I had hope that I will get many players on this server, 'collect much data about players moves in pvp fights', make neuron network, learn it to fight and create best [not scripted] pvp bots.................. but players did not play (5-30 online), so I resigned.
3 bots + me fight in Thais:
I will not host it anymore. Maybe someone else find it interesting:
* modified Thais map (6 temples)
-------- VIEW: http://thaiswarmap.ots.me/
Sometimes server tries to remove bots, but can't, because it removes them only when they are in temple (after death).
Bots are not really logged out/in every time when server want add/remove bots. They are teleported to some place far away on map by function setBotActive(bot, false).
Server login all bots (listed in file http://skalski.at/files/files/thaiswar860_with_bots/view/data/lib/105-bot_nowy.lua ) on start and keep them online, because of memory leak in login/logout C++ function (function loadPlayer(name) in LUA).
View files:
Jerzy Skalski AKA 'Gesior' files (http://skalski.at/files/?dir=files/thaiswar860_with_bots/view/)
Download (data, sources, mods, config.lua, phpmyadmin database dump 'war.sql' [with bot characters, their skills and EQ, GOD account is ppp/ppp], www [modified Gesior 2012] with extra war statistics):
http://skalski.at/files/files/thaiswar860_with_bots/zip/thaiswar_860_bots_working.zip
I CANNOT HELP YOU WITH THAT OTS [COMPILE, RUN ETC.]
I CANNOT IMPLEMENT BOTS IN YOUR OTS [EVEN FOR MONEY]
ThaisWar.net release!
Thais war server with scripted AI!
I had hope that I will get many players on this server, 'collect much data about players moves in pvp fights', make neuron network, learn it to fight and create best [not scripted] pvp bots.................. but players did not play (5-30 online), so I resigned.
3 bots + me fight in Thais:
I will not host it anymore. Maybe someone else find it interesting:
* modified Thais map (6 temples)
-------- VIEW: http://thaiswarmap.ots.me/
- spells, vocations, potions config for 75-150 lvl
- level limit from 75 to 150 (config in data/lib/106-war.lua)
- players move to temple after 'die', no need to relog
- frags/deaths/assists counters
- special experience formula for kill/assist to block frag giving/MC and other noobs ( http://paste.ots.me/362797/text )
- BOTs! BOTs! BOTs!
- bots use potions (not use items, but get mana/hp and has cooldown)
- bots use runes
- bots use spells
- bots choose best attack/healing method for their vocation/target
- bots use wands/crossbows/axes etc.
- bots choose best target (closest, knights check if there is 'way to place where target stands', sorc/druid/paladin check if there is 'clear sight')
- bots ignore targets that they can't hit
- bots run in random places in Thais and try to find enemy
- bots walk on some stairs (scripted), but not often
- bots attack players and other bots
- bots use anti-paralyze (with random delay - like real players without 'anti-paralyze bot')
- bots 'tell' other bots to attack same target to make it possible to kill someone (it's not possible to kill 1 v 1)
- bots use UTAMO VITA
- bots RUN AWAY, when too many other bots/players attack them (utani hur/gran hur and ruuun+heal)
- bots do not use much CPU/RAM (on my dedic [3.4GHz, 8GB ram] I had 300 bots without lags.. 300 bots in thais?! MASSACRE!)
LUA:
local keepOnline = 23 -- number of players + bots at start
local maxChange = 2 -- maximum change per script execution [default 1 time per second] - goes random +1 or -1
local minOnline = 2 -- minimum number of players + bots online
local maxOnline = 35 -- maximum number of players + bots online [so if there is 35 players server will try to 'logout' all bots]
Bots are not really logged out/in every time when server want add/remove bots. They are teleported to some place far away on map by function setBotActive(bot, false).
Server login all bots (listed in file http://skalski.at/files/files/thaiswar860_with_bots/view/data/lib/105-bot_nowy.lua ) on start and keep them online, because of memory leak in login/logout C++ function (function loadPlayer(name) in LUA).
View files:
Jerzy Skalski AKA 'Gesior' files (http://skalski.at/files/?dir=files/thaiswar860_with_bots/view/)
Download (data, sources, mods, config.lua, phpmyadmin database dump 'war.sql' [with bot characters, their skills and EQ, GOD account is ppp/ppp], www [modified Gesior 2012] with extra war statistics):
http://skalski.at/files/files/thaiswar860_with_bots/zip/thaiswar_860_bots_working.zip
I CANNOT HELP YOU WITH THAT OTS [COMPILE, RUN ETC.]
I CANNOT IMPLEMENT BOTS IN YOUR OTS [EVEN FOR MONEY]
Attachments
-
thaiswar_860_bots_working.zip6 MB · Views: 482 · VirusTotal
Last edited by a moderator: