Jump to content
  • 0

Unexpected new line @ string [map-serv error]


ran0120

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.04
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/18/23
  • Last Seen:  

Just want to ask why I'm getting this error in this script:

 

Quote

bonus2 bSkillDelay,"CG_TAROTCARD",-600;

 

The error on the map server says unexpected new line @ string. Anyone knows how to fix this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  236
  • Reputation:   87
  • Joined:  06/30/18
  • Last Seen:  

Hello,

I put your script into an item on my server and I don't get that error.
It seems like the error message and the script you provided aren't related.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.04
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/18/23
  • Last Seen:  

2 hours ago, Winterfox said:

Hello,

I put your script into an item on my server and I don't get that error.
It seems like the error message and the script you provided aren't related.

 

Attached is the error message. I just don't know what's causing the issue as well. Really weird as I'm following the exact format as shown in the item_bonus.txt from the docs folder.

 

What's funny is that the same error appears on a duplicate item without the script from the original item.

 

*EDIT: Stupid me. The problem is not with the script but for the one above it. bonus2 bSkillCooldown,"DC_SCREAM,-2000; without the closing ".

 

RESOLVED. thank you.

 

1.jpg

Edited by ran0120
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...