SphereCommunity
Daily Event Problem - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Daily Event Problem (/Thread-Daily-Event-Problem)

Pages: 1 2


RE: Daily Event Problem - Van Glan Bloom - 04-10-2014 02:55 AM

I changed the script and continues to do the same = /
Now even now gives me an additional error when the monster Spwan

Code:
17:49:ERROR:(System - Stone Eventos.scp,133)Undefined keyword 'MORE1'
17:49:ERROR:(System - Stone Eventos.scp,133)Undefined keyword 'MORE1'
17:49:ERROR:(System - Stone Eventos.scp,133)Can't try UID.040001c91.MORE1=0 object sd (01c66)

There is no way to exchange a fixed uid into a variable? Since the monsters always end up having different uid.


RE: Daily Event Problem - Extreme - 04-10-2014 05:07 AM

[ITEMDEF i_event_ooze_timer]
NAME=Ooze Gooze Timer
TYPE=t_normal
ID=i_grave_stone

ON=@CREATE
VAR.OOZETIMERUID <UID>


RE: Daily Event Problem - Van Glan Bloom - 04-11-2014 01:09 AM

I think I've tried all possible ways and still does not work, do not know what i do


RE: Daily Event Problem - XuN - 04-11-2014 03:30 AM

Code:
SERV.NEWITEM=i_event_oozegooze_start
    NEW.P=6120,1221
    VAR.OOZEGOOZEUID=<NEW.UID>
    NEW.P=6120,1221
    VAR.OOZEGOOZEUID2=<NEW.UID>//this var holds the same UID as the first one, is it supossed to store anything else?
    SERV.NEWITEM=i_nude_stone
    NEW.P=6122,1221
    VAR.OOZEGOOZEUID3=<NEW.UID>

Code:
[FUNCTION oozegooze_start]
IF (<VAR.OOZEGOOZE_PLAYERS> > 1)
    SERV.ALLCLIENTS SYSMESSAGE @09c1 [Ooze Gooze]: The Event has begun! Event Gate is now closed.
    TRY UID.<def0.oozegooze_timeruid>.TIMER=1 //what item is this def pointing on?



RE: Daily Event Problem - Van Glan Bloom - 04-12-2014 02:51 AM

ThesSecond
Code:
VAR.OOZEGOOZEUID2 = <NEW.UID>
really is more ... relative to
Code:
TRY UID.<def0.oozegooze_timeruid>.TIMER=1
is connected to the stone that will give the order to the start of the event and the subsequent spwan mob


RE: Daily Event Problem - Van Glan Bloom - 04-12-2014 10:41 PM

Problem solved. Thx guys


RE: Daily Event Problem - Van Glan Bloom - 09-29-2014 04:46 AM

Hi guys.

I have a little problem with my daily events. After the event open and the first player enter in the event, appears a error in the sphere.

Code:
(System - Stone Eventos.scp,1658)Undefined symbol ''
(System - Stone Eventos.scp,1716)Undefined symbol '1'


and these are the lines in the script where the error occurs :

Line 1658
Code:
IF !(<VAR.FREEFORALL>)

Line 1716
Code:
VAR.FREEFORALL_PLAYERS=<VAR.FREEFORALL_PLAYERS>+1

What happens is that the script is not counting the players who enter the event. The script worked well, but now this error occurs.
Some one help me pls


RE: Daily Event Problem - Extreme - 09-29-2014 05:12 AM

IF (!<dVAR0.FREEFORALL>)

VAR0.FREEFORALL_PLAYERS ++