Jump to content
MakeWebGames

Recommended Posts

Posted

i was sick of seeing in the gangs list this respect and so on

so i decided to code my own gang levels without having to modify alot.

 

put this is global_func.php near end or anywhere lol

You're unable to view this code.

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

 

then replace all instances of

You're unable to view this code.

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

in gang central and your gang with

You're unable to view this code.

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

 

it will tally your respect and set it to a level form

THIS IS A MODIFY TO ATTACK PAGES TO SET THE EXP FOR GANGS HIGHER

You're unable to view this code.

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

 

 

ANY TROUBLES POST HERE

...

Posted

Re: [mccodes V1'2] gang levels

 

would that top part still go in global_func for v2?

Yes it would.

i wrote this for v2

but i think v1 uses the same sort of global_func.php

Posted

Re: [mccodes V1'2] gang levels

i think i did something wrong, just displays one under respect in gang central, no matter who or how many times you attack another player, gang or not

Posted

Re: [mccodes V1'2] gang levels

that is correct lol

setup your own gang and change the respect on it to something high like 8000000 and then check the level lol

Posted

Re: [mccode] gang levels

 

Since a gang will never get that much exp just use:

 

You're unable to view this code.

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

 

I think that will x's it by 50 per level and not 1500

Yes that would be more sensible for the people that are using the old way of gaining respect.

 

since i use UPDATE gangs set gangrespect=".$expgang."

 

then $expgang = $expwon/100*15

 

which is 15% of the total exp they gained in the battle

 

for gang wars i am in the middle of setting a capture the flag sort of layout

 

where they can Own own other peoples gangs in a way without having access to them

 

like on main page for that users gang GangFlag: owned by Other persons gang..

 

Then they have the chance to buy it back for a set price the other gang asks or beat them in battle...

  • 5 months later...
  • 4 weeks later...
  • 1 year later...
Posted

In attack, you would see something like,

You hospilized {$r['username']} and gained $exp exp, dropping him of a tall building and then dropping him off to the nearest hospital, you gain 3 respect for your gang.

[...]SQL's[...]

I think its that part.

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