TShock 3.4.5.0106

Discussion in 'TShock & API Releases and Announcements' started by nicatronTg, Jan 6, 2012.

Thread Status:
Not open for further replies.
  1. Folko New Member

    Very funny, but I do this befor I write post and it is dont work. People can enter to server with dynamite and use it without kicks or bans. I think this solution dont work. Please, help again =)

    UPD: OMG, items MUST write inside ""! omg, sorry with "" all work, thanks. First I write /additem Dynamite and all dont work =)
  2. Natrim Plugin Developer

    Yes, when you set region protected, only the players that can build in it can change the sign text.
  3. prefix New Member

    I have the same error(Altso using server-side inventory) thought maybe it was griefers stealing beds and knocking down doors too.

    2012-01-09 02:04:14 - TSPlayer: ERROR: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at Terraria.NetMessage.SendData(Int32 msgType, Int32 remoteClient, Int32 ignoreClient, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
    at TShockAPI.TSPlayer.SendData(PacketTypes msgType, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)


    Altso,

    Terrariaserver.exe crashed for me today, No message in ErrorLog.txt or in CrashLog.txt

    This is cut out from my server log from when it happened;

    Code:
    2012-01-10 14:57:39 - TShock: INFO: Broadcast: (Nick removed): :(
     
    2012-01-10 14:58:35 - StatTracker: INFO: Stat Tracker: Check-in succeeded.
     
    2012-01-10 15:00:31 - TShock: INFO: TShock was improperly shut down. Please avoid this in the future, world corruption may result from this.
     
    2012-01-10 15:00:31 - TShock: INFO: TerrariaShock Version 3.4.5.106 (This code is a mess) now running.
     
    2012-01-10 15:00:31 - TShock: INFO: AutoSave Enabled
     
    2012-01-10 15:00:31 - TShock: INFO: Backups Disabled
     
    2012-01-10 15:00:55 - StatTracker: INFO: Stat Tracker: Check-in succeeded.


    OH,

    And sometimes players get Invalid User Account Password in server console, but it tells them that they are already on the server, even though the server list says 0/22, once i type kick nick it kicks them but for some reason the nick doesnt show up in the list.

    Copies from Log.txt at the time of the event;

    Code:
    2012-01-10 15:29:11 - Utils: INFO: Broadcast: Fretz left
     
    2012-01-10 15:29:11 - Action`1: INFO: Fretz left.
     
    2012-01-10 15:29:15 - Utils: INFO: Broadcast: Fretz left
     
    2012-01-10 15:29:15 - Action`1: INFO: Fretz left.
     
    2012-01-10 15:29:18 - Utils: INFO: Broadcast: Fretz left
     
    2012-01-10 15:29:18 - Action`1: INFO: Fretz left.
     
    2012-01-10 15:29:23 - Utils: INFO: Broadcast: Fretz left
     
    2012-01-10 15:29:23 - Action`1: INFO: Fretz left.
     
    2012-01-10 15:29:26 - Utils: INFO: ipremoved was force kicked for : Invalid user account password.
     
    2012-01-10 15:29:26 - Action`1: INFO: LavaEpic left.
     
    2012-01-10 15:29:39 - GetDataHandlers: INFO: fretzp (removed) from 'guest' group joined. (0/22)
     
    2012-01-10 15:29:39 - Utils: INFO: Broadcast: fretzp has joined
     
    2012-01-10 15:29:39 - GetDataHandlers: INFO: fretzp has joined. IP: removed
     
    2012-01-10 15:30:01 - TShock: INFO: Broadcast: fretzp: says already on server
     
    2012-01-10 15:30:04 - Commands: INFO: Server executed: /kick Fretz
     
    2012-01-10 15:30:04 - Utils: INFO: Broadcast: Fretz left
     
    2012-01-10 15:30:04 - Action`1: INFO: Fretz left.
     
    2012-01-10 15:30:04 - TShock: WARNING: This is a normal exception
     
    2012-01-10 15:30:04 - TShock: WARNING: System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
     
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
     
    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
     
    --- End of inner exception stack trace ---
     
    at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
     
    at TShockAPI.TShock.SendBytesBufferless(ServerSock client, Byte[] bytes)




    After this he was able to join normally.



    These errors show up repeatedly in my Log.txt;

    Code:
    2012-01-10 06:11:02 - StatTracker: ERROR: System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
      at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
      at System.Net.WebClient.DownloadString(Uri address)
      at System.Net.WebClient.DownloadString(String address)
      at TShockAPI.StatTracker.CallHome(Object state)
    2012-01-10 06:11:15 - TSPlayer: ERROR: System.IndexOutOfRangeException: Index was outside the bounds of the array.
      at Terraria.Tile.get_active()
      at Terraria.NetMessage.SendData(Int32 msgType, Int32 remoteClient, Int32 ignoreClient, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
      at TShockAPI.TSPlayer.SendData(PacketTypes msgType, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
      at TShockAPI.TSPlayer.SendTileSquare(Int32 x, Int32 y, Int32 size)
    2012-01-10 06:11:23 - TShock: INFO: Broadcast: Carnathian: wtf
    2012-01-10 06:11:33 - TShock: INFO: Broadcast: Carnathian: it sent me to spawn
  4. Pydy New Member

  5. Olink TShock Developer

    /warp command do work, or should we use full sentences, and correct english and say,

    "/warp command does not work for me. Let me grab you the logs. Also let me tell you what permissions were set up and if other commands such as /region worked as well."
  6. asnman Member

    Warps work, just some places it may not like, at least from my experience, it did work fine in previous version, may have to do with map generation? Gonna try generating a map with new server and see.
  7. prefix New Member

    If you haven't already, delete the database ( tshock.sqlite ) and restart the server, if you just upgraded and didnt delete your entire installation, your old warps may still be stored.

    Any error in your console would help :)



    warps work fine here.

    You could altso delete the warps ingame using /delwarp <warpname> if you know the name of your old warps (if that indeed is your problem)

    Default configuration of tShock will allow all users in default group to use the warp command, otherwise you might need to add it to your guest group too.

    If you are more advanced you could edit the database and remove all the warps instead of making a completely new database.
  8. Olink TShock Developer

    Why would old warps break?
  9. prefix New Member

    Maybe he used the old database with a new world and somehow it's trying to send him to a tile that doesnt exist?

    More likely though he's using default permissions and guest group doesn't have permissions to use the warp command :p
  10. Olink TShock Developer

    Well yes, if you make a new world, the warps from the old world are gonna break.
  11. asnman Member

    Ive tried everything from new maps to fresh server, I always move my house in with tedit though and I used to be able to warp inside my home but now it wont work. I kept experimenting by setting and delwarps as i moved around in the house until one finally worked but it was outside the house past the doors. Console shows no error, only that i executed warp, warps work fine outside my home and everywhere so far so I think something is broken with my base :(
  12. prefix New Member

    Noobs might not understand this and just "upgrade" by putting the files into the right folders and start their servers again..


    BTW. "KickProxyUsers": true, doesn't work at all.. it doesnt do anything for me..

    Biggest issue atm is my bans doesn't stick because it's easy to change your ip..

    GIEF Auth servers for Terraria :p
  13. prefix New Member

    Take a backup for tshock.sqlite , delete it, make a new world, and try making new warps.

    It's working smoothly here.

    Maybe you should try a completely fresh install of tShock (in a new folder)
  14. Olink TShock Developer

    Someone was working on a proxy plugin, our proxy just uses geoip( you might have to enable that too :D )
  15. asnman Member

    Yea thats what I did, completely fresh tshock in separate folder separate database and all.
  16. Olink TShock Developer

    You make a new map, new database, and tedit your house in, then create a warp, and teleporting to it doesnt work?
  17. asnman Member

    Yea, its so weird cause warps work fine outside the house, I thought maybe its placement of it being in the sky so I moved it underground, same issue, another weird thing is after moving the house underground, the original warp in the sky where the house was originally works but setting a new warp inside the house it doesnt work. So weird.

    Wait I found something in the log!

    2012-01-11 10:20:29 - Commands: INFO: Guy executed: /warp lol2
    2012-01-11 10:20:29 - TSPlayer: ERROR: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at Terraria.NetMessage.SendData(Int32 msgType, Int32 remoteClient, Int32 ignoreClient, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
    at TShockAPI.TSPlayer.SendData(PacketTypes msgType, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
    at TShockAPI.TSPlayer.SendTileSquare(Int32 x, Int32 y, Int32 size)
  18. Olink TShock Developer

    Interesting, Ill add it to the list, thanks for getting a log capture!
  19. prefix New Member

    "EnableGeoIP": true, :p

    It's on.

    I can't see where my users are from either, used to be able to do that.

    Maybe i'm missing something.
  20. Olink TShock Developer

    geoip.dat in the tshock folder?

    ( would be impressed if half our features dont even work :D )
Thread Status:
Not open for further replies.

Share This Page