Forum

> > CS2D > Scripts > NPC position+ ranks[Tibia]
Forums overviewCS2D overview Scripts overviewLog in to reply

English NPC position+ ranks[Tibia]

6 replies
To the start Previous 1 Next To the start

old NPC position+ ranks[Tibia]

Ryden
User Off Offline

Quote
Heya guys!

Today I was trying to add NPC on my tibia server but when i added new NPC and moved some NPC
By using this for calculate the tile:

(Tile1) x 32 + 14 + 5. And
(Tile2) x 32 + 14.

After this no one NPC appear on my server

I have no one NPC

Mark: -I added 3 level requierment NPC maybe it's the main priblem

-I removed lot of default NPC

-The lua is Tibia New 2 by proerd888

Thanks for your help, I've not put the lua codes because i don't know which codes ou need,


> Ranks,

And guys i want to make mod or member rank but it won't work...,

I'll show you my Admin.lua
Spoiler >



If you need something to verify please ask me to thank you...
-Playø
edited 1×, last 16.06.17 02:08:34 am

old Re: NPC position+ ranks[Tibia]

Mami Tomoe
User Off Offline

Quote
Go to the exact tile you want the NPC to be placed at and say
!n
. Use the output in your script.
Add 16 to move him to the center if you want him to be in the middle of two blocks (depending on X and Y)

old Re: NPC position+ ranks[Tibia]

Yates
Reviewer Off Offline

Quote
Well if you can code you'll have to change every occurrence of what
pos[1]
and
pos[2]
are used for in npcs.lua

You'll also need to change the way
radiusmessage
(or
radiusmsg
I don't remember) works with players so you'll have to dive into functions.lua as well. Possibly hooks.lua and monsters.lua because these also use the function.

It's a hassle, but once you have done it it's worth it. If you can't code I don't recommend trying.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview