[youtubehd]http://www.youtube.com/watch?v=agEz-t9lzDk[/youtubehd]
http://www.youtube.com/watch?v=agEz-t9lzDk
source
http://www.mediafire.com/?nb5t0dc29qe22cd
Browser MMO Video #27 with source
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 27 with source
how do i make it to where, like on some games, u have to complete a quest before another quest is unlocked. how can i code that and once you complete a quest you wont be able to do it again.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 27 with source
once you complete a quest you cant do it again, already have that implemented
just have it check for the completed quests in the player quests table to get it to only show a quest once another is completed
just have it check for the completed quests in the player quests table to get it to only show a quest once another is completed
-
- Posts: 9
- Joined: Mon Sep 05, 2011 4:05 pm
Re: Video 27 with source
I just made a bank system, I feel happy. Basically I created a new table called bank with 2 indexes or whatever, Id and Camount. id is for the player id, and camount is for the current amount. 2 form requests allow you to withdraw and deposit, all this on a new 'bank.php'. I have 2 new php pages to act like a 'buyitem.php', but they work with the deposit and withdraw. They have if and else statements to make sure you can't deposit what you don't have, and to make sure you can't withdraw what you dont have. If you deposit, camount = camount + $deposit, and $deposit is the posted reply on the last page, bank.php. But yeah, I had fun making it.
Re: Video 27 with source
grr... i see where is the problem why in quest log (location) we have 0 but not tru location, cuz SELECT get info from currentquests table in quest log. We need that "location" take not from currentquest, but from questgiver
i tryed something but it still not working. Maybe any1 can explain what we need do when we have this problem, cuz its not first time when i wanna use something from another table, but i cant 

