Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TechnoDragon

Pages: 1 2 [3] 4 5 ... 12
31
General SMFShop Discussion / Re: Problem with my SMF Shop
« on: March 07, 2007, 09:53:35 am »
try reinstalling the shop

32
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 06, 2007, 09:08:31 pm »
i will take a look at the code in that item to see what's wrong later today...thanks for the info!

33
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 06, 2007, 03:07:09 pm »
ok, first the two files, one restores used akill points rather than wait until the next day...the max ap (skill oints) raises the maximum number of skill points your pet can have.

Third, yes I found that out too, the skills_cnt refers to the number of skills they can have...so if you make a pet and create three skills for it you have to change that to 3

34
Items / Re: Insurance (Still needs work!)
« on: March 05, 2007, 12:07:20 pm »
it is generating any errors?

35
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 04, 2007, 05:04:26 am »
most likely in the database for the pet description

36
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 03, 2007, 11:36:43 am »
ROFL

Didn't even notice that variable!


37
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 03, 2007, 07:09:00 am »
that or escape it...either way will get rid of the error
 EDIT:

For some reason the pet mod will not read anything but the first skill...I have them set properly
Code: [Select]
$this->skill[1] = new skill;       //Required for making new skills.

but it only will list the first one.

38
Coding / Re: Making Packages?
« on: March 03, 2007, 06:26:46 am »
hmmm, I hadn't tested that yet (only have one pet myself...let me take a look at it and see if i can fix that

EDIT:

Ok, updated the pet items to allow the member to select whic pet to use it on attached to this post (note, in the future you can always pick up the most recent pet items at my forum in my downloads section.)

39
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 03, 2007, 06:23:19 am »
's Neil but Jr.

what is that from?

Basically, you need to escape the apostrophe with an \ right before it

40
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 03, 2007, 04:46:23 am »
Well, the link that is placed is textual, just like the other profile links...

In other news, I have fixed it so that while your pets are training the button disappears and when they are done the button reappears to finish...

In pet_engine.php find the function trainMenu replace the entire function with this:
Code: [Select]
function trainMenu() {
global $txt, $scripturl;
   $date = date('z');
   if ($date < 10) {
   $date = '00'.$date;
   }
   elseif ($date < 100) {
   $date = '0'.$date;
   }
   $date = date('y').$date.date('H');
if ($this->training == 1) {
if ($date > ($this->training_date($this->trainingend))){
$middlestring = $txt['pets_course_finish2'];
$command = $txt['pets_train_pet'];
$returnstring = "<form method='post' action='".$scripturl."?action=shop;do=pets;type=train;pet=".$this->id."'> ";
$returnstring .= $middlestring;
$returnstring .= " <input type='submit' value='{$command}'></form>";
}
else{
$middlestring = sprintf($txt['pets_course_taking'], $this->training_date($this->trainingend));
$command = $txt['pets_train_pet'];
$returnstring = "<form method='post' action='".$scripturl."?action=shop;do=pets;type=train;pet=".$this->id."'> ";
$returnstring .= $middlestring;
}
}
else {
$middlestring = $txt['pets_train_cost'].$this->calcTrainCost();
$command = $txt['pets_train'];
$returnstring = "<form method='post' action='".$scripturl."?action=shop;do=pets;type=train;pet=".$this->id."'> ";
$returnstring .= $middlestring;
$returnstring .= " <input type='submit' value='{$command}'></form>";
}
return $returnstring;
}

And add this line to the shop.english.php
Code: [Select]
$txt['pets_course_finish2'] = 'Your pet has completed its course!';

41
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 02, 2007, 10:53:34 pm »
You'll have to make the edit to the profile.template.php to show the link...

42
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 02, 2007, 09:34:39 pm »
There is a link on every profile to view the pets that a particular member has

43
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 01, 2007, 02:07:39 pm »
You mean like a combat system? That would be totally awesome... because it means I wouldn't have to do it. XD!

Yes actually that is exactly what i mean...we are putting the final touches on an rpg system using my avatar maker, and wanted to use your pet mod to create a forum battle system using the pets and the avatars people make....

44
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 01, 2007, 11:52:33 am »
Thanks for the info BasilBeard!  I did what you suggested using the switch...and it is now working perfectly!  I also did a bit of editing so that the level up button disappears while the pet is training!  I have also begun working on a variety of different skills for pets and several pets themselves!

With your permission, my partner helping me write my avatar maker (which also combines with the shop) would like to take this to a new level...we want to code in a "combat mod" of sorts for this....

45
General SMFShop Discussion / Re: SMFPets is Finally Here
« on: March 01, 2007, 07:14:50 am »
Ahhh, see that is a different method of coding than i am used to (most everything i have done is with source and template files)

i will give that a shot tonight and see what happens...have i told you this is an awesome mod yet?

other than the $context error it is working flawlessly...i have waited to code skills and pets until i "tweak" a few settings, but once i do i will make most of them available for everyone here!  if anyone has any ideas for additional items let me know and i will try to make them happen (trying to take some of the load off of you basilbeard)

Pages: 1 2 [3] 4 5 ... 12