![]() |
ERROR: Can't resolve <DEFNAME> - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: ERROR: Can't resolve <DEFNAME> (/Thread-ERROR-Can-t-resolve-DEFNAME) Pages: 1 2 |
ERROR: Can't resolve <DEFNAME> - Russian - 03-25-2014 10:50 PM Hello! My script: Code: [REGIONTYPE R_ENTERSOMEAREA] Error: IF (<DEFNAME>==A_ASTRAL_dungeon_1) What is wrong, my friends? Thank you! RE: ERROR: Can't resolve <DEFNAME> - XuN - 03-25-2014 11:43 PM <Region.Defname> RE: ERROR: Can't resolve <DEFNAME> - Russian - 03-26-2014 12:01 AM Code: IF (<REGION.DEFNAME>==A_ASTRAL_dungeon_1) Similar error. RE: ERROR: Can't resolve <DEFNAME> - XuN - 03-26-2014 12:23 AM Code: [regiontype r_test] It does work for me with latest build. RE: ERROR: Can't resolve <DEFNAME> - Russian - 03-26-2014 12:32 AM I download this: http://forum.spherecommunity.net/sshare.php?srt=4 SphereSvr(64bitTime)[win32].zip (v. r1777) Hits: 278 Size: 1.16 MB Feb 7th, 2014, 4:19 am Please recommend Sphere server. I download: http://nightly.prerelease.sphere.torfo.org/ Download latest Windows build (March 25, 2014, 12:08 am) And this sphere server have similar error. RE: ERROR: Can't resolve <DEFNAME> - Coruja - 03-26-2014 01:22 AM try <REGION.REGION.DEFNAME> <REGION.DEFNAME> sometimes can miss the real region because if used inside an multi region, the reference will be the multi. So <REGION.REGION.DEFNAME> will work fine because even inside multis they always get the real region as reference but you're using REGIONTYPE, so the correct trigger sould be @Enter instead @Step. Or if you're using this on a item, you can still using @Step but must change REGIONTYPE to TYPE or EVENTS RE: ERROR: Can't resolve <DEFNAME> - Russian - 03-26-2014 01:31 AM <REGION.REGION.DEFNAME> Similar error RE: ERROR: Can't resolve <DEFNAME> - darksun84 - 03-26-2014 02:22 AM how A_ASTRAL_dungeon_1 is defined? RE: ERROR: Can't resolve <DEFNAME> - Russian - 03-26-2014 02:50 AM (03-26-2014 02:22 AM)darksun84 Wrote: how A_ASTRAL_dungeon_1 is defined? Code: [AREA Astral dungeon] I try do this: Code: [REGIONTYPE R_ENTERSOMEAREA] Code: [AREADEF A_ASTRAL_DUNGEON_1] But it is not help. Similar error. RE: ERROR: Can't resolve <DEFNAME> - Ben - 03-26-2014 07:04 AM what sphere version are you using? With what script pack? updated your sphere.ini? something here doesn't add up |