
Originally Posted by
XcellMu
4FUner How to fix this error it seems pafa7a dont reply this error All items have socket
You talk about item preview? Check lib/ItemInfo.php
He use 255 for Empty slot & 1 + for options while some of files nowdays use 254 for Empty & 0 + for options.
You can try replace
PHP Code:
if ($socket[$i] == 0){}
else
with
PHP Code:
if ($socket[$i] == 255){}
else
But still rest of options will be wrong if you use structure 254/0
Best would be to make function to check if item can be socket & switch for 2 type of socket options codes
but that's pafa project, so it's up to him.
HF