Hmm ... Maybe to Easy? ;)

02/28/2010 03:09 [DEV]Sukey#1
Heya Guys ;o Sorry if im asking at the moment such easy things ~~
Its mostly that what im forgetting lol ...
Oke.. In Short Words

Create a TOTAL NEW TELEPORT NPC ... (With own Index Table for Tele.)
Change the Sell Prices for Items into a Shop !

Thats all ;)

My Head is hurting ~~ I was in the Hospital had an Anmesie <.< or something like that lol ...

Helpful Posts will be Thanked !

Sincerly,

Kazu
02/28/2010 03:27 bullet21.#2
[Only registered and activated users can see links. Click Here To Register...]

I would help you out about adding new NPCs but I always had problems with it, many peoples are telling me that adding an new NPC is like the easiest thing but I still dont know how lol anyway i think this should help you with your Prices :)
02/28/2010 03:46 [DEV]Sukey#3
Thanks thats helping me out with the "Buy" Price ;) The Sell price is around 1/3 of the Buy price ;o So its what i need :p :p Just need to know how to add a totally new Teleporter NPC ^^ With new String Table for Map Move ;o
As with the prices ... Its so Easy ... But seems sometimes to be the hardest part <.<
Thanks Anyways ;)
02/28/2010 04:00 bullet21.#4
copy the index what you want [number [# 1 #], adrian ] [# ps : Index is 1 #]
data / share / map / [ i make braiken ] / 00_braiken_castle / npc_00_braiken_castle /
[1. NPC index [adrian [1] ]
[2. direction you find in first line ] [ data / share / creature / npc / Direction ]
[3. Location X ]
[4. Location Y ]

[Only registered and activated users can see links. Click Here To Register...]

just found this o.o
02/28/2010 04:03 [DEV]Sukey#5
yea ... Then you got Adrian on Braiken with specific Coords ^^ Just ... Whats about the string table for Teleporting? oO Its sharing it with the other Adrian? If not ... how it got its own Table? ;x Same with Shop NPC anywhere need to be set the INDEX Which will be listed in "Script/String/Teleport bla" and under "Share/Arrange/Teleport"
02/28/2010 06:40 ҉ THT ҉#6
Lets say we have this NPC
Code:
4024,Gaurd,jerome,48000,3,0,1,53,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
We gonna make him a teleporter :o
This is important:
Code:
4024,Gaurd,jerome,48000,3,0,1,53,0,
First lets give him a teleporter commando
change it in
Code:
4024,Gaurd,jerome,48100,3,43800,1,2,144,
And Look for:
Code:
4024,Gaurd,jerome,[COLOR="Green"]48100[/COLOR],3,[COLOR="Red"]43800[/COLOR],1,2,[COLOR="Yellow"]144[/COLOR],

First we gonna check
Green(48100) : That is if ppl going with the mouse over your NPC
you can give him name in
Code:
data/script/string/stringtable_job
Scroll down make a new line with "code 48100"
photo: [Only registered and activated users can see links. Click Here To Register...]
Oke that is done now,,,

Lets check;
Red(43800)
That is the text table. You can find him in
Code:
data/script/string/stringtable_conv
photo: [Only registered and activated users can see links. Click Here To Register...]

Now the most IMPORTANT PART!
Yellow(144)
Go to
Code:
data/share/arrange/teleport.csv
make a new row and past this line
Code:
144,1,0,1,0,0,0,0,2,0,0,0,0,3,0,0,0,0,4,0,0,0,0,5,0,0,0,0,6,0,0,0,0,7,0,0,0,0,8,0,0,0,0,9,0,0,0,0
Now lets check what everything means
2006.08.24 18:16, = Index
Teleport_StringIndex, = Keep it 1
UnitCount, = How much teleport jobs ( MAX 9 )
UnitIndex_1, = Keep it 1
LocationIndex_1, = This is for where he need to go when he click on it,, you can make a index in "data/share/arrange/location.csv"
String_1, = make it 100 (next teleport job 200, then 300, then 400, etc etc)\
Cost_1, = Cost for teleporting
Level_1, = Min lvl for teleporting

To give him name you need to go "data/script/string/stringtable_teleport.txt" and make a new command WITH THE TELEPORT INDEX for this example is it 144
[Only registered and activated users can see links. Click Here To Register...]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
Lets say we want a teleporter to Loa caste index X 250 Y 250
( I do only the yellow part )

Code:
144,1,1,1,11271,100,100,120,2,0,0,0,0,3,0,0,0,0,4,0,0,0,0,5,0,0,0,0,6,0,0,0,0,7,0,0,0,0,8,0,0,0,0,9,0,0,0,0
[Only registered and activated users can see links. Click Here To Register...]

What I have now ;
144 = index
1 = Teleport string index (dont touch it)
1 = Unit Count
1 = Unit Index (dont touch it)
11271 = Made in "location.csv" for the command to get teleport to loa 250 250
100 = String index for "data/script/string/stringtable_teleport" look in photo 4
100 = Cost for teleporting
120 = Min lvl for teleporting



Sorry I am bad in tuts and english :o
02/28/2010 11:52 [DEV]Sukey#7
Thanks pretty much that brought me on the right way ;)

Mod close plz ;p
02/28/2010 12:16 ~Kakkarot~#8
#closed