Browser MMO Video #14

Location of the Videos
darspire
Posts: 194
Joined: Sat Jul 25, 2009 9:21 pm

Re: Video 14

Post by darspire »

cant wait for vid 15. what video do you think map is gonna be introduced?
if you love something, let it go.
if it doesnt return.....hunt it down and kill it.
darspire
Posts: 194
Joined: Sat Jul 25, 2009 9:21 pm

Re: Video 14

Post by darspire »

hey how do i make it so that even after you kill a monster, it doesnt get deleted from the php my admin creatures database?
if you love something, let it go.
if it doesnt return.....hunt it down and kill it.
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: Video 14

Post by neronix17 »

darspire wrote:hey how do i make it so that even after you kill a monster, it doesnt get deleted from the php my admin creatures database?
Really if youve followed each video properly and learned something about php you should be able to figure out how to do that :) I changed the part where it deletes the creature so that it spawns a new one from a new table in the database which holds all the information the creature had before you attacked it.
This isnt just a gimp mask...This is an S&M gimp mask...
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video 14

Post by hallsofvallhalla »

just comment out where it deletes the creature in attack.php Put // in fron t of the lines to comment them out. Should be two lines.
User avatar
Ravinos
Posts: 281
Joined: Tue Sep 15, 2009 4:14 pm

Re: Video 14

Post by Ravinos »

neronix17 wrote:I changed the part where it deletes the creature so that it spawns a new one from a new table in the database which holds all the information the creature had before you attacked it.
I did the same thing. My my development install where I have been adding my own features, I use this same method. I have a master monster DB that it calls from and replaces the creatures as needed. I haven't tested it against multiple people being logged in though.
darspire
Posts: 194
Joined: Sat Jul 25, 2009 9:21 pm

Re: Video 14

Post by darspire »

YES I FIGED SOETHING OT Y MYSELF!!

i made a cooler looking login page! : )

the parth that says

username=_________
password=_________
submit

i changed it into table by doing this

<table background="images/login.jpg">
<tr>
<td>(login.php info)</td>
</tr>
</table>

and presto : ) cooler looking login page!! im so proud
if you love something, let it go.
if it doesnt return.....hunt it down and kill it.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video 14

Post by hallsofvallhalla »

nice work!
darspire
Posts: 194
Joined: Sat Jul 25, 2009 9:21 pm

Re: Video 14

Post by darspire »

thank you : )

also i followed your instructions about how to not delete monster..it worked but now, after i kill it, it still has like 3 hp
if you love something, let it go.
if it doesnt return.....hunt it down and kill it.
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: Video 14

Post by neronix17 »

darspire wrote:thank you : )

also i followed your instructions about how to not delete monster..it worked but now, after i kill it, it still has like 3 hp
The same reason I delete it and re-create it lol
This isnt just a gimp mask...This is an S&M gimp mask...
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video 14

Post by hallsofvallhalla »

yes, make another line

if creature hp < 1
then creature hp = reset

i will make a video on this. A few people have asked about it.
Post Reply

Return to “Older Browser MMO Videos”