Log in

View Full Version : Free zombieslot



Ni3ls
8th December 2018, 14:45
Hi all

kickbots()
{
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{

if(players[i] getIP() == "0")
{
entnum = players[i] getentitynumber();
reden = "no reason";
kick2(entnum,reden);
wait 1;
free_slot(entnum);
}
}
}

Im not able to free the slot. It still says ZMBI

IzNoGoD
8th December 2018, 16:55
Use the latest libcod. It auto-kicks zmbi slots.

Ni3ls
10th December 2018, 15:36
Somehow my bots dont move anymore. I use Voron's libcod. And disable collision doesnt work with bots in the newest version

IzNoGoD
10th December 2018, 20:52
Could be due to the bots having script controlled movement? I did a thing using that a while back.

Ni3ls
11th December 2018, 19:52
How did you fix that?

And if I use the old libcod I can manually free the slot, then it's working. But with a script it's not working.

Dimitrio290
10th February 2019, 12:23
I do not know whether you have fixed it or not, but I will write for those people who are also looking for a solution to this problem.
Libcod Voron's has its own bot_buttons functions, they conflict with the meatbot (bots cannot shoot)
Here I took the Damage99 version as a basis (the libcode from the Voron does not want to compile by requiring a library that is already installed) and removed the conflicting functions.

Sry for bad english :s