Page 41 of 46

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:14 pm
by Desmond
rock5 wrote:You can Shift-Click the Delete button to delete all characters. Is that what you want?
Addon automatically pressed the button Delete, without my participation

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:21 pm
by rock5
So how do you want it to work? You edit accountlogin to automatically create your characters and then later you edit it again to delete all characters? Wouldn't it be easier to just click the button? Plus it's too dangerous an option. What if you set the delete option and then accidentally log into the wrong account? I don't think I want to do this one.

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:24 pm
by Desmond
rock5 wrote:So how do you want it to work? You edit accountlogin to automatically create your characters and then later you edit it again to delete all characters? Wouldn't it be easier to just click the button? Plus it's too dangerous an option. What if you set the delete option and then accidentally log into the wrong account? I don't think I want to do this one.
Well thanks for the answer

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:34 pm
by Desmond
I understood I can not find Muckross for sending stones and belts as I do is manually

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:34 pm
by rock5
I don't think so. An addon in the game can't write to files.

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:44 pm
by Desmond
I need to send that Macross stones, straps for the Macross, I think it will work with you mail?

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:49 pm
by rock5
Do you mean Mana Stones and Belts? Yes you can use my UMM Mail Functions.

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 1:51 pm
by Desmond
rock5 wrote:Do you mean Mana Stones and Belts? Yes you can use my UMM Mail Functions.
I Muckross need not under bot functions

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 2:05 pm
by rock5
I don't know how to send mails using macros especially seeing as you want to use a name list.

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 2:06 pm
by Desmond
rock5 wrote:I don't know how to send mails using macros especially seeing as you want to use a name list.
yes

Re: rock5's "fastLogin Revisited"

Posted: Thu Sep 25, 2014 4:35 pm
by Desmond
still wanted to ask whether there is a function to check for an item by ID ?
for bot

Re: rock5's "fastLogin Revisited"

Posted: Fri Sep 26, 2014 12:31 am
by rock5
To find an item in your inventory by it use

Code: Select all

item = inventory:findItem(123456)

Re: rock5's "fastLogin Revisited"

Posted: Fri Sep 26, 2014 5:07 am
by Desmond
rock5 wrote:To find an item in your inventory by it use

Code: Select all

item = inventory:findItem(123456)
I have a mail bot does not take sometimes I need to check in a bag is there belt, stones connection if not then reopen the post office and pick up all the

Re: rock5's "fastLogin Revisited"

