![]() |
You can give me some advice - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion) +--- Thread: You can give me some advice (/Thread-You-can-give-me-some-advice) Pages: 1 2 |
You can give me some advice - maurizio1961 - 09-26-2017 11:03 AM I created this script that according to the wiki but also in my opinion it should be easy, although sphere does not make any mistakes, there is a script problem not a sign of life is virtually dead the gate not by signs of life. And yet it seems to me that it is in order, can you know it happens to him? Code: [Itemdef i_gate_cimitero] Defname=i_gate_cimitero ID=i_moongate_blue NAME=Passaggio per il cimitero Type =183 CATEGORY=gate di controllo SUBSECTION= funzioni varie DESCRIPTION= controlla chi gioca al cimitero ON=@STEP IF (<SRC.KILL>=>1) ELIF (<SRC.SWORDSMANSHIP>>100) ELIF (<SRC.MAGERY>>100) ELIF (<SRC.PARRYNG>>100) ELIF (<SRC.TACTICS>>100) ELIF (<SRC.ARCHERY>>100) ELIF (<SRC.STR>>100) ELIF (<SRC.INT>>100) ELIF (<SRC.DEX>>100) ELIF (<SRC.MACEFIGHTING>>100) SRC.MESSAGE @00110 <SRC.NAME> Non � il posto per te, tu devi trovarti un gruppo e andare a caccia da qualche altra parte ! ELSE SRC.GO 1358.1482.10 ENDIF RETURN 1 RE: You can give me some advice - Leonidas - 09-26-2017 11:47 AM What are you trying to accomplish here? If the player that steps on the portal has 1 or more kills, with all skills GM that you listed you want them to not be able to teleport? You're script is missing a bunch of stuff, I'd suggest reading over the wiki again if you have already done so. If you can try to explain what you want a little bit better we can help you better RE: You can give me some advice - maurizio1961 - 09-26-2017 12:11 PM Sorry but I did not come to find someone to make four whims, and then there is a forum where when you have any doubts or server issues just to ask for, your answer does not understand it sincerely and then I apologize, I do not want a judgment on script I want a case help ever RE: You can give me some advice - Leonidas - 09-26-2017 12:14 PM Yes I am trying to help, I do not understand what you are trying to accomplish with your script. RE: You can give me some advice - maurizio1961 - 09-26-2017 12:29 PM I thank you but after two hours on the sphere it does not work yet this and the c ++ syntax for example would go, but I would like the sphere to work fine because it is much simpler, and it does not have to have a computer laureain to run it. RE: You can give me some advice - Soulless - 09-26-2017 02:52 PM What do you want this script to do? there's a lot of "elseif" in there that are not being used. at the end, both scenarios end up at 1358.1482,10 RE: You can give me some advice - maurizio1961 - 09-27-2017 02:58 AM I wanted to make a step for the Brittany cemetery, with all these conditions, so that new players would be protected by people with bad intentions;I changed the script but asleep I do not work the gate. I wonder why an emulator that does not work, still exists! RE: You can give me some advice - darksun84 - 09-27-2017 07:01 AM The emulator works fine, your IF conditions are completelly wrong and doesn't make sense. RE: You can give me some advice - Soulless - 09-27-2017 07:13 AM It's not the emulator it's your script, I would highly recommend the spherewiki to help out with examples and learning the basics. Code: ON=@STEP something more like what you might want Code: ON=@STEP RE: You can give me some advice - maurizio1961 - 09-27-2017 08:06 AM The wiki sphere teaches you the basics, but it does not explain to you, if you get an error, how do you have to adjust yourself. For example, see Spherewiki does not talk about it, so I know I should be able to use a good deal of C operators too. because I do not talk about it, but now I understand this from your example that you have shown me now. You can not figure out all that server programming scripts in 10 pages, and a bit of a perception |