Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.41k stars 377 forks source link

No warps, no regions defined. #1280

Closed Creepernoop closed 8 years ago

Creepernoop commented 8 years ago

It says this: [Server API] Warning Plugin "TShock" has had an unhandled exception thrown by one of its GamePostInitialize handlers: System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Convert.ToInt32(String value) at TShockAPI.TShock.OnPostInit(EventArgs args) at TerrariaApi.Server.HandlerCollection`1.Invoke(ArgsType args)

Im using TShock 4.3.17.0 Please help. It is ruining my server.

tlworks commented 8 years ago

And what exactly are you trying to do? What commands were executed?

Creepernoop commented 8 years ago

nothing. i just started the server and showed this

tlworks commented 8 years ago

Are you running MySQL or SQLite? Are you sure your DB is running and contains all required tables?

tlworks commented 8 years ago

According to System.OverflowException: Value was either too large or too small for an Int32. a Value is either too small or too big, which is probably a value defined in your config or your DB.

Creepernoop commented 8 years ago

what is mysql and sqlite oh i will verify the config

Creepernoop commented 8 years ago

i have sqlite 3

tlworks commented 8 years ago

By default a TShock Terraria Server runs on SQLite database, larger Servers often use MySQL or other supported DB's.

Creepernoop commented 8 years ago

oh done. I had MaxHP at 10000 =D

QuiCM commented 8 years ago

Please delete your authcode.txt

Creepernoop commented 8 years ago

it isn't fixed

tlworks commented 8 years ago

Please consider elaborating on your actions, as posts simply containing 'it isn't fixed' doesn't help neither of us.

Creepernoop commented 8 years ago

Oh ok. I must delete a plugin? These are my plugins: http://image.prntscr.com/image/b9cdade25e6c4987a0bf85aa3b684f58.png

Zaicon commented 8 years ago

Please try deleting your 'authcode.txt' file and restart the server.

Creepernoop commented 8 years ago

Sure.I deleted the auth code. Now the logs are clear and no errors. Thanks a lot.