Forum

> > CS2D > General > New Version Error (map function in wrapper.lua)
Forums overviewCS2D overviewGeneral overviewLog in to reply

English New Version Error (map function in wrapper.lua)

6 replies
To the start Previous 1 Next To the start

old New Version Error (map function in wrapper.lua)

buraxia3
User Off Offline

Quote
Hi guys,i tried to open tibia in new version of cs2d(1.1.9) but it gives that error
Spoiler >

how can i fix it? I changed files 2 times but its not worked

old Re: New Version Error (map function in wrapper.lua)

DannyDeth
User Off Offline

Quote
This wouldn't be CS2DTibia's problem. It would be your code.
Go to server.lua and on line 20 you will find a for loop. It might looks something like this:
1
2
3
for i=1,123,x do
... More Code ...
end
What happens is that x is NOT a numerical data type ( not a number ). It might be a string or an array. Just check it out.

Then the first bit where it says:
1
LOAD MAPÇ 'maps/ysize.map' does not exist
It is because the map does not exist. Talk about explaining the obvious!

old Re: New Version Error (map function in wrapper.lua)

Bobakrome
User Off Offline

Quote
man man, calm down, just delete everything in wrapper and copy this :
Spoiler >

old Another Tibia Problem / Error

Xej
User Off Offline

Quote
I fixed the wrapper bug in my Tibia but now i have another problem that I'm stuck on and you gotta believe me, i couldn't find any solution to this by searching through the forums:

This shows up everytime i re-spawn from death.
IMG:https://i54.tinypic.com/2d6w6tw.jpg


*
Only thing i've noticed for a while is that my Tibia works perfectly fine if i don't enable 'monsters.lua' but i can't find anything wrong with it, i need you guys to help me please.

Long-ass lua Script [Warning]
Spoiler >


Yell at me if u want
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview