Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(37 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

First page  Go to the previous page   [01]  [02]  Go to the next page  Last page
Totally offtopic rant and kind of rage spam
show user profile  gogodr
I just spent 4 hours trying to fix a problem with a very big code I'm working on.
Thats from 1 am to 5 am here .... I have been working nonstop for over 10 hours now.

the thing is that I first blamed my back end service, then my framework and it wasnt after 4 hours that I noticed that it was a stupid rookie mistake on my code ...
I wrote = instead of == in one of the lines and it messed it all up...
That fucking little thing got me super stressed for many hours browsing countless methods thinking that the issue was super complicated....

well fuck.. that's my rant... now I will keep drinking myself to sleep...

Hello there

beautiful ;3

read 510 times
5/16/2015 11:55:04 AM (last edit: 5/16/2015 11:55:04 AM)
show user profile  LionDebt
I feel your pain!

Whenever I encounter a problem in something - specially when it's one of those when "I absolutely fucking know this should work - why is it not working" situations - first thing I check is for n00b errors. Which, to be honest, I still make on a daily basis :)

Luckily using c# in MonoDevelop IDE doesn't let you use = in a conditional;

If (myBool = false) { then do this };

will throw a compiler error - which is nice.

edit: What really grinds my gears - to get on the rage boat - is how limited Unity "Indie" (free version" is Vs. Unity Pro. When I was starting out I never thought I'd need all that fancy stuff. Now I almost feel like I'm behind a massive paywall whenever I want to implement something cool. No RenderTexture makes me sad. Also point/directional/spot etc Lights are all weak. No realtime shadows? Dafuq?
read 503 times
5/16/2015 12:47:04 PM (last edit: 5/16/2015 12:51:26 PM)
show user profile  ScotlandDave
Is there any way you can inject your own implementations into Unity of some of those things LD?

I also know of this pain Gogodr. Spent a LOT of time over the past couple of weeks in Visual Studio Express C++ optimising code, making things faster, and occasionally spending 4/5 hours + wrangling the same little function into submission..

Website | Blog | Contact | Vimeo

read 494 times
5/16/2015 1:01:42 PM (last edit: 5/16/2015 1:01:42 PM)
show user profile  herfst1
I feel your pain, saw hollywood fucked up Mad Max.

Oh yeah, totally off topic.
read 481 times
5/16/2015 2:32:00 PM (last edit: 5/16/2015 2:32:00 PM)
show user profile  S. Silard
A few days back I been searching for hour, why the heck my file is not loading. Than found that at one place I did wrote just one '\' instead of two.

You don't have to write:

if(!myBool) //is perfectly enough

if(myBool) //and this is equivalent to: if(myBool==true)

Also to toggle the bool's value, you can write: myBool=!myBool;

But I don't know C#, but it's based on C, and that's C code, so this should work fairly similarly.
Also I noticed you dropped ';' after '}'. Not sure if you have made a mistake but in C you should write it like that: if(!myBool){myFunction();} //for example

read 475 times
5/16/2015 2:56:49 PM (last edit: 5/16/2015 2:56:49 PM)
show user profile  Garp
Classic :)

read 473 times
5/16/2015 3:05:26 PM (last edit: 5/16/2015 3:05:26 PM)
show user profile  Pil
@ LionDebt

Unity Pro is free now so you get everyting you need of al features out of the box.

read 470 times
5/16/2015 3:22:48 PM (last edit: 5/16/2015 3:22:48 PM)
show user profile  khamski
I heal your pain

read 466 times
5/16/2015 3:35:26 PM (last edit: 5/16/2015 3:35:26 PM)
show user profile  Mr_Stabby
>>But I don't know C#, but it's based on C, and that's C code, so this should work fairly similarly.

that works in c# but aside from basic syntax, C and C# have nearly nothing in common

read 460 times
5/16/2015 3:54:28 PM (last edit: 5/16/2015 3:54:28 PM)
show user profile  digs
yea unity 5 is so much better than any previous version its scarry... if you're an artist deving in unity, you NEED to be in 5.. es so nice

@ herfst: you're crazy - mad max was fucking awesome

i prefer

if(true == mybool)

i used to just use (mybool) and (!mybool), but its less obvious, and when dealing with other peoples code, it can get confusing
read 447 times
5/16/2015 4:52:47 PM (last edit: 5/16/2015 4:56:49 PM)
show user profile  S. Silard
@Mr_Stabby, to be specific, I'm using C++, but that stuff that I have been talked about, stuck there from C. So I assumed it's same in C#.

[Edit:] @digs : I don't get what's not obvious about that. ! -means false/no. Can't mean anything else.
read 446 times
5/16/2015 4:53:50 PM (last edit: 5/16/2015 4:58:22 PM)
show user profile  ScotlandDave
i think if (myBool) {} is pretty much universal is it not..

Well, in python, it would be if myBool:

Website | Blog | Contact | Vimeo

read 436 times
5/16/2015 5:30:31 PM (last edit: 5/16/2015 5:30:45 PM)
show user profile  herfst1
@ Digs, haven't seen Mad Max, just read the banter in the news about it being feminist or something.

Anyway, I won't dethread, back to coding talk.
read 432 times
5/16/2015 5:32:26 PM (last edit: 5/16/2015 5:32:26 PM)
show user profile  digs
"less obvious" != "not obvious"

when I'm reading through / editing other peoples code, it's just something I prefer to see, and is what is the convention in our office

if(mybool == true) {do this} or if(mybool == false) {do this}

if(mybool) {do this} //less preferable imo

preferences, i suppose

*edit* ! -means false/no. Can't mean anything else.

that's not true at all...

mybool = false;
mybool = !mybool;

^^ that's just sloppy programming to me. real easy to make mistakes
read 418 times
5/16/2015 6:48:26 PM (last edit: 5/16/2015 9:42:58 PM)
show user profile  gogodr
the thing with javascript (what I'm working on right now), is that there are no errors...
most things just work because of how versatile it is. Supposedly it is for good, but sometimes it is a mayor hurdle because when debugging you don't get "compilation errors" just bad results....

on the
this = "whutwhut"
if(this = "lala"){

the logic is: assign "lala" to this, then evaluate "lala".
"lala" is an object, evaluate a single object means evaluate if it is null or not. It is not null, go through.
tell the console this, this is "lala"

that being a single line of a 2k+ lines of code wihtout it telling you any apparent error is really messy...

Hello there

beautiful ;3

read 388 times
5/16/2015 10:56:11 PM (last edit: 5/16/2015 10:58:59 PM)
First page  Go to the previous page   [01]  [02]  Go to the next page  Last page
#Maxforums IRC
Open chat window