Kelrzher Posted October 1, 2016 Posted October 1, 2016 i took this Fence code from aCis , people claimed working, as you read it also it seems too.. but.. commands working/ objects when spawn- delete or //listfence are recognized.. but as a player/admin i cannot see visually the object... why?http://pastebin.com/YdEECZC9 - Adminspawn http://pastebin.com/f89LHQcW - The packet http://pastebin.com/tBZyz92W - Fence GeoEngine http://pastebin.com/j05k4wGR - FenceTable http://pastebin.com/1WdDVYUf - FenceInstance
0 Tryskell Posted October 3, 2016 Posted October 3, 2016 It is knownlist related issue, that's why you don't see it. About why you don't see it... Most probably player's knownlist ignores that type of instance. @Tessa, sendInfo is used when a object is added to another object's knownlist. It sends object related packets to the client in order it shows the correct infos. Even if it's an old implementation, it is supposed to work as it was shared (Trance implementation ?). It if isn't, then your pack knownlist system must be edited.
0 Kelrzher Posted October 3, 2016 Author Posted October 3, 2016 I added debug on the ExColosseumInfoPacket.. i noticed that it doesnt be called either on start up nor on //spawnfence.. any solution?
0 Tessa Posted October 3, 2016 Posted October 3, 2016 What is the purpose of this metho "sendInfo", and when is it supposed to run?
0 Kelrzher Posted October 3, 2016 Author Posted October 3, 2016 On 10/3/2016 at 6:25 PM, Tessa said: What is the purpose of this metho "sendInfo", and when is it supposed to run? from all the fences mode i see , i dont have a clue... should i call it at //spawnfence and generally the commands? i really dont know
0 Kelrzher Posted October 3, 2016 Author Posted October 3, 2016 (edited) On 10/3/2016 at 9:47 PM, Tryskell said: It is knownlist related issue, that's why you don't see it. About why you don't see it... Most probably player's knownlist ignores that type of instance. @Tessa, sendInfo is used when a object is added to another object's knownlist. It sends object related packets to the client in order it shows the correct infos. Even if it's an old implementation, it is supposed to work as it was shared (Trance implementation ?). It if isn't, then your pack knownlist system must be edited. not trances but still it should work.. ok time to mess with fucking knowlist ... any hints so i can understand what i need? Edited October 3, 2016 by Kelrzher
0 Kelrzher Posted October 4, 2016 Author Posted October 4, 2016 i FIXED IT THANKS TRYSKELL BIG DEV , i was missing the call of the packet in PcKnowlist.java thanks so much ...
Question
Kelrzher
i took this Fence code from aCis , people claimed working, as you read it also it seems too.. but.. commands working/ objects when spawn- delete or //listfence are recognized.. but as a player/admin i cannot see visually the object... why?
http://pastebin.com/YdEECZC9 - Adminspawn
http://pastebin.com/f89LHQcW - The packet
http://pastebin.com/tBZyz92W - Fence GeoEngine
http://pastebin.com/j05k4wGR - FenceTable
http://pastebin.com/1WdDVYUf - FenceInstance
7 answers to this question
Recommended Posts