Hi,
There is a problem with:
I always get error :PHP Code:
test()
{
ip = getIP(self);
iprintlnbold(ip);
}
getIP(player)
{
return closer(430, player getEntityNumber());
}
Thanks a lot ;)PHP Code:
Segmentation fault
Printable View
Hi,
There is a problem with:
I always get error :PHP Code:
test()
{
ip = getIP(self);
iprintlnbold(ip);
}
getIP(player)
{
return closer(430, player getEntityNumber());
}
Thanks a lot ;)PHP Code:
Segmentation fault
What does dmesg say for the crash and what cod are you using?
Server stop and show crash "Segmentation fault", when I use this script. I use 1.0 version.
When was your libcod compiled? (post first few lines of the startup log)
Because it is possible it wasn't supported then yet. (ip support for 1.0 was added around 2 months ago)
libcod versions are available here:
Build with https://github.com/M-itch/libcod
http://znation.nl/libcod/
Build with https://github.com/kungfooman/libcod
http://dbg.killtube.org/libcod/libs/
http://killtube.org/downloads/libcod/
Thanks Mitch for answers! This link working :)(znation.nl/libcod)