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

Search results

  1. Aleada

    Solved [1.0] function onAddItem (cid)

    Thank you both for helping! Sorry I didn't see your message before I solved it :/ This is what the finished product looks like though if anyone else wants to learn off of it: function Player:onMoveItem(item, count, fromPosition, toPosition) local pos = { [40002] = {x = 549, y = 1496, z =...
  2. Aleada

    Solved Updating to 1.0

    If anyone was curious I figured out the "doSteerCreature" script (however it walks on non-walkable tiles :p): function onThink(cid) local creature = Creature("Farmer's Son") local ladder_pos, npc_pos = {x = 522, y = 1542, z = 11}, creature:getPosition() if npc_pos.x > ladder_pos.x then...
  3. Aleada

    Solved [1.0] function onAddItem (cid)

    @Summ Hey I've been messing with it a little while but I'm not sure if I'm doing it right.. This is what I've wrote so far but I don't think it's picking up the Unique ID of the tile :/ function Player:onMoveItem(item, count, fromPosition, toPosition) local pos = { [40002] = {x = 549, y =...
  4. Aleada

    Solved [1.0] function onAddItem (cid)

    Heya everyone, I'm wondering if there is any (cid) function in LUA that targets a specific player, not everyone online... If that makes sense xd but also, I'm using TFS 1.0. For example: function onAddItem(moveitem, tileitem, position) You can't include , cid I've found this code on the...
  5. Aleada

    Logout Error

    From your console it looks like: creaturescripts/scripts/war/logout.lua
  6. Aleada

    Open ports

    Is your "IPv4 Address" the same as your "local IP"? For example: you have your local IP set to: 192.168.1.136 Is that what your "IPv4 Address" is? (In your CMD after you type /ipconfig)
  7. Aleada

    Bot Paralyze Punisher (Issue)

    Try looking in your creaturescripts folder (Not 100% sure though) :P
  8. Aleada

    Solved Updating to 1.0

    I've been having some troubles updating my scripts from 0.4 to 1.0.. I've updated about 3/4 of them but some are giving me troubles.. For example, "doSteerCreature" doesn't exist in 1.0. For example: This is my 0.4 "doSteerCreature" script: function onThink() local NW = {x = 521, y = 1541, z =...
  9. Aleada

    Lua TFS 1.0 NPC's

    Thank you but I just edited the npchandler.lua (ungreet function) to: function NpcHandler:unGreet(cid) if not self:isFocused(cid) then return end local callback = self:getCallback(CALLBACK_FAREWELL) if callback == nil or callback() then...
  10. Aleada

    Lua TFS 1.0 NPC's

    Yeah, it just says: "Goodbye, |PLAYERNAME|" then :/ elseif msgcontains(msg, "bye") then if getPlayerStorageValue(cid, storage) <= 0 then npcHandler:say("After you help Lt. Evan, I'll need your help.", cid) elseif getPlayerStorageValue(cid, storage) == 1 then...
  11. Aleada

    Lua TFS 1.0 NPC's

    No problem :p But hey btw, about the releasefocus, is there anyway to get rid of the "Goodbye, |PLAYERNAME|" when I want it to use a special Farewell? This is what it looks like: 16:15 Justin [8]: bye 16:15 Carpenter Todd: Just ask me for a mission when you're ready. 16:15 Carpenter Todd: Good...
  12. Aleada

    Lua TFS 1.0 NPC's

    Nevermind.. I figured it out.. it was in the function "local function onReleaseFocus(cid)" I had "return true" ... I guess you're not supposed to have that? ------ Thank you for helping though!
  13. Aleada

    Lua TFS 1.0 NPC's

    Still doesn't work :/ Maybe I messed up in another part of the NPC script.. I posted the full script of one of the NPC's above (Lt. Evan)
  14. Aleada

    Lua TFS 1.0 NPC's

    Heya everyone, I'm trying to make NPC's that interact differently based on certain attributes. This is the code I have so far: Lt. Evan (FULL): local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local storage =...
  15. Aleada

    Solved addEvent troubles

    Thank you so much!
  16. Aleada

    Solved addEvent troubles

    Heya, I recently tried making a "woodcutting" script for a quest but I ran into a problem where if you cut down 2 trees, then only 1 will spawn back because the position is getting replaced each time.. I tried using tables but I couldn't figure it out :/ Anyone got any ideas? function...
  17. Aleada

    Lua Afk Status

    Yeah that's the one I'm trying to base it off of just re-write it but with the "addevent" I couldn't get it to pass the "words/param" over :/ ------------ Edit -------------- Woot! Thank you! I figured it out! :D Here's the code if anyone wants to use it :) local interval = 5 local array = {}...
  18. Aleada

    Lua Afk Status

    Heya everyone, I'm trying to make a script that indicates you're afk when you declare it. It will also show the message you want to display every interval on the specified time: function onSay(cid, words, param, channel) local interval = 5 local words = "" local pos = getPlayerPosition(cid)...
  19. Aleada

    PHP Paygol

    Heya everyone, I'm trying to add Paygol on Znote AAC but I keep getting this error: If anyone has encountered this problem and has found a solution, any help would be greatly appreciated! :D Thanks in advance!
  20. Aleada

    Character List Issue

    I think you want it to be false with Znote AAC if you're using 0.2, I personally don't like 0.2 haha :P That's the only thing I've ran into though :/ Maybe someone with more knowledge will be able to help you more :p
Back
Top