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

Printer's Showcase, script releases and script requests!

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,780
Solutions
31
Reaction score
2,299
Location
Sweden?
Hello,

in this page i will accept request for cool systems that i will make and release and also showcase. First one i made, to start this thread :)

I will not make any personal codes for your server. I will make codes which are intressting. So don't request any tibia quests and etc... Also don't ask for codes, from my old projects.

Remember i will make like a jump section, so you will find the script easily in this theard. All scripts will not be posted on the first post, it will be posted on the comments, thats why i will make links to the pages.

FAST ACCESS THE SCRIPTS:
[Hide from enemy code]: http://otland.net/threads/printers-showcase-and-script-releases.225290/#post-2167910
-----------------------------------------

Cheers everyone. Let the requests start!
 
Code:
local condition = Condition(CONDITION_OUTFIT, CONDITIONID_COMBAT)
local time = 12

function Player.hideFromEnemy(self, itemEx)
    local targetItem = Item(itemEx.uid)
    if not targetItem:isItem() then
        return false
    end

    self:setHiddenHealth(true)
    condition:setOutfit(targetItem:getId())
    condition:setTicks(time * 1000)
    self:addCondition(condition)

    addEvent(function(cid)
        local player = Player(cid)
        if not player then
            return
        end

        player:removeCondition(CONDITION_OUTFIT, CONDITIONID_COMBAT)
        player:setHiddenHealth(false)
    end, time * 1000, self:getId())
end

function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey)
    player:hideFromEnemy(itemEx)
    return true
end

LxWWSrns12.gif
 
Nice ^^

How about a crafting system? No one has released a tfs 1.x crafting system yet that I have seen. To be more specific, I mean a system that is made to be customized by others here on Otland. So in other words configuration and user friendliness being the focus, without lose of functionality.

Something where all the person had to do would be to add new items to a table, in the table the key would be the item id that would be used as the id of the newly created item. For the value's you could have the required items and count for making the item, and any attributes the newly created item would have, such as armor, attack, defense, ect. If you really wanted to, you could also add in functions for making the newly created item able to apply conditions to the player, for speed, or regain or w/e.
 
Nice ^^

How about a crafting system? No one has released a tfs 1.x crafting system yet that I have seen. To be more specific, I mean a system that is made to be customized by others here on Otland. So in other words configuration and user friendliness being the focus, without lose of functionality.

Something where all the person had to do would be to add new items to a table, in the table the key would be the item id that would be used as the id of the newly created item. For the value's you could have the required items and count for making the item, and any attributes the newly created item would have, such as armor, attack, defense, ect. If you really wanted to, you could also add in functions for making the newly created item able to apply conditions to the player, for speed, or regain or w/e.
I have a crafting system for 1.x and I think that I could release it if someone makes the professions/recipes and stuff like that. My imagination isn't that good.

@OnTopic: I like the script you did, but sadly is for all the spectators so it could be annoying for your healer lol... Still, I think that I'm gonna use it :p
Pd: Your gif isn't showing.
 
I have a crafting system for 1.x and I think that I could release it if someone makes the professions/recipes and stuff like that. My imagination isn't that good.

@OnTopic: I like the script you did, but sadly is for all the spectators so it could be annoying for your healer lol... Still, I think that I'm gonna use it :p
Pd: Your gif isn't showing.

That would be awesome, I was going to try to work on a crafting system when I finished some other projects I have in progress. Releasing it I think would be awesome. I know I would find it useful, and as for professions I already have them made for my server, and ideas for recipes.

@OnTopic if colors releases crafting for everyone then another idea would be a reflection or absorption system for items that integrates into onHealthChange, or something. Or another idea that is possible, weapon leveling system. Everything you need is there, the only thing that you would need to do, is make it only possible for something that is not writable and take advantage of the attribute text (which doesn't show up in description :D) to make it possible....
 
Back
Top