P Server "NPC base code/shops/drop items" for who asked me 2 do it

06/17/2008 20:40 zane203#661
Quote:
Originally Posted by Light200 View Post
oh uhhh...lemme try that then...and 1 last annoyin qustion :D
whats the
[#]
face=
txt0=
opt0=
req=
rew=

for captain li = aka jailer


*Edit*the item id didn't work >.>
it just gives out the cps for free
The jail thing just find out on your own, the rew would be a teleport to 1002, but the req would have to be something that isnt programed to work yet =3
-
The item isnt Dragonball, just told you that lol, you have to have the item ID


Quote:
Originally Posted by PraFuL* View Post
ok i make up my mind and i will start to make my own server from the begining although is very hard can say but i will try it to understand those ..sorry for other post :D
Npz, have fun working :D
06/17/2008 20:59 Light200#662
i used the item id >.>
06/17/2008 21:02 zane203#663
post the npc info please so i can take a look see
06/17/2008 21:06 Light200#664
1088000-DragonBall-0-0-0-0-0-0-10000-0-0-0-0-0-0-0



[2071]
face=5
txt0=Hi I'm CPAdmin I'll trade you some cps for DragonBalls
opt0=I'll trade 215 cps for 1 Dragon Ball -I'll Trade 2150 for 10 Dragonballs-No thanks
req=1088000,1-1088000,10-1088000
rew=cps,215-cps,2150
06/17/2008 21:11 jamized#665
im gettin a prob the npc for the barber is not workin and i get this error msg in this picture and here is my npcdialong if anybody can help i would be real greatful indeed.
06/17/2008 21:14 zane203#666
you're leaving out the 1 0 0 0 0 0 after the ID, treat it as if you were getting an item. An exmaple would be...

[435]
face=1
txt0=Select your weapons of choice, thank your KoS GMs for this ^.^
opt0=Helm-Blade-Club-Sword-Shield-Armor-Gourd-None
req=0-0-0-0-0-0-0
rew=item,112319,9,7,255,13,13,1-item,410339,9,7,255,13,13,1-item,480339,9,7,255,13,13,1-item,420339,9,7,255,13,13,1-item,90039

9,9,7,255,13,13,1-item,136299,9,7,255,13,13,1-item,2100025,9,7,255,13,13,1


So in retrospect
req=item,1088000,0,0,0,0,0

that should work
06/17/2008 21:17 zane203#667
Quote:
Originally Posted by jamized View Post
im gettin a prob the npc for the barber is not workin and i get this error msg in this picture and here is my npcdialong if anybody can help i would be real greatful indeed.
This is what you have


[10002]
face=3
txt0=Would you like to change your hair?
opt0=Hair1-Hair2-Hair3-Hair4-Hair5-Hair6-Nah I'm good.
opt1=Ok
req=0-0-0-0-0-0
rew=hair,421-hair,411-hair,430-hair,435-hair,436-hair,437


you're using the old version i made that didnt work. please note you have 6 types of hairs and a closing option
so in retrospect, you'll need 6 txts and 6 opts. For instance: Here is mine... its only the prototype so i have no problem releasing it ;)

[10002]
face=3
txt0=Would you like to change your hair? ~King~Zane~ is found of Hair 7, and Sonicia~GM~ is found of Hair 3!
txt1=There
txt2=There
txt3=There
txt4=There
txt5=There
txt6=There
txt7=There
txt8=Ok suit yourself.
opt0=Hair1-Hair2-Hair3-Hair4-Hair5-Hair6-Hair7-Nah I'm good.
opt1=Ok
opt2=Ok
opt3=Ok
opt4=Ok
opt5=Ok
opt6=Ok
opt7=Ok
opt8=Ok
req=0-0-0-0-0-0-0
rew=hair,421-hair,411-hair,432-hair,435-hair,425-hair,437-hair,441
06/17/2008 21:20 DemonRenki#668
me and my friend are workin on our server together and we have got most of our probs with it sorted out, now i want to add guilds teams friends and stuff so if you have the setup or sumthin(not full code) just the setup of how i need to code them in plz tell me and i need to know the rew to give the person like rew=(guild name) ? thank you hope someone can help
06/17/2008 21:21 Light200#669
oh thanks, i'm dumb xD
06/17/2008 21:38 PraFuL*#670
i have a problem when my xp bar is loaded kick`s me out of the game ......dunno what is it....after i kill and xp bar full when is suposed to be the fly...
06/17/2008 22:10 Light200#671
ok i lied, heres another stupid question, for the lottery, i put in dragon gems
700011-1-0-0-0-0-0
700011-2-0-0-0-0-0
700011-3-0-0-0-0-0
like that, how ever, it should be normal, refined, and super
it comes out as +1 +2 and +3 >.>
06/17/2008 22:22 DemonRenki#672
move the numbers around lol see if it changes

and how do i put 2 requirements for 1 option?
06/17/2008 22:47 bobtin777#673
Quote:
Originally Posted by Light200 View Post
ok i lied, heres another stupid question, for the lottery, i put in dragon gems
700011-1-0-0-0-0-0
700011-2-0-0-0-0-0
700011-3-0-0-0-0-0
like that, how ever, it should be normal, refined, and super
it comes out as +1 +2 and +3 >.>
See
700011-DragonGem-0-0-0-0-0-0-0-0-0-0-0-0-0-0< Normal
700012-DragonGem-0-0-0-0-0-0-0-0-0-0-0-0-0-0< Refined
700013-DragonGem-0-0-0-0-0-0-0-0-0-0-0-0-0-0<Super
^Item Id
06/18/2008 00:18 stephanyd#674
Hi all... here is my Lotto updated... take a look:D I've included + 1 to + 9 stones,Garments and some stuffs... Ill post my final lotto when complete;)
06/18/2008 01:43 DemonRenki#675
hey i need some help with coding guilds in i dont need it coded but just need to know where I go to code it