[Mod] Alive AI V26 [aliveai]

User avatar
Andrey01
Member
 
Posts: 2154
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [Mod] Alive AI V22 [aliveai]

by Andrey01 » Mon Jul 30, 2018 18:27

In this mod i have noticed some lags with mobs (i use 5.0.0-dev): storm monster doesn`t blow away other mobs when they are near. This mob also sometimes stops to rotate and for some reason start to attack players/mobs as simple ones. Other lag is exploding mobs don`t destroy blocks when they are exploding.
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
AiTechEye
Member
 
Posts: 588
Joined: Fri May 29, 2015 21:14
Location: Sweden
GitHub: AiTechEye

Re: [Mod] Alive AI V22 [aliveai]

by AiTechEye » Wed Aug 01, 2018 16:39

its too early to notice bugs from 0.5 yet, cuz lots of weird stuff happens with it.
...
the ai can only build with pre-selected materials that depends on what that are near them.
stuff like sand,dirt leaves is added, just to make some ai build like noobs :)
but makes the sand any problems?

you can see/change it in aliveai/init.lua:45 (basics)
 

User avatar
AiTechEye
Member
 
Posts: 588
Joined: Fri May 29, 2015 21:14
Location: Sweden
GitHub: AiTechEye

Re: [Mod] Alive AI V23.9 [aliveai]

by AiTechEye » Wed Aug 15, 2018 11:50

+ "terminal"

use the aliveai:terminal tool (found in creative inventory) or use the command /aliveai ...requires the aliveai privilege
and get some more power and info about this complex mod :)
this is almost done

the manu to left top is the selected bot or use the tool on it
the manu lower is objects around it

I suppose that this is awaited, for some reason

Image
Attachments
screenshot_20180815_133526.png
(409.16 KiB) Not downloaded yet
 

roboto
Member
 
Posts: 62
Joined: Wed Jul 19, 2017 15:21
GitHub: NewbProgrammer101
In-game: akoek

Re: [Mod] Alive AI V24 [aliveai]

by roboto » Wed Sep 05, 2018 01:30

AITechEye: pull request https://github.com/AiTechEye/aliveai/pull/4

People are willing to help :)

Thank you for putting this project on GitHub.
 

User avatar
AiTechEye
Member
 
Posts: 588
Joined: Fri May 29, 2015 21:14
Location: Sweden
GitHub: AiTechEye
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25 [aliveai]5

by 42n4 » Sun Sep 16, 2018 16:31

I have such an error in minetest 4.17.1. Every trial to write /aliveai in console ends like this (with the other mods or without those mods):
Code: Select all
ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'aliveai' in callback on_chat_message(): ...hare/minetest/games/minetest_game/mods/aliveai/other.lua:58: attempt to index local 'user' (a nil value)
ERROR[Main]: stack traceback:
ERROR[Main]:       ...hare/minetest/games/minetest_game/mods/aliveai/other.lua:58: in function 'show_terminal'
[Main]:       ...hare/minetest/games/minetest_game/mods/aliveai/other.lua:11: in function 'func'
[Main]:       /usr/share/minetest/builtin/game/chatcommands.lua:30: in function </usr/share/minetest/builtin/game/chatcommands.lua:9>
[Main]:       /usr/share/minetest/builtin/game/register.lua:420: in function </usr/share/minetest/builtin/game/register.lua:400>
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25 [aliveai]5

by 42n4 » Sun Sep 16, 2018 18:18

And the next error in minetest 4.17.1:
Code: Select all
WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug.
ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'aliveai_weather' in callback on_leaveplayer(): ...netest/games/minetest_game/mods/aliveai_weather/init.lua:96: bad argument #1 to 'sound_stop' (number expected, got nil)
ERROR[Main]: stack traceback:
ERROR[Main]:       [C]: in function 'sound_stop'
ERROR[Main]:       ...netest/games/minetest_game/mods/aliveai_weather/init.lua:96: in function <...netest/games/minetest_game/mods/aliveai_weather/init.lua:93>
ERROR[Main]:       /usr/share/minetest/builtin/game/register.lua:420: in function </usr/share/minetest/builtin/game/register.lua:400>
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25.1 [aliveai]

by 42n4 » Sun Sep 16, 2018 20:32

