VaultNetwork.net Vault Network Boards
Author Topic: Decal Development - Plugin Testing [Locked]
jungalist  1 star
Posts: 216
Registered: 2001-8-25 10:21:58
Is there something like /reloadui for AC/Decal, or some other method for refreshing a plugin without having to exit the game and start it up again?

Any advice is appreciated

 

-----signature-----
ev'ry day is a good day... some are jus' bettah...
Digero  3 stars
Posts: 580
Registered: 2002-10-21 23:55:01
Nope. However, if you're developing a HUD or working on your view layout, you can run your plugin in the D3D Container (in the Decal folder). It will load all of the enabled plugins, but you won't get any AC network packets and AC hooks won't work.

When I was developing GoArrow, I made a build configuration* that defined the constant USING_D3D_CONTAINER and started the D3D container exe for debugging. I put #if USING_D3D_CONTAINER around some additional initialization code to make the plugin load settings etc. when it's created, rather than when the player logs in (since you won't get the login packet/event). I also put it around code that used hooks, to make it use canned data instead. You can see the code here.

*I don't think Visual Studio Express editions support build configs beyond debug/release. If you're using Express, you can instead #define a constant and just comment it out when you're not building for the d3d container.

 

-----signature-----
[LotRO] Digero (Guardian), Digrim (Burglar), Dignite (LM), Azrea (Hunter) - Landroval
[AC] Digero, Lyera, Draxxe - Leafcull (Retired)
[CoH] Devil's Zealot, Scinta, Izzard - Guardian (Retired)
Digero's AC Decal Plugins: http://decal.acasylum.com
jungalist  1 star
Posts: 216
Registered: 2001-8-25 10:21:58
Cool, thank-you for the info.

 

-----signature-----
ev'ry day is a good day... some are jus' bettah...
-paradoxlost-  1 star
Posts: 158
Registered:
The express editions do support build configs. The option was hidden by default in 2005; I haven't looked at the 2008 versions.

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.