mrmaxey Posted March 27, 2009 Posted March 27, 2009 hello i have issue's with my game its not installed on the root but in a sub map. the game did not allow it: Game installed at root level of domain or subdomain Failed so i manually placed everything in my database. now i cant do some stuff like update my basic settings and no one can donate.. kinda start to get frustrated here. someone help me out please or hand me over a db.sql file that actually does what it should do is this not possible can someone tell me where in the core i can edit the location of my game so it wont keep redirecting to my root.. Quote
Lithium Posted March 27, 2009 Posted March 27, 2009 Re: NO DONATION.. config.php most likely is the file you need to edit Quote
DELETE ME NOW! Posted March 27, 2009 Posted March 27, 2009 Re: NO DONATION.. $db->query("INSERT INTO settings VALUES(NULL, 'game_name', '{$_POST['game_name']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_owner', '{$_POST['game_owner']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'paypal', '{$_POST['paypal']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_description', '{$_POST['game_description']}')"); You need to do that, lol, that is from installer.php :P Quote
mrmaxey Posted March 27, 2009 Author Posted March 27, 2009 Re: NO DONATION.. config.php most likely is the file you need to edit config is the simpel db connect script... $db->query("INSERT INTO settings VALUES(NULL, 'game_name', '{$_POST['game_name']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_owner', '{$_POST['game_owner']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'paypal', '{$_POST['paypal']}')"); $db->query("INSERT INTO settings VALUES(NULL, 'game_description', '{$_POST['game_description']}')"); You need to do that, lol, that is from installer.php :P Report to moderator Logged and i knew that but how do i enter it in it :S dont work for me keeps saying it does not work SQL query: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. is what i edited to.. Quote
Uridium Posted March 27, 2009 Posted March 27, 2009 Re: NO DONATION.. to Get your game to install on a subfolder openup installer.php and find if($pvf+$wvf+$dvf+$avf < 4) change it to if($pvf+$wvf+$dvf < 3) Ignore the failed message and just click NEXT to start installing Quote
AlabamaHit Posted March 27, 2009 Posted March 27, 2009 Re: NO DONATION.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
mrmaxey Posted March 28, 2009 Author Posted March 28, 2009 Re: NO DONATION.. illusions: if($pvf+$wvf+$dvf < 3) WORKS :D but still the game will not create correct cron: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. [/code] this should say You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. anyways the game works and also the donate page now :D cant add items You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. alabamahit: INSERT INTO `settings` VALUES (NULL, 'game_name', '0'); haha ; obvious how stupid XD thnx for the help all and last lil question why does my job never pays me out ? could that be cause i messed around with the cron to make the game faster ? or is it a other error.. Quote
mrmaxey Posted March 28, 2009 Author Posted March 28, 2009 Re: NO DONATION.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. this error is create cause the form of create an item wasnt succesfully filled in so without a buy or sell price attached to the item its never able to complete the query... yeah very easy to find out but not when hangover :P the cron question stays.. why does my job never pays me out ? could that be cause i messed around with the cron to make the game faster ? or is it a other error.. i did not edit the cron files but specific the cron jobs. make 5 minutes 1 minute etc. kinda figure it could mess it up so. im wondering edit the cron php files or leave it be :) Quote
mrmaxey Posted March 29, 2009 Author Posted March 29, 2009 Re: NO DONATION.. ey is there a donator mod ? that you can add like package without editing the script.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.