Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [mccode v2] Faction with Armoury

Right ive added this but my members have asked if there could be a Log like in the gangs mod. Could anyone do this for me ive tried but ended up messing it up, thats what backup's are for :P

  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: [mccode v2] Faction with Armoury

 

Right ive added this but my members have asked if there could be a Log like in the gangs mod. Could anyone do this for me ive tried but ended up messing it up, thats what backup's are for :P

I am attempting this but I'm not gunna promise anything, I'm a newb to coding so...

And does your best chain work? and does the chain end after a period of time?

Posted

Re: [mccode v2] Faction with Armoury

With mysql_real_escape_string(); in v2 all you got to use is: $db->escape($var);

Because v2 has it in the class already.

This is from the class file.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccode v2] Faction with Armoury

 

Right ive added this but my members have asked if there could be a Log like in the gangs mod. Could anyone do this for me ive tried but ended up messing it up, thats what backup's are for :P

I am attempting this but I'm not gunna promise anything, I'm a newb to coding so...

And does your best chain work? and does the chain end after a period of time?

Yes i tried using the old one off gang.php and edit the code to fit factions but it didnt seem to work if only life were that simple :roll:

Posted

Re: [mccode v2] Faction with Armoury

Hi everone

Im a noob i can not code for my life

basicaly can anyone make a organised crime script mod with sql if it needs it.

i tired to take the gang one and edit it TO FIT IN WITH THE faction mod but no such luck.

if anyone can help feel free lol

and im looking for a coder for my website just to code me free version mods

anyone feel they can help add me on msn [email protected]. or mail me

u can be staff on my game and stuff as a thank you :roll:

Posted

Re: [mccode v2] Faction with Armoury

Right i added the attacklost.php fine but am getting errors with attackwon.php i cant figure out what i did wrong and cant find a solution tot he error.

attackwon.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Error:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccode v2] Faction with Armoury

You might be missing a bracket or something, not too sure. Check around for any missing semi colons, brackets, speech marks etc.

Posted

Re: [mccode v2] Faction with Armoury

can anyone one help me about the oc (organised crime page)

like i said i tried to convert the gang one (standard mc codes v2) to work with this mod but no luck

can anyone make an Organised Crime script to work with this

if ya can post it here please :-D

Posted

Re: [mccode v2] Faction with Armoury

When my game is back up ill do it yes its not hard to convert a mod as simpleas Organised Crimes

  • 1 year later...
  • 4 months later...
Posted (edited)

it means a bracket is missing or there is double...

such as the error $r[space']

in which the ' is missing which will give you that error or

$r[['space'] will also give you that error

it should be $r['space']

NOTE: didnt look at the script so 'space' is made up in the example I gave its not an actual name given in the script...

 

This is the part you should examine on that line...

print "<tr><td><a href="http://factions.php?step=profile&ID=

problem 1...

{$r[" target=_blank">

 

<h3>{$r['faNAME]}</h3></a></td><td>";

$membs = sprintf("SELECT * FROM `users` WHERE faction = %u",

mysql_real_escape_string($r['faID']));

$mems = mysql_query($membs);

print mysql_num_rows($mems)."</td>

<td>{$r['faREPUTATION']}</td>

<td>

problem 2...

{$r[</td></tr>";

}

Edited by lucky3809
Posted (edited)

O & what u said did fix that one error, but theres alot more, but i can handle these other ones because they are problems i already dealt with before with the help of u, djkanna, sniko, & analog :) when im done & its working i'll post my version on here.

EDIT: except line 197 i cannot figure that one out.

Edited by Daron

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...