Famous Posted October 17, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Share Posted October 17, 2012 Can I request a npc that set a password and use this command can_trade: false for lock and can_trade: true for unlock if you enter a correct password?? bump!! Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 17, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 17, 2012 Not sure if there command to invoke ID's trade, but you can try make Group ID 0 can trade, Group ID 1 can't trade. If a "Locked" player login, use OnPCLoginEvent to atcommand "@adjgroup 1 "+strcharinfo(0). I'm lazy to write the whole script, work a little bit Quote Link to comment Share on other sites More sharing options...
Famous Posted October 20, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Author Share Posted October 20, 2012 thanks but I need a whole script I hope there is some one who can help me Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 20, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 20, 2012 Idea is given, why not try to write on your own? Use atcmd "adjgroup 1 " + strcharinfo; for those whose account is locked in label OnPCLoginEvent. Quote Link to comment Share on other sites More sharing options...
Famous Posted October 22, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Author Share Posted October 22, 2012 can you make me one? Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 22, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 22, 2012 (edited) http://pastebin.com/raw.php?i=hW81mAyG For conf/group.conf, make sure you have can_trade: false in Group ID 1. Edit: You can also use @lock <password> and @unlock <password> to access. Edited October 22, 2012 by darristan Quote Link to comment Share on other sites More sharing options...
Famous Posted October 22, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Author Share Posted October 22, 2012 thanks its working but it doesnt recognize the password when I tried to unlock it.. and when I try to recon my char the lock will gone Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 22, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 22, 2012 Weird. It uses permanent variables define account lock status. My guess is ur variable exceed to server default limit which is 64 per character. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 22, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 22, 2012 (edited) mes "[Account Manager]"; mes "Password is now set. Account will be locked upon log out."; set .@Pass$, #AccPass$; // <----- THIS LINE set #AccLock, 1; atcommand "@adjgroup 1 " + strcharinfo(0); close; can I ask what that line means ? also please make sure to do some protection so a GM will not get demoted <.< Edited October 22, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 22, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 22, 2012 Haha didn realize and I'm not with PC. Quote Link to comment Share on other sites More sharing options...
Famous Posted October 29, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Author Share Posted October 29, 2012 I hope some one can make another script that's works fine .. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 29, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 29, 2012 That sounds very rude, you didn't even try the script and said it's not working and trying to make another request. Just apply the small typo fix by Annie then is fine. Quote Link to comment Share on other sites More sharing options...
Famous Posted October 30, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Author Share Posted October 30, 2012 sorry I didn't know how to apply it properly need your help can you make it for me? Quote Link to comment Share on other sites More sharing options...
Question
Famous
Can I request a npc that set a password and use this command can_trade: false for lock and can_trade: true for unlock if you enter a correct password??
bump!!
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.