vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Pets (https://vborg.vbsupport.ru/showthread.php?t=61008)

XIII 06-08-2004 12:49 PM

mysql error??? Fix?

MrWolfman 06-08-2004 03:46 PM

read the thread
it will be bad editing of the php files

it install fine for me after i re checked the work
dont use notepad use a better editor

great hack my members love it
mobilemods.net is ready for v3 please

Flow Fusion 06-11-2004 09:39 AM

OK I have pet2 installed and I want to update but I want to know how to remove it and use this one. I went to that thread first and now I wish I came to this one.

No disrespect to the other creator but I have a graphic related board and my members are going crazy lol
What do I call this table?

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
ALTER TABLE user ADD petowned int(3) NOT NULL default '0'

What do I name this table? I can figure out the rest. I just want to be sure about the Data base stuff. I always get nervous.

On a side note. great freakin hack. And ignore the other idiot who has soooooo much free time. SO much free time to keep coming into a post to talk garbage. He said he's not updating the hack but he will help. it looks great to me as is. I just read every page and I just want to say thank you for your time in this hack. Good luck with school. I have my education and I understand how much time has to be put into it.

Flow Fusion 06-14-2004 10:46 PM

Bump

treez 07-18-2004 01:20 AM

the zip file doesnt have any php files in it

treez 07-18-2004 01:36 AM

^ignore that...

is there a thing for this so u can edit things from the admin panel, ie turn it on and off, add/delete/edit classes so I can make it something other then animals?

akirauk 09-16-2004 06:36 AM

Well done to all the people that made this hack. And good luck :)

DjTaz 09-24-2004 12:00 AM

AutomatikStudio - Thanks a million for this hack, its brilliant , and i think if people want to further advance your idea, they should look into doing it themselves or ask someone else for help and not bother you about it.


Now I know this is probably a little late, but ......

Quote:

Originally Posted by Flow Fusion
OK I have pet2 installed and I want to update but I want to know how to remove it and use this one. I went to that thread first and now I wish I came to this one.

No disrespect to the other creator but I have a graphic related board and my members are going crazy lol
What do I call this table?

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
ALTER TABLE user ADD petowned int(3) NOT NULL default '0'

What do I name this table? I can figure out the rest. I just want to be sure about the Data base stuff. I always get nervous.

On a side note. great freakin hack. And ignore the other idiot who has soooooo much free time. SO much free time to keep coming into a post to talk garbage. He said he's not updating the hack but he will help. it looks great to me as is. I just read every page and I just want to say thank you for your time in this hack. Good luck with school. I have my education and I understand how much time has to be put into it.

Fusion -- the table you edit is USER -- if you go to your VB SQL command section (Admin Control Panel - Import and Maintenance - Execute SQL Query) and copy the lines 1 by 1 into the Manual Query Box ...

The Sql instructions will be wll be executed that way , and new tables will be created inside the USER section.

__________________________________________________ _____________

On another note , i tried adding the pet stats to a page outside the Vb section of my boards , and i got it all figured out except for 1 part ...
Im not sure how to work out the formula for the Health ....

I have it working in a way , but the forumula seems to be missing something , so i was wondering if anyone would be able to figure out what the forumla for health for the pets on a page outside Vb would work ?



This is what i tried , but i know its wrong ....im wondering if someone can get me a correct version ? (im not great at PHP myself so help would be appreciated)
Quote:


$joindates = date( "y.md", $jdate);

$jointime = round(TIMENOW - $joindates) / 15200000; // Days Joined
if ($jointime < 1)
{
$postsperday = round($posts);
}
else
{
$postsperday = round($posts/$jointime , 2);
}


// Knomans RPG Stats Function edited for vB3 Pets## //
$petlvl = str_replace(array(' ', ',', '.'), '', $posts);
$level = pow (log10 ($petlvl), 3);
$petep = floor (100 * ($level - floor ($level)));
$petshowlevel = floor ($level + 1);
$pethpmulti =round ($postsperday / 6, 1);
if ($pethpmulti > 1.5) {
$pethpmulti = 1.5;
}
if ($pethpmulti < 1) {
$pethpmulti = 1;
}

$petmaxhp = $level * 25 * $pethpmulti;
$pethp= $postsperday / 5; //number of posts required to maintain HP level
if ($pethp >= 1) {
$pethp= $petmaxhp;
} else {
$pethp= floor ($pethp * $petmaxhp);
}
$pethp= floor ($pethp);
$petmaxhp= floor ($petmaxhp);
if ($petmaxhp <= 0) {
$petzhp = 1;
} else {
$petzhp = $petmaxhp;
}
$pethpf= floor (100 * ($pethp / $petzhp)) - 1;
// ## End RPG Stats Function ## //


And this is how im trying to output it
Quote:


<? echo("<div>
<strong>Level:</strong> $petshowlevel<br>
<strong>Health:</strong> $pethp / $petmaxhp </div>"); ?>


Lottis 10-14-2004 04:16 PM

I really want to install this, does it exist a install manual?

GinjiAmano 10-25-2004 10:29 AM

In addition to the fact that I have no time to develop this anymore, motivation was quickly lost to continue working when someone stole all of mine and your ideas. I advise other coders to be careful of what information you release about your upcoming hack. People steal ideas and make them their own REAL quick. They even try to sell them at first. Heck...they even post in the guys thread they stole the ideas from telling people to buy their hack. But that's just people I guess.

nice words mate, nice words.


All times are GMT. The time now is 04:57 AM.

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.01336 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete