• Welcome to Simple Machines Community Forum. Please login or sign up.
December 04, 2021, 09:31:01 PM

News:

Follow SMF on Twitter.


Party Llamas

Started by Atomic Blaze, March 16, 2014, 06:12:55 PM

Previous topic - Next topic

Atomic Blaze

March 16, 2014, 06:12:55 PM Last Edit: March 18, 2014, 09:29:20 AM by Atomic Blaze
Link to Mod

Party Llamas is a port of the Magic Llamas mod for 1.1.x

It's like a lottery, except it's a llama. It dances around the screen waiting for some (un)lucky chump to catch it and when they do their karma goes up or down.

Admin configurable options include:
   Enable/Disable
   Pages llamas should not appear on
   Chances of a llama appearing
   What the good and bad llamas are called
   How many points they give/take
   The message received when you catch one.

There are no theme edits so it should be compatible with all theme variants. (I say should because if I said all I'd be held responsible for making it work with all themes)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>


Donate to the Free the Llamas fund (not necessary, but for those able and willing it does show great support)
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

DEEPSNUYB

How about telling us WTF this mod does.

TonyMendoza

Heads up: It doesn't copy Party_Llama2.gif into custom themes image directories.
Not necessarily a bug that I desperately need to fix but thought I'd share this little info.

TonyMendoza

Quote from: DEEPSNUYB on March 16, 2014, 08:19:28 PM
How about telling us WTF this mod does.

I don't think it matters what it does. It's a llama.  ;)

But it is supposed to increase/decrease karma when you click the moving llama.

TheListener

Quote from: DEEPSNUYB on March 16, 2014, 08:19:28 PM
How about telling us WTF this mod does.

Quote from: Atomic Blaze on March 16, 2014, 06:12:55 PM

It dances around the screen waiting for some (un)lucky chump to catch it and when they do their karma goes up or down.

Some people need to learn how to read. Somehow I doubt trolls can.

Atomic Blaze

Quote from: TonyMendoza on April 06, 2014, 10:24:52 PM
Heads up: It doesn't copy Party_Llama2.gif into custom themes image directories.
Not necessarily a bug that I desperately need to fix but thought I'd share this little info.
On the install page it should have asked if you wanted to copy changes to all your themes, if you did and it still didn't copy then you have a chmod error.
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

The Wizard

Hello:

Being a mod developer myself I love to hear feedback so here are some suggestions -

1. When I installed the mod I was not taken to the Llama control area in the admin section. Because of this I had to search around the admin control center until I found the Llama control - Configuration => Modification Settings => Llama Mod

2. I expected the llama to appear right away after I installed the mod. This was not the case. I was wondering if the mod was broke, but it was installed correctly. The reason I did not see a llama was because the "Enable Party Llama" setting was not checked. This option needs to set to on.

3. Missing Llama - because I installed a fresh smf 2.0.7 the karma system was turned off. You need to note this in big letters that the Karma system must be turned on.  Configuration => Core features => karma
I think you should write some code to check if the karma is turned on, and if not turn it on.
(it took me awhile to figure this out)

4. "Chances for a llama (out of 100): 15" - the default number needs to be set to 90 otherwise the admin will not see the llama right away and again will worry if the mod works or not.

5. "Llama Speed: (0-???): 50" - the default number needs to be 90 otherwise the llama is way to fast to catch - using your default setting the llama zips around the screen and is dam hard to catch it's like chasing a Ferrari with a bicycle!

6. This is just a suggestion - add a feature where you can upload another image to replace the llama image with your own. Change is the spice of life you know. Also admins will want to customize the image to their site. You are welcome to check out my code and use what you need. I know you can just change the image and keep the llama name, but this way is easier, and as a developer you know how lazy people are.

I loved this mod years ago and used in on my old Yabbs. It's great to see this mod back - Well Done!


jack_1985

Very nice mod! You don't often see quality funny stuff like this to spice up a forum. :)

One question: any pinpoints on how I can disable a bad llama from appearing? It discourages my members a bit to try to catch them.

Thanks for the support.

Atomic Blaze

