Quick questions thread: Ask your "How do I?" and "Where is?" questions here.

Discussion in 'Help and Support' started by nicatronTg, Jan 18, 2012.

  1. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    For simple questions, such as:
    How do I edit groups?
    How do I partake in inventory editing?
    Where do I order fish tacos?

    I'll either reply with wiki links or provide a quick response as fast as possible. Refrain from posting these in other threads, thanks!
     
    • Winner Winner x 1
    • Useful Useful x 1
  2. Olink

    Olink Nyx Developer, Occasional TShock Developer
    Banned

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    How do I go about editing the database?
     
  3. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716

    Well, you have really only one option. If you're using a SQLite database, you can use the Firefox SQLite Manager to edit the database tables manually. This requires some basic knowledge of SQL, but if you look around on the forums, it shouldn't be too hard to figure out. Install here: https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/

    Just don't use the editor whilst TShock is currently running, you may crash TShock or break the database.

    If you're using MySQL, use your favorite editor (phpMyAdmin, for instance) to edit the database.
     
  4. Olink

    Olink Nyx Developer, Occasional TShock Developer
    Banned

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    How do groups work? There are lot of columns in the table for groups but there are no details on what the columns stand for.
     
  5. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    There are indeed many columns in the database. Here's a description of each column:

    1. rowid - This is just the ID the database uses to identify groups.
    2. GroupName - This is the name of the group
    3. Parent - This is the parent group. If a group has a parent, it gets all the permissions in the parent, in a recursive style. If a parent has a permission, the child will have its permissions and the parent's too.
    3. Commands - These are really permissions. Each permission can be found on the wiki, and this list is separated by commas without spaces.
    4. ChatColor - This is a RGB 0,255 value. For more information on the RGB color system, consult your favorite Wikipedia article on color code formatting.
     
  6. Olink

    Olink Nyx Developer, Occasional TShock Developer
    Banned

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    I noticed talk of beta builds. Are they for everyone or should I be waiting for an actual release? If they are available, is it taboo to ask where to get it?
     
  7. Eplekake

    Eplekake Level 1

    Joined:
    Jan 14, 2012
    Messages:
    16
    Well, everyone can try it out, but I blieve you prefer if people leave it to your dedicated testers who can commit changes through GitHub.
     
  8. Deanthelis

    Deanthelis Level 4

    Joined:
    Dec 20, 2011
    Messages:
    64
    Olink is asking all the questions he's gotten a thousand times XD A troll quoted one of them in a trollpost on the main page. Pretty clever for a troll.
    1. Where can I find what all the permissions do?
    2. Where can I find a list of commands with descriptions?
    3. Where can I buy some fish tacos?
    4. Where do I get all the item ID's?

    1. Here, at this page on the wiki: http://ci.tshock.co:8080/pages/viewpage.action?pageId=753703
    2. The same thing as 1.
    3. At Fronk's Fish Tacos on the Halo 3 map, Longshore. They don't sell them on Thursdays.
    4. Here, at the item list in the wiki: http://ci.tshock.co:8080/display/docs/Item+List

    I'll post more questions and answers if I think of any.
     
  9. aulden33

    aulden33 Level 1

    Joined:
    Jan 19, 2012
    Messages:
    5
    why cant anyone join my server
     
  10. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    please provide more information, such as the version of tshock you are running and a copy of log.txt.. as well as any other anecdotal information that might be relevant to your problem.
    (are you behind a router? does a vanilla terrariaserver.exe work in the same location?)
     
  11. aulden33

    aulden33 Level 1

    Joined:
    Jan 19, 2012
    Messages:
    5
    im running newest tshock version
    im not behind a router the only thing is when someone tries to connect to me it just say conecting foreveer never changes
     
  12. Colin

    Colin Level 5

    Joined:
    Nov 25, 2011
    Messages:
    100
    The first question is if you are hosting from a home computer, and if so, did you port forward?
     
  13. aulden33

    aulden33 Level 1

    Joined:
    Jan 19, 2012
    Messages:
    5
    im hosting from a laptop so yea home computer and what you mean port forward
    srry guys this is my first time trying this :( i feel cantaloupe lol
     
  14. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    what version is newest version? can you tell me the output of /version?

    anyway, it sounds like they have the wrong IP address or you are firewalled or behind some kind of router. try the plain server from terraria.org and see if that one works.
     
  15. Colin

    Colin Level 5

    Joined:
    Nov 25, 2011
    Messages:
    100
    Please reference https://tshock.co/xf/index.php?threads/trouble-with-connecting.765/ and portforward.com. Basically what you have to do is instruct your home router/modem to automatically send all connections on the Terraria port (7777 by default) to your laptop. Otherwise the router/modem would automatically block these connections.

    Also, what IP address did you tell your friends to connect on? If it's 127.0.0.1 or any variation of 192.*.*.* then you're doing it wrong.
     
  16. aulden33

    aulden33 Level 1

    Joined:
    Jan 19, 2012
    Messages:
    5
    ok thank you so much for the help and im srry i cant help with donations im living with my buddy trying to get my feet back on the ground this only way for me to calm hope you guys update with steam :(
     
  17. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    You need to port forward. Use something such as portforward.com as the others have mentioned, or post a help thread. This thread is more for quick questions about TShock, not starting a server.

    He's mainly trying to help create the FAQ for me.

    Beta builds are available for anyone to try, however we do not support said builds. They contain bugs, and unless specifically asked, we don't want to know about bugs in them (it's very likely we already know). They're hosted on Bamboo, an automatic build solution that downloads the latest version of the source code at regular intervals and compiles it.

    Releases are suggested for average users, as they are relatively bug free and work with the latest version of Terraria and the like. A similar example would be Bukkit's recommended build system.
     
  18. AlfieSR

    AlfieSR Level 1

    Joined:
    Dec 25, 2011
    Messages:
    12
    How would I go about completely disabling any form of cheat detection on my server? I've done all the listed steps, yet i'm unable to use hack-modified weapons (changed animation time/damage) or any form of defence hacks even when logged into a superadmin account. I get disabled through the usual cursed/slow/weakened debuff thing.

    Similarly, is there any way to change the inflicted debuffs?
     
  19. Deathmax

    Deathmax Inactive TShock Developer
    TShock Mod

    Joined:
    Jul 23, 2011
    Messages:
    48
    Change the following config options :

    Code:
      "IgnoreProjUpdate": true
      "IgnoreProjKill":  true
      "IgnoreNoClip": true
      "MaxDamage": 99999
      "MaxProjDamage": 99999
      "TileKillThreshold": 99999
      "TilePlaceThreshold": 99999
      "TileLiquidThreshold": 99999
      "ProjectileThreshold": 99999
      "RangeChecks": false
    That should sufficiently disable most cheat detections. We are still going through the code to add config options for every detection.
     
  20. Olink

    Olink Nyx Developer, Occasional TShock Developer
    Banned

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    It would be helpful if you told us what is still on after setting the config to the above.