Page 3 of 4

Re: Urban Realms

Posted: Fri Dec 18, 2009 6:59 pm
by OldRod
Nice!

Re: Urban Realms

Posted: Fri Dec 18, 2009 9:07 pm
by Last Known Hero
Halls! This is incredible. I'm very very impressed

Re: Urban Realms

Posted: Fri Dec 18, 2009 9:42 pm
by hallsofvallhalla
thanks!

Re: Urban Realms

Posted: Sat Dec 19, 2009 11:08 am
by Falken
hallsofvallhalla wrote:getting crafting working, here is cooking in a cafe.

i have never put so many if..else statements intertwined in one page before...gets very confusing!
Might wanna take a look at using 'switch' instead...

http://php.net/manual/en/control-structures.switch.php

Re: Urban Realms

Posted: Sat Dec 19, 2009 2:20 pm
by hallsofvallhalla
i know how to use switch I use it in my tutorials :)

Switch would not work in this case though :(

Re: Urban Realms

Posted: Sat Dec 19, 2009 4:09 pm
by Falken
hallsofvallhalla wrote:i know how to use switch I use it in my tutorials :)

Switch would not work in this case though :(
Ah ok, thats annoying :P

Re: Urban Realms

Posted: Sat Dec 19, 2009 5:48 pm
by hallsofvallhalla
yeah very much so, but i finally got it done. Its bad when you are way deep into tons of if brackets and you find out you are missing one } :)

Re: Urban Realms

Posted: Sun Dec 20, 2009 1:59 am
by OldRod
hallsofvallhalla wrote:yeah very much so, but i finally got it done. Its bad when you are way deep into tons of if brackets and you find out you are missing one } :)
I use Notepad++. When you move the cursor over a bracket or brace, it shows you the matching one. That's very handy :)

Re: Urban Realms

Posted: Sun Dec 20, 2009 5:31 am
by hallsofvallhalla
yeah for some reason adobe dream weaver doesn't seem to do that, doesn't make sense to me.

Re: Urban Realms

Posted: Sun Dec 20, 2009 10:18 am
by Falken
OldRod wrote:
hallsofvallhalla wrote:yeah very much so, but i finally got it done. Its bad when you are way deep into tons of if brackets and you find out you are missing one } :)
I use Notepad++. When you move the cursor over a bracket or brace, it shows you the matching one. That's very handy :)
Ye notepad++ is the best (X)HTML/CSS/PHP editor out there! :D