Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ember's Pet Hack Details »»
Ember's Pet Hack
Version: 1.00, by Ember Ember is offline
Developer Last Online: Mar 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-24-2003 Last Update: Never Installs: 29
 
No support by the author.

This is currently version 2.0 of the Pet Hack.

The pet hack enabled each user to have their own pet, which is displayed in the postbit under the postcount (screen shot below).

The user can define their own Pet Name, as well as select the breed of pet from a drop down wether the pet is male or female.

Version 2 adds 2 major new features.

Number one is the images, each breed of pet has a male and female image which is displayed depending on what the user has selected.

The second is the stats, each pet has its own level, HP and EXP. This was taken directly from knomans levels hack, and edited slightly (more credits are given in the install file).

The images of the pets were created by danwei - she has been working very hard on them this afternoon, and without her this wouldnt have happened!!

Inside the zip you will find install instructions, the images needed and s txt file containing some information about what might be appearing in future versions.

I hope you enjoy v2 of the hack, and I will be accepted all comments and suggestions!

If you install this hack live, then please post the link here so I can link to some live examples. Remember to click the "install" button.

Live examples:

Gaming World
Rozhon.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 03-18-2003, 03:34 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what are the stats based on?
Reply With Quote
  #73  
Old 03-18-2003, 07:17 PM
cirisme cirisme is offline
 
Join Date: Jan 2003
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post count, I think.
Reply With Quote
  #74  
Old 03-18-2003, 08:03 PM
SRozhon's Avatar
SRozhon SRozhon is offline
 
Join Date: Apr 2002
Location: IL
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow! Geat Job NuclioN! That's adorable. Can we have the fla files too? I have an idea I'd like to try.
Reply With Quote
  #75  
Old 03-20-2003, 09:33 PM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

midnightz idea is cool ^_^ I hope someone can do this, I would try, but I'm too primitive in the PHP area XD
Reply With Quote
  #76  
Old 04-24-2003, 04:01 AM
McDohl McDohl is offline
 
Join Date: Mar 2003
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey all,

I'm pretty new at hack installing and ran across a little problem. I've install Bitsys' RPG Hack and came across this little problem.

The code it wants me to edit is:
Quote:
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',customtitle='".intval($c ustomtitle)."',usertitle='".addslashes($customtext )."',email='".addslashes(htmlspecialchars($email)) ."',parentemail='".addslashes(htmlspecialchars($pa rentemail))."',coppauser='$coppauser',homepage='". addslashes(htmlspecialchars($homepage))."',icq='". addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))."',usergroupid='$bbus erinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'");
Code to replace the one above:
Quote:
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',customtitle='".intval($c ustomtitle)."',usertitle='".addslashes($customtext )."',email='".addslashes(htmlspecialchars($email)) ."',parentemail='".addslashes(htmlspecialchars($pa rentemail))."',coppauser='$coppauser',homepage='". addslashes(htmlspecialchars($homepage))."',icq='". addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))."',usergroupid='$bbus erinfo[usergroupid]',pettype='$pettype',petgender='$petgender',petnam e='".addslashes($petname)."' WHERE userid='$bbuserinfo[userid]'");
But..

Code i've got:
Quote:
$DB_site->query("UPDATE user SET element='$element', birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',customtitle='".intval($c ustomtitle)."',usertitle='".addslashes($customtext )."',email='".addslashes(htmlspecialchars($email)) ."',parentemail='".addslashes(htmlspecialchars($pa rentemail))."',coppauser='$coppauser',homepage='". addslashes(htmlspecialchars($homepage))."',icq='". addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))."',usergroupid='$bbus erinfo[usergroupid]', rpgclass='$rpgclass', rpgrace='$rpgrace', alignment='$alignment', rpgtype='$rpgtypeid', rpggender='$rpggender' WHERE userid='$bbuserinfo[userid]'");
Which makes for a problem. Does anyone know how I would be able to fix it so that both work okay and don't cause errors?

Thanks,
-Scott
Reply With Quote
  #77  
Old 05-07-2003, 11:46 PM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add

PHP Code:
,pettype='$pettype',petgender='$petgende
r'
,petname='".addslashes($petname)."' 
After
PHP Code:
rpgtype='$rpgtypeid'rpggender='$rpggender' 
I think that should work

look for differences in the code
Reply With Quote
  #78  
Old 05-15-2003, 06:31 PM
Ember's Avatar
Ember Ember is offline
 
Join Date: Sep 2002
Location: Hereford, England
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey everyone, its nice to see this hack being worked on by others, and I am very much back now. My PHP skills have increased a whole lot, and I am ready to get back to work on various things... I'll keep your updated
Reply With Quote
  #79  
Old 05-15-2003, 09:02 PM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah! Looking forward to it
Reply With Quote
  #80  
Old 05-30-2003, 02:35 PM
dawl dawl is offline
 
Join Date: Jan 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I run a pet forum, and my members are LOVING it - We just can't wait for the new version !
Reply With Quote
  #81  
Old 05-31-2003, 11:00 PM
Bulleh Bulleh is offline
 
Join Date: May 2003
Location: Leicester
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.gamers-source.com/forum" target="_blank">www.gamers-source.com/forum</a> i got trouble's i fink its with the SQL database

i get this
SQL-query :

ALTER TABLE user ADD pettype int( 3 ) NOT NULL ALTER TABLE user ADD petname varchar( 25 ) NOT NULL ALTER TABLE user ADD petgender int( 3 ) NOT NULL

MySQL said:

You have an error in your SQL syntax near 'ALTER TABLE user ADD petname varchar( 25 ) NOT NULL ALTER TABLE user ADD p' at line 1
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08360 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete