Problem with summon mobs - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Problem with summon mobs (/Thread-Problem-with-summon-mobs) |
Problem with summon mobs - Van Glan Bloom - 07-12-2017 08:10 AM Hello people good night. Well, I need your help, to solve a little problem. In some of my scripts, npc's summon a mobs, however a problem arises. The mob is created, but it does not appear on the player screen. For it to appear, the player has to walk off the screen and when the mob comes back it appears. How can this be resolved? RE: Problem with summon mobs - darksun84 - 07-13-2017 05:21 AM try use update or updatex after the mob is summoned RE: Problem with summon mobs - Van Glan Bloom - 07-16-2017 04:01 AM I already use the updatex em the script. I have change for update and the problem remains RE: Problem with summon mobs - PePs1Man - 07-16-2017 04:40 AM For my part, I never used UpdateX and doesn't know what it does. Try only Update, or maybe Resend. Does your client has the same version as yours? Does the server has the same MUL file as you? Might also be a ResDisp issue... Maybe UpdateX is a very old command not used anymore command? (nowhere to be seen in the revisions changelog) Perhaps showing us a part of your script could help us out pinpoint your issue... Maybe you aren't updating the correct object? RE: Problem with summon mobs - Van Glan Bloom - 07-17-2017 03:13 AM This is a function I use on one of the mobs Code: [function f_wave_1] and in the move i have this Code: ........... However I have to mention that this problem arises whenever a mob is created. For example if you want to create a trap, in which from the moment the player passes through a certain area, a mob appears, it will happen the same. RE: Problem with summon mobs - PePs1Man - 07-17-2017 04:34 AM There it is, after you use a SERV command, all commands relating to that serv command must be NEW. Example Serv.NewItem i.gold,5000 New.Bounce //<--- See that ? I use New to refer to i_gold created by SERV. In your case, you replace SERV.UPDATE with NEW.UPDATE See for yourself RE: Problem with summon mobs - Van Glan Bloom - 07-18-2017 07:46 AM thx PePs1Man you really help me =) Nos the script works fine. I go give +1 reputation |