Jump to content


Photo

PHP / Mysql


  • Please log in to reply
4 replies to this topic

#1 dprayer

dprayer
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 08 June 2006 - 07:50 AM

Hi All

In my online mafia game, i have a countrys section where you can take over a casino or bank etc,etc.

In my scripts it says as a php script you are able to grab it but its not working on the game.

Is there something i need to type in to activate it or is there something on mysql i need to change to activate it.

It has been disabled for Bank, Bulletfactory, All Casinos and airport.

Its just as if there is a switch i need to press for it to work..lol

Thanks

#2 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 08 June 2006 - 08:04 AM

a) we can't help you unless you post code.
b) maybe you should contact whoever sold you the code.
c) why would you purchase code if you have no idea how to use it.
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#3 dprayer

dprayer
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 08 June 2006 - 08:14 AM

<td height="10" valign="top">Airport</td>
<td width="184">
<?php if ($airport->owner == "0"){ echo "No owner-<a href='?grab=Airport&location=$locations[$i]'>Grab it</a>"; }else{ echo "<a href='profile.php?viewuser=$airport->owner'>$airport->owner</a>"; } ?> </td>
<td width="233"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>
<tr>

there is the script.

the guy i bought the scripts from is on holiday.

and i thought this was a help forum instead questioning why someone does something? (sorry if it sounds harsh)

#4 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 08 June 2006 - 08:39 AM

the code we would need to see is in the php file that processes these requests. When you say it has been disabled for those elements then there could well be a simple switch
follow me on twitter @PHPsycho

#5 dprayer

dprayer
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 08 June 2006 - 09:40 AM

[!--quoteo(post=381299:date=Jun 8 2006, 09:39 AM:name=ToonMariner)--][div class=\'quotetop\']QUOTE(ToonMariner @ Jun 8 2006, 09:39 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
the code we would need to see is in the php file that processes these requests. When you say it has been disabled for those elements then there could well be a simple switch
[/quote]

i have managed to get it on the website now.. but the grab it doesn't work to take it over.

if anyone has msn it would make it so much easier.. rayer_gangland@hotmail.co.uk




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users