Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
console errors
|
Author |
Message |
ograso
Journeyman
Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0
|
console errors
Hey all,
My console gives 2 type of error as below
First;
Code:
17:25:ERROR:(spherechar_human.scp,6635)Can't resolve <SRC.CTAG0.RESSER>
17:25:ERROR:(spherechar_human.scp,6635)Undefined symbol ''
spherechar_human.scp,6635;
Code:
ON=@NPCLookAtChar
IF (<SRC.ISPLAYER>)
IF (<SRC.ISONLINE>)
IF (<SRC.CTAG0.RESSER>)
RETURN 1
ENDIF
IF (<SRC.FLAGS>&STATF_DEAD)
SRC.SPELLEFFECT S_RESURRECTION,1000,<UID>
ENDIF
ENDIF
ENDIF
Second;
Code:
17:28:ERROR:(functions7.scp,210)Undefined keyword 'SENDPACKET'
functions7.scp,210;
Code:
IF (<ISCHAR>)
IF (0<ISPLAYER>) && (0<ISONLINE>)
SENDPACKET 06D W<HVAL <ARGN1>>
ENDIF
ENDIF
(This post was last modified: 06-22-2014 12:36 AM by ograso.)
|
|
06-22-2014 12:33 AM |
|
|
ograso
Journeyman
Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0
|
RE: console errors
(06-23-2014 03:13 AM)RanXerox Wrote: In your first problem, I am guessing SRC is not what you think it is (an online player)... try recording the NAME of SRC in the log to find out what's going on.
In your second problem, SENDPACKET may not work in all triggers... what @TRIGGER is that same of code inside?
Actually this is function script from cloud_br. This part of function relevant music. I am using src.music When I need to use. But I dont understand Why its happening. This error being player logon and logoff.
Code:
[FUNCTION music]
IF (<ISCHAR>)
IF (0<ISPLAYER>) && (0<ISONLINE>)
src.SENDPACKET 06D W<HVAL <ARGN1>>
ENDIF
ENDIF
|
|
07-13-2014 01:49 AM |
|
|
ograso
Journeyman
Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0
|
RE: console errors
(07-15-2014 09:16 PM)XuN Wrote: Mixing SRC calls with NO-SRC calls can give some problems, however in the default script pack there's a 'music' function already:
Code:
[FUNCTION music]
IF (<ISPLAYER>)
MIDILIST <ARGS>
ENDIF
And coruja made some changes on regions to fix some errors when calling it, so updating map files (if the problem is related to map) will also help solving this issue.
Thank you so much
|
|
07-24-2014 05:47 PM |
|
|
User(s) browsing this thread: 1 Guest(s)