Analog Posted March 3, 2010 Posted March 3, 2010 I also had to add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I put it right below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Floydian Posted March 9, 2010 Author Posted March 9, 2010 Thanks TwiztedFake for posting the problem and the solution. I apologize for not responding sooner. I've been slammed busy. I'll push out a 1.0.3 version very soon to correct that error. The 1.0.3 will also contain one php 4 compatibility update as well. Cheers PS Please post any bugs here. I will investigate any bugs that come up. Quote
Redex Posted March 9, 2010 Posted March 9, 2010 Which file do we have to correct this error in ? Quote
Karlos94 Posted April 16, 2010 Posted April 16, 2010 In this function you have made the last query more complicated that it needs, why do you make the money field to the set to the $money var? You already do it at the start of the query? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thank you if you can explain. Quote
Andrewelli Posted April 24, 2010 Posted April 24, 2010 this replacement is awsome, maybe you can intergrate in a armory one so you dont need to edit you inventory :) Quote
Dominion Posted April 24, 2010 Posted April 24, 2010 this replacement is awsome, maybe you can intergrate in a armory one so you dont need to edit you inventory :) Floydian already said she does not want to go outside the stock(basic) gangs in what it has so thats what making an armory would be doing still would go for a few $$ if someone was to make something like it Quote
vermilion Posted July 3, 2010 Posted July 3, 2010 in the create gang function: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. it says (line 54-57): You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. this first picks [username]'s gang and checks if its allowable if not it picks the requested name should that not be: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. that way it first checks the requested name and if that is not allowed it picks [username]'s gang Quote
Analog Posted July 4, 2010 Posted July 4, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. $_REQUEST['name'] is the variable that is being checked by the if statement, then the $name variable is set. Quote
The Spirit Posted August 18, 2010 Posted August 18, 2010 I'm getting this error when i go into the forum. Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/mafias/public_html/gangs/plugins/private/gang_mygang.php on line 366 Quote
DELETE-ME-NOW- Posted August 18, 2010 Posted August 18, 2010 I am also having problems with the accepting gang members... It wont update the database even though i changed the udpdate to update... any help? Quote
Analog Posted August 19, 2010 Posted August 19, 2010 did you also add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. So that the query runs? Quote
vermilion Posted August 20, 2010 Posted August 20, 2010 The spirit I'm getting this error when i go into the forum. Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/mafias/public_html/gangs/plugins/private/gang_mygang.php on line 366 was having the same error so i tried some things out and this seems to work (side note: this is not heavily tested): around line 366 you will see: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace that with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. dont remove the part between the /* tags, (in case it does not work you can easily return it back) after that add these sql's in phpmyadmin if you dont have them already: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Kieran-R Posted December 6, 2010 Posted December 6, 2010 I was wondering fi anyone could point out to me how to change the name from crystals to points? As crystals is not printed anywhere in the main script files :S Quote
Dominion Posted December 6, 2010 Posted December 6, 2010 I was wondering fi anyone could point out to me how to change the name from crystals to points? As crystals is not printed anywhere in the main script files :S gangs/config.php from the download. Quote
fuzzyDCR Posted March 4, 2011 Posted March 4, 2011 hm... this works great, but there is one bug that i can't figure out where the problem is. Where it says LAST 10 GANG EVENTS when ever someone declares war on your gang it links to player id instead of gang id. Which is odd because everything else works correctly. If i declare on someone it links properly, if They declare on me it links properly to my gang but not theres....so this is buggy. Also I see that the surrender does the same thing. If they offer the surrender and I click the link it will go to what the gangs id (6) and will go to player id 6 instead. Quote
SHAD Posted March 7, 2011 Posted March 7, 2011 Shouldn't be hard to fix really, just find the 'insert' which adds to gang logs when someone declares a war on you and change player id to gang id. Gave you a brief idea. Quote
rulerofzu Posted April 11, 2011 Posted April 11, 2011 gang replacement zip file Reposted as the download link is currently not working. gangs.1.0.2.zip 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.