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 lotPHP Code:
Segmentation fault
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 lotPHP 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/
Last edited by Mitch; 14th January 2014 at 22:31. Reason: added links and when 1.0 support was added
kung foo man (15th January 2014),songo (15th January 2014)
Thanks Mitch for answers! This link working (znation.nl/libcod)