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

06/15/2008 14:26 jamized#526
Hmmm would someone kindly explain to me to make the barber work such as giving out hairstyles. Please and thank you.
06/15/2008 15:43 DragonStar#527
How would i get the scroll command to teleport me any were
Example: /scroll 1002 400 400
That way i could scroll to any map and any coordinate
06/15/2008 16:14 Danutzhaha#528
hey can some1 post the lotto file with +Stone's and Money bag's?? b cuz i cant find it anymore.... ty ^^
06/15/2008 16:21 zane203#529
Quote:
Originally Posted by jamized View Post
Hmmm would someone kindly explain to me to make the barber work such as giving out hairstyles. Please and thank you.
jasmid, like sam said,

go into your NPC dialog, make a barber code, and then as a reward
rew=hair, #
06/15/2008 16:24 zane203#530
Quote:
Originally Posted by DragonStar View Post
How would i get the scroll command to teleport me any were
Example: /scroll 1002 400 400
That way i could scroll to any map and any coordinate
Program it... =3 sorry but thats the only way i can see it lol =Þ
06/15/2008 16:36 adz06676#531
Edit:Removed not gonna flame here
06/15/2008 17:26 jamized#532
I did what you said but hte npc still doesnt work look what it says when i click it
06/15/2008 17:29 DragonStar#533
For those who been asking about the hair
Thers 3 digits
Example: 335
The Red number is the color number of the hair style
The Blue Numbers r the hair style number

Colors
3-Black
4-White
5-Red
6-Brown
7-Green
8-Blue
9-Purple

Hair Style Numbers

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
06/15/2008 17:42 stephanyd#534
Hiya... I tried to change Welcome message in Login.cs and it won't change... anyone know why ?:confused: and my friends can't login my server ...i use Hamachi. Plz help me..lol
06/15/2008 18:45 YukiXian#535
Someone may knows how to change the hits that people will hit on eachother? Cuz i want to make it less. Now an level 90 can kill an 130 .... 1 hit with 20K or something :confused:

------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
* Edit * : Hey adz06676, Look ur Message Box :p. Sorry for the late response ! :( *
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
06/15/2008 19:10 DragonStar#536
Quote:
Originally Posted by YukiXian View Post
Someone may knows how to change the hits that people will hit on eachother? Cuz i want to make it less. Now an level 90 can kill an 130 .... 1 hit with 20K or something :confused:

------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
* Edit * : Hey adz06676, Look ur Message Box :p. Sorry for the late response ! :( *
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
Starts on about line 212 in the character.cs
Change the red parts to lower the atk

ItemGem(1/2) == (11/12/13)

11 = Normal Gem
12 = Refined Gem
13 = Super Gem

I kno 0.01 will bring ur atks down to about 5-6k
You gta edit for each equip this example is the head gear

if (Unequip == false)
{
Defense += ExtraDef;
MDefense += ExtraMDef;
MaxHP += ExtraHP;

MAtk += ExtraMAtk;

if (ItemGem1 == 11)
AddAtkPc += 0.05;
if (ItemGem2 == 11)
AddAtkPc += 0.05;
if (ItemGem1 == 12)
AddAtkPc += 0.1;
if (ItemGem2 == 12)
AddAtkPc += 0.1;
if (ItemGem1 == 13)
AddAtkPc += 0.15;
if (ItemGem2 == 13)
AddAtkPc += 0.15;
}
else
{
Defense -= ExtraDef;
MDefense -= ExtraMDef;
MaxHP -= ExtraHP;

MAtk -= ExtraMAtk;
if (ItemGem1 == 11)
AddAtkPc -= 0.05;
if (ItemGem2 == 11)
AddAtkPc -= 0.05;
if (ItemGem1 == 12)
AddAtkPc -= 0.1;
if (ItemGem2 == 12)
AddAtkPc -= 0.1;
if (ItemGem1 == 13)
AddAtkPc -= 0.15;
if (ItemGem2 == 13)
AddAtkPc -= 0.15;
}
06/15/2008 21:07 zane203#537
Here what i have for my barber =/ nothing is still happening

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

Anyone can help?
06/15/2008 21:09 DragonStar#538
Quote:
Originally Posted by zane203 View Post
Here what i have for my barber =/ nothing is still happening

[10002]
face=3
txt0=Would you like to change your hair?
txt1=There you are
txt2=There you are
txt3=There you are
txt4=There
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

Anyone can help?
Try adding wut i put n blue tell me if that wrks
06/15/2008 22:40 jamized#539
Is there a way to change the color of the armor?
06/15/2008 22:51 adz06676#540
Quote:
Originally Posted by jamized View Post
I did what you said but hte npc still doesnt work look what it says when i click it
Post your npcdialog.cs i'll take a look i have to go soon so be quick.