Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [v2]Assassin.php[v2]

Thanks Mate Been Looking For Something Like This

When I Try This It Says

Parse error: syntax error, unexpected '"', expecting ']' in /home/*****/public_html/assassin.php on line 32

Posted

Re: [v2]Assassin.php[v2]

Where to start. there is many holes in this post its unbelievable.

I just spent the good part of the last 20 minutes working on it. and I think im better off to code it out myself and post it.

 

I've made a lot of headway on it however will not work entirely till its fully worked out and tested.

Here it is.

 

You're unable to view this code.

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

Posted

Re: [v2]Assassin.php[v2]

i get this errorr when people are trying to assassinate someone

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'brave=brave-5 WHERE userid=1' at line 1

Query was UPDATE users SET money=money-,brave=brave-5 WHERE userid=1

can anyone help?

Posted

Re: [v2]Assassin.php[v2]

 

i get this errorr when people are trying to assassinate someone

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'brave=brave-5 WHERE userid=1' at line 1

Query was UPDATE users SET money=money-,brave=brave-5 WHERE userid=1

can anyone help?

read my above message in my recode. Its to far screwed up. I will need a day just to recode it alone.

better just to do it from scratch.

Posted

Re: [v2]Assassin.php[v2]

 

True ... But what makes yours any better ?

Lol, i know mine never worked i will fix it when i have time

  • 8 months later...
Posted

Re: [v2]Assassin.php[v2]

 

I'm still waiting for the fixes xD. Will anyone try and fix it please :P

Thanks

Well... for the age of the post... you could try and fix it... :)

Posted

Re: [v2]Assassin.php[v2]

Im getting

You're unable to view this code.

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

Any idea?

You need {$_GET['user']} You cannot just wack in the file name into your browser. You need to go to someones profile and click the link.

Posted

Re: [v2]Assassin.php[v2]

The reason this happened is most likely because of:

 

You're unable to view this code.

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

 

on line 64

Here is that segment of code:

 

You're unable to view this code.

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

 

Is it just me or should the - sign be a + sign??

Posted

Re: [v2]Assassin.php[v2]

 

You're unable to view this code.

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

 

Find in viewuser.php

[Attack]

 

Then add

[Assassinate]

 

 

FIXED AND TESTED

 

Thanks , That was somthing I missed while trying to fix the codes, I have edited the code and that is now sorted.

I basicaly just changed the -150 to -120.

$newhosp=$hospital-120;

or you could swap this line to:

$newhosp=(int)(rand(5,60));

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...