Skip to content

ad.json banner rotation / bugs #447

Description

@StevenFredette

Question: Does the ad.json no longer support the timer argument for the banners? In the older version of PVPGN, we had two arguments that seem to be missing. The banners I have created are 12-second videos with sound .smk.

Older ad.conf
"ad000001.smk" init 30 "http://www.yourwebsite.org" 0x000002 "SEXP"

Suggestion: I'm almost certain all clients can't mute, skip, choose the ad. If we could have a LUA hook to send a user a specific banner or some way to exclude certain banners from the main loop. Users can choose to hear banners with sounds, or be excluded from the main banner loop so they are not annoyed with such banners, etc.

Bugs:

  1. The file size is not checked before sending the banner. So bigger files will crash the client. 30MB caused Warcraft 2 to crash. My friend told me to expect 1MB buffers for banners?

  2. The actual banner size 468x60 is not checked before sending so a greater size will cause Warcraft 2 to crash.

  3. A video banner with sound will begin to loop as most likely a smaller video than what pvpgn says to display the banner for. This option has become deprecated in the current pvpgn ad.json?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions