Two Plus Two Newer Archives

Two Plus Two Newer Archives (http://archives1.twoplustwo.com/index.php)
-   Software (http://archives1.twoplustwo.com/forumdisplay.php?f=47)
-   -   Fix for the Waitlists on Party? Can you rewrite this code from demonst (http://archives1.twoplustwo.com/showthread.php?t=550674)

vortex86 11-20-2007 03:08 PM

Fix for the Waitlists on Party? Can you rewrite this code from demonst
 
hi, party intruduced their new waitlists today and im so used to just clicking one button to join a waitlist.

If you click the join waitlist button, the script simply has to click the "Add to Waitlist" Button and after that the "Done" Button

vortex86 11-20-2007 03:10 PM

Re: Fix for the Waitlists on Party? Can you rewrite this code from dem
 
i guess this is the code we need to edit, but what to?
Lib_DM_AutoJoinWaitingLIst(winID, first_available=0)
{
if(first_available){
Lib_DM_ClickControl(winID, "Button2")

}

Lib_DM_ClickControl(winID, "Button3")
}

Pomtidom 11-20-2007 04:00 PM

Re: Fix for the Waitlists on Party? Can you rewrite this code from dem
 
Try changing Button2 to Button1/3/4/.. etc.

coxquinn 11-20-2007 04:01 PM

Re: Fix for the Waitlists on Party? Can you rewrite this code from dem
 
Please post here with updates. It would be nice to use the finished product.

vortex86 11-20-2007 05:38 PM

Re: Fix for the Waitlists on Party? Can you rewrite this code from dem
 
i got it wotking on my machine now, will post how to do it here soon.

vortex86 11-20-2007 05:44 PM

Re: Fix for the Waitlists on Party? Can you rewrite this code from dem
 
ok change this:
Lib_DM_AutoJoinWaitingLIst(winID, first_available=0)
{
if(first_available){
Lib_DM_ClickControl(winID, "Button2")

}

Lib_DM_ClickControl(winID, "Button3")
}


into this:


Lib_DM_AutoJoinWaitingLIst(winID, first_available=0)
{
; if(first_available){
; Lib_DM_ClickControl(winID, "Button2")

; }

Lib_DM_ClickControl(winID, "Button1")
Lib_DM_ClickControl(winID, "Button10")
Lib_DM_ClickControl(winID, "Button14")

}

works perfect for me, just joined 12 tables(well 12 waitinglists first) with 1 click each [img]/images/graemlins/wink.gif[/img]

PatInTheHat 11-21-2007 01:29 PM

Re: Fix for the Waitlists on Party? Can you rewrite this code from dem
 
Thank you Vortex86, worked like a charm.


All times are GMT -4. The time now is 12:28 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.