Jump to content
  • 0

agit_template.txt -Urgent !


WhatFT

Question


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I Need help in this WoE =( My Main Script doesn't work...

Loading NPC file: npc/guild/agit_template.txt
script error on npc/guild/agit_template.txt line 957
   parse_callfunc: expected ')' to close argument list
  952 :					    }
  953 :					    break;
  954 :			    case 2:
  955 :					    // Unofficial, but since it's already been in eA											  for ages
  956 :					    // and used, I can't exactly remove it, now, can											  I? >
*  957 :					    if(guildopenstorage('0') == 1){
  958 :							    mes "[Kafra Employee]";
  959 :							    mes "I'm sorry but another guild member											  is using the guild storage";
  960 :							    mes "right now.  Please wait until that											  person is finished.";
  961 :							    close2;
  962 :							    cutin "", 255;

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

1. We don't have an agit_template.txt in /npc/guild/

2. guildopenstorage() does not expect an argument -> if(guildopenstorage() == 1){

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I don't know how to fix this =( I'm using eAthena right now..

What will I change or remove?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

Change:

if(guildopenstorage(0) == 1){

To:

if(guildopenstorage() == 1){

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Will this one work? Cause my NPCs won't show last time.. Even EMP and the Agit Keeper ( Harvester )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

I don't know if this is the only error in your script...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

It works now. Thanks Kenpachi

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