IdleLands / IdleLandsOld

[DEPRECATED] A full-blown idling RPG. It has a modular backend that can be added to any existing frontend via a REST API.
http://idlelands.github.io/IdleLandsOld
MIT License
41 stars 28 forks source link

advertisements and such #637

Closed seiyria closed 9 years ago

seiyria commented 9 years ago

(not the web kind)

players may want to advertise that they have something or another, like guild recruitment or that their guild is recruiting or that their guild has awesome buffs and you should join them. players should be able to pay X gold to have their advertisement be put in a "town hall" (on idle.land), as well as have it be broadcast by IdleMaster occasionally, and maybe it would get into the recent events of players for webfe.

The town crier would only cry out to players and flood their adventure log if they are in a town region. It would also be a "Town Crier" event. Otherwise, all ads are visible from the "Town Hall"

devinep52 commented 9 years ago

yisss

seiyria commented 9 years ago

so, the way I think this will be best implemented, is as an Event -- AdvertisementEvent.

Players can budget X gold and offer it per click of their event, as well as supply an external link and event text. Events should also be marked as "someone actually paid for this" so extra text can be prepended.

Suppose that someone wants to advertise their kickstarter, with the message "Come check out my Kickstarter Campaign for a Space Game that's really awesome!" and want to reward 10k to everyone who checks out the campaign (ie, per click), they might issue this command to idlemaster:

!idle-advertise 1000 10000 "true" "Come check out my Kickstarter Campaign for a Space Game that's really awesome!" "http://kickstarter.com"

This action would cost 10,000,000 gold, mark it as a paid advertisement (so there's an extra message beforehand), and send out the event 1000 times giving each target 10k per click (unfortunately, it would only work in WebFE ATM since there's no other way to track it from idle.land, so you only get your 10k in WebFE).

Now, suppose someone wanted to just post a general message out saying "Hey, Fighters of Darkness wants to recruit more people, Lv6 guild buffs!" A sample run might look like this:

!idle-advertise 10000 0 "false" "Hey, Fighters of Darkness wants to recruit more people, Lv6 guild buffs!" "http://idle.land/s/guilds/Warriors%20of%20Light"

Since this isn't rewarding people to check out the guild, it would cost 1m to run this to 10000 people over time (assuming we say each "view" is worth 100 gold).

The current method of dispersal would be this event, which would be more common in town areas, but still happen outside of towns. There will also be a global event that fires this message, costing X views (where X is the number of players online), and this event will fire every 2 hours (probably), which guarantees it will be put in the adventure log of the viewer.

For specific implementation, it might be best to make "ad" a separate type of custom content and re-use that system, and just document it well.

seiyria commented 9 years ago

Additionally, perhaps there should be a personality that, upon being advertised to (maybe after 10 times?), you can opt out of future ads.

seiyria commented 9 years ago

Done-izzle. Implementing into WebFE as we speak.