I have repeated the minetest instalation only with mods: technic, smartshop, mesecons, aliveai and now without any error, maybe you should give a list of compatible mods with aliveai. There are a lot of mods at https://github.com/minetest-mods:
Code: Select all
biome_lib crops moreblocks moreores moretrees lightning torches plantlife_modpack more_chests round_trunks biome_lib unifieddyes unifiedbricks unified_inventory gloopblocks towercrane maptools mapfix technic mesecons MoreMesecons xdecor BobBlocks drawers playeranim digilines wielded_light digtron smartfs throwing_arrows throwing character_creator pipeworks nether ts_furniture item_drop intllib prefab towercrane homedecor_modpack currency craftguide ccompass mychisel mymillwork mydoors subterrane pontoons hopper airtanks framedglass drinks sling mymonths warps cake droplift flowerpot quartz ts_doors more_chests workbench ilights worldedge myroofs mylights crafting_bench chat2 coloredwood trash_can ts_paper camera loot mydeck enchanting tnt_extras painting jump mysoundblocks mymulch round_trunks sedimentology mywoodslopes turtle ts_workshop dynamic_liquid signs_lib jumping frozenenergy subspacewalker nightandday plantlife_modpack carpets mylandscaping mtg_i18n mg

and at the https://notabug.org/TenPlus1
Code: Select all
mobs_redo mobs_animal mobs_monster mobs_npc mob_horse ethereal farming lucky_block pigiron ambience real_torch bows pova pbj_pup cblocks teleport_potion pie  wine hopper bonemeal bakedclay money lapis signs_lib season falling_item stamina


Which should I use and which are safe?
 

User avatar
AiTechEye
Member
 
Posts: 588
Joined: Fri May 29, 2015 21:14
Location: Sweden
GitHub: AiTechEye
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25.1 [aliveai]

by 42n4 » Sun Sep 16, 2018 22:00

I have found these mods and I think they are compatible and within aliveai:
https://github.com/AiTechEye/aliveai/wiki/Mods
But what about the rest of mods?
Last edited by 42n4 on Sun Sep 16, 2018 22:45, edited 1 time in total.
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25.1 [aliveai]

by 42n4 » Sun Sep 16, 2018 22:10

Which type of map generator is the best for aliveai? flat? v6?
I still have some warnings all the time:
Code: Select all
WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug
WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug
WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug

I have install mods in this way:
Code: Select all
cd /usr/share/minetest/games/minetest_game/mods
[ ! -d 3d_armor ] && wget  https://github.com/stujones11/minetest-3d_armor/archive/master.zip -O 3d_armor-master.zip && unzip 3d_armor-master.zip && rm 3d_armor-master.zip && mv minetest-3d_armor-master 3d_armor
for i in moreblocks moreores pipeworks mesecons technic; do [ ! -d $i ] && git clone https://github.com/minetest-mods/$i; done;
for i in smartshop aliveai; do [ ! -d $i ] && git clone https://github.com/AiTechEye/$i; done;
mv aliveai alive && mv alive/* . && rm -rf alive
sed -i 's/status=false/status=true/g' aliveai/init.lua


Commands:
/aliveai count
/aliveai status=true
have no response. Only "issued command", nothing else...

And bots without any privilige (only shout, interact) can fly and build above the ground (one air brick layer below the building).

After spawning in creative mode there two copies of the bot: one just standing and another walking around (maybe working, but monsters kill them all just after or before making the building.
 

User avatar
AiTechEye
Member
 
Posts: 588
Joined: Fri May 29, 2015 21:14
Location: Sweden
GitHub: AiTechEye

Re: [Mod] Alive AI V25.1 [aliveai]

by AiTechEye » Mon Sep 17, 2018 10:30

1: https://github.com/AiTechEye/aliveai/wiki/Mods is the default / included mods (will change the title)
2: mapgen doesn't matter, as long there are sand,dirt/grass and stone

fixed command /aliveai ... since v24 the command only shows the terminal gui ... can also show/set count/status


checking the bugs...
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25.1 [aliveai]

by 42n4 » Mon Sep 17, 2018 22:55

Now spawned bots have two copies: a kid and a moving adult.
After restart of the minetest kids disapeared, maybe an added aliveai privilige helped. Terminal works very good. Only warnings remained:
WARNING[Server]: Pathfinder: failed to update cost map
WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug.
 

42n4
New member
 
Posts: 7
Joined: Wed Sep 06, 2017 17:14
GitHub: 42n4
In-game: 42n4

Re: [Mod] Alive AI V25.1 [aliveai]

by 42n4 » Mon Sep 17, 2018 23:26

Finally another error:
Code: Select all
ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'aliveai_folk' in callback luaentity_Step(): ...hare/minetest/games/minetest_game/mods/aliveai/event.lua:459: attempt to compare number with nil
ERROR[Main]: stack traceback:
ERROR[Main]:       ...hare/minetest/games/minetest_game/mods/aliveai/event.lua:459: in function 'light'
ERROR[Main]:       .../share/minetest/games/minetest_game/mods/aliveai/bot.lua:44: in function 'bot'
ERROR[Main]:       .../share/minetest/games/minetest_game/mods/aliveai/bot.lua:16: in function <.../share/minetest/games/minetest_game/mods/aliveai/bot.lua:1>
 

User avatar
AiTechEye
Member
 
Posts: 588
Joined: Fri May 29, 2015 21:14
Location: Sweden
GitHub: AiTechEye
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 7 guests