When I read your posts I get the feeling you have no idea what you're talking about.
I don't.
Clientside - Doesn't work for serverside.
Serverside - Doesn't work for anything not of .5's
NPC Index - Doesn't work for anything not of .5's
That is what I know.
If it doesn't work, I assume there is a problem somewhere.
Not sure how Graal was built, so I can't say I know what I'm talking about.
Anyway, you guys are more than welcome to test it yourselves.
Test 1 (Assumed it might work since on Clientside it was only one tile off. Meaning part of it was still one tile on for Serverside, and on the top-left corner half) Does not work. (This test was not tested last time)
PHP Code:
NPC block.png 28 32 function onActionServerside(cmd){ findPlayer(cmd).chat = "This Works."; } function onCreated(){ setshape(1,32,32); } //#CLIENTSIDE function onCreated(){ this.x-=1; } function onPlayerTouchsMe(){ triggeraction(this.x,this.y,"Serverside",player.account); } NPCEND
Test 2 Regular Triggeraction - Works.
PHP Code:
NPC block.png 32 32 function onActionServerside(cmd){ findPlayer(cmd).chat = "This Works."; } function onCreated(){ setshape(1,32,32); } //#CLIENTSIDE function onPlayerTouchsMe(){ triggeraction(this.x,this.y,"Serverside",player.account); } NPCEND
Test 3 Triggeraction with an added .5 on X Serverside - Works.
PHP Code:
NPC block.png 36 32 function onActionServerside(cmd){ findPlayer(cmd).chat = "This Works."; } function onCreated(){ setshape(1,32,32); this.x += .5; } //#CLIENTSIDE function onPlayerTouchsMe(){ triggeraction(this.x,this.y,"Serverside",player.account); } NPCEND
Test 4 Triggeraction with an added .3 on the Serverside - Does not work.
PHP Code:
NPC block.png 40 32 function onActionServerside(cmd){ findPlayer(cmd).chat = "This Works."; } function onCreated(){ setshape(1,32,32); this.x += .3; } //#CLIENTSIDE function onPlayerTouchsMe(){ triggeraction(this.x,this.y,"Serverside",player.account); } NPCEND
Test 5 Triggeraction with an added .3 on the NPC - Does not work. (This test was not tested last time)
PHP Code:
NPC block.png 44.3 32 function onActionServerside(cmd){ findPlayer(cmd).chat = "This Works."; } function onCreated(){ setshape(1,32,32); } //#CLIENTSIDE function onPlayerTouchsMe(){ triggeraction(this.x,this.y,"Serverside",player.account); } NPCEND
Slightly over two minute video.
Making it an NPC with its own ID is not part of the problem so it was not a test I was going to do. Not sure if NPC Characters that have interactions Clientside to Serverside should all be NPCs lol...
The only reason I came up with this is because my NPC randomly stopped working when I had her look like she was sitting correctly, -.3 tiles on the Y axis. The first time I started over, and on the second time I realized what was causing it.