Browser MMO Video #4

Location of the Videos
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video #4

Post by hallsofvallhalla »

good catch...seems spelling gets the best of all of us ;)
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Video #4

Post by Jackolantern »

Jeez I had to stare at that for about 2 minutes to see the difference. Good catch!
The indelible lord of tl;dr
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video #4

Post by hallsofvallhalla »

haha same here!
pretender5552
Posts: 127
Joined: Mon Jan 03, 2011 5:38 am

Re: Video #4

Post by pretender5552 »

Ah I feel dumb now, thanks that fixed it
djand3y93
Posts: 16
Joined: Tue Nov 02, 2010 6:20 pm

Re: Video #4

Post by djand3y93 »

Nice..this is the first time here when I help somebody and the feeling is ... God...too good :D :D
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Video #4

Post by Jackolantern »

djand3y93 wrote:Nice..this is the first time here when I help somebody and the feeling is ... God...too good :D :D
It can be pretty addictive :)

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
MaraXus
Posts: 37
Joined: Fri Aug 05, 2011 6:49 pm

Re: Video #4

Post by MaraXus »

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.
_____/-\_____
____/----\____
___/-------\___
__/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.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video #4

Post by hallsofvallhalla »

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 .
MaraXus
Posts: 37
Joined: Fri Aug 05, 2011 6:49 pm

Re: Video #4

Post by MaraXus »

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
Posts: 37
Joined: Fri Aug 05, 2011 6:49 pm

Re: Video #4

Post by MaraXus »

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.
Post Reply

Return to “Older Browser MMO Videos”