wafuboe
Member
- Joined
- Dec 24, 2010
- Messages
- 881
- Solutions
- 2
- Reaction score
- 22
I just recently installed this syustem to my tfs 1.3 server and by far its running ok but when i look at anything i get a double description
Example>
I made this changes in player.lua i think that i mess up i have go backwards but nothing seems to solve this.
player.lua event
replace
Code:
to
replace
to
here is my player.lua
i appreciatedyourhelp thank you!
CreatureEvent - [TFS 1.1] Ultimate item stat system (elements, skills, exp, loot and more)
Abandoned by OP, code is most likely bugged Hello OtLand. I put together four different scripts in one lib which took a lot of work to make them compatible, they work as one system now. TFS I used: 1.1 from 29 Mar 2015 No, it won't work on 1.0 No, no version for 0.2/0.3/0.4, move on already...
otland.net
Example>
I made this changes in player.lua i think that i mess up i have go backwards but nothing seems to solve this.
player.lua event
replace
Code:
Code:
function Player:onLook(thing, position, distance)
local description = "You see " .. thing:getDescription(distance)
Code:
function Player:onLook(thing, position, distance)
local description = "You see " .. thing:getDescription(distance)
description = stat_onLook(thing, description)
replace
Code:
function Player:onLookInTrade(partner, item, distance)
self:sendTextMessage(MESSAGE_INFO_DESCR, "You see " .. item:getDescription(distance))
end
to
Code:
function Player:onLookInTrade(partner, item, distance)
local description = item:getDescription(distance)
description = stat_onLook(item, description)
self:sendTextMessage(MESSAGE_INFO_DESCR, "You see " .. description)
end
here is my player.lua
-- Internal UseSTONE_SKIN_AMULET = 2197GOLD_POUNCH = 26377ITEM_STORE_INBOX - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
i appreciatedyourhelp thank you!