- Joined
- Aug 19, 2007
- Messages
- 4,941
- Solutions
- 11
- Reaction score
- 352
Thats slow, and we would have to keep all the monster in one directory. I actually prefer adding npc.xml for Npcs too ~~
Pokahontas approves.
Thats slow, and we would have to keep all the monster in one directory. I actually prefer adding npc.xml for Npcs too ~~
Thats slow, and we would have to keep all the monster in one directory. I actually prefer adding npc.xml for Npcs too ~~
I have an sujesction...
add in creaturescripts an 2 new functions:
onTalk and onMove...
And add new values in function onAttack
now:
(cid,target)
before:
(cid,target,damage)
on function onLook
now:
(cid,pos)
before
(cid,pos,string)
and if it return FALSE they aren't executed.
(bad english =x i know)
Some lua functions:
setCreatureName
getItemType > weapon, club, axe, distance
getCreatureLookDir
get/setItemDistance (bows)
and finally and verry good function sleep(time)
getPlayerNameDescription(cid)
doPlayerSetNameDescription(cid, description)
getItemWeaponType(uid)
doCreatureSetLookDir(cid, dir)
getPlayerLookDir(cid)
setItemShootRange(uid, shootRange)
-.-' i'm looking for:getPlayerNameDescription(cid)
doPlayerSetNameDescription(cid, description)
getItemWeaponType(uid)
doCreatureSetLookDir(cid, dir)
getPlayerLookDir(cid)
setItemShootRange(uid, shootRange)
but thanks i don't know about some of this functions.getCREATURELookDir not PLAYER
setItemShootRange(uid, shootRange) < i never have seen this function but it exist
and i didn't sayd setCreatureLookDir.
getPlayerNameDescription(cid)
doPlayerSetNameDescription(cid, description)
^my thfs don't have this functions but this exist
Although you guys are doing geat work, I can't understand why do you focus on new versions so early before fixing problems with current release. 0.2 has never achieved the stability of old 7.x servers and it's been a long time (23 patches) before it has become usable. Now there's 0.3 with which people report multiple crashes, so I'm a bit surprised you're already working on 0.4. Wouldn't it be better to have a stable core first for future versions?
Anyway it's not whining, more of a question about your reasoning. I love ya :]