Page 1 of 1
Browser MMO Video #27 with source
Posted: Tue Sep 20, 2011 9:57 pm
by hallsofvallhalla
Re: Video 27 with source
Posted: Tue Sep 20, 2011 10:39 pm
by dust1031
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.
Re: Video 27 with source
Posted: Wed Sep 21, 2011 1:54 am
by hallsofvallhalla
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
Re: Video 27 with source
Posted: Fri Sep 23, 2011 6:00 am
by Justeenoster
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
Posted: Tue Apr 24, 2012 3:43 am
by Zoo
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
