Jump to content
Sign in to follow this  
Snaehild

.c Utility Scripts

Recommended Posts

the script will be read as text no matter what is the extension ,just in the script config put .c instead of .txt

if you have tested it before you post the question , i think you could have saved too much time!

Share this post


Link to post
Share on other sites
4 hours ago, sader1992 said:

the script will be read as text no matter what is the extension ,just in the script config put .c instead of .txt

if you have tested it before you post the question , i think you could have saved too much time!

Hi @sader1992

Thank you for the response.

I did test it. I probably just didn't notice the error

script error on npc/custom/*/Compendium1.1.c line 23
    parse_line: expected ';'
    22 : {
*   23 :        doevent strnpcnfo'('0) + "::OnCompendium";
    24 :        end;
    25 :
    26 : OnInit:
    27 :        //== General Data ==|
    28 :        .compendium_id = 30580;
[Info]: Done loading '20980' NPCs:

The same error as the last posts on the post.

Share this post


Link to post
Share on other sites
9 minutes ago, Snaehild said:

The same error as the last posts on the post.

strnpcnfo

Share this post


Link to post
Share on other sites
11 minutes ago, xVaan said:
strnpcnfo

Sorry, what do you mean?

Here's line 23

doevent strnpcnfo(0) + "::OnCompendium";

 

Share this post


Link to post
Share on other sites
On 5/22/2021 at 6:40 AM, Snaehild said:

Sorry, what do you mean?

Here's line 23

doevent strnpcnfo(0) + "::OnCompendium";

 

it should be strnpcinfo not strnpcnfo

Share this post


Link to post
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
Reply to this topic...

×   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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.