Forum

> > CS2D > Scripts > LUA wont work
Forums overviewCS2D overview Scripts overviewLog in to reply

English LUA wont work

9 replies
To the start Previous 1 Next To the start

old LUA wont work

Xanamaros
User Off Offline

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

old Re: LUA wont work

Xanamaros
User Off Offline

Quote
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.
edited 1×, last 09.06.11 11:43:17 am

old Re: LUA wont work

DC
Admin Off Offline

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

old Re: LUA wont work

kalis
User Off Offline

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

Admin/mod comment

6h tempban for this crap dude...

old Re: LUA wont work

palomino
User Off Offline

Quote
user kalis has written
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 comment

3h tempban for poinless flaming...

old Re: LUA wont work

Kirby7
User Off Offline

Quote
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.

old Re: LUA wont work

Glix
User Off Offline

Quote
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)

old Re: LUA wont work

DC
Admin Off Offline

Quote
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).

old Re: LUA wont work

Xanamaros
User Off Offline

Quote
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview