Difference between revisions of "Talk:Main Page"

From Valve Developer Community
Jump to: navigation, search
(*checks watch*)
(*checks watch*)
Line 184: Line 184:
  
 
== *checks watch* ==
 
== *checks watch* ==
 +
 +
Err, today's Tuesday, the 17th. Might wanna fix that. --[[User:Charron|Charron]] 04:33, 17 Jan 2006 (PST)

Revision as of 12:33, 17 January 2006

Archive 1: 19:28, 28 Nov 2005 (PST)


Welcome to the discussion page for the Main Page! To start a new section, click on the "+" tab. To respond in an existing section, click on the "edit" link to the right of the section title. Please don't forget to sign your comments, using either three tildes (~~~) for your name, or four tildes (~~~~) for your name and a timestamp.

News discussion page?

I expect not being the only one wanting to discuss a few news posts on the main page, and I don't think we have a standardised page for that yet.

I'd appreciate if the source code part of the new SDK could be made available for the Linux Steam client, too. I'm currently funneling my efforts into making the HL2 code compile happily with GCC 4 without -fpermissive and with -Wall -Werror, and I find it a bit painful having to reboot to Windows, let Steam update, run the wizard to extract the code, reboot and transfer the stuff onto my Linux partition. I don't mind this being "restricted content" to e.g. only HL2 buyers; I have a registered copy of HL2 and the readiness to supply my username and password to the steam binary.

I might send an e-mail to [hlcoders] quite soon, asking for this explicitly... just wanted to know if any DevCommunity members have already tried and were denied the wish, or if anybody else thinks this would be a good idea. Thanks a lot. ~~Ravu 08:09, 14 Nov 2005 (PST)

Multibyte character(especially Japanese & Chinese) contents corruption by the Wiki update

After the wiki update, all previous contents in Japanese got corrupted, near impossible to read parts from parts. This includes Greg's test contents.

It seems to me it's a charcode issue. It could be database content itself(MySQL setting?), or input/output charcode conversions(php setting and MediaWiki script). Please fix it or we won't be able to continue our translation project - n-neko 00:34, 19 Nov 2005 (PST)

Also I'm not 100% sure(I can read Chinese characters because they are also used in Japanese, but can't read/speak the language Chinese), but Chinese document also looks something wrong compared with google cache original version. Some characters have been changed, making less sense. - n-neko 01:24, 19 Nov 2005 (PST)

It was probably a wiki charset setting that changed. I saw this on another wiki, even though it was still English, things got messed up. You'll probably have to go rewrite the articles.. :( --AndrewNeo 08:26, 19 Nov 2005 (PST)

That would be too much work... Well, I used my page to test Japanese contents addition. It looks ok.
So I think there was a screw up while update process and database content corrupted. I feel really depressed... I really hope there is an working database content backup... - n-neko 08:47, 19 Nov 2005 (PST)

Update, Water Shader indicates ”character was also got corrupted. -n-neko 06:40, 21 Nov 2005 (PST)

Don't get depressed yet. If Google cached everything, we can make an automated (or semi-automated) solution. —Maven (talk) 12:48, 21 Nov 2005 (PST)
Wait... what update? —Maven (talk) 12:53, 21 Nov 2005 (PST)
  • The guys at Valve updated the wiki to a slightly newer version. --AndrewNeo 16:33, 21 Nov 2005 (PST)
MediaWiki from 1.4.5 to 1.4.12, ok. Were the PHP or MySQL versions changed? It would be lovely to rule out database corruption. —Maven (talk) 18:30, 21 Nov 2005 (PST)
If I've got time tomorrow I'll have a closer look to see if there's actual data been lost, or if it's just got mangled into another form. I know a little about UTF-8 and other character encoding systems so if the information is still there, it should be possible to retrieve it in a semi-automated manner... --Cargo Cult (info, talk) 16:40, 21 Nov 2005 (PST)

Here's a sample of what's different, from GregCoomer's Talk page. (Google cache here)

(partial hex dump removed; see below instead)

That's for text 2005年8月6日「MMBBオンラインゲームフェスタ」開催! (bad version: 2005年8月6日「MMBBオンラインゲームフェスタ�?開催�?—notice the very end)

I haven't checked meta tags and Content-Type stuff yet. I don't know enough about the matter to be useful except perhaps to implement a solution that someone else suggests. —Maven (talk) 16:48, 21 Nov 2005 (PST)

