Browser MMO Video #14
Re: Video 14
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.
if it doesnt return.....hunt it down and kill it.
Re: Video 14
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.
if it doesnt return.....hunt it down and kill it.
Re: Video 14
Really if youve followed each video properly and learned something about php you should be able to figure out how to do thatdarspire 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?

This isnt just a gimp mask...This is an S&M gimp mask...
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 14
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.
Re: Video 14
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.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.
Re: Video 14
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
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.
if it doesnt return.....hunt it down and kill it.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 14
nice work!
Re: Video 14
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
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.
if it doesnt return.....hunt it down and kill it.
Re: Video 14
The same reason I delete it and re-create it loldarspire 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
This isnt just a gimp mask...This is an S&M gimp mask...
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 14
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.
if creature hp < 1
then creature hp = reset
i will make a video on this. A few people have asked about it.