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

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

Is your data pack up to date? aside from your npc scripts etc..
Because according to the data pack on github your code should execute properly.

Can you explain more "pack up to date" please :), i have compiled thru the guides in the thread and put the npcs files into data/npcs
If both of these conditions is false it returns false and the else statement executes
Code:
if getPlayerMoney(cid) >= price or isPlayerVip(cid) == TRUE then
    if isPlayerVip(cid) == TRUE then
        selfSay('Set the sails!')
        doTeleportThing(cid, town_boat)
        doSendMagicEffect(getCreaturePosition(cid), 10)
        talk_state = 0
    else
        selfSay('Set the sails!')
        doPlayerRemoveMoney(cid, price)
        doTeleportThing(cid, town_boat)
        doSendMagicEffect(getCreaturePosition(cid), 10)
        talk_state = 0
    end
else
    npcHandler:say('You don\'t have enough money.')
    talk_state = 0
end

So should i replace TRUE with FALSE or what? :p iam kinda new to scripting.

Kinds Regards.
 
Download the latest datapack
https://github.com/TwistedScorpio/OTHire

Remove every instance from your script(s) == TRUE and == FALSE
Because true does not equal TRUE, nor does false equal to FALSE

After i changed the data folder the npcs do remove my money but i dont recieve any item when im trying to buy from example frodo :

Lua Script Error: [Npc interface]
data/npc/scripts/Frodo.lua:eek:nCreatureSay

LuaScriptInterface::luaDoCreateItem(). Item not found

Lua Script Error: [Npc interface]
data/npc/scripts/Frodo.lua:eek:nCreatureSay

LuaScriptInterface::luaDoPlayerAddItem(). Item not found

Lua Script Error: [Npc interface]
data/npc/scripts/Frodo.lua:eek:nCreatureSay

LuaScriptInterface::luaDoCreateItem(). Item not found

Kind regards.
 
I cannot find any edit buttom, EDITET :

Lua Script Error: [Npc interface]
data/npc/scripts/Frodo.lua: onCreatureSay

LuaScriptInterface::luaDoCreateItem(). Item not found

Lua Script Error: [Npc interface]
data/npc/scripts/Frodo.lua :eek:nCreatureSay

LuaScriptInterface::luaDoPlayerAddItem(). Item not found

Lua Script Error: [Npc interface]
data/npc/scripts/Frodo.lua :eek:nCreatureSay

LuaScriptInterface::luaDoCreateItem(). Item not found
 
Or picking up stackable items.

Look at the code, not hard to understand, you need the updater part that send your new cap to the client.
But with the released stackable codes this doesn't exist within them so you need to add it yourself.
Whenever a stackable function is called, have it end everything with updating the characters stats and you'll be fine.
 
I have a problem while starting the server, I am constantly getting OTMB Loader errors with skulls, gold coins etc. on the map. The ID's of those items DO exist in items.xml, what is the issue?
 
I have a problem while starting the server, I am constantly getting OTMB Loader errors with skulls, gold coins etc. on the map. The ID's of those items DO exist in items.xml, what is the issue?

Can you post the error message?
 
Can you post the error message?
Item 2666 = meat....
aa8vo3.jpg


Will be glad with any help received
 
Back
Top