Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Who forgot to report?

 
Post new topic   Reply to topic Printable version
 View previous topic  WebHosting Post :: Post Possible probelms working with members...  View next topic  
Author Message
SpecShip
Complete twat


Gender:Gender:Male
Joined: Dec 17 2005
Posts: 514
Location: 8025 - Spec Freq
Offline

PostPosted: Tue Jan 10, 2006 5:46 pm   Post maybe stupid    Post subject: Who forgot to report? Reply to topic Reply with quote

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=126606&SiteID=1
_________________
Replacing yazour untill the whore returns.

"I could run a ss server on my car stereo!" -Xalimar
"Liberta tuit ma ex infernis" -Event Horizon
"I know too much about nothing." - Mine GO BOOM
"Hmm anyway, back to my kingdom hearts." - Chambahs
Back to top
View users profile Send private message Add User to Ignore List
totalpwnage
Newbie


Gender:Gender:Male
Joined: Feb 17 2004
Posts: 16
Offline

PostPosted: Tue Jan 10, 2006 6:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I feel sorry for anyone who paid for any of these things. Or earlier editions.

Perfect find. Seriously perfect.

All you need to see other than the download links:
Microsoft wrote:
Until November 7, 2006, we are promotionally discounting the downloadable versions of Express to free. This doesn’t mean that the product turns off after a year, but rather that as long as you download the product before November 7, 2006, you can get it for free and you can use it forever.


I'm downloading these and backing up all of them. I don't care that I probably won't use the majority of them, it's a good deal and who knows when you may need them. And when you do need the others, who needs the 2006 or higher version when you can save a bunch of money and just use the 2005 version you got for free? sa_tongue.gif

Simply put: GO DOWNLOAD AND BACKUP EVERY SINGLE ONE NOW. If you've already bought them, sucks for you.
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jan 11, 2006 2:00 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

wow totalpwnage ur teh k00l.

Nice Grav. Heh, MS seems to be getting some "closer-to-the-end-user" attitude as they're starting contests and giving things away for free.
I guess I like it, though. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:41
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Wed Jan 11, 2006 3:17 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Wait.. isn't this the same as MSDE which is downloadable for free but is quite unusable since you don't have the tools to access it (apart from command line programs) which you get when you pay for it.

Aka.. Express is only a slim version of the real product and nowhere near the real product?
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
newb
Turds are yummy
Turds are yummy


Age:33
Gender:Gender:Male
Joined: Mar 15 2005
Posts: 1267
Location: England
Offline

PostPosted: Wed Jan 11, 2006 12:18 pm   Post maybe stupid    Post subject: Re: Who forgot to report? Reply to topic Reply with quote

SpecShip wrote:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=126606&SiteID=1


Nice find. icon_biggrin.gif
_________________
Haha SpecShip
Back to top
View users profile Send private message Add User to Ignore List Send email MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Jan 11, 2006 9:35 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

The tools to access it? What do you mean, Mav?
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Wed Jan 11, 2006 10:00 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Looks like Express will do most things I would want to use it for. :\



http://msdn.microsoft.com/vstudio/products/compare/default.aspx
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jan 11, 2006 11:25 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Yeah, D1s told me about VS C++ 2005 Express Edition (with .NET Framework), which is what I always use now. No more of that for loop bug in MSVC 6.0. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Thu Jan 12, 2006 7:53 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

what for loop bug?
_________________
There are 7 user(s) ignoring me right now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Thu Jan 12, 2006 5:01 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cerium wrote:
what for loop bug?


In MSVC 6.0, there's a for loop "bug" that won't let the user use the same for loop declaration in the same function/event. So, you'd have to somehow rearrange the code so that there's only 1 for loop rather than 2 equal ones.

Not much of a bug, but it gets annoying. icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Thu Jan 12, 2006 6:10 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Purge+ wrote:
In MSVC 6.0, there's a for loop "bug" that won't let the user use the same for loop declaration in the same function/event. So, you'd have to somehow rearrange the code so that there's only 1 for loop rather than 2 equal ones.

Explain a little bit. You mean this?
Code: Show/Hide
   for (int i = 0; i < 10; i++)
      for (int i = 0; i < 5; i++)
         printf("Hello: %d\n", i);

As that works fine under C++, but not under C. In C, you cannot declare a variable inside a for loop. But you can do:
Code: Show/Hide
        int i;
        for (i = 0; i < 5; i++)
        {
                int i;
                for (i = 0; i < 5; i++)
                        printf("Hello: %d\n", i);
        }
Back to top
View users profile Send private message Add User to Ignore List Send email
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Thu Jan 12, 2006 6:16 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Something like this:
Code: Show/Hide
   for (int i = 0; i < THIS_THING; ++i)
      count[i] = 0;

   while (parse)
   {
      Player *p = parse->item;

      if (p->ship != SHIP_Spectator)
         if (validTeam(p->team))
            ++count[p->team];

      parse = parse->next;
   }

   int a_c = 0, a_i = -1;
   int b_c = 2000, b_i = -1;

   for (int i = 0; i < THIS_THING; ++i)
   {
      if (count[i] >= h_c)
      {
         a_c = count[i];
         a_i = i;
      }

      if (count[i] <= l_c)
      {
         b_c = count[i];
         b_i = i;
      }
   }


This snippet was taken from a MERVBot plugin I was working on. VS 2005 compiled it perfectly, but not MSVC 6.
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Thu Jan 12, 2006 7:14 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Purge+ wrote:
This snippet was taken from a MERVBot plugin I was working on. VS 2005 compiled it perfectly, but not MSVC 6.

Ok, thats legal and yes, MSVC 6 does fail on that. MSVC 6 handles it via placing i before the for loop, which allows you to use i outside the loop also. By doing so, it treats the next for loop as if you had another int i;, which causes the error. Thus, their method of handling it does create the correct error, but it shouldn't be handled like that (the i should only be local to the for loop). But this is because version 6 came out before this was standardized, thus they were not completely wrong.

My recommendation? Code more like C, and less like C++. Initializing variables at random locals is ugly. That is one thing I like about forcing C, as then you don't get random variables created god knows where. When working on projects, much nicer to find variables at the beginning of the scope.
Back to top
View users profile Send private message Add User to Ignore List Send email
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Thu Jan 12, 2006 10:21 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You can 'fix' that in older versions (VS.Net and older) by changing some settings somewhere. I never cared enough to look myself, but thats what I hear.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Jan 13, 2006 9:18 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

That's horrible code anyway. The second for loop is the only one that's even slightly necessary. The first should just be a memset.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sat Jan 14, 2006 1:37 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cerium wrote:
You can 'fix' that in older versions (VS.Net and older) by changing some settings somewhere. I never cared enough to look myself, but thats what I hear.


I tried looking around for a setting in MSVC 6 before, but I couldn't find one.

Cyan~Fire wrote:
The second for loop is the only one that's even slightly necessary. The first should just be a memset.


There was more code of that part up more from where I pasted the code which will make your suggestion weighted. sa_tongue.gif

I just posted that part to show what I basically meant by the for loop bug, not how ugly it is. icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Jan 14, 2006 11:16 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Yeah, of course there are occasions when multiple for loops are necessary in the same function. I just take whatever opportunity I can get to push people towards efficient coding. icon_razz.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 27 page(s) served in previous 5 minutes.

phpBB Created this page in 0.714792 seconds : 42 queries executed (84.0%): GZIP compression disabled