Krzysiek0
KrzysieKK
- Joined
- Jun 28, 2015
- Messages
- 170
- Reaction score
- 46
A lot of Summons/Pets do follow you up down stairsSame as any other summons.
A lot of Summons/Pets do follow you up down stairsSame as any other summons.
Close and open Pet channelAny help on the call/dismiss pet? I think it has to be done order to be able to use this code. Reloging into the game to call your pet its not an option! >.<
k:byte() - 32
pet name can be stored as bytes
let's say 32 letters, 4 letters per storage
8 storages to store whole name
example storage values:
key : 9511
...
key : 9518
value 0-99999999
Pet id
name part
Let's say you want to convert word "Example pet name" (2 letters per storage example)
to avoid going above number 99 you can get rid of first 32 characters of ascii table and store characters like that:
this way space = 0, ! = 1, " = 2, ... (see http://www.asciitable.com/ for reference)Code:k:byte() - 32
if player input byte is > 99 then some kind of error or whatever
to decode use strings like that:
if n < 10 then "0"..n
and then tonumber(outcome)
storages should vary between 0 and 9999
so decoding should be like:
<= 999 - convert to string and add "0"
<= 9 - convert to string and add "000"
split: tostring((tonumber(first 2 numbers) + 32)):char()
same with last 2 numbers and you get 2 decoded letters
i have this error im use TFS1.2 client 10.90
and this
i have one error in global.lua or lib =/
hello the script is nice and work 100%
But how can I other [ 17 ] = {
name = " Dragon Hatchling "
health = 300 ,
evolve = {
to = 18 ,
at = 20
} ,
check = function ( player ) return player : getPremiumDays ( ) > 0 and player : GetLevel ( ) > = 25 and player : isSorcerer () end ,
info = "Only available to Premium Sorcerers above level 25."
for all voc
and how can I add new monster
red need to change or ?
edit--
12:14 [PET-SYSTEM]: Your pet is live!
but the Dragon Hatchling is not comming
<monster name="PET_Lion" file="pets/lion.xml"/>
Click here... and next time read more than instruction from first post.HOW TO SUMMON PET ?
Ok, I don't know why, but I've logged in and my pet did not show.
So I closed/open the PET channel - still nothing.
I checked !petinfo and it says: "your pet is offline".
Any help?
This script needs a !callpet talkaction.
Strange. Any console errors? TFS version?
Reopen PET channel should summon pet.
You added custom pets or so?
Strange. Any console errors? TFS version?
Reopen PET channel should summon pet.
You added custom pets or so?
Strange indeed. TFS 1.2, no console errors. No customization was done, it's a virgin script and it's working fine until the pet doesn't show.
I have to release and catch a new pet...