June 24, 2014, 09:01:55 AM #8 Last Edit: June 24, 2014, 09:17:25 AM by Atomic Blaze
Quote from: jack_1985 on June 24, 2014, 06:38:50 AM
Very nice mod! You don't often see quality funny stuff like this to spice up a forum. :)

One question: any pinpoints on how I can disable a bad llama from appearing? It discourages my members a bit to try to catch them.

Thanks for the support.

I never thought of trying to disable either, I always considered it a lottery, until I can get that added setting the points given for a bad llama to 0 will prevent bad karma from being added.

I'm updating it to 2.0.8 and testing a few new improvements.
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

BigMike

OHHHHHHHHHHHHHHHHHHH MAN

Atomic Blaze. You sent me the files a long time ago and I never knew the mod was officially released!! I just installed your version on my semi-large forum ( posts) and it's working GREAT.

Donation has been sent! Thank you so Llama much!!

Regards,
BigMike

BigMike

Ok,

Got a day under the belt with the Party Llamas and have errors on both my test and live forums. For example,

8: Undefined index: badpoints
File: /.../Sources/Load.php
Line: 1202


8: Undefined index: goodllamas
File: /.../Sources/Load.php
Line: 1203


These lines are as follows:

1200 'llamamod' => array(
1201 'goodpoints' => $profile['goodpoints'],
1202 'badpoints' => $profile['badpoints'],
1203 'goodllamas' => $profile['goodllamas'],
1204 'badllamas' => $profile['badllamas'],
1205 ),


I've double checked the install on both test and live forums and everything seems to be working as expected, just receiving these errors on ever page load.

I'll report back if I can figure it out.

Thanks
BigMike

FireDitto

Second Pass Weyr
An AU Pernse RPG

SMF 2.0.6 with SP 2.3.5

Atomic Blaze

In checking out the new 2.1 beta I have found that there is no karma system with which to build Llamas around, I have a few ideas right now, but I can't be too sure of anything until a final version of 2.1 is released. Llamas is fully compatible with 2.0.9 and the mod page now reflects this.
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

BigMike

Thank you for the update AB. Party Llamas has been cruising along nicely on our 1-million-plus community without any hiccups :)

BigMike

Atomic Blaze

Any feature requests for the 2.1 versions currently accepted, I need ideas for how to implement a karma based mod with no karma system :P
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

BigMike

What if it wasn't karma at all but rather just your own int's in the db? Would probably be some missing restrictions and session handling as a result..

Atomic Blaze

I was actually thinking a admin edit profile field that shows llamas caught and possible integration with other mods (currency/points and the like)
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

Atomic Blaze

Update 5/5/2015 to 1.0.4

New in 1.0.4:
   Added small text under "Enable" in settings that karma must be enabled
   Added configuration explanation to README
   changelog
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

watchhorse

Quote from: BigMike on October 28, 2014, 11:24:02 AM
Ok,

Got a day under the belt with the Party Llamas and have errors on both my test and live forums. For example,

8: Undefined index: badpoints
File: /.../Sources/Load.php
Line: 1202


8: Undefined index: goodllamas
File: /.../Sources/Load.php
Line: 1203


These lines are as follows:

1200 'llamamod' => array(
1201 'goodpoints' => $profile['goodpoints'],
1202 'badpoints' => $profile['badpoints'],
1203 'goodllamas' => $profile['goodllamas'],
1204 'badllamas' => $profile['badllamas'],
1205 ),


I've double checked the install on both test and live forums and everything seems to be working as expected, just receiving these errors on ever page load.

I'll report back if I can figure it out.

Thanks
BigMike

What was the solution because i have the same errors. ???
Wij zoeken diergerelateerde fora ter overname.
Pb gerust als je geen tijd of zin meer hebt om uw forum te onderhouden.

Atomic Blaze

Quote from: watchhorse on May 06, 2015, 10:24:06 AM
What was the solution because i have the same errors. ???

Are you using the latest version? Second, what other mods do you have installed?
Trick number one, looketh over there. Doth endeth the trick.

Follow me on Twitter!

Party Llama || GitHub

Advertisement: