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

Rune fusion for old 7.6 tibia

HorosCopio

Member
Joined
May 4, 2013
Messages
8
Reaction score
5
Hello friends,

I have come across with a little problem which I don't seem to be able to solve on myself, and I have now searched a resolution for a long time.... but I'm giving up, so maybe you guys can help me.

I'm working on a 7.6 tibia server and in that version when creating runes or buying them, they are sold in stacks of 1 and each has 1 charges. Now the problem is that for 20 runes of one type, you need a full backpack to bring them all, and it's annoying to have to carry arround so many backpacks, and also they weight too much this way.

My question is: is there a talkaction or any sort of command or feature which I can put into the server so that by right clicking one rune, you can fuse it into another one, and so on until 100 charges?

That way the players could bring 100 runes in just one stack.

I would really appreciate the help,

regards.

:)
 
Solution
Hello friends,

I have come across with a little problem which I don't seem to be able to solve on myself, and I have now searched a resolution for a long time.... but I'm giving up, so maybe you guys can help me.

I'm working on a 7.6 tibia server and in that version when creating runes or buying them, they are sold in stacks of 1 and each has 1 charges. Now the problem is that for 20 runes of one type, you need a full backpack to bring them all, and it's annoying to have to carry arround so many backpacks, and also they weight too much this way.

My question is: is there a talkaction or any sort of command or feature which I can put into the server so that by right clicking one rune, you can fuse it into another one, and so on...
Hello friends,

I have come across with a little problem which I don't seem to be able to solve on myself, and I have now searched a resolution for a long time.... but I'm giving up, so maybe you guys can help me.

I'm working on a 7.6 tibia server and in that version when creating runes or buying them, they are sold in stacks of 1 and each has 1 charges. Now the problem is that for 20 runes of one type, you need a full backpack to bring them all, and it's annoying to have to carry arround so many backpacks, and also they weight too much this way.

My question is: is there a talkaction or any sort of command or feature which I can put into the server so that by right clicking one rune, you can fuse it into another one, and so on until 100 charges?

That way the players could bring 100 runes in just one stack.

I would really appreciate the help,

regards.

:)
I remember this feature wayback, but then you did put the runes on 2 counters and pulled a lever.
So its possible, what server are you using?

I did actually think about this feature recently aswell :)

Here is a basic talkaction script i made for TFS 0.3.6 not sure if your server can handle it but its a good start atleast.
And could also be edited to use mana and soul points and such.
You have to put 2 of the same runes in right and left hand and then say the word "exevo miscere" to fuse the runes (miscere, is latin for combine)

runefuse.lua
Lua:
local runes = {2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, 2275, 2276, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316}
function onSay(cid, words, param, channel)
   local leftHand = getPlayerSlotItem(cid, CONST_SLOT_LEFT)
   local rightHand = getPlayerSlotItem(cid, CONST_SLOT_RIGHT)

   if (leftHand.itemid == rightHand.itemid and isInArray(runes, leftHand.itemid) and isInArray(runes, rightHand.itemid)) then
       local newCharges = leftHand.type + rightHand.type
       if (newCharges <= ITEMCOUNT_MAX) then
           doTransformItem(leftHand.uid, leftHand.itemid, newCharges)
           doRemoveItem(rightHand.uid)
           doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE)
       else
           newCharges = newCharges - ITEMCOUNT_MAX
           doTransformItem(leftHand.uid, leftHand.itemid, ITEMCOUNT_MAX)
           doTransformItem(rightHand.uid, rightHand.itemid, newCharges)
           doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE)
       end
       doCreatureSay(cid, words, TALKTYPE_SAY)
   else
       doPlayerSendCancel(cid, "Sorry, you need to equip two of the same runes.")
       doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
   end

   return true
end

inside talkactions.xml add this
XML:
<talkaction words="exevo miscere" filter="word-spaced" event="script" value="runefuse.lua"/>
 
Last edited:
Solution
I remember this feature wayback, but then you did put the runes on 2 counters and pulled a lever.
So its possible, what server are you using?

I did actually think about this feature recently aswell :)

Here is a basic talkaction script i made for TFS 0.3.6 not sure if your server can handle it but its a good start atleast.
And could also be edited to use mana and soul points and such.
You have to put 2 of the same runes in right and left hand and then say the word "exevo miscere" to fuse the runes (miscere, is latin for combine)

runefuse.lua
Lua:
function onSay(cid, words, param, channel)
    local runes = {2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, 2275, 2276, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316}
    local leftHand = getPlayerSlotItem(cid, CONST_SLOT_LEFT)
    local rightHand = getPlayerSlotItem(cid, CONST_SLOT_RIGHT)
 
    if (leftHand.itemid == rightHand.itemid and isInArray(runes, leftHand.itemid) and isInArray(runes, rightHand.itemid)) then
        local newCharges = leftHand.type + rightHand.type
        if (newCharges <= 100) then
            doTransformItem(leftHand.uid, leftHand.itemid, newCharges)
            doRemoveItem(rightHand.uid)
            doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE)
        else
            doPlayerSendCancel(cid, "Sorry, your runes contains to much charges.")
            doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
        end
    else
        doPlayerSendCancel(cid, "Sorry, you need to equip two of the same runes.")
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
    end
 
    return true
end

inside talkactions.xml add this
XML:
<talkaction words="exevo miscere" filter="word-spaced" event="script" value="runefuse.lua"/>

hey mumm,

thanks for your aweseome help, it indeed worked!!!
It's not exactly what I was searching since I would prefer, since for players its easier to fuse runes with 2 clicks, by right clicking one and left clicking on the other, and make the fuse process happen, but this is nearly the same and is awesome, thank you so much!

:) <3
 
hey mumm,

thanks for your aweseome help, it indeed worked!!!
It's not exactly what I was searching since I would prefer, since for players its easier to fuse runes with 2 clicks, by right clicking one and left clicking on the other, and make the fuse process happen, but this is nearly the same and is awesome, thank you so much!

:) <3
Well i just made a simple script, we can always change it to an action script instead.

Edit:
I did make an action script but that did break the runes, it would not be possible to shot the runes from a distance.
So you would have to use it as an talkaction, or make it like it used to be as i remember it.
Whit two counters and a lever, but i would recomend the talkaction method instead since then players dont have to walk to the fuse station

Edit2:
I did update the talkaction script to make it possible to fuse runes if thay would have more charges than 100, so one rune would be 100 and the rest of the charges would still be on the rune in the right hand
 
Last edited:
Yes, I completely agree that the counter + lever options is much more annoying, and I definetly think this is the best way to solve this.

I have been playing on OT servers where they implemented the fuse system through right + left click on runes, but I never found out how the script worked :(

Thank you very much for the update!
You are insane and your helps is very much appreciated!
 
Yes, I completely agree that the counter + lever options is much more annoying, and I definetly think this is the best way to solve this.

I have been playing on OT servers where they implemented the fuse system through right + left click on runes, but I never found out how the script worked :(

Thank you very much for the update!
You are insane and your helps is very much appreciated!
Well i got it to work but it did break the runes, im sure its possible to solve it but im to lazy :p
It might be different on an other server engine than mine aswell, so it might just be on my server distribution it break the runes due to how action scripts are executed. I had to stay 1 sqm from the monster to use the runes else it would just send an cancel msg that said "Too far away."
 
It's fine I can understand. I, myself, don't understand anything about scripting, I'm just able to copy some ideas of some general scripts and stuff, but really I don't understand them...

Anyways don't worry I will be using this script as its very very useful already.


Thanks again!
 
Back
Top