tracking player name // time // WP // level and now gold
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: tracking player name // time // WP // level
easiest way I see option 2 working is if you have a folder purely for this and have a different file for each character. That way different characters can't mess with the info for other characters that are playing at the time. Then just need to be able to read the data efficiently and with mathmatical formulas, like addition lol
Also have it so that reading the data doesn't keep the file "open" and therefore new info can be saved to the file while bot is running.
Also have it so that reading the data doesn't keep the file "open" and therefore new info can be saved to the file while bot is running.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
Re: tracking player name // time // WP // level
Code: Select all
table.save( tbl,filename )
tbl = table.load( sfile )
Code: Select all
table.save( tbl,"playernamedatabase" )
tbl = table.load( sfile )
Code: Select all
table.save( tbl, "savedplayernamesdatabases" )
tbl = table.load( sfile )
PS. it would be also wise not to make this addon MM only, cause theres a lot of times when we need to open a client without MM... (at least i do need that)
Re: tracking player name // time // WP // level
I'm working on a html viewer as such to view the data saved to a XML file.
So bot function will save data to XML files and then they can be viewed in a web page.
Should cover everything people have asked for
So bot function will save data to XML files and then they can be viewed in a web page.
Should cover everything people have asked for
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level
Not sure with method Othon1001 uses but there is 2 ways I found to utilise the perl.swietlowka wrote: so id like also knwo like rom botter how exactly do i run the perl code?
1. install perl on your machine and then use cmd.exe to execute the .pl file. It then basically works like MM and has charcter output.
2. Which I only read but haven't tested is to implement the perl code into a html file which would output the info into a web browser.
Well I spent most of today learning how to use XML in HTML and I can say it is pretty limited at basic lvles and would require a lot of coding just to get the output.html to be anything useful for what we want.
Did someone say they didn't want the data to be read using MM, I thought someone did but to be honest at this stage it seems to me like the easiest way to actually get the volume of data we would be looking at.
It wouldn't involve rombot to be running, it would be MM running with a new .lua created just for viewing the saved data.
It would be purely word based usage but no reason you couldnt "ask" for details on specific characters/accounts/realms or just all the info together. As for the type of info it could be gold/tokens/just about anything you want.
Any comments about using MM for this??
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
Re: tracking player name // time // WP // level
in your place i would start with asking a guy who made http://www.rom-armory.com/ this site... wich i belive is run by welshde http://forum.us.runesofmagic.com/showthread.php?t=50586lisa wrote:Not sure with method Othon1001 uses but there is 2 ways I found to utilise the perl.swietlowka wrote: so id like also knwo like rom botter how exactly do i run the perl code?
1. install perl on your machine and then use cmd.exe to execute the .pl file. It then basically works like MM and has charcter output.
2. Which I only read but haven't tested is to implement the perl code into a html file which would output the info into a web browser.
Well I spent most of today learning how to use XML in HTML and I can say it is pretty limited at basic lvles and would require a lot of coding just to get the output.html to be anything useful for what we want.
Did someone say they didn't want the data to be read using MM, I thought someone did but to be honest at this stage it seems to me like the easiest way to actually get the volume of data we would be looking at.
It wouldn't involve rombot to be running, it would be MM running with a new .lua created just for viewing the saved data.
It would be purely word based usage but no reason you couldnt "ask" for details on specific characters/accounts/realms or just all the info together. As for the type of info it could be gold/tokens/just about anything you want.
Any comments about using MM for this??
PS. i was the one saying that it better be an normal addon, because when it will be MM only u'll have no info about characters you dont bot with
Re: tracking player name // time // WP // level
I checked out that site and it seems all infomation is added by the user, it doesn't get the info directly from RoM. You might have been thinking it was like wow-armory which does get the info directly from the game servers database.
At the moment I am thinking along the lines of a small addon, there wouldn't be much difference to building this in rombot or RoM itself. I am currently looking at a different output though, instead of using purely xml tables I am looking at outputing to htm files directly, So actually making htm files from the functions. This will give an easy to read table format for each character. The trouble is to then make it to do calculations though.
I think having 2 types of output is the way to go. A xml table and direct to htm tables. So a function to store data in tables and then another function to build the htm files or just do them both at the same time.
This would probably mean the data will be stored inside the runes of magic/interface/addons diretory. Would be silly to output files to rombot folder from within the RoM client.
At the moment I am thinking along the lines of a small addon, there wouldn't be much difference to building this in rombot or RoM itself. I am currently looking at a different output though, instead of using purely xml tables I am looking at outputing to htm files directly, So actually making htm files from the functions. This will give an easy to read table format for each character. The trouble is to then make it to do calculations though.
I think having 2 types of output is the way to go. A xml table and direct to htm tables. So a function to store data in tables and then another function to build the htm files or just do them both at the same time.
This would probably mean the data will be stored inside the runes of magic/interface/addons diretory. Would be silly to output files to rombot folder from within the RoM client.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level
This is just an example of the html output for use with a web browser. I did it using 11 year old software though, hopefully it still works across the different browsers. Frontpage 2000 FTW lol
Have a look and see what you think, it's obviously very basic.
Have a look and see what you think, it's obviously very basic.
- Attachments
-
- dataview.zip
- example of output in html format.
- (2.27 KiB) Downloaded 166 times
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level
character data file something like this, I'm thinking .lua
Code: Select all
dataviewer = {
["Account"] = {
["Name"] = "myaccountrox",
["Server"] = {
["Name"] = "Thalia",
["Character"] = {
["Name"] = "Abracadabra",
["Money"] = {
["Gold"] = 40458,
["XMutor"] = 1,
},
["ClassInfo"] = {
["Class1"] = "13",
["Class2"] = "13",
},
["Items"] = {
["High_Class_Equipment_Package"] = "3",
["Disenchant_Rune"] = "14",
["Blast_War_Hammer"] = "1",
["Experience_Orb_10000_Points_"] = "11",
["Talent_Orb_100_Points"] = "7",
["Card_Shaggy_Snow_Bear"] = "1",
["Superior_Equipment_Package"] = "5",
["Gnoll_Bracelet"] = "7",
["Phirius_Token_Coin"] = "580",
},
},
},
},
}
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level
Personally I think you are making too much work for yourself. I'd just copy most of the data straight from 'player' and 'inventory' and save it to a file or files. Then I'd have a separate program/code/lua/html or whatever use that data to display it the way you want. That way you keep the 'saving of the data' and the 'displaying of the data' separate, which is a lot neater I think. Plus you don't have to remember what variable you used in the file because it will be the same as you use with the bot.
Just my 2 cents worth.
Just my 2 cents worth.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: tracking player name // time // WP // level
Yeah I am making it an in game addon so not using any of the bot to do it. I should prob just stop posting my thoughts here as I went away from the idea of using it purely for the bot.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level
According to you is possible to modify the script of Othon1001
to store number of gold collected? (in this way i can trash some addon that do this work and free memory and so fps)
Tnx, Hagenleu
to store number of gold collected? (in this way i can trash some addon that do this work and free memory and so fps)
Tnx, Hagenleu
Re: tracking player name // time // WP // level
Yup you will want to add into the code
Edited,
None of the code I posted works anymore, so removed this post.
New code has been added in the next few posts which does work =)
Edited,
None of the code I posted works anymore, so removed this post.
New code has been added in the next few posts which does work =)
Last edited by lisa on Mon May 23, 2011 5:04 am, edited 1 time in total.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level
Added a gold tracker user function to first post.
Call the function in your WP onload section will set the start time and then call the function from your WP again just after repairing/selling.
Call the function in your WP onload section will set the start time and then call the function from your WP again just after repairing/selling.
Code: Select all
goldtracker()
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level and now gold
I think there is something wrong with the profit per hour formula. It keeps getting bigger, 10 million gold per hour clops runs? I wish!
I believe the correct formula is:
I believe the correct formula is:
Code: Select all
printf("Profit per hour: " .. profit / elapsedtime * 60 .. "\n")
Re: tracking player name // time // WP // level and now gold
Yes that would make more sense, I'll change and make it V 1.2
Thanks =)
Thanks =)
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level and now gold
I was just going to ask about the same thing Alkaiser did.
Current gold: 16054131
Profit: 5043529
Elapsed time: 850.62806666667 minutes.
Profit per hour: 71502788.707454
Scout/Knight/Rogue 70/66/66
Re: tracking player name // time // WP // level and now gold
quick calculation that should say around 350k per hour.
Try the V 1.2 and hopefully I got it right =)
Try the V 1.2 and hopefully I got it right =)
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: tracking player name // time // WP // level and now gold
Yup, 1.2 works perfectly, thank you so much.
Scout/Knight/Rogue 70/66/66
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest