Advertisement:

Author Topic: [DONE] Magic Llama mod  (Read 234911 times)

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
[DONE] Magic Llama mod
« on: April 04, 2004, 08:03:55 AM »
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
« Last Edit: August 14, 2004, 03:06:50 AM by Aquilo »

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: LLAMAS ARE FREED!!!!
« Reply #1 on: April 04, 2004, 08:29:32 AM »
My mod is better.  And anyway, that won't work... but I'm not telling why.... :P.

-[Unknown]

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #2 on: April 04, 2004, 08:39:05 AM »
hey I didn't say it was better then yours! and let me look over the one that's working on localhost and see if I forgot anything!

but they seem to work BRB!

http://www.xtram.net/banners/llamas/bad_llama.gif
http://www.xtram.net/banners/llamas/good_llama.gif
http://www.xtram.net/banners/llamas/llama_modsetting.gif
http://www.xtram.net/banners/llamas/llama_working.gif

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #3 on: April 04, 2004, 08:45:08 AM »
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!

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #4 on: April 04, 2004, 09:04:26 AM »
HA... HA...
Found it I forgot moveobj.js and global $modSettings; in index.template.php! :P fixed!

Offline 7summits

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • My personal text would like to stay that way
    • 7summits.com the highest mountains per continent!
Re: LLAMAS ARE FREED!!!!
« Reply #5 on: April 04, 2004, 09:13:40 AM »
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?
Quote
Found 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 :-)

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #6 on: April 04, 2004, 09:18:52 AM »
Quote
Found 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!
« Last Edit: April 04, 2004, 09:20:40 AM by Aquilo »

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: LLAMAS ARE FREED!!!!
« Reply #7 on: April 04, 2004, 09:39:23 AM »
YES Finally someone does

Offline 7summits

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • My personal text would like to stay that way
    • 7summits.com the highest mountains per continent!
Re: LLAMAS ARE FREED!!!!
« Reply #8 on: April 04, 2004, 09:40:49 AM »
I noticed the following error (being a guest)
At the bottom of message index:
Code: [Select]
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 :-)

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: LLAMAS ARE FREED!!!!
« Reply #9 on: April 04, 2004, 09:42:55 AM »
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

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #10 on: April 04, 2004, 09:43:30 AM »
ok I just uploaded another bug fix @ 9:40am or if your getting the db error and you can add the missing fields

Code: [Select]
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

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #11 on: April 04, 2004, 09:45:06 AM »
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!

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: LLAMAS ARE FREED!!!!
« Reply #12 on: April 04, 2004, 09:46:04 AM »
Thats my problem how do you use BoardMod to Upload it is there someone tutorial  :'(

Offline babylonking

  • SMF Friend
  • Full Member
  • *
  • Posts: 664
  • Gender: Male
  • Proudly Canadian
    • Assyrian Chaldean Online Community
Re: LLAMAS ARE FREED!!!!
« Reply #13 on: April 04, 2004, 09:47:12 AM »
Nice one Aquilo but your zip file is corrupted  ::)

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #14 on: April 04, 2004, 09:54:01 AM »
another db alter!

Code: [Select]
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.

Offline babylonking

  • SMF Friend
  • Full Member
  • *
  • Posts: 664
  • Gender: Male
  • Proudly Canadian
    • Assyrian Chaldean Online Community
Re: LLAMAS ARE FREED!!!!
« Reply #15 on: April 04, 2004, 09:56:18 AM »
Yup now it's working thanks......... BTW can i name your mod magic wingedbull in my forum that if you don't mind?

Offline 7summits

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • My personal text would like to stay that way
    • 7summits.com the highest mountains per continent!
Re: LLAMAS ARE FREED!!!!
« Reply #16 on: April 04, 2004, 09:58:20 AM »
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 :-)

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #17 on: April 04, 2004, 10:02:41 AM »
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!

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,518
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re: LLAMAS ARE FREED!!!!
« Reply #18 on: April 04, 2004, 10:12:12 AM »
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!

Offline 7summits

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • My personal text would like to stay that way
    • 7summits.com the highest mountains per continent!
Re: LLAMAS ARE FREED!!!!
« Reply #19 on: April 04, 2004, 10:17:41 AM »
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 :-)