Bobbey Posted January 12, 2019 Share Posted January 12, 2019 (edited) I am working on an alternative to webwalking, where if the player is in the predicted area, it will walk to the destination using Walking.walkPath(); But does this reduce ram usage if the script at least once uses Walking.webWalk? Or does the web stay in the ram? If so, then what I am doing it pretty useless. Edited January 12, 2019 by Bobbey Quote Link to comment Share on other sites More sharing options...
Developer Patrick Posted January 12, 2019 Developer Share Posted January 12, 2019 Currently it stays in ram, but we're working on a solution for this. 1 Quote Link to comment Share on other sites More sharing options...
Bobbey Posted January 12, 2019 Author Share Posted January 12, 2019 Haha I JUST finished working on the alternative xD @Patrick I notice the webwalking uses more RAM on linux? Is this the case, or do I have some linux memory leak? (bots use 1.5GB on linux, 800MB on windows,,,) Quote Link to comment Share on other sites More sharing options...
Chiseled Posted January 13, 2019 Share Posted January 13, 2019 10 hours ago, Bobbey said: Haha I JUST finished working on the alternative xD @Patrick I notice the webwalking uses more RAM on linux? Is this the case, or do I have some linux memory leak? (bots use 1.5GB on linux, 800MB on windows,,,) MAke sure you have sound off on RS, usually on linux the sound drivers aren't installed so it'll eventually crash due to memory leak, also all scripts with WebWalking uses 500mb+ of memory, without it you can get scripts to 50-100mb which means you can almost run 5x more accounts with the same ram just by not using WebWalking. Nice to hear Patrick comment on fixing the amount of memory WebWalker uses. Quote Link to comment Share on other sites More sharing options...
Juggles Posted January 13, 2019 Share Posted January 13, 2019 Yeah definitely turn sound off on Linux. Quote Link to comment Share on other sites More sharing options...
Bobbey Posted January 13, 2019 Author Share Posted January 13, 2019 (edited) @Chiseled Yeah I definitely turned off sound... It took me about 8 hours of programming and testing (mostly testing) to switch over to my own pathing system. But now my server can run 60 bots instead of 25! What I did was make 'paths' of small areas and have the mouse click on the minimap on a random position in those areas one by one. If it cannot find a path, it will try LocalPathFinder. As final attempt it will use webwalking (which has not happened to my knowledge yet) Edited January 13, 2019 by Bobbey Quote Link to comment Share on other sites More sharing options...
Bobbey Posted January 13, 2019 Author Share Posted January 13, 2019 13 hours ago, Chiseled said: MAke sure you have sound off on RS, usually on linux the sound drivers aren't installed so it'll eventually crash due to memory leak, also all scripts with WebWalking uses 500mb+ of memory, without it you can get scripts to 50-100mb which means you can almost run 5x more accounts with the same ram just by not using WebWalking. Nice to hear Patrick comment on fixing the amount of memory WebWalker uses. 50-100MB??? How does one accomplish that? -allow nointerface,lowresource,norender???? Quote Link to comment Share on other sites More sharing options...
Chiseled Posted January 13, 2019 Share Posted January 13, 2019 2 hours ago, Bobbey said: 50-100MB??? How does one accomplish that? -allow nointerface,lowresource,norender???? spot on, need to build the script in a manner to where it always has fail safes, think of it all, lags, deaths, etc, then the script should always know how to behave, you can watch the bots from an alternative account to see whether they end up where they should of, not sure how many people utilize those `nointerface` `lowresource` and `norender` features but it's impressive and very well designed, recommend you aim to design scripts that work with them 1 Quote Link to comment Share on other sites More sharing options...
Bobbey Posted January 14, 2019 Author Share Posted January 14, 2019 @Chiseled what could fail with nointerface etc? My bots currently run without me having to press a key after the cli, is that enough? Quote Link to comment Share on other sites More sharing options...