Jump to content
  • 0

Zeny ranker


caspa

Question


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

can somebody please help me create a zeny ranker script....

the script would have a function like this

 

 

 

mes "How can i help you?"';
 
next;
 
menu "View zeny ranking",1;
 
1:
mes "Alright, here's the top 10 richest character on the server :"
 
top 1 - name 1
top 2 - name 2
top 3 - name 3
top 4 - name 4
top 5 - name 5
top 6 - name 6
top 7 - name 7
top 8 - name 8
top 9 - name 9
top 10 - name 10
next;
menu "name 1",n1,"  "name 2",n2,"  "name 2",n2,"  "name 3",n3,"  "name 4",n4,"  "name 5",n5,"  "name 6",n6," and so on.....

n1:
name :
job :
blvl :
jlvl :
guild : 
current zeny : 1 billion
 
 
n2:
name :
job :
blvl :
jlvl :
guild : 
current zeny : 900 million
 
 
and so on.....
 
Edited by caspa
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   1
  • Joined:  12/13/16
  • Last Seen:  

up for this.. Zeny Tracker

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  110
  • Reputation:   1
  • Joined:  04/03/12
  • Last Seen:  

Posted · Hidden by Xynvaroth, August 6, 2013 - Scripting Requests Rules: You may only answer to topics of this area if you provide scripting code concerning the problem.
Hidden by Xynvaroth, August 6, 2013 - Scripting Requests Rules: You may only answer to topics of this area if you provide scripting code concerning the problem.

Nice way to tract the farmers on the server, i'd like to have the script too.

Link to comment

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   2
  • Joined:  05/23/12
  • Last Seen:  

Posted · Hidden by Xynvaroth, August 6, 2013 - Scripting Requests Rules: You may only answer to topics of this area if you provide scripting code concerning the problem.
Hidden by Xynvaroth, August 6, 2013 - Scripting Requests Rules: You may only answer to topics of this area if you provide scripting code concerning the problem.

PM me.

Link to comment

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  


prontera,150,185,5 script Test 100,{

query_sql("SELECT `c`.`name`, `c`.`class`, `c`.`base_level`, `c`.`job_level`, `c`.`zeny`, `g`.`name` FROM `char` c LEFT JOIN (`guild` g) ON (`c`.`guild_id` = `g`.`guild_id`) ORDER BY `c`.`zeny` DESC LIMIT 10", .@name$, .@class, .@blvl, .@jlvl, .@zeny, .@guild$);

for (.@i = 0; .@i < getarraysize(.@name$); .@i++) {

.@menu$ = (("" == .@menu$) ? "Top " + (.@i + 1) + " - " + .@name$[.@i] : .@menu$ + ":Top " + (.@i + 1) + " - " + .@name$[.@i]);

}

mes "[Zeny Ranking]";

mes "Which character do you want to see details about?";

.@selected = select(.@menu$);

next;

mes "Name: " + .@name$[.@selected - 1];

mes "Class: " + jobname(.@class[.@selected - 1]);

mes "Base level: " + .@blvl[.@selected - 1];

mes "Job level: " + .@jlvl[.@selected - 1];

mes "Guild: " + ((.@guild$[.@selected - 1]) ? .@guild$[.@selected - 1] : "none");

mes "Zeny: " + .@zeny[.@selected - 1];

close;

}

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