Jump to content

.c Utility Scripts


Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   7
  • Joined:  06/23/14
  • Last Seen:  

Hello mga sir/mam

Saan iniinstall mga .c utility scripts? I was trying to install this: https://rathena.org/board/topic/126669-utility-compendium/?tab=comments#comment-397115

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   7
  • Joined:  06/23/14
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  22
  • Reputation:   1
  • Joined:  06/21/20
  • Last Seen:  

9 minutes ago, Snaehild said:

The same error as the last posts on the post.

strnpcnfo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   7
  • Joined:  06/23/14
  • Last Seen:  

11 minutes ago, xVaan said:

strnpcnfo

Sorry, what do you mean?

Here's line 23

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

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  145
  • Reputation:   36
  • Joined:  05/15/20
  • Last Seen:  

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

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

×
×
  • Create New...