SphereCommunity
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


RE: ERROR: Can't resolve <DEFNAME> - Russian - 03-26-2014 07:05 AM

(03-26-2014 12:32 AM)Russian Wrote:  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


(03-26-2014 12:32 AM)Russian Wrote:  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.
Similar errors on this Spheres.


RE: ERROR: Can't resolve <DEFNAME> - Coruja - 03-26-2014 12:49 PM

this should work fine
Code:
[REGIONTYPE r_EnterSomeArea]
ON=@Enter    //<-- use @Enter instead @Step
IF (<SRC.REGION.REGION.DEFNAME>==a_astral_dungeon_1)    // <-- use SRC here
  SRC.SAY LOL
ENDIF

[AREADEF a_astral_dungeon_1]
P=6054,936,15,0
RECT=5989,812,6064,945,0
FLAGS=region_flag_nobuilding
EVENTS=r_default, r_EnterSomeArea
RAINCHANCE=0
COLDCHANCE=0
TAG.ARENA=1



RE: ERROR: Can't resolve <DEFNAME> - Russian - 03-26-2014 05:28 PM

Work! Thank to all very very much.

<SRC.REGION.REGION.DEFNAME>


RE: ERROR: Can't resolve <DEFNAME> - Alaric - 03-26-2014 11:25 PM

Aaaa, I remember that shitty thing. Seomthing similar happened to me and region fuctions didn't work. The only way make them work was using object (player) in the region and call the region -> region -> function.