MORTE 79 Posted August 24, 2014 Share Posted August 24, 2014 Somebody help me, I wanted to make a function to block (negotiation, play item on the ground, and buying or selling items) would I enable and disable the function through a quest I can not do more function, can anyone help me? Link to comment Share on other sites More sharing options...
Denis 1477 Posted August 24, 2014 Share Posted August 24, 2014 I read at one post that the command /o is for that,try that Link to comment Share on other sites More sharing options...
MORTE 79 Posted August 24, 2014 Author Share Posted August 24, 2014 (edited) quest blockunblock begin state start begin when 9005.chat."Block unBlock" begin if game.get_event_flag("blockunblock") == 1 then say("Sua conta se encontra bloqueada, deseja") say("Desbloquear ?") local s = select("Sim", "Não") if s == 1 then chat("Sua conta foi desbloquada") game.set_event_flag("blockunblock", 0) command("/o") return end -- if elseif s == 2 then return end --1º if if game.get_event_flag("blockunblock") == 0 then say("Sua conta encronta se desbloqueada, deseja") say("bloquea-la ? isso lhe dará mais segurança...") local ss = select("Sim", "Não") if ss == 1 then chat("Sua conta foi bloqueada com sucesso!") game.set_event_flag("blockunblock", 1) command("/o") return end elseif ss == 2 then return end -- if end --1º if end end says : command not found https://metin2.download/picture/07bIA62g9YFf83CILDIaA2knu3k3YGVx/.png and if the GM and do "/ o" appears and if you click that picture out. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Night 367 Posted August 24, 2014 Share Posted August 24, 2014 I read at one post that the command /o is for that,try that /o turn the gm char into watching mode (same as in the watch mode from the guild war) yes it does do what he want + invisible unable to attack Link to comment Share on other sites More sharing options...
Denis 1477 Posted August 24, 2014 Share Posted August 24, 2014 (edited) quest blockunblock begin state start begin when 9005.chat."Block unBlock" begin if game.get_event_flag("blockunblock") == 1 then say("Sua conta se encontra bloqueada, deseja") say("Desbloquear ?") local s = select("Sim", "Não") if s == 1 then chat("Sua conta foi desbloquada") game.set_event_flag("blockunblock", 0) command("/o") return end -- if elseif s == 2 then return end --1º if if game.get_event_flag("blockunblock") == 0 then say("Sua conta encronta se desbloqueada, deseja") say("bloquea-la ? isso lhe dará mais segurança...") local ss = select("Sim", "Não") if ss == 1 then chat("Sua conta foi bloqueada com sucesso!") game.set_event_flag("blockunblock", 1) command("/o") return end elseif ss == 2 then return end -- if end --1º if end end says : command not found https://metin2.download/picture/07bIA62g9YFf83CILDIaA2knu3k3YGVx/.png and if the GM and do "/ o" appears and if you click that picture out. Use pc.setqf instead of game.set_event_flag because the game.set_event_flag it's like a global variable I read at one post that the command /o is for that,try that /o turn the gm char into watching mode (same as in the watch mode from the guild war) yes it does do what he want + invisible unable to attack So I guess the /o means /observe right? So you need only one little modification in the source to make it work right? Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Night 367 Posted August 24, 2014 Share Posted August 24, 2014 (edited) quest blockunblock begin state start begin when 9005.chat."Block unBlock" begin if game.get_event_flag("blockunblock") == 1 then say("Sua conta se encontra bloqueada, deseja") say("Desbloquear ?") local s = select("Sim", "Não") if s == 1 then chat("Sua conta foi desbloquada") game.set_event_flag("blockunblock", 0) command("/o") return end -- if elseif s == 2 then return end --1º if if game.get_event_flag("blockunblock") == 0 then say("Sua conta encronta se desbloqueada, deseja") say("bloquea-la ? isso lhe dará mais segurança...") local ss = select("Sim", "Não") if ss == 1 then chat("Sua conta foi bloqueada com sucesso!") game.set_event_flag("blockunblock", 1) command("/o") return end elseif ss == 2 then return end -- if end --1º if end end says : command not found https://metin2.download/picture/07bIA62g9YFf83CILDIaA2knu3k3YGVx/.png and if the GM and do "/ o" appears and if you click that picture out. Use pc.setqf instead of game.set_event_flag because the game.set_event_flag it's like a global variable I read at one post that the command /o is for that,try that /o turn the gm char into watching mode (same as in the watch mode from the guild war) yes it does do what he want + invisible unable to attack So I guess the /o means /observe right? So you need only one little modification in the source to make it work right? i think so a well done modification should do this but its impossible to edit this commend (i think that you already know this) cz you will creat by this another work for your self (the quest editing) so making a new commend will be the solution for this it will be like copy past edit (delete more the edit) and here you are done Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
StriKe 0 Posted August 25, 2014 Share Posted August 25, 2014 Ask noxxi, he create that system, if you pay well maybe he could sell you that Link to comment Share on other sites More sharing options...
Denis 1477 Posted August 25, 2014 Share Posted August 25, 2014 Why he should pay?It could be done in 2-3 minutes just change the rights of the command "observe" in cmd.cpp 2 Link to comment Share on other sites More sharing options...
Night 367 Posted August 25, 2014 Share Posted August 25, 2014 Why he should pay?It could be done in 2-3 minutes just change the rights of the command "observe" in cmd.cpp for ex. { "observer", do_observer, 0, POS_DEAD, GM_IMPLEMENTOR }, to { "observer", do_observer, 0, POS_DEAD, GM_PLAYER }, This is too much for 2-3 min Link to comment Share on other sites More sharing options...
Management Karbust 4913 Posted September 4, 2014 Management Share Posted September 4, 2014 Is possible in cmd file put this? observer PLAYER Link to comment Share on other sites More sharing options...
Night 367 Posted September 4, 2014 Share Posted September 4, 2014 Is possible in cmd file put this? observer PLAYER you need to define it Link to comment Share on other sites More sharing options...
Management Karbust 4913 Posted September 4, 2014 Management Share Posted September 4, 2014 Hmmmm OK So with game 2089M isn't possible work with this system? Link to comment Share on other sites More sharing options...
Night 367 Posted September 5, 2014 Share Posted September 5, 2014 Hmmmm OK So with game 2089M isn't possible work with this system? no it is possible however you need to buy it cz no one still use r2089 any more (expect for devloped core and those ppl sure jumped to r40k cz the src is public) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now