Posted: Fri Sep 26, 2014 8:02 am
by noobbotter
If interested feel free to try out my script I use for grabbing belts and fusion stones from mail, fusing, then forwarding T stones off to another alt. There are some variables you'll have to set but this works good for me. Of course, I haven't tested it after making changes to it to make it for public use but it should work.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
<!-- NoobBotter's Mana Stone Production Script      -->
<!-- This is the script that bots will run to check mail, create dirty tier stones, and forward those stones to another character   -->
<!-- bots need to be near a mailbox when this script is run -->
<!-- I use a separate script for both the bot that sends belts and fusion stones to the bots, -->
<!-- and for the bot that receives Tier 7 and 8 stones and combines them into T9 and T10 stones. -->


	<!--      User Variables         -->
	ISPassword = "yourISpassword" 	--This needs to be the secondary password so your bot can purchase charges from IS.
	beltstouse = 228996 			--this is the cheapest "Holy Belt" belt in Jungle of Hortek near snoop
	receiveFrom = "Charname1" 		-- This is the name of the character that sends belts and fusion stones to the bots.
									-- Purpose of this is so if for some reason there are leftovers, those leftovers will be sent back to sender.
	sendTo = "Charname2" 			--This is the character to send mana stones to after fusing them.
	
	When_Finished         = "charlist"
		-- "end" to end script, "relog" to log next character, "charlist" to use the charlist and "waypointfilename" to load that waypointfile.
	
	<!--If you want to run multiple characters through making tier stones, set character list below -->
	CharList = {}
		-- Character list to use when using the "charlist" option above. Requires my "userfunction_LoginNextChar" userfunction.
		-- Find it here. http://www.solarstrike.net/phpBB3/viewtopic.php?p=10350
		--		eg.
		--		CharList = {
		--			{account=4,chars={}},
		--			{account=8,chars={1}},
		--			{account=7,chars={1,2,5}},
		--		}

	--====================--

	<!--       Functions       -->
	function checkRelog()
		if When_Finished == "relog" then
			sendMacro("}LoginNextToon=true;a={")
			sendMacro("Logout();");
			waitForLoadingScreen();
			loadPaths(__WPL.FileName);
		elseif When_Finished == "charlist" then
			SetCharList(CharList)
			LoginNextChar()
			loadPaths(__WPL.FileName);
		elseif When_Finished == "end" then
			error("Ending script",2)
		else
			loadPaths(When_Finished)
		end
	end
	
	<!-- This function will check number of belts and fusion stones and determine how many charges are needed. It will then purchase enough charges -->
	
	function CheckCharges()
		local belts = inventory:itemTotalCount(beltstouse)
		local fusionstones = inventory:itemTotalCount("Random Fusion Stone")
		local stonestomake = 0
		if belts > fusionstones then
			stonestomake = fusionstones
		else
			stonestomake = belts
		end
		
		local charges = RoMScript("GetMagicBoxEnergy()")	
		local phirCoins = inventory:itemTotalCount(203038)
		print("We have "..phirCoins.." phirius coins")
		if stonestomake + 3 > charges then
			local chargestobuy = stonestomake + 3 - charges
			local rounds = 0
			if chargestobuy > 20 then 
				rounds = 3
			elseif chargestobuy > 10 then 
				rounds = 2
			elseif chargestobuy > 0 then 
				rounds = 1
			end
			if rounds > 0 then
				for i = 1, rounds do
					printf("Running low on charges... buying 10 more.\n")
					guid = FindItemShopGUID(202928,"coin")
					if phirCoins > 99 then	
						BuyFromItemShop(guid, ISPassword)
					end
					yrest(1000);
				end
				while inventory:itemTotalCount(202928) > 0 do
					inventory:useItem(202928)
					print("Using 10x arcane transmutor pack")
					yrest(100);
				end				
			end
		end
	end
	
	<!-- this function will send any T7 or T8 stones to your "sendTo" Character. -->
	<!-- If you want to send T6 also, just uncomment the commented line in this function. and add "Mana Stone Tier 6", in the UMM_SendByNameOrId line-->
	function SendStones()
		local TierStones = { 
			-- "Mana Stone Tier 6", --uncomment this line to send T6 stones.
			"Mana Stone Tier 7",
			"Mana Stone Tier 8"
		}
		
		local havestones = false
		for k,v in pairs(TierStones) do
			if inventory:itemTotalCount(v) > 0 then
				havestones = true
				logInfo("Stonesto"..sendTo, "\t"..player.Name.."\t is sending "..inventory:itemTotalCount(v).." "..v.."'s.",true)
			end
		end
		if havestones == true then
			UMM_SendByNameOrId(sendTo,{"Mana Stone Tier 7","Mana Stone Tier 8"}); --to send T6, add "Mana Stone Tier 6" in this line
			yrest(1000);
			RoMScript("UMMFrame:Hide()");
		end
	end
	
	<!-- This function will send any leftover stones or belts to the character specified in the receiveFrom variable. -->
	function SendSpareEquip()
		local spareitems = { 
			"Random Fusion Stone",
			"Holy Belt",
			"Recall Belt"
		}
		local havespares = false
		for k,v in pairs(spareitems) do
			if inventory:itemTotalCount(v) > 0 then
				havespares = true
				break
			end
		end
		if havespares == true then
			UMM_SendByNameOrId(receiveFrom,{"Random Fusion Stone","Holy Belt","Recall Belt"});
			yrest(1000);
			RoMScript("UMMFrame:Hide()");
		end
	end
	
	<!-- Bot actions -->
	
	UMM_TakeMail();
	yrest(1000);
	RoMScript("UMMFrame:Hide()");
	UMM_DeleteEmptyMail()
	RoMScript("UMMFrame:Hide()");
	CheckCharges()
	Fusion_MakeMaxManaStones()
	yrest(1000)
	SendStones()
	yrest(1000)
	SendSpareEquip() -- if you don't want to return unused stones or belts, just uncomment this line.
	loadPaths("NextFileToLoad");
</onLoad>
</waypoints>

Re: rock5's "fastLogin Revisited"

Posted: Fri Sep 26, 2014 10:49 am
by Desmond
I would like to ask, what is he doing?

Re: rock5's "fastLogin Revisited"

Posted: Sun Oct 05, 2014 4:03 am
by Desmond
I do not know how I must decide a problem with channels in addone he enters on any channel, but the 2 stands in me

Re: rock5's "fastLogin Revisited"

Posted: Mon Oct 06, 2014 1:52 pm
by Desmond
when creating an addon writes A personage with such name exists already. How to make that addon Click OK when he says there is a character
up

Re: rock5's "fastLogin Revisited"

Posted: Wed Oct 08, 2014 1:47 am
by Froote
Hi

I got an issue with the function SetRestartClientSettings() i have not seen on this forum.
Currently, this function closes and restarts the client correctly, but when the bot has to click on the account button to log it, the mouse goes far away from the button (the buttons are mid left of my screen and the mouse goes bottom left), i have read the userfunctions, loginxml files and the topics, so i think that the problem is in the function login(character, account, client) in the userfunction_login.lua (i have the 3.2 version), but i have no idea how to fix it, to make the mouse go to the right position.

i give here the userfunction i have ^^

Re: rock5's "fastLogin Revisited"

Posted: Wed Oct 08, 2014 2:27 am
by rock5
Probably your file versions are not compatible. If you are using the latest loginxml (fastlogin) then try updating your userfunction_login.lua file.

It's a good idea, when you upgrade, to upgrade all of the following files at the same time.
  • loginxml
    login.lua
    userfunction_login.lua
    userfunction_loginnextchar.lua
Note: I'm working on a major update at the moment that might result in some of these files being merged.

Note2: The latest version of loginxml supports multiple pages of accounts but I haven't updated the other files to support that yet. So avoid using multiple pages for now when botting.

Re: rock5's "fastLogin Revisited"

Posted: Thu Oct 16, 2014 4:26 am
by Desmond
OK