Both versions have the same meta http-equiv="Content-Type" in the HTML header. As far as I know, that overrides the Content-Type given by the server (although I'm not sure about that). —Maven (talk) 16:58, 21 Nov 2005 (PST)

Oops, the corrupted version has Content-Type "text/html; charset=utf-8", with "utf-8" in lowercase, whereas the cached version has it in all caps. Probably doesn't make a difference, but with browsers being as they are, one never knows. —Maven (talk) 17:02, 21 Nov 2005 (PST)
Not sure how you're comparing UTF-16 strings - you can't copy-and-paste from a corrupted UTF-8 stream! ;-)
I did some lower-level comparisons, and it looks like there's actually been information loss occurring. Here's a fragment of an original from Google's cache, separated into bytes and characters:
(3c) (75) (6c) (3e) (3c) (6c) (69) (3e) (20) (e9,80,9a) (e6,b0,97) (e5,8f,a3) (e3,81,af) (e6,8e,a7) (e3,81,88) (e3,82,81) (e3,81, etc)
Here's what the Wiki's currently sending. Different bytes are marked in bold.
(3c) (75) (6c) (3e) (3c) (6c) (69) (3e) (20) (e9,80,9a) (e6,b0,97) (e5,3f,a3) (e3,3f,af) (e6,8e,a7) (e3,3f,88) (e3,82,3f) (e3,3f, etc)
There's both an 81 and an 8f being turned into a 3f - there's definitely information gone missing. Coincidentally, 3f corresponds to a question mark in ASCII. I suspect something's tried converting to Windows-1252 because in my comparison paragraph, all the 'forbidden' bytes (marked in green on the chart) have been squished...
I think this can be summarised with 'oh dear'. :-( --Cargo Cult (info, talk) 04:09, 22 Nov 2005 (PST)
Oh dear... I need to grab Google caches of all documents before it's too late... -n-neko 04:53, 22 Nov 2005 (PST)
I had been wondering why what's supposed to be UTF-8 was coming out UCS-2. I figured that it was a case of things being intentionally mislabeled in order to workaround the faults of some non-compliant browser. Anyway, I didn't copy-paste—I saved both webpages and opened them in a hex editor. I figured that would preserve the Unicode, but I guess there was some conversion during the HTML save. —Maven (talk) 05:57, 22 Nov 2005 (PST)
Grumble... my hex editor was converting to UCS-2! I liked that program, but this is nearly unpardonable. Anyway, sorry about the munged data. —Maven (talk) 08:18, 22 Nov 2005 (PST)

Well, backups are the best solution. Failing that, the only possible solution I can think of is to use digram (and trigram, if available) frequency analysis to reconstruct the corrupted bytes. I have some old cryptanalysis code that can be adapted for that purpose with the addition of a UTF-8/UCS-2 converter. However, I certainly don't have digram data for Japanese, and I've never actually tried frequency analyses on such a large character set, so I don't know what theoretical reliability we'd get. If there are fewer Chinese-language articles (I think there are?) then they can be corrected by hand. In any case, this is a last resort. —Maven (talk) 06:30, 22 Nov 2005 (PST)

Can't find the data I'd need, so I'd have to generate it. If we have to do this, I'll need some help from someone familiar with Japanese-language writing. —Maven (talk) 06:45, 22 Nov 2005 (PST)
I do keep many(not all, though) of original translation data in raw text. Also I've grabbed uncorrupted google caches. They can be used as references when backup doesn't work... -n-neko 09:20, 22 Nov 2005 (PST)
We have backups of the database before the upgrade, and one of our system administrators in analyzing the issue. My current understanding is that it's not a simple restore from backup, or it would have already have been done. --JeffLane 08:46, 22 Nov 2005 (PST)
Thanks for looking into this issue, Jeff. My fear is that the backup data itself could have got corrupted through database/php/whatever backup app's charset configuration. I hope this is not the case... -n-neko 09:20, 22 Nov 2005 (PST)
Jeff, do you think that you can fix this before Dec 2? On that day Robin Walker will speak at Ritsumei Univ, also HL2 GOTY package will be released in Japan. If you don't think so, I'll start manual copy and paste stub articles...The document state right now is miserable... -n-neko 18:44, 24 Nov 2005 (PST)

Important update regarding multibyte language data

Unfortunately, what n-neko has suggested appears to be what has occurred. Due to recent changes in language parameter options in mysqldump between MySQL 4.0 and 4.1, the backups we have been creating also do not have the correct character conversions, so the data has been irrecoverably lost. You can read more about this issue with MySQL and MediaWiki databases here.

We are correcting our backup procedures to prevent this from happening again in the future.

For now, please hold off on correcting or adding the multibyte character articles. Multibyte languages should work correctly now, but we are going to take the server offline and perform some tests to make sure the data is being backed up correctly. This process should be completed during the downtime later today. We'll post another update here when it is all clear to post multibyte data again.

We apologize for any inconvenience this unfortunate loss of data has caused. --JeffLane 14:42, 25 Nov 2005 (PST)

Hi, Jeff. Thanks for making the situation clear and preventing future corruptions.
I decided to set up a mirror site for Japanese documents on my server using google cache. Fortunately I could secure most of the articles(before the data loss) in html, and edits went well so far(I hope). So here is less inconvenience for Japanese readers...
The site calls VDC for its images, so I should have asked your permissions first...But please forgive me for setting it up for now as a temporary solution. As soon as I find an automated way converting these secured html files back into Wiki codes(and posting them back), then I'll stop the mirror if you don't want it continue. -n-neko 02:41, 26 Nov 2005 (PST)
I've converted two articles over using copy-and-paste, just to see how much work would be involved in doing it manually - it's s rather dull task, but doesn't need any knowledge of Japanese (fortunately!). I think something which converts the HTML backup to Wiki-format with a simple look-up-table might prove simpler - I'll have a go at writing such a thing if you like. —Cargo Cult (info, talk) 07:34, 26 Nov 2005 (PST)
Great! Your Copy&Paste edits look perfect:) HTML backup to wiki converter will be really helpful. Thanks in advance -n-neko 09:00, 26 Nov 2005 (PST)
Yes, that's fine with the images for now, good work. We'll let you know if that changes.
This may be of assistance: http://diberri.dyndns.org/html2wiki.html --JeffLane 08:47, 26 Nov 2005 (PST)
Thanks Jeff. Let me know when it becomes inappropriate, then I'll remove or replace image links. -n-neko 09:00, 26 Nov 2005 (PST)

