Jump to content

[SOLVED] Faction game help


tom2oo8

Recommended Posts

Ok im new to php but have made the rest of my game.

 

factions in this are group of members who work together to get the most money.

 

Im trying to get a ranking system to:

 

find the users in a specific faction add up all there money, I know how to rank them once ive done that but i really dont know where to start and how i would go aabbout doing this so if any one could help thanks.

 

And hi to everyone just signed up :P

Link to comment
Share on other sites

Thanks but would that work if

 

in the database it was like this:

 

Tables:

 

Users----has users money and faction name in it

 

and

 

faction --- has faction name and TOTAL money

 

So is there any way of working out the total money?? it would have to:

 

check if user is in a faction

Check the users who are in the same faction

add there money up???

 

 

 

Sorry for making you or anyone else basiclly write the code i wouldnt mind if you pointed me in the right direction

 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.