Jump to content

Achievement System


Jonne

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

It does not work anymore with the latest rAthena version and I don't have the time to update it. If you know your stuff, you can use it, else it is not worth the effort. MOD can close this or move to archive. Sorry about that, but I don't provide support for it anymore.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  01/21/12
  • Last Seen:  

src/map/Makefile.in

Add achievement.o in MAP_OBJ

Add achievement.h in MAP_H

I did this but still it gives me this error


obj_sql/map.o: In function `do_final':
/opt/3ceamV1/src/map/map.c:3665: undefined reference to `do_final_achievement'
obj_sql/map.o: In function `do_init':
/opt/3ceamV1/src/map/map.c:3904: undefined reference to `do_init_achievement'
obj_sql/clif.o: In function `clif_parse_LoadEndAck':
/opt/3ceamV1/src/map/clif.c:9087: undefined reference to `achievement_update_explore'
obj_sql/pc.o: In function `pc_authok':
/opt/3ceamV1/src/map/pc.c:1197: undefined reference to `achievement_loadTracker'
obj_sql/pc.o: In function `pc_useitem':
/opt/3ceamV1/src/map/pc.c:4162: undefined reference to `achievement_update_itemuse'
obj_sql/pc.o: In function `pc_additem':
/opt/3ceamV1/src/map/pc.c:3720: undefined reference to `achievement_update_itemfind'
obj_sql/mob.o: In function `mob_dead':
/opt/3ceamV1/src/map/mob.c:2050: undefined reference to `achievement_update_mob'
obj_sql/script.o: In function `buildin_getachievementcutin':
/opt/3ceamV1/src/map/script.c:15154: undefined reference to `achievement_exists'
obj_sql/script.o: In function `buildin_achieve':
/opt/3ceamV1/src/map/script.c:15131: undefined reference to `achievement_exists'
/opt/3ceamV1/src/map/script.c:15143: undefined reference to `achievement_achieve'
obj_sql/script.o: In function `buildin_getachievementname':
/opt/3ceamV1/src/map/script.c:15099: undefined reference to `achievement_exists'
obj_sql/script.o: In function `buildin_getachievementinfo':
/opt/3ceamV1/src/map/script.c:15047: undefined reference to `achievement_exists'
/opt/3ceamV1/src/map/script.c:15081: undefined reference to `achievement_searchTrackerIndex'
obj_sql/atcommand.o: In function `atcommand_achieve':
/opt/3ceamV1/src/map/atcommand.c:9285: undefined reference to `achievement_exists'
/opt/3ceamV1/src/map/atcommand.c:9298: undefined reference to `achievement_achieve'
obj_sql/atcommand.o: In function `atcommand_reloadachievement':
/opt/3ceamV1/src/map/atcommand.c:9259: undefined reference to `reload_achievementDB'
obj_sql/quest.o: In function `quest_update_status':
/opt/3ceamV1/src/map/quest.c:254: undefined reference to `achievement_update_quest'
collect2: ld returned 1 exit status
make[1]: *** [map-server_sql] Error 1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  02/14/12
  • Last Seen:  

Hi

Somebody that could help patching the files?

Thanks in advance

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

src/map/Makefile.in

Add achievement.o in MAP_OBJ

Add achievement.h in MAP_H

I did this but still it gives me this error


obj_sql/map.o: In function `do_final':
/opt/3ceamV1/src/map/map.c:3665: undefined reference to `do_final_achievement'
obj_sql/map.o: In function `do_init':
/opt/3ceamV1/src/map/map.c:3904: undefined reference to `do_init_achievement'
obj_sql/clif.o: In function `clif_parse_LoadEndAck':
/opt/3ceamV1/src/map/clif.c:9087: undefined reference to `achievement_update_explore'
obj_sql/pc.o: In function `pc_authok':
/opt/3ceamV1/src/map/pc.c:1197: undefined reference to `achievement_loadTracker'
obj_sql/pc.o: In function `pc_useitem':
/opt/3ceamV1/src/map/pc.c:4162: undefined reference to `achievement_update_itemuse'
obj_sql/pc.o: In function `pc_additem':
/opt/3ceamV1/src/map/pc.c:3720: undefined reference to `achievement_update_itemfind'
obj_sql/mob.o: In function `mob_dead':
/opt/3ceamV1/src/map/mob.c:2050: undefined reference to `achievement_update_mob'
obj_sql/script.o: In function `buildin_getachievementcutin':
/opt/3ceamV1/src/map/script.c:15154: undefined reference to `achievement_exists'
obj_sql/script.o: In function `buildin_achieve':
/opt/3ceamV1/src/map/script.c:15131: undefined reference to `achievement_exists'
/opt/3ceamV1/src/map/script.c:15143: undefined reference to `achievement_achieve'
obj_sql/script.o: In function `buildin_getachievementname':
/opt/3ceamV1/src/map/script.c:15099: undefined reference to `achievement_exists'
obj_sql/script.o: In function `buildin_getachievementinfo':
/opt/3ceamV1/src/map/script.c:15047: undefined reference to `achievement_exists'
/opt/3ceamV1/src/map/script.c:15081: undefined reference to `achievement_searchTrackerIndex'
obj_sql/atcommand.o: In function `atcommand_achieve':
/opt/3ceamV1/src/map/atcommand.c:9285: undefined reference to `achievement_exists'
/opt/3ceamV1/src/map/atcommand.c:9298: undefined reference to `achievement_achieve'
obj_sql/atcommand.o: In function `atcommand_reloadachievement':
/opt/3ceamV1/src/map/atcommand.c:9259: undefined reference to `reload_achievementDB'
obj_sql/quest.o: In function `quest_update_status':
/opt/3ceamV1/src/map/quest.c:254: undefined reference to `achievement_update_quest'
collect2: ld returned 1 exit status
make[1]: *** [map-server_sql] Error 1

