• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction Darkhaos' Pet System

So what am i supposed to do? It won't work?

it keeps tellin me i dun have enuf level to summon a pet, im maxed

edit: npcs.xml?? how to buy a pet too omg.
 
Last edited:
The system it's self is awesome, but i don't like how it got like.. 10 commands, a player wud hotkey them and just forget about his spells :( You shud add a pet channel or something, still pet channel wud be lame, i dunno what suits pets better than !talkactions..

EDIT: It's still awesome tho, works for 0.3.6?

ANOTHER EDIT: Npc.xml plz, a bug, i say !pet call, tells me you do not have enough level to call a pet, i maxed my self to 717k, still tells me the same, plus how do i buy a pet lol?

Check the vocations, it works for me

So what am i supposed to do? It won't work?

it keeps tellin me i dun have enuf level to summon a pet, im maxed

edit: npcs.xml?? how to buy a pet too omg.

You don't buy pet, npc is only to revive pet, use npc.xml you want, only make that npc use the script.
 
Dude, ur pet system is way too bugged omg i get this when i call it on a sorc..

Code:
07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreateMonster) Cannot create monster: dragon lord

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreatureSetStorage) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreatureSetStorage) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoConvinceCreature) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreatureSetStorage) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaGetThingPosition) Thing not found

[07/08/2011 09:35:22] [Error - TalkAction Interface] 
[07/08/2011 09:35:22] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:22] Description: 
[07/08/2011 09:35:22] (luaGetCreatureStorage) Creature not found

[07/08/2011 09:35:22] [Error - TalkAction Interface] 
[07/08/2011 09:35:22] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:22] Description: 
[07/08/2011 09:35:22] data/lib/pets.lua:336: attempt to perform arithmetic on a boolean value
[07/08/2011 09:35:22] stack traceback:
[07/08/2011 09:35:22] 	data/lib/pets.lua:336: in function 'callPet'
[07/08/2011 09:35:22] 	data/talkactions/scripts/pet.lua:13: in function <data/talkactions/scripts/pet.lua:1>

EDIT: i admit im so friggin nubish, i added the dragon lord Convinceable="1", and its working fine, thanks alot, rep++ i hope u release more updates
EDIT: when it dies, i can call it again without reviving it, im noob posting all bugs at a time but its just like a list of bugs or something u may fix them or not idc.
 
Last edited:
Dude, ur pet system is way too bugged omg i get this when i call it on a sorc..

Code:
07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreateMonster) Cannot create monster: dragon lord

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreatureSetStorage) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreatureSetStorage) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoConvinceCreature) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaDoCreatureSetStorage) Creature not found

[07/08/2011 09:35:21] [Error - TalkAction Interface] 
[07/08/2011 09:35:21] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:21] Description: 
[07/08/2011 09:35:21] (luaGetThingPosition) Thing not found

[07/08/2011 09:35:22] [Error - TalkAction Interface] 
[07/08/2011 09:35:22] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:22] Description: 
[07/08/2011 09:35:22] (luaGetCreatureStorage) Creature not found

[07/08/2011 09:35:22] [Error - TalkAction Interface] 
[07/08/2011 09:35:22] data/talkactions/scripts/pet.lua:onSay
[07/08/2011 09:35:22] Description: 
[07/08/2011 09:35:22] data/lib/pets.lua:336: attempt to perform arithmetic on a boolean value
[07/08/2011 09:35:22] stack traceback:
[07/08/2011 09:35:22] 	data/lib/pets.lua:336: in function 'callPet'
[07/08/2011 09:35:22] 	data/talkactions/scripts/pet.lua:13: in function <data/talkactions/scripts/pet.lua:1>

EDIT: i admit im so friggin nubish, i added the dragon lord Convinceable="1", and its working fine, thanks alot, rep++ i hope u release more updates
EDIT: when it dies, i can call it again without reviving it, im noob posting all bugs at a time but its just like a list of bugs or something u may fix them or not idc.

Check main post, you can call it without reviving because you're not adding lines to login.lua or you're not adding the variable to the monster file.
 
Kk another bug [07/08/2011 09:53:41] [Error - TalkAction Interface]
[07/08/2011 09:53:41] data/talkactions/scripts/pet.lua:eek:nSay
[07/08/2011 09:53:41] Description:
[07/08/2011 09:53:41] data/talkactions/scripts/pet.lua:58: attempt to call global 'getTopItem' (a nil value)
[07/08/2011 09:53:41] stack traceback:
[07/08/2011 09:53:41] data/talkactions/scripts/pet.lua:58: in function <data/talkactions/scripts/pet.lua:1>
!pet take.. Function isn't found
 
Kk another bug [07/08/2011 09:53:41] [Error - TalkAction Interface]
[07/08/2011 09:53:41] data/talkactions/scripts/pet.lua:eek:nSay
[07/08/2011 09:53:41] Description:
[07/08/2011 09:53:41] data/talkactions/scripts/pet.lua:58: attempt to call global 'getTopItem' (a nil value)
[07/08/2011 09:53:41] stack traceback:
[07/08/2011 09:53:41] data/talkactions/scripts/pet.lua:58: in function <data/talkactions/scripts/pet.lua:1>
!pet take.. Function isn't found

O O P S! Forgot to post it ._.!

I forgot it becuase i had that function in another lib (Svargrond Arena). Lib was updated
 
Can u edit it, so i can configure it to choose how many hps and mps does each pet gain and same to healing, how many hp and mana does it heal.. wud be awesome :)

Edit: is there a use of the pets mana? :eek:
 
Last edited:
[07/08/2011 11:25:51] [Error - TalkAction Interface]
[07/08/2011 11:25:52] data/talkactions/scripts/pet.lua:eek:nSay
[07/08/2011 11:25:52] Description:
[07/08/2011 11:25:52] data/lib/pets.lua:336: attempt to perform arithmetic on a boolean value
[07/08/2011 11:25:52] stack traceback:
[07/08/2011 11:25:52] data/lib/pets.lua:336: in function 'callPet'
[07/08/2011 11:25:52] data/talkactions/scripts/pet.lua:13: in function <data/talkactions/scripts/pet.lua:1>

When i !pet call in pz
 
Can u edit it, so i can configure it to choose how many hps and mps does each pet gain and same to healing, how many hp and mana does it heal.. wud be awesome :)

Edit: is there a use of the pets mana? :eek:

Not yet, i'll use it for attacks.

@about the bug

Check what's on that line

@dgprado

Pet's aren't buyables.
 
Bugged line: setCreatureMaxHealth(ret, getPetLevel(ret) * petGainHealth)

It can't set the pets health, coz theres no monster that can be summoned in pz.. Im 100% sure of it, u need to add a command that checks the tile info if tileinfo=pz then doPlayerSendCancel(cid, 'You cannot summon your pet in a protection zone.) or something like that, im not pro enuf :)
 
Hey darkhaos
I'm using yout system on my ots, but i got some problems...
When the player kill a monster (with pet help) the EXP is divided between the pet and te player (oh rlly?)
So... You got an ideia how to change it ? To make the EXP not be divided ?
Srry for my bad english :\
 
{SOLVED}Hey how do i add the lib?

EDIT: My pet Attacks me, im using 8.54 Naxed ots
 
Last edited:
Back
Top