Saddler 680 Posted February 19, 2014 Share Posted February 19, 2014 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) Hey, here's my old quest to prevent switch bot: quest switch begin state start begin function switchItem() local a = number(1, table.getn(item_list)) local item_list = {X,X,X,X,X,X,X,X,X,X} local give = true for k,v in ipairs(item_list) do if pc.count_item(v) >= 1 then give = false end end if give == false or pc.get_empty_inventory_count() < 1 then say_title("Title") say("") say_reward("Message error for dont have more than 1 pack on inventory") return end pc.give_item2(item_list[a], 50) -- you can set here the quantity of received item end when X.use begin -- dont forget to set here a NPC or item switch.switchItem() end end end After add the quest to server Go to item_proto client/server Search for 71084, copy the line Then change only the ID's you put in the quest. The name can be the same in all, just change the ID's You need to give path in item_list and item_desc, just change the ID's. Thanks to Mr. 'Avenue™ for a small fix. Kind Regards 9 1 1 3 4 Link to comment Share on other sites More sharing options...
Remix 45 Posted February 21, 2014 Share Posted February 21, 2014 What's the sense of the quest? And why do you use setskin(NOWINDOW)? That won't change anything. Link to comment Share on other sites More sharing options...
Saddler 680 Posted February 22, 2014 Author Share Posted February 22, 2014 What's the sense of the quest? And why do you use setskin(NOWINDOW)? That won't change anything. I do that long time ago. I just share if someone have problems with switch bot, that solve the problem. #Quest edited Link to comment Share on other sites More sharing options...
kforce 5 Posted February 22, 2014 Share Posted February 22, 2014 I do that long time ago. I just share if someone have problems with switch bot, that solve the problem. #Quest edited This doesnt solve the problem, its easy to bypass this "protection". 3 Link to comment Share on other sites More sharing options...
Saddler 680 Posted February 22, 2014 Author Share Posted February 22, 2014 This doesnt solve the problem, its easy to bypass this "protection". That's why in one year nobody bypass on my server. Oh and learn to read the title. "Prevent", stupid. Regards. Link to comment Share on other sites More sharing options...
Premium Shogun 4588 Posted February 23, 2014 Premium Share Posted February 23, 2014 Saddler, watch your language. kforce, it would be more helpful if you explained how, rather than just stating that it can be bypassed. Link to comment Share on other sites More sharing options...
Yoshix3 8 Posted February 23, 2014 Share Posted February 23, 2014 You can easy bypass this with simple python modifikations. Link to comment Share on other sites More sharing options...
Rumor 2607 Posted February 23, 2014 Share Posted February 23, 2014 You can easy bypass this with simple python modifikations. it would be more helpful if you explained how, rather than just stating that it can be bypassed. 1 Link to comment Share on other sites More sharing options...
Saddler 680 Posted February 23, 2014 Author Share Posted February 23, 2014 Saddler, watch your language. kforce, it would be more helpful if you explained how, rather than just stating that it can be bypassed. Sorry Shogun, but that guy come from "other" forum when rules don't exist trying to put me down. I don't like that. I just share the quest for prevent. Not full protection of switch bot. On my old system i have all structure of python modified, hackshield, that quest, and other small stuff. Link to comment Share on other sites More sharing options...
Yoshix3 8 Posted February 23, 2014 Share Posted February 23, 2014 Only to put this small code into OnUpdate function of any py File: for i in xrange(90): ItemVNum = player.GetItemIndex(i) if ItemVNum == BonusItemVnum: net.SendItemUsePacket(i) return 2 Link to comment Share on other sites More sharing options...
GunnerMBT 687 Posted February 24, 2014 Share Posted February 24, 2014 Sorry Shogun, but that guy come from "other" forum when rules don't exist trying to put me down. I don't like that. I just share the quest for prevent. Not full protection of switch bot. On my old system i have all structure of python modified, hackshield, that quest, and other small stuff. Is this forum you mentioned the same where your previous post would be considered an insult? It's not his fault you can't control yourself. He could have been more constructive, how does that allow you to insult him? Also, and on topic: this quest prevents nothing nor it protects, it's a nice little "protection" but easily bypassable. Link to comment Share on other sites More sharing options...
Saddler 680 Posted February 24, 2014 Author Share Posted February 24, 2014 Is this forum you mentioned the same where your previous post would be considered an insult? It's not his fault you can't control yourself. He could have been more constructive, how does that allow you to insult him? Also, and on topic: this quest prevents nothing nor it protects, it's a nice little "protection" but easily bypassable. That's ok. Link to comment Share on other sites More sharing options...
UNK3N0W7 373 Posted March 11, 2014 Share Posted March 11, 2014 I love this quest Thanks saddler +1 Link to comment Share on other sites More sharing options...
Recommended Posts