• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Complaint Can't post anything in the tools board

Ezzz

Developer of Nostalrius and The Violet Project
Joined
Feb 26, 2010
Messages
2,006
Solutions
3
Reaction score
835
Location
Europe
Sup,

I already tryed to post 3x tools in the Tools board, the first one Quest NPC Maker which was really great and usefull, the last one was a NPC Creator which supports the conversations, shop, & boat modules to be in the script.lua.

However, a moderator is not allowing them for unknown reason. Even got an answer of why, i haven't got any notification or anything...Just the things empty.

<_< Can somebody please explain me, why aren't them allowed?. My NPC Creator is great for those that wants to make quest npcs...

Sample:
Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- Topic
local talkState = {}

function onCreatureAppear(cid)              npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid)           npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)      npcHandler:onCreatureSay(cid, type, msg) end
function onPlayerEndTrade(cid)              npcHandler:onPlayerEndTrade(cid) end
function onPlayerCloseChannel(cid)          npcHandler:onPlayerCloseChannel(cid) end
function onThink()                          npcHandler:onThink() end

-- Boat --
local travelNode = keywordHandler:addKeyword({"1}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "Do you want to travel to 1 for 1 gold coins?"})
    travelNode:addChildKeyword({"yes"}, StdModule.travel, {npcHandler = npcHandler, premium = false, level = 0, cost = 1, destination = {x=1, y=1, z=1} })
    travelNode:addChildKeyword({"no"}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = "I wouldn't go there either."})

-- Shop --
local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)

shopModule:addBuyableItem({'1'}, 1, 1, '1')
shopModule:addSellableItem({'1'}, 1, 1, '1')

-- Talk modules
function creatureSayCallback(cid, type, msg)
    if(not npcHandler:isFocused(cid)) then
        return false
    end


    local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid
    if(msgcontains(msg, "1")) then
     selfSay("1", cid)

    end

    return true
end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
 
Yes, it needs to be approved. Unfortunately the download link is not available at the moment so you have to send me a another link where I can download and check it.
 
Yes, i know it needs to be approved. It's been 24 hours now and no answer... Xenios i'll send you a PM with the link right?. Same thing happend to my other tools, the link is still working, with 0 downloads because a mod erased it.
 
Back
Top