![]() |
easier way to type / layer shield? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions) +--- Forum: Sphere 51a Help (/Forum-Sphere-51a-Help) +--- Thread: easier way to type / layer shield? (/Thread-easier-way-to-type-layer-shield) |
easier way to type / layer shield? - x77x - 02-10-2014 12:45 AM im looking for an easier way to find if its a shield... in 51a amor and shields are both type 10, so i used baseid, but look how long this is... i need to add every shield in the game IF ITS A SHIELD ONLY +9 IF ITS ARMS,GAUNTLETS,LEGS,CHEST,GORGET,HELM +25 Code: IF (<SRC.TARG.BASEID>=01b72) || (<SRC.TARG.BASEID>=01b73) || (<SRC.TARG.BASEID>=01b74) || (<SRC.TARG.BASEID>=01b75) || (<SRC.TARG.BASEID>=04724) || (<SRC.TARG.BASEID>=01b77) || (<SRC.TARG.BASEID>=01b78) || (<SRC.TARG.BASEID>=01b79) || (<SRC.TARG.BASEID>=01b7a) || (<SRC.TARG.BASEID>=01b7b) || (<SRC.TARG.BASEID>=01bc3) || (<SRC.TARG.BASEID>=01bc4) || (<SRC.TARG.BASEID>=01bc5) || (<SRC.TARG.BASEID>=06006) || (<SRC.TARG.BASEID>=06007) || (<SRC.TARG.BASEID>=06346) || (<SRC.TARG.BASEID>=06356) || (<SRC.TARG.BASEID>=06336) || (<SRC.TARG.BASEID>=06326) || (<SRC.TARG.BASEID>=06386) || (<SRC.TARG.BASEID>=06316) || (<SRC.TARG.BASEID>=06366) || (<SRC.TARG.BASEID>=06376) || (<SRC.TARG.BASEID>=0478e) || (<SRC.TARG.BASEID>=0478f) || (<SRC.TARG.BASEID>=04790) || (<SRC.TARG.BASEID>=06137) || (<SRC.TARG.BASEID>=07467) || (<SRC.TARG.BASEID>=07437) || (<SRC.TARG.BASEID>=04723) || (<SRC.TARG.BASEID>=04724) || (<SRC.TARG.BASEID>=04725) || (<SRC.TARG.BASEID>=0470e) || (<SRC.TARG.BASEID>=0470f) || (<SRC.TARG.BASEID>=04710) || (<SRC.TARG.BASEID>=04815) || (<SRC.TARG.BASEID>=04816) || (<SRC.TARG.BASEID>=04817) || (<SRC.TARG.BASEID>=06167) || (<SRC.TARG.BASEID>=06147) || (<SRC.TARG.BASEID>=0457e) || (<SRC.TARG.BASEID>=0457f) || (<SRC.TARG.BASEID>=04580) || (<SRC.TARG.BASEID>=045ce) || (<SRC.TARG.BASEID>=045cf) || (<SRC.TARG.BASEID>=045d0) || (<SRC.TARG.BASEID>=06127) || (<SRC.TARG.BASEID>=06607) || (<SRC.TARG.BASEID>=0455e) || (<SRC.TARG.BASEID>=0455f) || (<SRC.TARG.BASEID>=04576) || (<SRC.TARG.BASEID>=06617) || (<SRC.TARG.BASEID>=04738) || (<SRC.TARG.BASEID>=04739) || (<SRC.TARG.BASEID>=0473a) || (<SRC.TARG.BASEID>=07447) || (<SRC.TARG.BASEID>=07457) || (<SRC.TARG.BASEID>=045a3) || (<SRC.TARG.BASEID>=045a4) || (<SRC.TARG.BASEID>=045a5) || (<SRC.TARG.BASEID>=04727) || (<SRC.TARG.BASEID>=04717) || (<SRC.TARG.BASEID>=04707) || (<SRC.TARG.BASEID>=0474e) || (<SRC.TARG.BASEID>=0474f) || (<SRC.TARG.BASEID>=04750) || (<SRC.TARG.BASEID>=06117) || (<SRC.TARG.BASEID>=045b8) || (<SRC.TARG.BASEID>=045b9) || (<SRC.TARG.BASEID>=045ba) || (<SRC.TARG.BASEID>=04763) || (<SRC.TARG.BASEID>=04764) || (<SRC.TARG.BASEID>=04765) || (<SRC.TARG.BASEID>=04586) || (<SRC.TARG.BASEID>=0456e) || (<SRC.TARG.BASEID>=0456f) || (<SRC.TARG.BASEID>=06157) || (<SRC.TARG.BASEID>=047a3) || (<SRC.TARG.BASEID>=047a4) || (<SRC.TARG.BASEID>=047a5) || (<SRC.TARG.BASEID>=04778) || (<SRC.TARG.BASEID>=04779) || (<SRC.TARG.BASEID>=0477a) || (<SRC.TARG.BASEID>=07306) || (<SRC.TARG.BASEID>=07301) || (<SRC.TARG.BASEID>=07305) || (<SRC.TARG.BASEID>=0600f) || (<SRC.TARG.BASEID>=07200) || (<SRC.TARG.BASEID>=07213) || (<SRC.TARG.BASEID>=07067) || (<SRC.TARG.BASEID>=0456f)//ALL BASE,ORE,HIDE,AGEIS,AZA,SPANK,RENZ,HOCKEYMASK,TAMEMASK,WIZHAT,ARMY - no boxingstuff,nadeball crazy long... check for layer instead perhaps? on a side note... how do you do a range? Code: IF (<SRC.TARG.BASEID>={04905 04909 1}) || (<SRC.TARG.BASEID>={04910 04919 1}) || (<SRC.TARG.BASEID>={04920 04929 1}) || (<SRC.TARG.BASEID>={04930 04939 1})//DEF MAGITEMS RE: easier way to type / layer shield? - Anarch Cassius - 02-10-2014 06:45 AM For the love of Pete check the layer! I was wondering if you couldn't access layer in 51a, if you can it's definitely the way to go. Range: {04930 04939} You seem to have a 1 on it for a weight, not needed. Ranges and weight lists are different despite looking almost identical in Sphere syntax. RE: easier way to type / layer shield? - XuN - 02-10-2014 07:11 AM You cannot check a range this way, {} is randomizing the values, however you are using <src.targ.baseid>={} <--- double == for comparing, not single one. if ((<src.targ.baseid>>=04905) && (<src.targ.baseid><=04909)) will do it RE: easier way to type / layer shield? - x77x - 02-10-2014 10:17 AM never knew that... thanks, makes it a lil shorter anyway =P RE: easier way to type / layer shield? - evening - 02-10-2014 03:44 PM http://www.ultimachina.com/123.txt RE: easier way to type / layer shield? - Extreme - 02-11-2014 08:07 AM Why use this shit of .51 version? Can't understand it... RE: easier way to type / layer shield? - evening - 02-11-2014 04:08 PM Some game player like 51A fighting style RE: easier way to type / layer shield? - Mordaunt - 02-11-2014 09:46 PM And are there not settings in the ini to emulate this behaviour in 56b/c? I think there are... Haven't tried them myself mind you. Re: RE: easier way to type / layer shield? - Extreme - 02-12-2014 03:12 AM (02-11-2014 09:46 PM)Mordaunt Wrote: And are there not settings in the ini to emulate this behaviour in 56b/c? Of course you can... But they like the. 51 style because of older client with hacks.. Like change speed and injection... Hahaha Sent from my GT-I9505 using Tapatalk |