Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

Avvi

Members
  • Content Count

    397
  • Joined

  • Last visited

7 Followers

About Avvi

  • Rank
    Advanced Member

Recent Profile Visitors

2136 profile views
  1. I sort of talked about this in my post:
  2. If your desire is to wait 5 minutes, and sometimes wait 1 minute, then something like this will work: public void pluginLoop() { bool lootStuff = false; int longerTimeToWait = 300000; int shortTimeToWait = 60000; int actualTimeToWait = shortTimeToWait; while (Products.IsStarted && _isLaunched) { if (!Products.InPause) { wManager.wManagerSetting.CurrentSetting.LootMobs = lootStuff; lootStuff= !lootStuff; if(actualTimeToWait == longerTimeToWait){ actualTimeToWait = shortTimeToWait; } else{ actualTimeToWait = longerTimeToWait } Logging.Write("Waiting this long until switching looting status: " + actualTimeToWait); Thread.Sleep(actualTimeToWait); } } }
  3. unfortunately, that won't work. That will make it do the following: Set looting to the variables value. Wait 5 minutes before doing anything Flip the looting variable to the opposite value Wait for 1 minute Repeat So you'll get something like this: Variable value = false: Set looting to false. Make plugin wait 5 minutes before doing anything Set looting variable to true Make plugin wait 1 minute before doing anything Repeat: Set looting to True. Make plugin wait 5 minutes before doing anything Set looting variable to False Make plugin wait 1 minute before doing anything Repeat Set looting to false. Make plugin wait 5 minutes before doing anything Set looting variable to true Make plugin wait 1 minute before doing anything Repeat I think your desired outcome is something else. I'm guessing you want it to sometimes wait 5 minutes, and sometimes wait 1 minute? I am glad I could help 🙂 !!!
  4. Oh, well then that's great news! In that case, you can swap out my plugin template's pluginLoop with this: public void pluginLoop() { bool lootStuff = false; while (Products.IsStarted && _isLaunched) { if (!Products.InPause) { wManager.wManagerSetting.CurrentSetting.LootMobs = lootStuff; lootStuff= !lootStuff; Thread.Sleep(300000); } } } It will wait 300,000 (5 minutes ) milliseconds and then it will flip the LootMobs value from False to True. After another 300,000 milliseconds (5 minutes ) it will go from True to False. It will flip it over and over until the WRobot it turned off. Regarding my template, there are a lot of extra things in there. I added them so that there would be examples of many things 🙂 . If you'd like, you can create a Setting that lets you set the milliseconds manually. Or, you can copy what I've done below. (Replace pluginLoop and pluginSettings : Settings public void pluginLoop() { bool lootStuff = false; while (Products.IsStarted && _isLaunched) { if (!Products.InPause) { wManager.wManagerSetting.CurrentSetting.LootMobs = lootStuff; lootStuff= !lootStuff; Thread.Sleep(_settings.timetowait); } } } [Serializable] public class pluginSettings : Settings { public pluginSettings() { timetowait = 300000; } [Setting] [Category("General Settings")] [DisplayName("Time to wait before looting stuff")] [Description("This is a Description.")] public int timetowait { get; set; } public static pluginSettings CurrentSetting { get; set; } public bool Save() { try { return Save(AdviserFilePathAndName("TemplateProjectName", ObjectManager.Me.Name + "." + Usefuls.RealmName)); } catch (Exception e) { Logging.WriteError("TemplateProjectName > Save(): " + e); return false; } } public static bool Load() { try { if (File.Exists(AdviserFilePathAndName("TemplateProjectName", ObjectManager.Me.Name + "." + Usefuls.RealmName))) { CurrentSetting = Load<pluginSettings>(AdviserFilePathAndName("TemplateProjectName", ObjectManager.Me.Name + "." + Usefuls.RealmName)); return true; } CurrentSetting = new pluginSettings(); } catch (Exception e) { Logging.WriteError("TemplateProjectName > Load(): " + e); } return false; } }
  5. I think that that WRobot will only try looting after it kills something. So if the line that droidz (LootMobs = false;) sent was used, and you killed 20 mobs, it would only loot things for after when you did LootMobs = true
  6. Do you know what channel that is in?
  7. Hmm. Is this true? I thought you were allowed to bot on as many as you wanted, as long as you were on the same IP? https://web.archive.org/web/20160422023648/https://wrobot.eu/store/category/2-wrobot/
  8. Go to https://wrobot.eu/clients/purchases/ . It will show your key on the right hand side.
  9. Ha... Are you above the law or something?
  10. By the way, not using your 'own name' on paypal is against their ToS and is also considered a felony depending on where you live. I'd be careful about what else you reveal about yourself here.
  11. I hope you like being linked to a crime. You'll be the first we'll report , and the first they'll gather information from. Good luck 😉
  12. You do know that that is a threat and that this website has your IP address, right? On top of your IP address, you've also already revealed your age, and that your a student. To top it off, Droidz also knows what your paypal account information is. It wouldn't take long to figure out your full name and your exact location. We already have enough information to report you to authorities if you were to do anything as stupid as you suggest. I wouldn't recommend trying it.
  13. Yes this is exactly how I achieve it in my code. Not the best solution, but an easy one.
  14. My plug-in can do this. Currently the default for 'player nearby' after go to town is 30 seconds but you can change this if you'd like. https://wrobot.eu/files/file/1332-paid-roboalert-game-alerts-discord-phone-notification-email-sound-on-whisper-rare-mob-teleport-logout-death-pause-etc/
×
×
  • Create New...