1

Topic: [Help] How to find size of maps on the server source code?

hi

I'm editing teeworlds source code for create a mode.
but i have a problem.
when my player position is out of the map my server was crashed.
how i can find the size of maps in source code.
My target file is character.cpp to does a boundary on players.
Is another option to automatic  kill these players?

please help me
thx

How i can?
I don't know!
Persian Client [https://www.teeworlds.com/forum/viewtopic.php?id=10991]

2

Re: [Help] How to find size of maps on the server source code?

Hi

void CGameContext::OnInit(/*class IKernel *pKernel*/)

take a look into for-loop there^^

#yemDX is a known troll

3

Re: [Help] How to find size of maps on the server source code?

thanks a lot

How i can?
I don't know!
Persian Client [https://www.teeworlds.com/forum/viewtopic.php?id=10991]