BBot - The best bot of the world
How does Macro command "Misc.LoadUrl(Url)" works? xD - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: How does Macro command "Misc.LoadUrl(Url)" works? xD (/thread-19199.html)



How does Macro command "Misc.LoadUrl(Url)" works? xD - Bbotone - 01-23-2016

Third time I'm asking here haha


RE: How does Macro command "Misc.LoadUrl(Url)" works? xD - damiansnk - 01-23-2016

Sending x package to x server ( don't getting back data just send to server )


RE: How does Macro command "Misc.LoadUrl(Url)" works? xD - Bbotone - 01-23-2016

exemple please


RE: How does Macro command "Misc.LoadUrl(Url)" works? xD - damiansnk - 01-23-2016

if player on screen
send package with data to server like:
prv msg on facebook to Barrack Obama ' Come thais trolls north '

that propably won't work but I wanted to show you what is going on


RE: How does Macro command "Misc.LoadUrl(Url)" works? xD - Renato Ribeiro - 01-24-2016

example:
Code:
HP:=Self.Health()
Misc.LoadUrl(http://yoursite.com/yourscript.php?hp=!HP!)

If your health is 400 it will load http://yoursite.com/yourscript.php?hp=400
So, will run the script of "yourscript.php" with querystring attribute "hp=400"

Let's assume yourscript.php has this code, it will save your current hp on database
Code:
$conn = new MyDatabaseConnection('localhost', 'user', 'pass');
$hp = $_GET['hp'];
$conn->write('hp', $hp);

You can write some php code to save your info in db, and execute every 10 seconds, for example, with auto macro, it will keep your info updated on db


RE: How does Macro command "Misc.LoadUrl(Url)" works? xD - Bbotone - 01-31-2016

wow, Idk how to use it :p


RE: How does Macro command "Misc.LoadUrl(Url)" works? xD - Dexter - 02-01-2016

You need some skills in logic and programming. Big Grin