You are using 3CeAM. I'm not sure whether this is compatible at all.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  01/21/12
  • Last Seen:  

well that's a really really sad part there. Maybe when I learn on source modification I can fix this someday. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  251
  • Reputation:   20
  • Joined:  12/22/11
  • Last Seen:  

it would be nice if u make a patch for rAthena Trunk 15625

:)

btw thanks

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   6
  • Joined:  12/23/11
  • Last Seen:  

Hey nice system i want to use it but im using eathena 14870 is it compatible?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

Error 1 error LNK2019: unresolved external symbol _achievement_update_explore referenced in function _clif_parse_LoadEndAck clif.obj map-server_sql
Error 2 error LNK2019: unresolved external symbol _do_final_achievement referenced in function _do_final map.obj map-server_sql
Error 3 error LNK2019: unresolved external symbol _do_init_achievement referenced in function _do_init map.obj map-server_sql
Error 4 error LNK2019: unresolved external symbol _achievement_update_mob referenced in function _mob_dead mob.obj map-server_sql
Error 5 error LNK2019: unresolved external symbol _achievement_loadTracker referenced in function _pc_authok pc.obj map-server_sql
Error 6 error LNK2019: unresolved external symbol _achievement_update_itemfind referenced in function _pc_additem pc.obj map-server_sql
Error 7 error LNK2019: unresolved external symbol _achievement_update_itemuse referenced in function _pc_useitem pc.obj map-server_sql
Error 8 error LNK2019: unresolved external symbol _achievement_update_quest referenced in function _quest_update_status quest.obj map-server_sql
Error 9 error LNK2019: unresolved external symbol _achievement_searchTrackerIndex referenced in function _buildin_getachievementinfo script.obj map-server_sql
Error 10 error LNK2019: unresolved external symbol _achievement_exists referenced in function _buildin_getachievementinfo script.obj map-server_sql
Error 11 error LNK2019: unresolved external symbol _achievement_achieve referenced in function _buildin_achieve script.obj map-server_sql
Error 12 fatal error LNK1120: 11 unresolved externals ..map-server_sql.exe map-server_sql

Is there have a solution?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