All Clear

Maintenance on the database has been completed, and it should be safe to enter new multibyte data now. --JeffLane 17:29, 25 Nov 2005 (PST)

Repairing damaged articles

Apparently more than just multibyte character articles were messed up in the database upgrade. Searching Google for a damaged character comes up with many results. We should task-force fixing as many of these as we can. --AndrewNeo 18:37, 28 Nov 2005 (PST)

Cleaning Main Page Talk

This page now has a warning on the edit page. I recommend that we archive older discussion (at this point, probably everything before the multibyte issue) in this page once it reaches a certain length (like now). I recommend something like Talk:Main Page/Archive 1 .. Talk:Main Page/Archive 2 format for every time we archive the page. --AndrewNeo 18:37, 28 Nov 2005 (PST)

Ok. —Maven (talk) 19:29, 28 Nov 2005 (PST)

Tutorial link

The link to tutorials for modders should lead to Category:Tutorials, not Special:Categories.

Nothing in Source sdk is working

Every time i try to open something in source sdk for example hammer it says error The system cannot find the file specified.

Plz some 1 help i dont know what to do.

Counter-Strike Mod?

I am trying to make a mod for counter-strike source but I keep hitting some errors. I can load the counter-strike source screen as if i were going to play counter-strike normally, (i copied the files and fooled around with them to get this to work) but I still get the following error and I don't know how to fix it.

"client.dll init() in library client failed" then I would get another box that said this: hl2.exe - instruction at 0x242aa924 referenced memory at 0x0d48808c. the memory could not be "read".

Can you guys help me? I would greatly appreciate it. ~Will January 2, 2006

As far as i have seen, you are only able to "mod" HL2, the stripped SDK, and the stripped DM versions into a game of your own. CS is not openly mod-able. You can make smaller, less capable server plugins, but they are only really useful for manipulating the server via what has been allowed for output/listening functions. In other words, the games (HL2, HL2DM, DOD, CS, ETC) that valve release are not going to be able to be modded, they have released the 3 coding options.

As for the error, did you build your own code or rip the dll's out of the gcf?—ImaTard 03:18, 2 Jan 2006 (PST)

Hey Thanks for getting back to me so soon. Yeah, I just ripped the dll's out of the gcf file. It works fine until a couple seconds of the "loading" in the bottom right hand corner and then crashes. I appreciate your help. ~Will


There doesn't happen to be a work-around? I'm just curious.

You are unable to mod CS. Ripping the CS DLL's out of the GCF will only allow you to play CS. You may as well just jump in via steam and not bother. I dont know why it would be giving you errors, but it may be tied to how cs is loaded via steam, to force the players not to make their dlls work in their game, although i dont know why or how that would be possible. As many posters/web designers/Mappers have realized. There isnt much in the way of modding that can be done without C++, ie changing the DLL's.

Either way, fix or no fix, you are really up a creek without a paddle. I would suggest making a server plugin if you want to truely effect CSS, but it wont be anythign significant enough to call a mod.—ImaTard 03:18, 2 Jan 2006 (PST)

