Welcome, Guest. Please login or register.
Did you miss your activation email?
November 25, 2024, 11:00:44 PM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Trouble in Terrorist Town - a GMod gamemode
Pages: 1 ... 201 202 203 [204] 205 206 207 ... 232
Author Topic: Trouble in Terrorist Town - a GMod gamemode  (Read 1721948 times)
Fuffe
Poster

Posts: 128


Crummycradle was a mistake


« Reply #4060 on: December 16, 2010, 05:35:05 PM »

What a downer. I got almost all of the translation done only to find out it does not support special characters. (Å Ä Ö)
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4061 on: December 16, 2010, 06:23:53 PM »

I'm looking into that.

edit:
Allright, here's one way of fixing it. You'll need to use Notepad++. Standard notepad included with Windows doesn't let you do this.

In the .lua file of your translation, open the "Encoding" menu at the top. There, select "Convert to UTF-8 without BOM". Everything should look the same as before. Save your file to apply the conversion.


All the characters are now stored in a way that makes Source happier, and the special characters should work. You can do this to an existing file, no need to start over. If you are using a different editor that lets you change encoding to UTF-8 without BOM (abbrevation for "byte order marker"), that will of course work just as well as Notepad++.

Note that I will be writing a guide with this information (but nicer screenshots) and much more very soon (I'm starting on it tomorrow).
« Last Edit: December 16, 2010, 06:49:09 PM by Bad King Urgrain »
ThePaSch
Poster

Posts: 17


« Reply #4062 on: December 17, 2010, 03:12:16 PM »

What is the cvar to set the server's default language?

Great work, by the way. This will really help our server out. You're awesome.  :D :D
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4063 on: December 17, 2010, 03:18:18 PM »

The convar is ttt_lang_serverdefault. So you'd set it in your cfg like
ttt_lang_serverdefault english

Or if the language has a space in it, quotes are required:
ttt_lang_serverdefault "swedish chef"

Uppercase/lowercase is not important.
ThePaSch
Poster

Posts: 17


« Reply #4064 on: December 17, 2010, 03:20:00 PM »

Alright, thanks. Works like a charm, also with Umlauts after your workaround. :D

Edit: There is an issue I have been encountering. Say I set my language to German on a server which supports German. If I leave and join a server without the German language, tons of Lua errors appear and the UI is just empty, without any text. Also, there is an error message saying "could not find language pack: german".
Because the settings menu is completely empty without any buttons, I have to rejoin the former server, set the language to auto and join the latter again.
« Last Edit: December 17, 2010, 03:28:13 PM by ThePaSch »
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4065 on: December 17, 2010, 04:30:14 PM »

Ah, I need to make it fall back to english if a language does not exist. Thanks for reporting.

For the record, you can also use the console: "ttt_language english" should set it to english without needing the menu.

edit:
Some updates are now in the gmod SVN:
- Fixed the above issue with missing languages.
- Spectators stay in ragdoll spec for a few seconds before they can click to leave it.
- Glocks in CS:S rearm scripts.
« Last Edit: December 17, 2010, 05:29:37 PM by Bad King Urgrain »
ThePaSch
Poster

Posts: 17


« Reply #4066 on: December 17, 2010, 05:55:30 PM »

There's a small problem:
I installed a German translation on our server, put the cache into FastDL,  did all the stuff one needs to do. I also set the server default language to German.
However, no matter what we've tried, it stays English on his game. He set his language setting to "Server Default", but that did nothing.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4067 on: December 17, 2010, 06:04:03 PM »

Is German in the menu's list of languages for him? Is this only for one person or also if you join yourself?
ThePaSch
Poster

Posts: 17


« Reply #4068 on: December 17, 2010, 06:06:38 PM »

No, German is not on the list, even though he downloaded the cache.

And it works perfectly for me.

Are missing languages automatically downloaded and used if they're the default server language and on FastDL?
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4069 on: December 17, 2010, 06:31:40 PM »

All languages on the server should always be in the cache, that shouldn't be a problem. There might be an issue where TTT doesn't find the languages in the cache properly. I'll have to do some testing tomorrow to figure that out.
Sly
Poster

Posts: 81



« Reply #4070 on: December 18, 2010, 01:27:39 AM »

Discombob kills appear to show up as being killed by {trap}.

Requesting some indication of a C4 being destroyed, like the Health Station's little buzz and spark. Hard to prove you didn't just take it.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4071 on: December 18, 2010, 08:33:02 AM »

Noted on both counts.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4072 on: December 18, 2010, 11:56:51 AM »

The bug where players could not select or otherwise use languages that were available on the server (and in the lua cache) has been fixed in the SVN build (r666). I've tried to get this in as soon as possible just in case it can ship with the emergency gmod update, but who knows if it will.

If it doesn't, I will make a few more small fixes and release a .zip version of TTT that servers can install if they need languages to work.
« Last Edit: December 18, 2010, 12:01:19 PM by Bad King Urgrain »
Darkest_97
Poster

Posts: 286


Hi.


« Reply #4073 on: December 19, 2010, 12:05:52 AM »

Found some bug type thing.
Look at the first kill. This was on trappycottage so i assume it has something to do with the kill attribution or whatever.

http://s978.photobucket.com/albums/ae270/Joey0977/?action=view&current=ttt_trappycottage_b10000.jpg

---------
Edit: Also TTT events are printing with wierd tabbing in console, unless i just dont understand what its doing.
Like this:
Quote
[NC] Shadow Cross: Cal me to it
TTT: SAFFRON found the body of Soviet Airlines. He was innocent.
TTT:SAFFRON found the body of Bushner. He was a Traitor!
TTT:SAFFRON confirmed the death of Anonymous Santa.
TTT: SAFFRON found the body of Anonymous Santa. He was innocent.


---------
Edit2: All c4's planted dont seem to show up in the round log, cant really give you any more info than that.
« Last Edit: December 19, 2010, 01:39:43 AM by Darkest_97 »
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4074 on: December 19, 2010, 08:53:27 AM »

I'll check out that translation error, though I may already have fixed it while dealing with discomb kills.

The tabbing is a Source/gmod bug where sometimes a tab/line-end gets eaten by the console. Might be related to having multicore rendering enabled in your video settings. Either way, I'll fix it by replacing the tab by spaces.

I'll look at C4 events.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4075 on: December 20, 2010, 03:52:46 PM »

Updates in SVN:
- C4 destroyed = sparks.
- Various issues with translation strings in the event log fixed.
- Goomba kills are attributed to the person who pushed the guy who fell on a dude (yep), if the guy was pushed.
GrayScare0
Poster

Posts: 404


« Reply #4076 on: December 21, 2010, 03:43:07 AM »

Would you consider removing the confirmation button for destroying C4?  In a few scenarios I have called out a C4, defused it, and then tried to destroy it but another innocent came up and stole it right in front of my face (and then planted it and killed other innocents, but that's irrelevant).  Or perhaps only have one person able to interact with the C4 at a time, so that two people cannot try defusing/grabbing/destroying it at once?
FBC
Build Tester
*
Posts: 5473


Forum Drunk


« Reply #4077 on: December 21, 2010, 06:03:06 AM »

Congratulations on multiplayer mod of the year, BKU

I hate everything that isnt boobs
except one pair of boobs which I hate too hate hate hate these are the boobs of betrayal
eeny
Build Tester
*
Posts: 10242


+1


« Reply #4078 on: December 21, 2010, 06:09:39 AM »

Congratulations on multiplayer mod of the year, BKU


Wait what?

Nobody Expects the Malkavian Inquisition!
FBC
Build Tester
*
Posts: 5473


Forum Drunk


« Reply #4079 on: December 21, 2010, 09:48:18 AM »

Whoops, I mean on getting the nomination for MPMOTY

http://www.moddb.com/events/2010-mod-of-the-year-awards/features/editors-choice-best-multiplayer-mod-2010

I hate everything that isnt boobs
except one pair of boobs which I hate too hate hate hate these are the boobs of betrayal
Pages: 1 ... 201 202 203 [204] 205 206 207 ... 232
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Trouble in Terrorist Town - a GMod gamemode « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.016 seconds with 18 queries.