Jump to content
  • 0

atcommand error


Balmung

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   2
  • Joined:  11/08/12
  • Last Seen:  

So, I know this isn't Rathena but I just cant find out what the eff is wrong. I replaced atcommand.c with the original one and it still isnt compiling. Here is the error (dunno how much of it was needed >_>''' bear with me :[)

o atcommand.c
atcommand.c:20:18: error: duel.h: No such file or directory
atcommand.c:94: error: conflicting types for âmsg_txtâ
atcommand.h:44: error: previous declaration of âmsg_txtâ was here
atcommand.c: In function âatcommand_storageâ:
atcommand.c:1151: error: âstruct <anonymous>â has no member named âvendingâ
atcommand.c:1151: error: âstruct <anonymous>â has no member named âbuyingstoreâ
atcommand.c: In function âatcommand_guildstorageâ:
atcommand.c:1178: error: âstruct <anonymous>â has no member named âvendingâ
atcommand.c:1178: error: âstruct <anonymous>â has no member named âbuyingstoreâ
atcommand.c: In function âatcommand_itemâ:
atcommand.c:1620: warning: implicit declaration of function âlog_pickâ
atcommand.c:1620: error: âLOG_TYPE_COMMANDâ undeclared (first use in this functi				 on)
atcommand.c:1620: error: (Each undeclared identifier is reported only once
atcommand.c:1620: error: for each function it appears in.)
atcommand.c: In function âatcommand_item2â:
atcommand.c:1694: error: âLOG_TYPE_COMMANDâ undeclared (first use in this functi				 on)
atcommand.c: In function âatcommand_itemresetâ:
atcommand.c:1717: error: âLOG_TYPE_COMMANDâ undeclared (first use in this functi				 on)
atcommand.c: In function âatcommand_baselevelupâ:
atcommand.c:1749: warning: implicit declaration of function âpc_gets_status_poin				 tâ
atcommand.c:1776: warning: implicit declaration of function âpc_onstatuschangedâ
atcommand.c: In function âatcommand_pvpoffâ:
atcommand.c:1954: warning: implicit declaration of function âclif_map_property_m				 apallâ
atcommand.c:1954: error: âMAPPROPERTY_NOTHINGâ undeclared (first use in this fun				 ction)
atcommand.c: In function âatcommand_pvponâ:
atcommand.c:1991: error: âMAPPROPERTY_FREEPVPZONEâ undeclared (first use in this				  function)
atcommand.c: In function âatcommand_gvgoffâ:
atcommand.c:2013: error: âMAPPROPERTY_NOTHINGâ undeclared (first use in this fun				 ction)
atcommand.c: In function âatcommand_gvgonâ:
atcommand.c:2033: error: âMAPPROPERTY_AGITZONEâ undeclared (first use in this fu				 nction)
atcommand.c: In function âatcommand_produceâ:
atcommand.c:2790: error: âLOG_TYPE_COMMANDâ undeclared (first use in this functi				 on)
atcommand.c: In function âatcommand_mapexitâ:
atcommand.c:3938: warning: implicit declaration of function âdo_shutdownâ
atcommand.c: In function âatcommand_mapinfoâ:
atcommand.c:4453: error: âstruct map_flagâ has no member named âresetâ
atcommand.c: In function âgetringâ:
atcommand.c:5844: error: âLOG_TYPE_COMMANDâ undeclared (first use in this functi				 on)
atcommand.c: In function âatcommand_autotradeâ:
atcommand.c:5970: error: âstruct <anonymous>â has no member named âvendingâ
atcommand.c:5970: error: âstruct <anonymous>â has no member named âbuyingstoreâ
atcommand.c: In function âatcommand_mapflagâ:
atcommand.c:7884: error: âMAPPROPERTY_FREEPVPZONEâ undeclared (first use in this				  function)
atcommand.c:7915: error: âMAPPROPERTY_AGITZONEâ undeclared (first use in this fu				 nction)
atcommand.c:7918: error: âMAPPROPERTY_NOTHINGâ undeclared (first use in this fun				 ction)
atcommand.c: In function âatcommand_mainâ:
atcommand.c:8372: error: âLOG_CHAT_MAINCHATâ undeclared (first use in this funct				 ion)
atcommand.c: In function âatcommand_delitemâ:
atcommand.c:8783: error: âLOG_TYPE_COMMANDâ undeclared (first use in this functi				 on)
atcommand.c: In function âatcommand_fontâ:
atcommand.c:8824: error: âstruct map_session_dataâ has no member named âuser_fon				 tâ
atcommand.c:8826: error: âstruct map_session_dataâ has no member named âuser_fon				 tâ
atcommand.c:8838: error: âstruct map_session_dataâ has no member named âuser_fon				 tâ
atcommand.c:8840: error: âstruct map_session_dataâ has no member named âuser_fon				 tâ
atcommand.c: In function âis_atcommandâ:
atcommand.c:9309: warning: passing argument 2 of âlog_atcommandâ makes pointer f				 rom integer without a cast
atcommand.c:9309: error: too many arguments to function âlog_atcommandâ
atcommand.c:9313: warning: passing argument 2 of âlog_atcommandâ makes pointer f				 rom integer without a cast
atcommand.c:9313: error: too many arguments to function âlog_atcommandâ
atcommand.c:9442:2: warning: no newline at end of file
make[1]: *** [obj_sql/atcommand.o] Error 1
make[1]: Leaving directory (REMOVED)
make: *** [map_sql] Error 2


This is my first server, first time doing anything like this. Thanks!

k a little update...i got a atcommand.c from someone else and pasted it in my atcommand.c

These are the errors i get now. much smaller.


o atcommand.c
atcommand.c: In function âatcommand_itemresetâ:
atcommand.c:1722: error: too few arguments to function âpc_delitemâ
atcommand.c: In function âatcommand_refineâ:
atcommand.c:2681: error: too few arguments to function âclif_delitemâ
atcommand.c: In function âatcommand_mapinfoâ:
atcommand.c:4354: error: âstruct map_flagâ has no member named âindoorsâ
atcommand.c: In function âatcommand_summonâ:
atcommand.c:6533: warning: implicit declaration of function âclif_misceffect2â
atcommand.c: In function âatcommand_iteminfoâ:
atcommand.c:7370: error: âstruct <anonymous>â has no member named âvalue_notdcâ
atcommand.c:7370: error: âstruct <anonymous>â has no member named âvalue_notocâ
atcommand.c: In function âatcommand_delitemâ:
atcommand.c:8470: error: too few arguments to function âpc_delitemâ
atcommand.c: In function âatcommand_fontâ:
atcommand.c:8510: warning: implicit declaration of function âclif_font_areaâ
make[1]: *** [obj_sql/atcommand.o] Error 1
make[1]: Leaving directory [REMOVED]
make: *** [map_sql] Error 2

Edited by Mysterious
Please use [codebox] for content longer than 10 lines.
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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