Forum

> > CS2D > Scripts > Tibia error : monsters don't die
Forums overviewCS2D overview Scripts overviewLog in to reply

English Tibia error : monsters don't die

9 replies
To the start Previous 1 Next To the start

old Re: Tibia error : monsters don't die

MikuAuahDark
User Off Offline

Quote
then you may need to add this somewhere before the tibia lua

1
2
3
4
5
6
7
hudtxtalphafade=hudtxtalphafade or function(pl,id,ms,a)
	pl=pl or 0
	id=id or 0
	ms=ms or 0
	a=a or 1
	parse("hudtxtalphafade "..pl.." "..id.." "..ms.." "..a)
end
Reason: because i see from the error
1
LUA ERROR: sys/lua/cs2dtibia/monsters.lua:766: attempt to call global 'hudtxtalphafade' (a nil value)
it trying to call a function 'hudtxtalphafade' which does not exist. mosty can be caused by modified wrapper.lua
edited 1×, last 20.08.13 12:02:46 am

old Re: Tibia error : monsters don't die

JamesBondBR
BANNED Off Offline

Quote
In the console, he is saying that the error in this folder monsters.lua

I do not know where is the error, but this in that folder.

monsters.lua >


@user MikuAuahDark: where should I add it?

old Re: Tibia error : monsters don't die

MikuAuahDark
User Off Offline

Quote
try to add it after this
1
2
3
Monster = {name = 'Monster', health = 100, image = 'gfx/weiwen/circle.png', scalex = 1, scaley = 1, atk = 1, def = 1, spd = 5, x = 0, y = 0, ang = 0, imgang = 0, exp = 5, money = 50, type = 'monster', loot = {}}
MONSTERS = {}
local t = 0

old Re: Tibia error : monsters don't die

Varna97
User Off Offline

Quote
i know why monsters dont die:
1) did you put wrapper.lua in sys/lua? [-Yes-] - No
2) did you deleted some commands ? [-Yes-] - No
i think you deleted hudtxt or something like this
thats why your tibia dont work
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview