• 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!

condition bug?

rudger

Active Member
Joined
Oct 1, 2010
Messages
251
Solutions
1
Reaction score
32
Location
The Netherlands
I'm using otx 2, (tfs 0.4) client 8.6 and I'm having the following issue:

When I do in login.lua:

Lua:
    local condd = createConditionObject(CONDITION_HASTE)
    setConditionParam(condd, CONDITION_PARAM_TICKS, -1)

or any other condition, I'm getting condition poison.
Anyone knows why it doesn't recognize the condition?
 
Solution
I'm using otx 2, (tfs 0.4) client 8.6 and I'm having the following issue:

When I do in login.lua:

Lua:
    local condd = createConditionObject(CONDITION_HASTE)
    setConditionParam(condd, CONDITION_PARAM_TICKS, -1)

or any other condition, I'm getting condition poison.
Anyone knows why it doesn't recognize the condition?

You need to set the speed value aswell;
Lua:
setConditionParam(condd, CONDITION_PARAM_SPEED, 10)

My guess is that it's related to OTX, give the same code a try on a default 0.4 server and see if it works or not.
I guess they could have changed the variables, but why xD
I'm using otx 2, (tfs 0.4) client 8.6 and I'm having the following issue:

When I do in login.lua:

Lua:
    local condd = createConditionObject(CONDITION_HASTE)
    setConditionParam(condd, CONDITION_PARAM_TICKS, -1)

or any other condition, I'm getting condition poison.
Anyone knows why it doesn't recognize the condition?

You need to set the speed value aswell;
Lua:
setConditionParam(condd, CONDITION_PARAM_SPEED, 10)

My guess is that it's related to OTX, give the same code a try on a default 0.4 server and see if it works or not.
I guess they could have changed the variables, but why xD
 
Solution
Back
Top