Hello.
TFS 1.0 edited by EvilHero90
When I try to look at any item in NPC shop it makes the server crash.
in events.xml lookinshop value is 1
<event class="Player" method="onLookInShop" enabled="1"/>
in player.lua:
I also had:
but I don't remember which one was first in this custom version of tfs
I searched the Internet for the solution, the only topic I found was report on github which gave me the answer of user: "Solved. It was because of change I made"
So I have no freakin idea what is causing the problem. It is really confusing.
I hope anyone knows how to deal with it.
TFS 1.0 edited by EvilHero90
When I try to look at any item in NPC shop it makes the server crash.
in events.xml lookinshop value is 1
<event class="Player" method="onLookInShop" enabled="1"/>
in player.lua:
Code:
function Player:onLookInShop(itemType, count)
return true
end
Code:
function Player:onLookInShop(itemType, count)
self:sendTextMessage(MESSAGE_INFO_DESCR, "You see " .. item:getDescription(distance))
end
but I don't remember which one was first in this custom version of tfs
I searched the Internet for the solution, the only topic I found was report on github which gave me the answer of user: "Solved. It was because of change I made"
So I have no freakin idea what is causing the problem. It is really confusing.
I hope anyone knows how to deal with it.