ON=@PersonalSpace - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: ON=@PersonalSpace (/Thread-ON-PersonalSpace) |
ON=@PersonalSpace - kn4tseb - 06-15-2014 07:09 AM Hello people, i need some help with this trigger, its the first time im using it and for some reason doesnt seem to do anything in my script. im using it under an event for players, tried to search some examples but didnt find much, so i come to you. reading the http://wiki.sphere.torfo.org/index.php/@PersonalSpace page i understand that src is the character trying to step (shove) on another one... so i tried the basics for tests but nothing seems to happen. ON=@PersonalSpace IF (<SRC.IsPlayer>) src.sysmessage you shove him away. endif what am i doing wrong? 056c jun 14 dev. Thank you. RE: ON=@PersonalSpace - Feeh - 06-15-2014 07:31 AM Try debugging before adding any restriction ON=@PersonalSpace //fired on the character who is stepped in src.say I am the SRC and I am stepping into I say I am I and I am being stepped by SRC RE: ON=@PersonalSpace - kn4tseb - 06-15-2014 07:43 AM i did... believe me, was the first thing done: ON=@PersonalSpace src.sysmessage you shove him away. say stop it!!! YOU NOOB src.SAY hello hello hello SERV.B BEAT IT! endif but still nothing... RE: ON=@PersonalSpace - Feeh - 06-15-2014 09:11 AM The trigger is defined on a global event or event or skillclass ? the event is set on the player who is stepped ? The trigger is working fine here As I said, this trigger fires on who is stepped. If player A enter on the player B space, the trigger will fire on B RE: ON=@PersonalSpace - kn4tseb - 06-15-2014 02:19 PM Okey, solved , thanks feeh but IMO would have been better to make the trigger inverse, because the ARGN1 is always limited if <SRC.STAM> = <SRC.MAXSTAM> what if some one does not want to have stam at maximum to step on I? i might make a new feature request like a ON=@PersonalSpaceTry??? ARGN1 stam needed to try to step on? RE: ON=@PersonalSpace - Feeh - 06-16-2014 03:33 AM (06-15-2014 02:19 PM)kn4tseb Wrote: but IMO would have been better to make the trigger inverse, because the ARGN1 is always limited if <SRC.STAM> = <SRC.MAXSTAM> So you will need to edit your client, it does have an internal stamina check, so even if you want to be able to step on another char, the client will not send a walk request to the server if stamina is too low. The trigger is not fired There is nothing we can do server-side RE: ON=@PersonalSpace - kn4tseb - 06-16-2014 03:37 AM should have read it before.... seems beyond my knowledge, where should i start? which client files contain this information? RE: ON=@PersonalSpace - Feeh - 06-16-2014 04:02 AM Well, this information rely inside your client.exe Reverse engineering is needed along and other highly advanced knowledges; I can not say more than that since it void UO EULA and forum rules In short answer: this is a extremely difficult task and there is no tutorial for such thing RE: ON=@PersonalSpace - kn4tseb - 06-16-2014 04:53 AM xDDDD okey, im asking no more about that xd... thanks. |