Forum

> > CS2D > Scripts > Map Error
Forums overviewCS2D overview Scripts overviewLog in to reply

English Map Error

6 replies
To the start Previous 1 Next To the start

old Map Error

Egoist
User Off Offline

Quote
LUA ERROR (ai_update_living): attempt to call a nil value
Freezing bots to stop Lua error msg flood! Use 'bot_freeze 0' to unfreeze bots!


What's that! I only used the lua parse(mp_wpndmg) etc etc.
I use the command bot freeze 0 but it dont works.The error comes to console again when I write bot freeze 0 command.Help please.

old Re: Map Error

EnderCrypt
User Off Offline

Quote
map error?, i assume you mean lua error

LUA ERROR (ai_update_living): attempt to call a nil value

means cs2d cant call the function "ai_update_living"
ai_update_living is a bot function that is called 50 times a second (with 50 fps), this error is cause it cant call the function (maybe its missing), have you downloaded this bot or made your own?

old Re: Map Error

Apache uwu
User Off Offline

Quote
Hmm...

Make sure you have the original copy of the standard's bot ai. And make sur you're not running any lua scripts that might conflict.

old Re: Map Error

MikuAuahDark
User Off Offline

Quote
hey textual context, this error has been avaliable at orginal bot lua script and bot lua script never conflict at another lua script

old Re: Map Error

Apache uwu
User Off Offline

Quote
hard to say actually, if another script were to use the same variable or function names that would conflict

old Re: Map Error

MikuAuahDark
User Off Offline

Quote
umm maybe you right but in ai_update_living error, i think they type luareset at console because luareset is reset all lua(bot lua too) so it will errors
sorry for my bad english
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview