SphereCommunity
Problem with new container - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Problem with new container (/Thread-Problem-with-new-container)



Problem with new container - Rizz - 02-19-2013 09:41 AM

This is the script

PHP Code:
[ITEMDEF i_forgia_serpe]
NAME=Elven Forge
ID
=i_barrel
TYPE
=T_CONTAINER
TDATA2
=02A63
FLIP
=1
WEIGHT
=10
SKILLMAKE
=TINKERING 55.0,t_tinker_tools
RESOURCES
=10 i_log 

Noway to open that container but i found this way

PHP Code:
ON=@CREATE
ATTR
=08000
timerf 2
DISPID=02dd8
timerf 3
update 

With the @create trigger the container will full work for a short period of time and then noway to open it again... why?


RE: Problem with new container - Shaklaban - 02-19-2013 09:56 AM

if you set non-container items dispid to the container it will not work. its working for first time because when client first receiving its packet, it has valid container id and client hold that in memory. when items packet resended, it becomes the non-container item for client. you need to modify mul files, tiledata maybe.