Browser MMO Video #17
Re: Video #17
"level", "exper", "gold" and "pclass" are all fields that were added to the database tables after their initial creation. Have you put those fields in your tables?
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #17
import the .sql file into your database. In my next video I will show how its done...i don't think I already have.
-
- Posts: 5
- Joined: Fri Jan 01, 2010 9:18 pm
Re: Video #17
Hey halls great tutorials!
There is just one thing bugging me though. In the creatures table when you attack say the orc then it changes the value on the database so if one person attacks it down to 10hp then another person will only have to attack it from 10hp. Is there anyway to fix this? I thought about asigning each user with their own creatures by adding a username colum on the creatures.
Thanks m8
There is just one thing bugging me though. In the creatures table when you attack say the orc then it changes the value on the database so if one person attacks it down to 10hp then another person will only have to attack it from 10hp. Is there anyway to fix this? I thought about asigning each user with their own creatures by adding a username colum on the creatures.
Thanks m8
Proud owner of RealmOfEnron
http://realmofenron.co.cc
http://realmofenron.co.cc
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #17
its all preference. You still get the exp for attacking and a bonus exp for killing it so basically it's like raiding right now. $ or five players could essentially attack one big boss to destroy it together.
You could setup a table that holds all the creatures that players fight or a faster way is to hold the name and hpoints of the creature in the players table with the player
just add crhpoints and use that as the HP for the creatures
if isset creature then get the HP of it. ect..
You could setup a table that holds all the creatures that players fight or a faster way is to hold the name and hpoints of the creature in the players table with the player
just add crhpoints and use that as the HP for the creatures
if isset creature then get the HP of it. ect..
-
- Posts: 5
- Joined: Fri Jan 01, 2010 9:18 pm
Re: Video #17
yeah i could but if you have like 50+ creautres then the players table will get really big in no time
Anyway can someone give me an opinion on which is better for my login/register:
http://www.myrpg.site50.net/log.php
or
http://www.myrpg.site50.net/tester.php
Thanks again

Anyway can someone give me an opinion on which is better for my login/register:
http://www.myrpg.site50.net/log.php
or
http://www.myrpg.site50.net/tester.php
Thanks again

Proud owner of RealmOfEnron
http://realmofenron.co.cc
http://realmofenron.co.cc
Re: Video #17
I have to say bottom one becaus the top one has no taste
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #17
??? 50+, you wouldn't have to worry about it affecting your database till it reached around 10,000+, that means you would have 10,000+ players!yeah i could but if you have like 50+ creautres then the players table will get really big in no time![]()
ALso just add crhpoints field to player table and save it there
-
- Posts: 5
- Joined: Fri Jan 01, 2010 9:18 pm
Re: Video #17
Hey halls is there any way where you can make it choose which creature you fight?
Cheers mate
Cheers mate
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video #17
what do you mean by it? What chooses which creature? The player?
-
- Posts: 5
- Joined: Fri Jan 01, 2010 9:18 pm
Re: Video #17
Well im expiramenting with a map system which i am making at the moment and i was wondering when the player clicks a picture of a goblin they fight the goblin but when they click a picture of an orc they fight the orc???
Is there any way to do this mate?
Cheers
Is there any way to do this mate?
Cheers
Proud owner of RealmOfEnron
http://realmofenron.co.cc
http://realmofenron.co.cc