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? try use old wrapper.lua on 0.1.1.8 CS2D 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
DC Admin Offline
ever tried opening the console and taking a look at the error output that you get there?! 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... 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... 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. 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) DC Admin Offline
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). 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