Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Posted

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.

  • 1 month later...
Posted

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.

  • 2 weeks later...
Posted
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

  • 2 months later...
Posted

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

Posted

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.

  • 1 month later...
Posted

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

Posted

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.

  • 3 months later...
Posted
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.

  • 2 months later...
Posted

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.

Posted

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.

  • 1 month later...

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