
Browser MMO Video #4
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #4
good catch...seems spelling gets the best of all of us 

- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Video #4
Jeez I had to stare at that for about 2 minutes to see the difference. Good catch!
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #4
haha same here!
-
- Posts: 127
- Joined: Mon Jan 03, 2011 5:38 am
Re: Video #4
Ah I feel dumb now, thanks that fixed it
Re: Video #4
Nice..this is the first time here when I help somebody and the feeling is ... God...too good



- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Video #4
It can be pretty addictivedjand3y93 wrote:Nice..this is the first time here when I help somebody and the feeling is ... God...too good![]()

EDIT: As far as the issue itself, our minds are wired to see what we expect to see to an extent. That is why having other people see your code is so important. Even though it is old now, this article really shows that in practice. It is the same with code. You aren't actually reading every letter of the code, and instead you are skimming it, thinking you are seeing what you expect.
The indelible lord of tl;dr
Re: Video #4
Hey guys, I just started on this tutorial today, and I am already having a problem... (Completely my fault, i'm sure
)
This is the message.
( ! ) Notice: Undefined index: name in C:\wamp\www\tutorial\battle.php on line 36
Call Stack
# Time Memory Function Location
1 0.0006 685448 {main}( ) ..\battle.php:0
Hit points = 15
Attack = 5
Defense = 5
goblin
Hit points = 5
Attack = 3
Defense = 3
so, if I just copied everything off of the code in the first post, what could be wrong? I did everything else that you said, but I still have this showing up.

This is the message.
( ! ) Notice: Undefined index: name in C:\wamp\www\tutorial\battle.php on line 36
Call Stack
# Time Memory Function Location
1 0.0006 685448 {main}( ) ..\battle.php:0
Hit points = 15
Attack = 5
Defense = 5
goblin
Hit points = 5
Attack = 3
Defense = 3
so, if I just copied everything off of the code in the first post, what could be wrong? I did everything else that you said, but I still have this showing up.
_____/-\_____
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #4
pretty hard to tell if you do not post your code but I would say check
echo "<u> " . $playerinfo3['name'] . "</u><br>";
and then make sure that matches your database
I also recommend you watch all the way to at least video 14 then begin to do the code. Trust me .
echo "<u> " . $playerinfo3['name'] . "</u><br>";
and then make sure that matches your database
I also recommend you watch all the way to at least video 14 then begin to do the code. Trust me .
Re: Video #4
I had already checked that, and it was right. What code should I post? And I will watch your vids until I can figure out this problem 

_____/-\_____
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
Re: Video #4
Never mind, I figured it out... (Stupid Caps lock ) 

_____/-\_____
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.
____/----\____
___/-------\___
__/MaraXus\__
_/-------------\_
/----------------\
Software: FL Studio 10, FPS Creator, ConTEXT, Adobe Master Suite CS5.5, Construct 2, And many others...
Current Project: The Painters Eye, check it out at http://indie-resource.com/forums/viewto ... =17&t=4902.