Page 37 of 46

Re: rock5's "fastLogin Revisited"

Posted: Mon Mar 31, 2014 4:53 am
by rock5
  • SetRestartClientSettings(8, rom)
Should be
  • SetRestartClientSettings(8, "rom")
Although rom is probably nil so it would probably use "rom" link by default anyway.

Otherwise I can't see anything else wrong with it.

Re: rock5's "fastLogin Revisited"

Posted: Mon Mar 31, 2014 5:30 am
by ZZZZZ
Unfortunately still does it with those 2 files updated :/ Just odd that it was perfectly fine until I got a new client xD Will try removing all but that addon now and see how it goes.

Still screws up with just IGF and ExtendedMacroIcons :( Will have to just get rid of it permanently i guess.

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 1:43 am
by Notorious
Log on character 1 works perfect, but 2-8 still doesn't work.

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 2:35 am
by rock5
Have you checked that the server info is correct in accountlogin.lua?

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 3:00 am
by Notorious
You mean this line?

Code: Select all

Account21 = {	UserName = "",		Password = "", Server = "",	},
Yes is correct.

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 4:16 am
by rock5
Yes, are they filled in correctly?

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 4:36 am
by Notorious
Yes

Like I said, after reset game if next char is on position 1 script works good, charcter logs to game.
But if is on position 2-8 when script try select character, game back to server selection window.

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 5:39 am
by rock5
Are you 100% sure? Because if I change the server so it's wrong, I can log in to a character but when I try to change character with the bot, it stop with the server selection. Exactly like what was happening to you.
Notorious wrote:after reset game if next char is on position 1 script works good
Are to talking about when the game restarts? Are you saying, if the game restarts and the character it is loading is character 1, then it works? But if the first character it loads, after a restart, is 2-8 then it doesn't?

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 8:24 am
by Notorious
Are you saying, if the game restarts and the character it is loading is character 1, then it works? But if the first character it loads, after a restart, is 2-8 then it doesn't?
Yes, when script restart game and character to load is character 1 then it works. If character to load is on position 2-8 its not work.

The same problem exist with all my 5 account.
Are you 100% sure? Because if I change the server so it's wrong, I can log in to a character but when I try to change character with the bot, it stop with the server selection. Exactly like what was happening to you.
It not stop with the server selection. It log to account, server correct, but when script try select character from position 2-8 it back to server selection.

Problem exist only when script restart game, without restart change character works good. So im 100% sure that my accountlogin.lua is filled correct.

Re: rock5's "fastLogin Revisited"

Posted: Tue Apr 01, 2014 10:30 am
by rock5
Ok, that narrows down where I should look for the problem. I'll look into it tomorrow.

Re: rock5's "fastLogin Revisited"

Posted: Wed Apr 02, 2014 1:44 am
by rock5
I was able to reproduce the error. I restarted the client every 3 relogs and went through all my alts. I got the serverlist after 13 characters. I've now added some print messages and I'll try again after the server maintenance.

Re: rock5's "fastLogin Revisited"

Posted: Wed Apr 02, 2014 12:23 pm
by Agrozet
Hi, I have an idea
My accounts:

SetCharList({
{account=1,chars={1,2,3,4,5,6}},
{account=2,chars={1,2,3,4}},
{account=3,chars={1,2}},
{account=4,chars={1,2.3}},
})

-------------------------------------------------- --------------------------
This group does: daily_1  
{account=1,chars={2,3,4,5,6}},
{account=2,chars={2,4}},

last char acc2 / 4 ends waiponts

switch:
loadpaths (daily_2)
{account = 2 chars = {1}},
{account = 3 chars = {1,2}},
{account = 4 chars = {1}}, 

switch:
loadpaths (daily_3)         
{account = 4 chars = {2,3}},  

switch:
loadpaths (daily_4)         
{account = 1, chars = {1}},                    


it is possible to implement please?

Re: rock5's "fastLogin Revisited"

Posted: Wed Apr 02, 2014 8:06 pm
by rock5
There is a function called IsLastChar() that returns true if this character is the last in the list. You can use it to switch. Example;
  • -- Daily 1:

    Code: Select all

    SetCharList({
        {account=1,chars={2,3,4,5,6}},
        {account=2,chars={2,4}},
    })
    if IsLastChar() then
        ChangeChar(1,2) -- Char 1, Acc 2 - First char in daily2 list.
        loadProfile()
        loadPaths("daily2")
    else
        LoginNextChar()
    end

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 1:22 am
by rock5
@Notorious, I think I found the problem. The gameState function was sometimes reporting that it was at the character selection even though it wasn't. So it would try to click the character then press Enter. This caused the Enter to cancel the login process. As you may know, if you cancel the login, it pops up the server selection screen.

I found what I think is a better pointer. Here is a version of userfunction_login.lua using the new address. It should only work with latest official version of rom 6.0.7 as it's using a static address. Tell me if it works and I'll see about adding a pattern search for it so it will work with all versions.

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 12:55 pm
by 883Dman
I'm having a hell of a time with crashing today when it switches characters. My dailies were mostly trouble free but my secret garden is crashing 90% of the time.
Anyone see anything that might be the culprit? It worked fine before.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">

   <!-- #  1 --><waypoint x="31953" z="3272" y="22">      player:target_NPC("Gamunhan");
      AcceptQuestByName("getting to know yourself")
      player:target_NPC("Gamunhan");
  
	 
end

   </waypoint>
   <!-- #  2 --><waypoint x="31987" z="3368" y="6">   </waypoint>
   <!-- # 3 --><waypoint x="32061" z="3391" y="5">   </waypoint>
   <!-- # 4 --><waypoint x="32212" z="3354" y="28">   </waypoint>
   <!-- # 5 --><waypoint x="32288" z="3346" y="28">      
   player:target_NPC("Daily Quest Manager");
      AcceptQuestByName()
      player:target_NPC("Daily Quest Manager");
      CompleteQuestByName()
   </waypoint>
   <!-- # 6 --><waypoint x="32264" z="3338" y="28">   </waypoint>
   <!-- # 7 --><waypoint x="32157" z="3403" y="12">   </waypoint>
   <!-- # 8 --><waypoint x="31897" z="3886" y="12">   </waypoint>
   <!-- # 9 --><waypoint x="31842" z="4150" y="32">   </waypoint>
   <!-- # 10 --><waypoint x="31847" z="4230" y="37">   </waypoint>
   <!-- # 11 --><waypoint x="31939" z="4360" y="33">   </waypoint>
   <!-- # 12 --><waypoint x="31966" z="4437" y="15">   </waypoint>
   <!-- # 13 --><waypoint x="31921" z="4517" y="6">   </waypoint>
   <!-- #  14 --><waypoint x="31847" z="4592" tag ="Main">
    player:target_NPC("Blinsik");
	 player:target_NPC("Blinsik");
         queststate = getQuestStatus("Helping them Grow");
          if queststate == "complete" then
               player:target_NPC("Blinsik");
           CompleteQuestByName("helping them grow")
   end
      
	   local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
      if 10 == dailyQuestCount then
   if inventory:itemTotalCount(202434) > 0 then
                 inventory:useItem(202434)
   end
	end
	 if RoMScript("Daily_count()") == 10 then -- Done 10 dailies
  SetCharList({ -- example character list
     {account=5, chars= {1,2,4,5,6,7,8}}, <!-- xxx -->
	    {account=6, chars= {2,3,4,5,6,7,8}},   <!-- xxx-->
		 {account=8, chars= {2,3,4,5,6,7,8}}, <!-- xxx-->
	   {account=1, chars= {}}, <!-- xxx-->

	   
    })
		SetChannelForLogin(1)
    LoginNextChar()
	else
    AcceptQuestByName("Helping them Grow")
end
   </waypoint>
  <!-- #  2 --><waypoint x="31847" z="4600">  player:target_NPC("Blinsik");  </waypoint>
   <!-- #  2 --><waypoint x="31812" z="4849">    </waypoint>
   <!-- #  3 --><waypoint x="31415" z="5720" tag = "Item">
         queststate = getQuestStatus("Helping them Grow")
         if queststate == "incomplete" then
               player:target_Object(112976,500);
            yrest(3000);
            __WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
         end
   </waypoint>
   <!-- #  4 --><waypoint x="31878" z="4692">   </waypoint>
   <!-- #  5 --><waypoint x="31843" z="4593"> __WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));  </waypoint>
</waypoints>

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 1:11 pm
by 883Dman
make that 100% ><

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 3:13 pm
by Agrozet
does not load the: loadPaths("daily2")

Code: Select all

  	SetCharList({
	{account=4, chars= {2,3}},
	{account=1, chars= {2}},
    	})
           if IsLastChar() then
      	ChangeChar(2,1)  -- Char 1, Acc 2 - First char in daily2 list.
        	loadProfile()
	loadPaths("daily2")
else
	LoginNextChar()
	end
		end
Edit

I understand where I went wrong :-)

Code: Select all

SetCharList({
   	{account=4, chars= {2,3}},
          })           
        if IsLastChar() then
        	ChangeChar(2,1)		-- Char , Acc  - First char in daily2 list. 
        	loadProfile()
   	loadPaths("daily2")
else
   	LoginNextChar()
   	end
                    end

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 4:17 pm
by 883Dman
for crying out loud, I pasted the wrong wp. Was supposed to be a modified sg2. However, it seemed to straighten out right after I posted this (of course), so I think it was a server issue. I'm convinced ROM is deliberately lowering QOS on our server in an attempt to drive away us last few holdouts. XD I'll see how it acts tomorrow.

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 6:07 pm
by lisa
sg4 is the place to be ;)

Re: rock5's "fastLogin Revisited"

Posted: Thu Apr 03, 2014 9:26 pm
by rock5
Seeing as it was just misbehaving one day, I was going to suggest it might be a server issue.

Anyway, I have reason to believe that another issue in another topic might be caused by a yrest I added to RoMScript. It could be the cause of many currently reported issues with 772. I posted an edited version. Try it and let me know if it helps.
http://www.solarstrike.net/phpBB3/viewt ... 160#p57160