Dazza Posted November 26, 2008 Posted November 26, 2008 Hello, First I will say I DID NOT make this mod, Richard did in this topic: http://criminalexistence.com/ceforums/index.php?topic=26678.0 He created a Faction system for the Mc Code Lite version that included an armoury. Due to myself and others wanting an armoury as the one posted up lately was 'illegal' I found this, converted it to V2 and tested it. Give Richard a nice comment and a +1 for making the mod, I just converted it to V2. Run SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create factions.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dazza Posted November 26, 2008 Author Posted November 26, 2008 Re: [v2] Faction with Armoury Find in attacklost.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find in attackwon.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add into mainmenu.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add into explore.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then.... Quote
Dazza Posted November 26, 2008 Author Posted November 26, 2008 Re: [v2] Faction with Armoury Create manage_faction.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and finally.... Quote
Dazza Posted November 26, 2008 Author Posted November 26, 2008 Re: [v2] Faction with Armoury Add this into manage_faction.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this function into manage_faction.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add these links into explore.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There you go. I'v done this and it works perfectly on my V2 game so it should for you. I know the discussion of the V2 gangs system may be better, but I dont know what the differences are. Quote
shaved92bravada Posted November 26, 2008 Posted November 26, 2008 Re: [v2] Faction with Armoury Good job on converting it, I haven't tested it yet, but I may use it when it comes time to working on my gangs system. Quote
Guest Sniko` Posted November 26, 2008 Posted November 26, 2008 Re: [v2] Faction with Armoury Grrr......Why is the table in Db faction for V2 it is gangs Quote
Dazza Posted November 26, 2008 Author Posted November 26, 2008 Re: [v2] Faction with Armoury Not sure am following you? I'v come across a problem, you can donate fine but when you give to user it doesnt appear in the inventory - It disappears! Going to have a look after tea incase its something obvious Quote
ADN Posted November 27, 2008 Posted November 27, 2008 Re: [v2] Faction with Armoury There is no function defined for those 3 links : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dazza Posted November 27, 2008 Author Posted November 27, 2008 Re: [v2] Faction with Armoury There is no function defined for those 3 links : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Give money - Works, just tried it Manage Apps - Works, just tried it Kick - Works just tried it Quote
ADN Posted November 27, 2008 Posted November 27, 2008 Re: [v2] Faction with Armoury The, you don't have all lines in manage_faction.php Here, those 3 lines missing. > Give Money / Points Fatal error: Call to undefined function give_vault() in C:\wamp\www\game\manage_faction.php on line 32 > Manage Apps Fatal error: Call to undefined function app_manage() in C:\wamp\www\game\manage_faction.php on line 52 > Kick Member Fatal error: Call to undefined function kick_member() in C:\wamp\www\game\manage_faction.php on line 56 Quote
Dazza Posted November 27, 2008 Author Posted November 27, 2008 Re: [v2] Faction with Armoury Hmm, here are the functions for the above: Kick You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. App manage You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Give You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That what you need? Quote
ADN Posted November 27, 2008 Posted November 27, 2008 Re: [v2] Faction with Armoury Yes, thankyou. +1 from me! :) And one more thing :P Leave Faction < Fatal error: Call to undefined function leave_faction() in C:\wamp\www\game\manage_faction.php on line 36 Quote
Dazza Posted November 27, 2008 Author Posted November 27, 2008 Re: [v2] Faction with Armoury Leave faction You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks, let me know if it all works and if anyone can solve the problem I have were it does not give items out Quote
ADN Posted November 28, 2008 Posted November 28, 2008 Re: [v2] Faction with Armoury Works to me. Great job! If i found something else, i will tell you. Thanks! Quote
ajgraves Posted December 3, 2008 Posted December 3, 2008 Re: [mccode v2] Faction with Armoury Great mod! Going to look to add this to my game tonight as my gang fuctions have a few issues, so i am going to try use this instead :mrgreen: Quote
ColdK Posted December 3, 2008 Posted December 3, 2008 Re: [mccode v2] Faction with Armoury nice mite use +1 Quote
HITMAN 17 Posted December 3, 2008 Posted December 3, 2008 Re: [mccode v2] Faction with Armoury has anyone got gang ocs for this yet Quote
Eruondo Posted February 4, 2009 Posted February 4, 2009 Re: [mccode v2] Faction with Armoury Fatal error: Call to a member function real_escape_string() on a non-object in (...) manage_faction.php on line 110 Anyone got a fix for this? Quote
Karlos Posted February 4, 2009 Posted February 4, 2009 Re: [mccode v2] Faction with Armoury on that file find where it says real_escape_string and make it mysql_real_escape_string Quote
Eruondo Posted February 4, 2009 Posted February 4, 2009 Re: [mccode v2] Faction with Armoury Fatal error: Call to a member function mysql_real_escape_string() on a non-object in (...)\manage_faction.php on line 110 Still same problem. ~~ Oh, never mind. I found a fix. Quote
Eruondo Posted February 6, 2009 Posted February 6, 2009 Re: [mccode v2] Faction with Armoury Now, this pops up everytime i try to open a link in manage_factions.php "You are not authorised to access this page." And still, I am the factions leader. Help, please? Ps. your fix worked, Karlos, I just fixed it wrong, :P I gave you force. Quote
Karlos Posted February 6, 2009 Posted February 6, 2009 Re: [mccode v2] Faction with Armoury I knew mine would work :-P Quote
? Sparks ? Posted June 9, 2009 Posted June 9, 2009 Re: [mccode v2] Faction with Armoury +1 Impressive mod :) Quote
Pieces Posted June 9, 2009 Posted June 9, 2009 Re: [mccode v2] Faction with Armoury Could someone post the full manage faction? And the working attackwon and attacklost.php I also noticed you can not declare war... Quote
Pieces Posted June 10, 2009 Posted June 10, 2009 Re: [mccode v2] Faction with Armoury I have sorted the above, but found another problem, Best chain does not work i.e the count doesn't go up it just stays at zero, there is also no time limit for you to attack i.e current chain never resets back to zero. 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.