Forum

> > CS2D > Scripts > Tibia error : monsters don't die
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Tibia error : monsters don't die

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Tibia error : monsters don't die

MikuAuahDark
User Off Offline

Zitieren
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
1× editiert, zuletzt 20.08.13 00:02:46

alt Re: Tibia error : monsters don't die

JamesBondBR
BANNED Off Offline

Zitieren
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?

alt Re: Tibia error : monsters don't die

MikuAuahDark
User Off Offline

Zitieren
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

alt Re: Tibia error : monsters don't die

Varna97
User Off Offline

Zitieren
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht