[DONE] Magic Llama mod

Started by Aquilo, April 04, 2004, 08:03:55 AM

Previous topic - Next topic

Aquilo

The Llama's have now been freed into the world! WOOT!

Magic Llama mod FULL 0.8 for SMF RC1
http://www.xtram.net/index.php?op=download;id=20

this is here but grayed for reference.

OK here is the full mod, I've spent the last few hours adding a few things and checking 3 time that it installed correctly and there where no bugs! so here is the full, bug free version:
the new Magic Llamas mod for SMF Beta 5 Public can be found here:
http://www.simplemachines.org/community/index.php?topic=8774.msg103861#msg103861

ALL FILES FROM HERE DOWN ARE FOR Beta 4 Public
Magic Llama mod FULL <- Download this version, it has all other files included and extra features +bugs are fixed!

ok so I just got every thing working and I'm not saying there are no bugs I just haven't found any, and I have Magic Llamas on my test server! but there are some things I still have to do so if you install this mod check back because I'll be adding an update to the mod so you the admin can see who is getting the Llamas and delete the Llama entries from the database.

here be the download link
[edit] All changes and db alterations are in the zip file!
this applys to the changes from this post to post 17, any further alterations will be noted and add to the main zip and posted to the thread!
April 06, 2004, 09:12:37 AM: I added the new moveobj.js in the main file aswell, next I will consolidate all the updates into one mod!


[UPDATE/ADDON]
Here is an addon or update to the main mod and needs to be installed after the main mod, This will give your users the option to turn this off from "Additional Preferences" in there profie!
Magic Llama Update 0.2


[UPDATE/ADDON]
There is an addon or update to the main mod and needs to be installed after the main mod, This will give your users an area to see how many good and bad Llamas they got and the points from each in there profie, also this has more features for the admin section, you can controle the speed of the Llama and there is a feature to view who is catching the Llamas, remove unCaught Llama, and remove all Llama.

This update is an addon to the Magic Llama's mod and should be added on after the main mod and Magic Llama Update 0.2 is applyed!
Magic Llama Update 0.3
April 05, 2004, 05:53:08 PM: Fixed two bugs in Update 0.3!
April 05, 2004, 09:23:41 PM: Fixed two more bugs in Update 0.3!


[UPDATE/ADDON]
this update can be used at any point, it simply replaces a file for cross-browser compatibility
Magic Llamas update 0.4
muahahahaha! now then! :P

[/color]
also...

I never sell mods and not going to start but if you'd like you can help in the Free the Llamas for Charter membership fund! it is not necessary but I'm posting it just in case! ;D

[Unknown]

My mod is better.  And anyway, that won't work... but I'm not telling why.... :P.

-[Unknown]

Aquilo


Aquilo

so far I found only one place where I messed up I set the points value for the llama then redo it when the user gets the llama! but it still works...

still looking!

Aquilo

HA... HA...
Found it I forgot moveobj.js and global $modSettings; in index.template.php! :P fixed!

7summits

AAAAAHHH!
The Llama's are free! Well done! Can we see a working model somewhere?

Questions:
- can the user switch this off?
- can guests see it? What happens if they click on it?
QuoteFound it I forgot moveobj.js and global $modSettings; in index.template.php!
what does this mean for us llamalovers wanting to implement it?

<? Piranha($fx); ?>, can you show off your Yak drawing talents?
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

Aquilo

#6
QuoteFound it I forgot moveobj.js and global $modSettings; in index.template.php!
if you have downloaded the zip befor 5 minets ago download it again!

I forgot about letting members turn it off That will be in the update! guests can't see it only members.

I'll set it up at Xtram!

Homie


7summits

I noticed the following error (being a guest)
At the bottom of message index:
Notice: Undefined index: LlamaInfo in /home/xtram/public_html/smf/Themes/default/index.template.php on line 405

Cheers!
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

Homie

I have a question where do i upload  goldenlama2.gif or where do you upload magic llamas.mod i dont KNOW where to upload the MOD File can someone please help

Thanks

Regards
Homie

Aquilo

ok I just uploaded another bug fix @ 9:40am or if your getting the db error and you can add the missing fields

ALTER TABLE `llama_info` ADD `Released` INT( 10 ) ,
ADD `Caught` INT( 10 ) ;
ALTER TABLE `llama_info` ADD `points` SMALLINT( 3 ) NOT NULL AFTER `Type` ;



or here is the file save to alter the table from php
http://www.xtram.net/dls/alter_db.zip

Aquilo

hey homie I just added a few things download the zip again, you upload the image to your Themes/default/images directory

and the mod file need to be installed with board mod!

Homie

Thats my problem how do you use BoardMod to Upload it is there someone tutorial  :'(

babylonking

Nice one Aquilo but your zip file is corrupted  ::)

Aquilo

another db alter!

ALTER TABLE `llama_info` CHANGE `member` `member` MEDIUMINT( 8 )

thanks babylonking, I'll delete the one on the server and upload a fresh one! I must have uploaded it in ascii.

babylonking

Yup now it's working thanks......... BTW can i name your mod magic wingedbull in my forum that if you don't mind?

7summits

Good work Aquilo. Can you update the first post with information about the zip: are all changes made in the file etc.
Also do you have a test account/pw on your forums??
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

Aquilo

here is a test account!

test : 123456

I ave the Llama's set at 75% for testing so there are going to be alot of them! ;D

babylonking, that's cool!

yes all changes are in the zip right now!

Aquilo

I'm sorry homie, I'm not ignoring you! do you have board mod right now?

if so just make a backup of your forum and db, always do that before applying any mod!

now make a copy of your backup forum and name it something like moded_forum then in boardmod directory there is a directory named mods create a new directory named SMF and copy the .mod file there then open boardmod point it to the moded_forum directory then the dropdown box next to it select SMF then click the check box in front of MagicLlamas_mod it will ask a question about installing it click yes and it should till you there where no problems continue? and click yes! then upload the moded files!

7summits

cool, it works on your site!
Now I got the finger I want the whle hand as they say over here  ;D

Feature requests:
Llama stats:
- "you caught x good llamas (increasing kudos with xxx points) and y bad llamas (increasing kudos with yyy points)"
- In user profile as well maybe?
- llama speed!

cheers! free the llamas!
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

Advertisement: