if( $ir['location'] != "2") {
echo "You cant access this area!";
echo "<a href='travel.php'> Move to location? </a>";
//footer shit
exit;
}
place that in the file you want to limit access to.
If anyone is actually interested in the Pokemon RPG source code let me know. I'll gladly sell at an amazing discount of $999.95.
But really, I'd be willing to sell the version I purchased in 2015 for a reasonable price. (Sorry to bump old posts.)
Damn. You seem to need alot of help...
PHP Warning: array_key_exists() expects parameter 2 to be array, null given (2) is because the query didn't work. The query didn't work because you have ' at the end.
Raven script is basicly the same (With some shit tac'd on) Work on editing Raven untill you have mcc V2. Ofcourse you could just fix up Raven. I doubt the owners will go hunting for an unlicensed version.
It's nice that you're giving this away but could you upload it in a zip and maybe add it to the mccode market? (They have a free section and might get this some more attention!)
You might be lucky and find someone selling a license for cheap but it's not common to find people selling one.
If you want to just try the engine before buying I'm sure Kunal or Dave might be able to help you!