• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

[C++] Auto attack system

Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Member
Nov
Threads
0
8
0
1
View attachment 1686

Download

[Hidden content]
The following error occurs:

# gmake default linking ../game.... ld: error: undefined symbol: do_otomatikav_komut1(CHARACTER*, char const*, int, int) >>> referenced by cmd.cpp >>> OBJDIR/cmd.o:(cmd_info) ld: error: undefined symbol: do_otomatikav_komut2(CHARACTER*, char const*, int, int) >>> referenced by cmd.cpp >>> OBJDIR/cmd.o:(cmd_info) clang++: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:111: ../game] Error 1

In cmd.cpp I put:

// otomatikav ACMD(do_event_flag); ACMD(do_otomatikav_komut1); ACMD(do_otomatikav_komut2); // end otomatikav

before

struct command_info cmd_info[] =

and I put it below

// otomatikav { "gskillup", do_guildskillup, 0,POS_DEAD, GM_PLAYER}, { "otomatikav_komut1", do_otomatikav_komut1, 0, POS_DEAD,GM_PLAYER}, { "otomatikav_komut2", do_otomatikav_komut2, 0, POS_DEAD,GM_PLAYER}, // end otomatikav

above at

{ "\n", NULL, 0, POS_DEAD, GM_IMPLEMENTOR }

What should I do in your opinion?
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock