Jump to content
  • 0

R> Ranked Blacksmith shop


Rizz

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  07/29/17
  • Last Seen:  

Hi, I have a concept about a shop that can only be accessed by the top 10 Ranked Blacksmith. I would be grateful if someone would provide me the script or instruct me on how to make it. Thanks in advance.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

Try this one.
 

-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0", .@fame;
if (.@fame) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

 

Edited by cook1e
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  07/29/17
  • Last Seen:  

On 6/25/2021 at 1:54 PM, cook1e said:

Try this one.
 


-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10') ORDER BY `fame` DESC LIMIT 10", .@fame;
if (.@fame) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

Thanks for the response. I have tested it but the other class can access the shop ?

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

I have edited the post above, try
 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  07/29/17
  • Last Seen:  

Other class still can access the shop ?

ssss.jpg.781a66c2d5c3784962a515ded3c6af20.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

18 hours ago, Rizz said:

Other class still can access the shop ?

ssss.jpg.781a66c2d5c3784962a515ded3c6af20.jpg

Only Blacksmith/Whitesmith can open this shop, working for me.

-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504:-1
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10' OR `class`='4011') ORDER BY `fame` DESC LIMIT 10", .@fame;
if (.@fame) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

 

Edited by cook1e
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  07/29/17
  • Last Seen:  

On 6/28/2021 at 2:33 AM, cook1e said:

Only Blacksmith/Whitesmith can open this shop, working for me.


-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504:-1
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10' OR `class`='4011') ORDER BY `fame` DESC LIMIT 10", .@fame;
if (.@fame) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

 

I have tested it, but it does not work on me, other class can access the shop.?
Thanks for helping.

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