Hello Guys okay? I created a system to combat the use of the macro.
I was studying a way to combat the macro when the player is using.
I always knew that when you're reborn and clicks on an npc, the composition window closes and opens the discussion of the NPC.
So I had a simple idea, for while the player is rebornando every 3 minutes the anti macro open, asking him to enter the number that requires dialogue, if it miss the dialogue will close.
For this you need to look for id = 2000004
he is one of the ids that automatically generates the game.
I will not put here because the script use the id 2000004 for various events modify the missions created by me, with this you'll need to make some changes:
What will you do?
1. Open your navicat, go to the table cq_action
2. Create a new id, the new id must be: 313552
3. Look for id = 2000004 on your table cq_action
4. Copy the id_next, id_nexfail, type, date and stop all this and paste in the id 313552
His edition will look like this:
313552 id_next id_nexfail type data param
Now look again cq_action vai in the id_next = 4007370 & paste this id: 313578
Okay, now you're doing it will copy this code below:
Now copy the code below and paste it into your cq_task:
Now give maintenance on your server.
Okay, your anti-macro already working.
Thank you for your attention, I am open for questions and suggestions.
Remember to thank for encouraging me to bring news.
I was studying a way to combat the macro when the player is using.
I always knew that when you're reborn and clicks on an npc, the composition window closes and opens the discussion of the NPC.
So I had a simple idea, for while the player is rebornando every 3 minutes the anti macro open, asking him to enter the number that requires dialogue, if it miss the dialogue will close.
For this you need to look for id = 2000004
he is one of the ids that automatically generates the game.
I will not put here because the script use the id 2000004 for various events modify the missions created by me, with this you'll need to make some changes:
What will you do?
1. Open your navicat, go to the table cq_action
2. Create a new id, the new id must be: 313552
3. Look for id = 2000004 on your table cq_action
4. Copy the id_next, id_nexfail, type, date and stop all this and paste in the id 313552
His edition will look like this:
313552 id_next id_nexfail type data param
Now look again cq_action vai in the id_next = 4007370 & paste this id: 313578
Okay, now you're doing it will copy this code below:
Code:
313553 313558 0 122 0 313552 313552 313552 313552 313552 313552 313552 313552 313554 313556 313555 1080 47301 isexit 313555 313556 0 1080 47301 new 313556 313557 0 1082 47301 120 313557 0 313559 1082 47301 180 313558 0 313554 2012 0 1000 313554 -1 313559 313560 0 101 0 This is an Anti-Macro, hinders the use of MACRO. You want to continue to reborn? 313560 313561 0 102 0 Yes. 313563 313561 104000 0 102 0 No~thank~you. 0 313562 0 0 122 0 313563 313563 313564 0 101 0 System Anti-Macro ! 313564 313566 0 101 0 This was created to combat the use of MACRO. 313566 0 0 122 0 313567 313568 313569 313567 313568 313569 313567 313568 313567 104000 0 105 0 3 313570 Enter~Number:~111 313568 104000 0 105 0 3 313571 Enter~Number:~258 313569 104000 0 105 0 3 313572 Enter~Number:~399 313570 313576 313573 2003 0 %accept0 == 111 313571 313576 313573 2003 0 %accept0 == 258 313572 313576 313573 2003 0 %accept0 == 399 313573 313574 0 101 0 You made a mistake when typing the access code! 313574 104000 0 102 0 I'll~talk~to~ADERES. 0 313575 0 0 0 0 0 313576 4007370 4007370 1081 47301 begintime reset 313577 0 0 0 0 0 313578 313576 313579 1080 47301 isexit 313579 313576 313576 1080 47301 new
Now copy the code below and paste it into your cq_task:
Code:
313554 313554 313555 313555 313556 313556 313557 313557 313558 313558 313559 313559 313560 313560 313561 313561 313562 313562 313563 313563 313564 313564 313565 313565 313566 313566 313567 313567 313568 313568 313569 313569 313570 313570 313571 313571 313572 313572 313573 313573 313574 313574 313575 313575 313576 313576 313577 313577 313578 313578 313579 313579 313580 313580 313581 313581 313582 313582 313583 313583 313584 313584 313585 313585 313586 313586 313587 313587 313588 313588 313589 313589 313590 313590 313591 313591 313592 313592
Now give maintenance on your server.
Okay, your anti-macro already working.
Thank you for your attention, I am open for questions and suggestions.
Remember to thank for encouraging me to bring news.