Please don't forget to sign your comments, using either three tildes (—ts2do (Talk | @)) for your name, or four tildes (—ts2do (Talk | @) 06:36, 3 Jan 2006 (PST)) for your name and a timestamp...ALSO: STOP WITH THE HEADERS!! jeez...it's so hard to follow with them—ts2do (Talk | @) 06:36, 3 Jan 2006 (PST)


Thanks again for getting back to me. Sorry for the headers. Just wanted to let you know that I wasn't trying to somehow cheat the system, I'm just a CS junkie and wanted to add some of my ideas to it. Thanks again. --Ninjawillis 09:58, 3 Jan 2006 (PST)

January 5th update now causing Hammer to crash

Ever since the January 5th update for the SDK, when I try to open an existing map project in Hammer it crashes. I get the standard Windows error that asks you send a report to Microsoft. I can open a new project, but no existing projects. I also tried decompiling a map and opening the .vmf, and it still crashes.

I have seen some posts on various mapping forums where others are experiencing this. The only thing people can offer is a polite recommendation to just be patient and wait for Valve to remedy the problem.

Is this a known issue, and if so, is Valve working on a resolution? When can we expect to get an update that resolves this?

dd

Refresh the SDK content. --TomEdwards 09:54, 10 Jan 2006 (PST)

Anti-Spam Brigade

I've made somewhat of a wiki-spam detector. This is based on something that almost all spammers seem to spam the wiki with, so I hope it works/helps. It uses GreaseMonkey and can be installed from here. If people don't want to install GreaseMonkey I can convert this to a plugin of it's own. It seems to work, so far. --AndrewNeo 09:47, 10 Jan 2006 (PST)

It's free.

Ok, I just got to say this. But please, remove that "Sign up - It's Free". Of course it's free, it's a wiki and even though it may be peoples first encoutner of a wiki, they still dosen't need to be told it's free. You make it sound like some kind of commercial where you get some stuff for free but later the bills will kick in. Its almost like saying "Download the demo of Half-Life 2 today, its free!". Can't you just change it to something like "Want to be a part? Create a login - Help buidling the center of Source development" or something. Just me who thinks this? And please don't remove this because it's critisism against the wiki. --Hipshot 10:08, 10 Jan 2006 (PST)

Source SDK not ready to compile with Visual Studio 2005

The new Visual Studio 2005 gets new security features and so on many warnings and build errors if u try to compile the sources with Visual Studio 2005 (and or Visual C++ 2005 express edition)

  • Thank you, person who didn't sign their comment, but we already know this. Please use VS2003 to compile the Source SDK. --AndrewNeo 08:18, 11 Jan 2006 (PST)

sorry i forgot my sign

should i i have installed both ides on my pc at the same time? so i cant re-convert my nebula2 engine code back to vs2k3. took to mutch time... how long vs2k5 users need to wait for vs2k5 ready source sdk ? [ fibric 15:25, 11 Jan 2006 (PST) ]

  • If you want to code for Source, then yes, you should have both installed.. and we don't know. That's up to Valve to support it, they might decide not to support VS2005 express if the non-express version works. --AndrewNeo 16:25, 11 Jan 2006 (PST)

No installation instructions anywhere to be found

As simple as it may look... will someone please write *anything* about installation? I know I'm a dumbass but it took me a while to figure out on my own that the SDK was not a direct download but was in fact under the "Tools" tab under "My games" in steam, and this whole wiki didn't help at all. Yeah I'm an idiot... but still us idiots come in droves. --Wisgary 19:22, 11 Jan 2006 (PST)

I can't seem to find the SDK under either the "My Games" or "Tools" tab in steam, and yes, I do own and have two source games installed. Any other places I should be looking? --UrbanPredator 22:00, 13 Jan 2006 (PST)
Uhm. It's greyed out by default, I believe, and says something to the effect of "Source SDK", in the Tools submenu. You should be able to double click it to install it... I might be mistaken on this, but I think it's only visible if you have Half-Life 2 installed. If someone else has only Counter-Strike:Source or Day of Defeat:Source installed, and can verify this, I'd be much obliged. --Spektre1 23:26, 13 Jan 2006 (PST)
Currently, the HL2 is the only way to get the SDK. I'll see what I can do for you, Wisgary. --TomEdwards 01:37, 14 Jan 2006 (PST)
Thanks Tom --Wisgary 20:06, 14 Jan 2006 (PST)

*checks watch*

Err, today's Tuesday, the 17th. Might wanna fix that. --Charron 04:33, 17 Jan 2006 (PST)