Forum

> > CS2D > Scripts > LUA wont work
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch LUA wont work

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt LUA wont work

Xanamaros
User Off Offline

Zitieren
Hi guys, I recently tried making my own Tibia server, and it doesn't start the tibia scripts.
I have done everything correctly, (the mp_luaserver is set to server.lua) which then should start the script, but it doesn't, but when I try it with another script, like SuperHero, or something like that, it works.

Can someone please tell me where I'm going wrong?

alt Re: LUA wont work

Xanamaros
User Off Offline

Zitieren
It just comes up with a dark blue background when I put it in Deathmatch mode, and there isn't anything happening at all in any other mode.
1× editiert, zuletzt 09.06.11 11:43:17

alt Re: LUA wont work

DC
Admin Off Offline

Zitieren
ever tried opening the console and taking a look at the error output that you get there?!

alt Re: LUA wont work

kalis
User Off Offline

Zitieren
i can help every one
but dont help you
haha
and you dont give the erorr
you cant fix it !
clashr!

Admin/Mod Kommentar

6h tempban for this crap dude...

alt Re: LUA wont work

palomino
User Off Offline

Zitieren
user kalis hat geschrieben
i can help every one
but dont help you
haha
and you dont give the erorr
you cant fix it !
clashr!

Fuck off, kid.

Admin/Mod Kommentar

3h tempban for poinless flaming...

alt Re: LUA wont work

Kirby7
User Off Offline

Zitieren
i would try to delete the map function in the wrapper.lua
because the tibia script tries to get map values via map("value") but due to the map function in the wrapper.lua it tries to change the map.

alt Re: LUA wont work

Glix
User Off Offline

Zitieren
try use old wrapper.lua on 0.1.1.8 CS2D. I think the problem is same what i have times ago (1monthXD) console say some error with y.mapsize or something like that. (anyway did you know most cs2d users hate tibiaXD)

alt Re: LUA wont work

DC
Admin Off Offline

Zitieren
it's sufficient to remove the map function from sys/lua/wrapper.lua. I accidentally added it to the wrapper which leads to compatibility problems with the Lua map command (which is then overwritten by the wrapper).

alt Re: LUA wont work

Xanamaros
User Off Offline

Zitieren
Thanks guys, I did that, but another problem occurred in console, it came up with "LUA ERROR: sys/lua/cs2dtibia/npcs.lua:427: attempt to index field '?' (a nil value)"
So I checked line 427 for a '?' and there wasn't any '?'.
Just a tad confusing
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht