Fraserb Posted May 7, 2015 Share Posted May 7, 2015 Does anybody have a download link for the old Way of the Mafia script? I know it wasn't great and bugged to pieces but used to love playing around with it and want to get back into it. Thanks Quote Link to comment Share on other sites More sharing options...
Zettieee Posted May 7, 2015 Share Posted May 7, 2015 Way of the mafia was made using Gangster legengs. Search the forum for Gangster legends v2. It's free. Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 7, 2015 Author Share Posted May 7, 2015 Thanks but thats a very bare script, WoTM came full of mods Quote Link to comment Share on other sites More sharing options...
Zettieee Posted May 7, 2015 Share Posted May 7, 2015 Then buy some mods. Don't be a cheapo. :P Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 9, 2015 Author Share Posted May 9, 2015 I just want something to play around with though, don't want to pay Quote Link to comment Share on other sites More sharing options...
Zettieee Posted May 9, 2015 Share Posted May 9, 2015 then play with GL v2. It's free and you might even learn how to make your own mods. Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 10, 2015 Author Share Posted May 10, 2015 I've tried GL and don't really like it, if anyone has a WoTM script i will pay a finders fee Quote Link to comment Share on other sites More sharing options...
Script47 Posted May 10, 2015 Share Posted May 10, 2015 (edited) I've tried GL and don't really like it, if anyone has a WoTM script i will pay a finders fee Try [MENTION=65371]sniko[/MENTION]'s Panther. It contains the core of any game and other neat features. If you're looking to get in to coding I'd suggest this. It's a skeleton which can be turned in to a top game (if you invest time in to it). Comes with Bootstrap too. Edit #1 If you do plan on using the this engine, then use this installer. Someone ruined the one on [MENTION=65371]sniko[/MENTION]'s page. Edit #2 If you do go live with a game on this engine, then I suggest you un-comment line 238-239 in the installer. Edited May 10, 2015 by Script47 Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 10, 2015 Author Share Posted May 10, 2015 Thanks I'm trying to get it running now, I have followed all the instructions and when I go to it on my browser I just get Not Found The requested URL /index was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. any ideas what im doing wrong thanks Quote Link to comment Share on other sites More sharing options...
Hedge Posted May 11, 2015 Share Posted May 11, 2015 Thanks I'm trying to get it running now, I have followed all the instructions and when I go to it on my browser I just get Not Found The requested URL /index was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. any ideas what im doing wrong thanks Im not familiar with Panther but do you have mod_rewrite enabled? Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 11, 2015 Share Posted May 11, 2015 Make sure that you have .htaccess in your document root Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 11, 2015 Author Share Posted May 11, 2015 I re uploaded the htaccess and now it is working just one problem, i register an account it all works until character select i chose a username and an avatar then it just takes me back to main login. I have checked PHPmyadmin and it is showing the registered user though. Any ideas? Thanks BTW Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 11, 2015 Share Posted May 11, 2015 What version are you using? Quote Link to comment Share on other sites More sharing options...
sniko Posted May 11, 2015 Share Posted May 11, 2015 (edited) If there is enough interest in Panther, I can publish an updated version and accompany it with a website to help with installation and FAQ's. [MENTION=71090]Fraserb[/MENTION] - I'm currently at work. If you haven't sorted it before I get home (in 5 hours), please add me on skype. (harry.sniko) - or add me on Skype anyway :p Thanks! (Thanks [MENTION=68711]KyleMassacre[/MENTION] and [MENTION=69670]Script47[/MENTION]) Edited May 11, 2015 by sniko Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 11, 2015 Author Share Posted May 11, 2015 Kylemassacre - I'm using the skeleton 0.6 Sniko - That would be great, maybe just speak to MWG about letting you have a whole subforum dedicated to Panther to save you money on hosting. I'll keep trying until 5 then, Thanks. Quote Link to comment Share on other sites More sharing options...
Script47 Posted May 11, 2015 Share Posted May 11, 2015 Use Version 0.6 it is the most up to date version (not including [MENTION=65371]sniko[/MENTION]'s copy). Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 11, 2015 Author Share Posted May 11, 2015 Must say sniko you have commented the script very well. Script - I have the most recent version, it's probably some silly mistake I've made which is causing the problem. Quote Link to comment Share on other sites More sharing options...
Script47 Posted May 11, 2015 Share Posted May 11, 2015 Did you fix the other issue? Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 11, 2015 Author Share Posted May 11, 2015 Yeah the htaccess was missing for some reason just can't figure out what's going wrong with the signup, could it be an error with my database? Quote Link to comment Share on other sites More sharing options...
Fraserb Posted May 11, 2015 Author Share Posted May 11, 2015 I have got past the character creation now as I created user on the database instead of through the signup. It shows me logged in but then when I click 'gym' for example it just takes me back to main log in page again. Quote Link to comment Share on other sites More sharing options...
Coly010 Posted May 11, 2015 Share Posted May 11, 2015 (edited) I have got past the character creation now as I created user on the database instead of through the signup. It shows me logged in but then when I click 'gym' for example it just takes me back to main log in page again. That seems like a sessions issue, i'll take a look at the code now and if I notice anything then i'll report back Not sure if this makes a difference not: if(! array_key_exists('uid', $_SESSION) AND !in_array($_GET['page'], array('signup', 'index')) ) { the space between the ! and array_key_exists() ? i'd remove it anyway just incase The only other thing i can see is that this is returning false: function character_is_set_up($user_id) { global $db; /* * Check to see if the user has completed * character set-up */ $char_name = ''; $query = $db->query("SELECT `char_name` FROM `users` WHERE `id`=$user_id"); if ($query->num_rows) { $r = $query->fetch_row(); if ($r['0'] == '') { return FALSE; } else { return TRUE; } } else { return FALSE; } } at this part of the globals: if (module_installed('character_creator') AND character_is_set_up($_SESSION['uid']) == FALSE) { ob_clean(); header('Location: character_creator'); exit; } Edited May 11, 2015 by Coly010 Quote Link to comment Share on other sites More sharing options...
sniko Posted May 11, 2015 Share Posted May 11, 2015 That seems like a sessions issue, i'll take a look at the code now and if I notice anything then i'll report back Not sure if this makes a difference not: if(! array_key_exists('uid', $_SESSION) AND !in_array($_GET['page'], array('signup', 'index')) ) { the space between the ! and array_key_exists() ? i'd remove it anyway just incase The only other thing i can see is that this is returning false: function character_is_set_up($user_id) { global $db; /* * Check to see if the user has completed * character set-up */ $char_name = ''; $query = $db->query("SELECT `char_name` FROM `users` WHERE `id`=$user_id"); if ($query->num_rows) { $r = $query->fetch_row(); if ($r['0'] == '') { return FALSE; } else { return TRUE; } } else { return FALSE; } } at this part of the globals: if (module_installed('character_creator') AND character_is_set_up($_SESSION['uid']) == FALSE) { ob_clean(); header('Location: character_creator'); exit; } > the space between the ! and array_key_exists() ? i'd remove it anyway just incase No, it doesn't matter. You need that condition to go through a NOT gate (ie: make true become false and vice versa). Though, you can do this instead; if(array_key_exists('uid', $_SESSION) === FALSE AND !in_array($_GET['page'], array('signup', 'index')) ) { [MENTION=71090]Fraserb[/MENTION] - I'll be able to assist you in ~2 hours from now via Skype Quote Link to comment Share on other sites More sharing options...
Coly010 Posted May 11, 2015 Share Posted May 11, 2015 > the space between the ! and array_key_exists() ? i'd remove it anyway just incase No, it doesn't matter. You need that condition to go through a NOT gate (ie: make true become false and vice versa). Ah i wasn't sure if the space affected the NOT gate, that was all i was saying :) Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 11, 2015 Share Posted May 11, 2015 I ran into this latest issue a while back and dont remember what I did to fix it :( Quote Link to comment Share on other sites More sharing options...
Zettieee Posted May 12, 2015 Share Posted May 12, 2015 ^ is fake. Don't download. Damnit. I should get some sort of mod power to remove this bull****. Quote Link to comment Share on other sites More sharing options...
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.