Error 1 error LNK2019: unresolved external symbol _achievement_update_explore referenced in function _clif_parse_LoadEndAck clif.obj map-server_sql
Error 2 error LNK2019: unresolved external symbol _do_final_achievement referenced in function _do_final map.obj map-server_sql
Error 3 error LNK2019: unresolved external symbol _do_init_achievement referenced in function _do_init map.obj map-server_sql
Error 4 error LNK2019: unresolved external symbol _achievement_update_mob referenced in function _mob_dead mob.obj map-server_sql
Error 5 error LNK2019: unresolved external symbol _achievement_loadTracker referenced in function _pc_authok pc.obj map-server_sql
Error 6 error LNK2019: unresolved external symbol _achievement_update_itemfind referenced in function _pc_additem pc.obj map-server_sql
Error 7 error LNK2019: unresolved external symbol _achievement_update_itemuse referenced in function _pc_useitem pc.obj map-server_sql
Error 8 error LNK2019: unresolved external symbol _achievement_update_quest referenced in function _quest_update_status quest.obj map-server_sql
Error 9 error LNK2019: unresolved external symbol _achievement_searchTrackerIndex referenced in function _buildin_getachievementinfo script.obj map-server_sql
Error 10 error LNK2019: unresolved external symbol _achievement_exists referenced in function _buildin_getachievementinfo script.obj map-server_sql
Error 11 error LNK2019: unresolved external symbol _achievement_achieve referenced in function _buildin_achieve script.obj map-server_sql
Error 12 fatal error LNK1120: 11 unresolved externals ..map-server_sql.exe map-server_sql

Is there have a solution?

Add to Makefile or your VS C++ Project.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

prontera,137,148,0 script test 910,{

atcommand "@kick "+ strcharinfo(0);

}

100% crashing the map server.

using this script NPC Kick.

Edited by solid2005
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   1
  • Joined:  12/07/11
  • Last Seen:  

how i can see my title before the pseudo ? :)

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

NVM. it's glitch.

Edited by solid2005
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

i dont realy get how to do this...

and pls give us the bmp file /no1

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   7
  • Joined:  04/13/12
  • Last Seen:  

is this compatible in eAthena?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Error Help:

achievement.c: In function âachievement_update_mobâ:
achievement.c:623: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type
achievement.c: In function âachievement_update_mob_subâ:
achievement.c:641: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type
achievement.c: In function âachievement_update_itemfindâ:
achievement.c:654: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type
achievement.c: In function âachievement_update_itemuseâ:
achievement.c:665: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type
achievement.c: In function âachievement_update_exploreâ:
achievement.c:676: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type
achievement.c: In function âachievement_update_questâ:
achievement.c:687: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type
achievement.c: In function âachievement_loadDBâ:
achievement.c:1330: warning: passing argument 2 of âachievementDB->foreachâ from incompatible pointer type

Any Idea how to fix it?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

static int achievement_update_sub( DBKey key, DBData *data, va_list ap )

