• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Library Function

Sir Gabriiel

New Member
Joined
Mar 24, 2012
Messages
88
Reaction score
2
I need library for fuction "doGuildAddEnemy" for data/libs/050-function
to fix this error

[19:6:25.482] [Error - TalkAction Interface]
[19:6:25.482] data/talkactions/scripts/war.luanSay
[19:6:25.482] Description:
[19:6:25.482] data/talkactions/scripts/war.lua:70: attempt to call global 'doGuildAddEnemy' (a nil value)
[19:6:25.482] stack traceback:
[19:6:25.482] data/talkactions/scripts/war.lua:70: in function <data/talkactions/scripts/war.lua:1>
 
You need to add War Parameters before compiling which is:
Code:
D__WAR_SYSTEM__


If you are missing the lib file add:

101-war.lua
Lua:
WARINFO_GUILD = 0
WARINFO_ENEMY = 1
WARINFO_LIMIT = 2
 
You need to add War Parameters before compiling which is:
Code:
D__WAR_SYSTEM__


If you are missing the lib file add:

101-war.lua
Lua:
WARINFO_GUILD = 0
WARINFO_ENEMY = 1
WARINFO_LIMIT = 2

My 101-war.lua
Code:
WAR_GUILD = 0
WAR_ENEMY = 1

and in configure.ac

Code:
OPTIONAL_FLAGS="-D__WAR_SYSTEM__"

This correct?

- - - Updated - - -

Please closed...

Solved :D
 
Back
Top