Page 1 of 5
[Daily & Public Event] Extinguish More Flames
Posted: Thu Jun 21, 2012 4:03 pm
by evilband7
new zone quest (Ancient Kingdom of Rorazan)
Daily quest info: Extinguish More Flames >> runesdatabase.com/quest/425186/extinguish-more-flames
Public event quest info info: Extinguish More Flames >> runesdatabase.com/quest/425182/extinguish-more-flames
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-21533" z="-22929" y="597" type="TRAVEL">
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
yrest(500);
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 2 --><waypoint x="-21680" z="-23204" y="594" type="TRAVEL">
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
__WPL:setDirection(WPT_FORWARD);
else
__WPL:setDirection(WPT_BACKWARD);
end
else
__WPL:setDirection(WPT_BACKWARD);
end
</waypoint>
<!-- # 3 --><waypoint x="-21739" z="-23072" y="597" type="TRAVEL">
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
</waypoints>
Re: [Daily & Public Event] Extinguish More Flames
Posted: Sun Jun 24, 2012 6:50 am
by Sithlord512589
Here is the translation for the german client. Works flawless.
Is there a command for logging the gained energy of justice coins for further optimising.
cos it seems to me that the gained coins per hour isn“t that good.
amd the mm window title bar could be also intresting.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Sun Jun 24, 2012 7:48 am
by lisa
This userfunction might help with what MM window shows you.
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2924
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 8:33 am
by cowbot7
I like this Daily Quest script:) I used it and added a few things, but i need help with trying to login and channel change to 2. I'm trying to take advantage of the daily reset channel change bug I'm sure most peeps are familiar with. my precise problem is that i logout (of course after it changed channel to1) and I stuck on the loading screen not knowing how to make the bot click server channel2 and then click enter world.Oh and 1 other small detail my mount goes away every other quest i pick up. I'm new to making scripts don't really know what I'm doing just copy-pasting
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-21533" z="-22929" y="597" type="TRAVEL">
RoMScript("PartnerFrame_CallPartner(2,3)")
yrest(5000);
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount ~= 10 then
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
yrest(500);
else --do what you want to when you have done all 10 daily quests
sendMacro("ChangeParallelID(1);");
player:rest(27);
sendMacro("Logout();")
waitForLoadingScreen()
end
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 2 --><waypoint x="-21680" z="-23204" y="594" type="TRAVEL">
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
__WPL:setDirection(WPT_FORWARD);
else
__WPL:setDirection(WPT_BACKWARD);
end
else
__WPL:setDirection(WPT_BACKWARD);
end
</waypoint>
<!-- # 3 --><waypoint x="-21739" z="-23072" y="597" type="TRAVEL">
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
</waypoints>
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 8:44 am
by rock5
I'm not familiar with the bug. How does it work? Log off, select different channel and log back in? If so you can do it like this.
Code: Select all
SetChannelForLogin("next") -- Switch to next channel on next login
ChangeChar(RoMScript("CHARACTER_SELECT.selectedIndex")) -- Log back into the same character.
waitForLoadingScreen()
If you are already on the last channel, "next" will take you back to channel 1. So you need a way to know when to stop.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 11:23 am
by cowbot7
the daily quest bug is... You logon to your character in channel2 then do 10 daily quests then change channel to 1 then logout then click (channel 2) and (enter world) buttons. And your dailies will be reset for you to do it over again:)
as for what you posted i need to make sure I'm logging in channel 2 . When you logout the menu screen shows your character in the middle right below him is the (Enter World) button and in the top left is where you select channel it comes up random between ch2,ch3(Although the choices are ch1,ch2,ch3) from what I've seen. And it must be chosen channel 2 in order to make this bug work
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 11:41 am
by rock5
In that case, after you have changed to channel 1, use
Code: Select all
SetChannelForLogin(2) -- Switch to channel 2 on next login
ChangeChar(RoMScript("CHARACTER_SELECT.selectedIndex")) -- Log back into the same character.
waitForLoadingScreen()
ChangeChar is like going all the way back to the log in screen then logging back in. I don't know if that will interfere with it working.
I'm currently in a zone where it shows 2 channels but one of them is grey and when you change channel nothing seems to happen. Will the bug still work in those sort of places or does it have to be somewhere where it actually changes channel and you have to wait for the timer?
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 11:51 am
by cowbot7
the bug requires ch1 and ch2 to be available if your in a zone that does not have them I would say it more than likely will not work. also I'm in US server reni dont know if its going on else where and I also know that this bug was going on about 2 years ago when they released zones dalanis and southern janost forest.
Added your code testing now
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-21533" z="-22929" y="597" type="TRAVEL">
RoMScript("PartnerFrame_CallPartner(2,3)")
yrest(5000);
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount ~= 10 then
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
yrest(500);
else --do what you want to when you have done all 10 daily quests
sendMacro("ChangeParallelID(1);");
player:rest(27);
sendMacro("Logout();")
waitForLoadingScreen()
SetChannelForLogin("2") -- Switch to channel 2
ChangeChar (RoMScript ("CHARACTER_SELECT.selectedIndex")) -- Log back into same character i hope:)
waitForLoadingScreen()
end
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 2 --><waypoint x="-21680" z="-23204" y="594" type="TRAVEL">
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
__WPL:setDirection(WPT_FORWARD);
else
__WPL:setDirection(WPT_BACKWARD);
end
else
__WPL:setDirection(WPT_BACKWARD);
end
</waypoint>
<!-- # 3 --><waypoint x="-21739" z="-23072" y="597" type="TRAVEL">
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
</waypoints>
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 12:09 pm
by rock5
Nope that's not right. Like this,
Code: Select all
sendMacro("ChangeParallelID(1);");
player:rest(27);
SetChannelForLogin("2") -- Switch to channel 2
ChangeChar (RoMScript ("CHARACTER_SELECT.selectedIndex")) -- Log back into same character i hope:)
waitForLoadingScreen()
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 12:27 pm
by cowbot7
made the change like you showed it but after channel changed to1 character just sits there doing nothing the rom/bot screen says (Changing to character 1 on the same account.) so like i didnt logout
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 12:52 pm
by rock5
So it said "Changing to character 1 on the same account." but did nothing? That's strange. I'd expect it to either, say that message and work or not say that message and not work. What version of my loginxml and loginnextchar are you using?
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 1:34 pm
by cowbot7
loginxml folder i didnt do anything with it. I dont know what file to put my info in. I do know to place it in the ROM game folder interface but i didnt do that:(
userfunction.loginnextchar.lua I placed it in the right spot
Re: [Daily & Public Event] Extinguish More Flames
Posted: Mon Jul 09, 2012 3:31 pm
by rock5
If you don't put the loginxml folder into the interface folder then it wont work. You can use the loginxml without the loginnextchar but you can't use loginnextchar without loginxml.
To set it up just follow the "instructions" here
http://www.solarstrike.net/phpBB3/viewt ... =27&t=1245
BTW I'm about to post an updated version.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Tue Jul 10, 2012 9:59 am
by cowbot7
well install loginxml put my info in it. works nice that part.but when i ran the script it logged out after the channel change to 1, but when it did the login it did not change channel to 2 it just logged in at what ever random spot it highlights (ch1,ch2,ch3)
Re: [Daily & Public Event] Extinguish More Flames
Posted: Tue Jul 10, 2012 10:41 am
by rock5
Are you using the versions of loginxml and LoginNextChar I just posted? Did you change any settings besides adding the account info? I tested channel changing quite a bit with this version and it worked flawlessly. It might be possible, though, that using some of the other older options might interfer, just a possibility.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Tue Jul 10, 2012 10:54 am
by cowbot7
Ok finally got it. The problem was loginxml was made for Multiple characters and multiple accounts. With that in mind i simply told it character 1,account 1, channel 2 ...WINNER!!!!!
Code: Select all
sendMacro("ChangeParallelID(1);");
player:rest(27);
ChangeChar (RoMScript ("1,1,2"))
waitForLoadingScreen()
Re: [Daily & Public Event] Extinguish More Flames
Posted: Tue Jul 10, 2012 10:57 am
by cowbot7
Thank you rock5 you were very helpful in finding a solution to my problem:)
Re: [Daily & Public Event] Extinguish More Flames
Posted: Tue Jul 10, 2012 11:28 am
by rock5
I sometimes forget that I added channel option to ChangeChar but SetChannelForLogin should have worked. They basically do the same thing, that is, change a variable to the desired channel. Then when it is starting up it sets the channel to that variable. Oh well, I'll deal with it next time.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Tue Jul 10, 2012 5:27 pm
by Bubi
cowbot7 wrote:the daily quest bug is...
It's not working on EU Server
Think they fixed that in Chapter 2
Re: [Daily & Public Event] Extinguish More Flames
Posted: Thu Jul 12, 2012 12:22 pm
by Tamyra
I have a question about this bug, do you have to shut down the client, or can you just return to character select screen?