Jump to content
  • 0

Guild Ranker By Conquer Calculations


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

Is it possible to make a Guild based on how many times you have conquered a castle?

like if guild A conquered alde_cas01 then they gained + 1 guild rank

then after 10 minutes the Guild B conquered the castle so the Guild B gains + 1 Guild Rank

and after 10 minutes again the Guild A conquers the Castle so they gained + 1 again .... so the total would be 2.............

something like this......

but if Guild A Break the guild then the rank of the guild would also be deleted on the rank page.......

Edited by caspa
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

theres a prob sir, please look

 

wattt_zps5419881a.png

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

you don't have preg_match script command

then try

.@exclude$ = "prtg_cas01 | prtg_cas02 | payg_cas04 | payg_cas05" ;// etc..
if ( compare( .@exclude$,strcharinfo(3) ) == 0 )
	query_sql "update guild set woe_points = woe_points +1 where guild_id = "+ getcharid(2);
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Thank you Sir Capuche!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

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