[battleground features] Any addon scripters?

TseTse
05-19-2006, 11:09 PM
EDIT:

http://ui.worldofwar.net/ui.php?id=1948
http://ui.worldofwar.net/ui.php?id=998

SSPVP along with BGAssist have done most of what i wanted.

However, i now want to add a feature to AUTO-take screen shots at the end of a match.

I'm gonna just hack SSPVP. SSPVP.lua


function SSPVP_AcceptBattlefieldPo rt( index, accept, ignoreConfirm )

if( ignoreConfirm == nil and not ignoreConfirm and accept == nil ) then
_, mapName = GetBattlefieldStatus( index );

local dialog = StaticPopup_Show("CONFIRM_BATTLEFIELD_LEAVE", mapName, "", index );
if( dialog ) then
dialog.data = index;
end
else
if( ignoreConfirm and accept == nil ) then
StaticPopup_Hide( "CONFIRM_BATTLEFIELD_ENTRY", index );
end

Orig_AcceptBattlefieldPor t( index, accept );
end
end


Can i just toss in "Screenshot();" ???



function SSPVP_AcceptBattlefieldPo rt( index, accept, ignoreConfirm )



if( ignoreConfirm == nil and not ignoreConfirm and accept == nil ) then
_, mapName = GetBattlefieldStatus( index );

local dialog = StaticPopup_Show("CONFIRM_BATTLEFIELD_LEAVE", mapName, "", index );
Screenshot();
if( dialog ) then
dialog.data = index;
end
else
if( ignoreConfirm and accept == nil ) then
StaticPopup_Hide( "CONFIRM_BATTLEFIELD_ENTRY", index );
end

Orig_AcceptBattlefieldPor t( index, accept );
end
end


Correct?

Could you further have it target the NPC and automatically re-queue? :D

Osurak
05-20-2006, 09:13 AM
Hobbiticus

DermicSavage
05-20-2006, 02:13 PM
http://ui.worldofwar.net/ui.php?id=2008
AutoBG Map

TseTse
05-20-2006, 03:52 PM
hmm, im ok with coding stuff when i dig in...

i really want to basically hack-job some of these other scripts to make a more streamlined WSG addon...

but i need to find one that does auto-screenshots now.

leetdemon
05-22-2006, 09:16 AM
there is a autoflag pickup and return mod out somewhere that spams clicks...

PessimiStick
05-22-2006, 10:45 AM
there is a autoflag pickup and return mod out somewhere that spams clicks...
NO, there isn't.

3rd party program, possibly.

Add-on, abso-fucking-lutely not.

TseTse
05-22-2006, 11:23 AM
well, right now i just want to know how to add a line to SSPVP that auto-screenshots at the end of the match.

The ultimate WSG addon would do this:

1. Auto-lauch battlemap

2. Allow basic join/leave features in SSPVP and others

3. Setup a Targetting system like MainAssist or CTRaid that shows EFC and FFC. When somebody picks up the flag, the EFC would show up on the targgeting with their name. When in range, it would then show HP and allow you to click on it (there would also be a keybind for targetting either flag carrier).

4. Allow %efc valiable to be used in macros for chat purposes (just like %t is)

5. Allow "pings" on the radar to show for entire raid, not just party


It would look sorta like this (mid-screen on the right)

TseTse
05-22-2006, 11:24 AM
http://www.zenegg.com/wow/WSG_dream1.jpg

If you want to be really slick, you also have this addon setup a "quiet" raid channel that shares information on the EFC's position (obtained through battle or whatever) and then shows up on the battlemap. Thus, if somebody with this addon is fighting the EFC somehwre... it would pop-up on the battlemap of others with the same addon (i.e. every time you do damage to an enemy with the flag it sends YOUR location over this raid channel and then that is parsed out on the battlemap and/or radar with an icon).

scandal
05-22-2006, 01:50 PM
This would actually be a pretty neat addon.

TseTse
05-22-2006, 07:59 PM
yea, im gonna sit back and hope timmay or hobbiticus put it together :D

N/M

BGassist already does the targetting really nicely.

TseTse
05-27-2006, 11:06 AM
i changed the first post...

Gringo
06-07-2006, 01:19 PM
I get an XML error with SSPVP

http://www.omicronguild.net/pics/xml.jpg

Any ideas? Or is it now just out of date.

edit: I click ok, and it comes back after 20-30 seconds.

TseTse
06-07-2006, 01:36 PM
weird, gringo. i dont have that error.

but try the beta version http://ui.worldofwar.net/download4.php?dbtable=map s&id=1948%20&title=SSPVP%201.4.6

Gringo
06-07-2006, 03:16 PM
Will try, thanks, I didn't read much on the site just hit 'download.'

Also, and I guess this is because the version was shit, every time I exited a BG, it left the party/raid I was in, too. Sound like anything? Couldn't find a setting for it.

Demonkiller
06-07-2006, 04:38 PM
http://www.streedo.com/BGScreenshot.rar
Should take a screenshot when the scoreboard shows at the end of a game :]

Stinkfist
06-07-2006, 11:02 PM
http://wdn.wowinterface.com/

Demonkiller
06-13-2006, 06:27 AM
Not really an addon, but it uses my BGScreenshot addon.
http://www.streedo.com/WoW.php
crops and resizes the scoreboard and timestamps each game :\
You can PM me if you want it, though I doubt anyone would want it :]