{

struct achievement_data *ad = ( struct achievement_data *) db_data2ptr(data);

And...

static int achievement_count_special_sub( DBKey key, DBData *data, va_list ap )

{

struct achievement_data *ad = ( struct achievement_data *) db_data2ptr(data);

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Thanks!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  231
  • Reputation:   24
  • Joined:  12/18/11
  • Last Seen:  

atcommand.obj : error LNK2001: unresolved external symbol _achievement_exists

atcommand.obj : error LNK2001: unresolved external symbol _reload_achievementDB

atcommand.obj : error LNK2001: unresolved external symbol _achievement_achieve

clif.obj : error LNK2001: unresolved external symbol _achievement_update_explore

map.obj : error LNK2001: unresolved external symbol _do_init_achievement

map.obj : error LNK2001: unresolved external symbol _do_final_achievement

mob.obj : error LNK2001: unresolved external symbol _achievement_update_mob

pc.obj : error LNK2001: unresolved external symbol _achievement_update_itemuse

pc.obj : error LNK2001: unresolved external symbol _achievement_loadTracker

pc.obj : error LNK2001: unresolved external symbol _achievement_update_itemfind

quest.obj : error LNK2001: unresolved external symbol _achievement_update_quest

script.obj : error LNK2001: unresolved external symbol _achievement_searchTrackerIndex

..map-server_sql.exe : fatal error LNK1120: 12 unresolved externals

is anyone of people using this solve this problem plss help me i want this system

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Apply Patch Properly,

As I think, This problem is caused because there is no


#ifndef TXT_ONLY
#include "achievement.h"
#endif

In atcommand,clif,map,mob,pc,quest,script.c

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  12/21/11
  • Last Seen:  

is work on eAthena?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  231
  • Reputation:   24
  • Joined:  12/18/11
  • Last Seen:  

this source edit is working on eAthena but not rAthena compatible a few edit of the source codes and viola

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/06/12
  • Last Seen:  

Hy guys i just wanna ask somthing

why this happen to my server

gcc -DHAVE_CONFIG_H -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -c -o obj_sql/script.o script.c
script.c:51:23: error: elemental.h: No such file or directory
script.c: In function âparse_variableâ:
script.c:1096: error: âC_ADD_PPâ undeclared (first use in this function)
script.c:1096: error: (Each undeclared identifier is reported only once
script.c:1096: error: for each function it appears in.)
script.c:1097: error: âC_SUB_PPâ undeclared (first use in this function)
script.c:1178: error: âC_REFâ undeclared (first use in this function)
script.c: In function âparse_syntaxâ:
script.c:1603: warning: implicit declaration of function â__64BPRTSIZEâ
script.c:1828: warning: implicit declaration of function âstrdb_iputâ
script.c: In function âparse_scriptâ:
script.c:2462: warning: assignment from incompatible pointer type
script.c: In function âget_valâ:
script.c:2542: warning: pointer type mismatch in conditional expression
script.c:2551: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2551: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2607: warning: pointer type mismatch in conditional expression
script.c:2609: warning: implicit declaration of function âidb_igetâ
script.c:2616: error: âstruct s_instanceâ has no member named âvarsâ
script.c: In function âset_regâ:
script.c:2668: warning: pointer type mismatch in conditional expression
script.c:2677: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2677: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2678: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2678: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2715: warning: pointer type mismatch in conditional expression
script.c:2719: warning: implicit declaration of function âidb_iputâ
script.c:2725: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2725: error: âstruct s_instanceâ has no member named âvarsâ
script.c:2727: error: âstruct s_instanceâ has no member named âvarsâ
script.c: In function âpush_val2â:
script.c:2860: warning: assignment from incompatible pointer type
script.c: In function âpush_retinfoâ:
script.c:2884: warning: assignment from incompatible pointer type
script.c: In function âpush_copyâ:
script.c:2909: warning: passing argument 4 of âpush_val2â from incompatible pointer type
script.c:2854: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: At top level:
script.c:2970: error: conflicting types for âscript_free_varsâ
script.h:164: note: previous declaration of âscript_free_varsâ was here
script.c: In function âscript_free_codeâ:
script.c:2980: warning: passing argument 1 of âscript_free_varsâ from incompatible pointer type
script.c:2970: note: expected âstruct DBMap *â but argument is of type âstruct linkdb_node *â
script.c: In function âscript_alloc_stateâ:
script.c:3001: warning: assignment from incompatible pointer type
script.c: In function âscript_free_stateâ:
script.c:3023: warning: passing argument 1 of âscript_free_varsâ from incompatible pointer type
script.c:2970: note: expected âstruct DBMap *â but argument is of type âstruct linkdb_node **â
script.c: In function âop_2â:
script.c:3223: error: âstruct script_stateâ has no member named âop2refâ
script.c:3228: error: âstruct script_stateâ has no member named âop2refâ
script.c: In function ârun_funcâ:
script.c:3479: warning: passing argument 1 of âscript_free_varsâ from incompatible pointer type
script.c:2970: note: expected âstruct DBMap *â but argument is of type âstruct linkdb_node **â
script.c: In function ârun_script_mainâ:
script.c:3703: error: âstruct script_stateâ has no member named âfreeloopâ
script.c:3711: error: âC_REFâ undeclared (first use in this function)
script.c:3712: error: âstruct script_stateâ has no member named âop2refâ
script.c:3755: error: âstruct script_stateâ has no member named âfreeloopâ
script.c: At top level:
script.c:3858: error: expected declaration specifiers or â...â before âDBDataâ
script.c: In function âdb_script_free_code_subâ:
script.c:3860: warning: implicit declaration of function âdb_data2ptrâ
script.c:3860: error: âdataâ undeclared (first use in this function)
script.c: In function âdo_final_scriptâ:
script.c:4019: warning: passing argument 2 of âuserfunc_db->destroyâ from incompatible pointer type
script.c:4019: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  char *)â
script.c:4020: warning: passing argument 2 of âautobonus_db->destroyâ from incompatible pointer type
script.c:4020: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  char *)â
script.c: In function âscript_reloadâ:
script.c:4053: warning: passing argument 2 of âuserfunc_db->clearâ from incompatible pointer type
script.c:4053: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  char *)â
script.c: In function âbuildin_callfuncâ:
script.c:4503: warning: pointer type mismatch in conditional expression
script.c:4505: warning: assignment from incompatible pointer type
script.c:4522: warning: assignment from incompatible pointer type
script.c: In function âbuildin_callsubâ:
script.c:4553: warning: assignment from incompatible pointer type
script.c:4555: warning: assignment from incompatible pointer type
script.c:4571: warning: assignment from incompatible pointer type
script.c: In function âbuildin_returnâ:
script.c:4626: warning: comparison of distinct pointer types lacks a cast
script.c: In function âbuildin_inputâ:
script.c:5111: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5117: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_setâ:
script.c:5194: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5196: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_setarrayâ:
script.c:5284: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5289: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_cleararrayâ:
script.c:5345: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_copyarrayâ:
script.c:5420: warning: passing argument 3 of âget_val2â from incompatible pointer type
script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5421: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5431: warning: passing argument 3 of âget_val2â from incompatible pointer type
script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5432: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5436: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_getarraysizeâ:
script.c:5472: warning: passing argument 5 of âgetarraysizeâ from incompatible pointer type
script.c:5209: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_deletearrayâ:
script.c:5533: warning: passing argument 3 of âget_val2â from incompatible pointer type
script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5534: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5543: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:5548: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_getelementofarrayâ:
script.c:5595: warning: passing argument 4 of âpush_val2â from incompatible pointer type
script.c:2854: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_getitemâ:
script.c:5939: error: too many arguments to function âpc_additemâ
script.c: In function âbuildin_getitem2â:
script.c:6037: error: too many arguments to function âpc_additemâ
script.c: In function âbuildin_rentitemâ:
script.c:6100: error: too many arguments to function âpc_additemâ
script.c: In function âbuildin_getnameditemâ:
script.c:6169: error: too many arguments to function âpc_additemâ
script.c: In function âbuildin_delitem_deleteâ:
script.c:6264: error: too many arguments to function âpc_delitemâ
script.c: In function âbuildin_getequippercentrefineryâ:
script.c:7161: warning: implicit declaration of function âstatus_get_refine_chanceâ
script.c: In function âbuildin_successrefitemâ:
script.c:7187: warning: implicit declaration of function âlog_pick_pcâ
script.c: In function âbuildin_failedrefitemâ:
script.c:7243: error: too many arguments to function âpc_delitemâ
script.c: In function âbuildin_bonusâ:
script.c:7357: error: âSP_SP_RATE_SKILLâ undeclared (first use in this function)
script.c:7358: error: âSP_SKILL_COOLDOWNâ undeclared (first use in this function)
script.c:7359: error: âSP_SKILL_FIXEDCASTâ undeclared (first use in this function)
script.c:7360: error: âSP_SKILL_VARIABLECASTâ undeclared (first use in this function)
script.c: In function âbuildin_getgmlevelâ:
script.c:7664: warning: implicit declaration of function âpc_get_group_levelâ
script.c: In function âbuildin_getgroupidâ:
script.c:7679: warning: implicit declaration of function âpc_get_group_idâ
script.c: In function âbuildin_checkridingâ:
script.c:7897: warning: implicit declaration of function âpc_isridingwugâ
script.c:7897: warning: implicit declaration of function âpc_isridingdragonâ
script.c: In function âbuildin_checkwugâ:
script.c:7938: warning: implicit declaration of function âpc_iswugâ
script.c: In function âbuildin_checkmadogearâ:
script.c:7958: warning: implicit declaration of function âpc_ismadogearâ
script.c: In function âbuildin_setmadogearâ:
script.c:7982: warning: implicit declaration of function âpc_setmadogearâ
script.c: In function âbuildin_produceâ:
script.c:8180: error: too many arguments to function âclif_skill_produce_mix_listâ
script.c: In function âbuildin_cookingâ:
script.c:8196: error: too many arguments to function âclif_cooking_listâ
script.c: In function âbuildin_getusersnameâ:
script.c:9112: warning: implicit declaration of function âpc_has_permissionâ
script.c:9112: error: âPC_PERM_HIDE_SESSIONâ undeclared (first use in this function)
script.c: In function âbuildin_successremovecardsâ:
script.c:10687: error: too many arguments to function âpc_additemâ
script.c:10706: error: too many arguments to function âpc_delitemâ
script.c:10707: error: too many arguments to function âpc_additemâ
script.c: In function âbuildin_failedremovecardsâ:
script.c:10756: error: too many arguments to function âpc_additemâ
script.c:10767: error: too many arguments to function âpc_delitemâ
script.c:10780: error: too many arguments to function âpc_delitemâ
script.c:10782: error: too many arguments to function âpc_additemâ
script.c: In function âbuildin_clearitemâ:
script.c:11463: error: too many arguments to function âpc_delitemâ
script.c: In function âbuildin_getmapxyâ:
script.c:12468: error: âTBL_PCâ has no member named âedâ
script.c:12469: error: âTBL_PCâ has no member named âedâ
script.c:12494: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:12505: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:12516: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_isequippedâ:
script.c:12663: error: âTBL_PCâ has no member named âbonusâ
script.c:12664: error: âTBL_PCâ has no member named âbonusâ
script.c:12698: error: âTBL_PCâ has no member named âbonusâ
script.c:12698: error: âTBL_PCâ has no member named âbonusâ
script.c:12705: error: âTBL_PCâ has no member named âbonusâ
script.c:12707: error: âTBL_PCâ has no member named âbonusâ
script.c:12720: error: âTBL_PCâ has no member named âbonusâ
script.c:12721: error: âTBL_PCâ has no member named âbonusâ
script.c: In function âbuildin_explodeâ:
script.c:13148: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:13157: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_implodeâ:
script.c:13214: warning: passing argument 5 of âgetarraysizeâ from incompatible pointer type
script.c:5209: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:13223: warning: passing argument 3 of âget_val2â from incompatible pointer type
script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:13238: warning: passing argument 3 of âget_val2â from incompatible pointer type
script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:13248: warning: passing argument 3 of âget_val2â from incompatible pointer type
script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_sscanfâ:
script.c:13472: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:13477: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_query_sql_subâ:
script.c:13931: warning: passing argument 6 of âsetd_subâ from incompatible pointer type
script.c:2741: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c:13933: warning: passing argument 6 of âsetd_subâ from incompatible pointer type
script.c:2741: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_callshopâ:
script.c:14051: error: âstruct <anonymous>â has no member named âcallshopâ
script.c: In function âbuildin_searchitemâ:
script.c:14407: warning: passing argument 6 of âset_regâ from incompatible pointer type
script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_getvariableofnpcâ:
script.c:14944: warning: passing argument 4 of âpush_val2â from incompatible pointer type
script.c:2854: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
script.c: In function âbuildin_makeruneâ:
script.c:16170: error: too many arguments to function âclif_skill_produce_mix_listâ
script.c: In function âbuildin_setdragonâ:
script.c:16203: error: âMAPID_THIRDMASKâ undeclared (first use in this function)
script.c:16203: error: âMAPID_RUNE_KNIGHTâ undeclared (first use in this function)
script.c: In function âbuildin_ismountingâ:
script.c:16233: error: âOPTION_MOUNTINGâ undeclared (first use in this function)
script.c: In function âbuildin_setmountingâ:
script.c:16253: error: âOPTION_MOUNTINGâ undeclared (first use in this function)
script.c: In function âbuildin_freeloopâ:
script.c:16311: error: âstruct script_stateâ has no member named âfreeloopâ
script.c:16313: error: âstruct script_stateâ has no member named âfreeloopâ
script.c:16315: error: âstruct script_stateâ has no member named âfreeloopâ
make[1]: *** [obj_sql/script.o] Error 1
make[1]: Leaving directory `/home/distro/trunk/src/map'
make: *** [map_sql] Error 2

Somebody help me plz

Edited by Emistry
Please use [CODEBOX] for long contents
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   1
  • Joined:  08/08/12
  • Last Seen:  

this source edit is working on eAthena but not rAthena compatible a few edit of the source codes and viola

So, maybe someone did this source code changes? Saw your topic, you have exactly the same problem as I do...

And this problem was solved here by putting achievements.c and achievements.h into makefine.in, but it doesn't made sense in my case... Dunno what to do, but seems like this source edit is way cool and I totally want to get it work with rAthena... and I realy want to implement this system to my server. People will love it, I have few great ideas for the achievement system... Tryed to use another one, but there's a system based on the NPC functions, and doesn't look safe and bugless :/

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   2
  • Joined:  10/17/12
  • Last Seen:  

Well Guys/Girls Those .patch file work really fine latest rAthena?

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