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

06/05/2008 05:05 samehvan#61
Quote:
Originally Posted by taylow345 View Post
wow... sorry for all the posts, but heres what i've found out so far:
Switching hands for a trojan left and right, will cause the server to crash as in "Not Ready"
-
Closing the server down incorrectly will lead into a "Not Ready" when restarted
-
massive equipment switches such as double clicking to unequip and right clicking to equip will crass the server as in "Not Ready" aswell...

==============
Not Ready, is what you'll get in the black c: window when the server crashes or dosnt respond correctly.
is there a way to fix this without replacing the source again?
the not ready msg means that u have somthing wrong with ur character , usually it will be with ur INV so , u can fix it by removing the Inventory items from ur charactername.cha , or u may just del and recreat ur character
06/05/2008 06:48 taylow345#62
also, i noticed there was a hair option in the character file. you think we could make a command where as its /hair 1 and what not? now exactly how would i call that up?
-
added, if we could that, we could get the barber working xD
06/05/2008 07:58 samehvan#63
Quote:
Originally Posted by taylow345 View Post
also, i noticed there was a hair option in the character file. you think we could make a command where as its /hair 1 and what not? now exactly how would i call that up?
-
added, if we could that, we could get the barber working xD
yes u can and with my last edits that i uploaded u can change ur face too
06/05/2008 09:02 taylow345#64
lol i ment adding it to the source files as a command. or fixing the barber. and is it possible to add maps? as in copying already made towns, and make a copy of em.
----
thanks btw dude you pwn xD
06/05/2008 12:01 ~Yuki~#65
SAMEHVAN how to add th guild feture to soursce can u post me im pretty good c#
but i dont know where and what i have to add
06/05/2008 12:58 L1nk1n*P4rK#66
can some1 post here Map's ID??? b cuz i dont find Maps.txt :|
06/05/2008 14:31 ~Yuki~#67
1002 twin
1003 phoenix
1004 ape
1005 ?
1006?
1007 GM map
06/05/2008 15:00 abdomiky7#68
how make GW and war
06/05/2008 15:07 samehvan#69
Quote:
Originally Posted by taylow345 View Post
lol i ment adding it to the source files as a command. or fixing the barber. and is it possible to add maps? as in copying already made towns, and make a copy of em.
----
thanks btw dude you pwn xD
the barber is a normal npc ,u can add it's dialog and options then add the hear to the "if statment" as a reward , and the face add to the source itself u dont need to type a command just go to Beautican and he will change ur face

Quote:
Originally Posted by lolmaster123 View Post
SAMEHVAN how to add th guild feture to soursce can u post me im pretty good c#
but i dont know where and what i have to add
Guild/Friend/team are a packets themselves so of u good at C# u can code classes for each one and load them when a request comes

and here you are the PacketID for each as a help , u can take them as a start point
Friend --->PacketID 1019
Team ---> 1023 Create/dismiss ,,1056 Members(join/exit)
Guild ---->1107 (1=Join,3=leave) the rest i will trying to figure them out

Quote:
Originally Posted by L1nk1n*P4rK View Post
can some1 post here Map's ID??? b cuz i dont find Maps.txt :|
Quote:
Lottery = 700,
DesertCity = 1000,
AncientMaze = 1001,
TwinCity = 1002,
TCMine = 1003,
Promotion = 1004,
Arena = 1005,
Stables = 1006,
BlackSmith = 1007,
Grocery = 1008,
Grocery2 = 1009,
BirthVillage = 1010,
MapleForest = 1011,
DreamLand = 1012,
WonderLand = 1013,
DragonPool = 1014,
BirdIsland = 1015,
KylinCave = 1016,
AdvanceZone = 1017,
SmallArena = 1018,
LargeArena = 1019,
ApeMoutain = 1020,
PCMine = 1021,
Brave = 1022,
mineone = 1025,
minetwo = 1026,
minethree = 1027,
minefour = 1028,
mineone2 = 1029,
minetwo2 = 1030,
minethree2 = 1031,
minefour2 = 1032,
newbie2 = 1035,
Market = 1036,
factionblack = 1037,
faction = 1038,
playground = 1039,
skycut = 1040,
skymaze = 1041,
lineuppass = 1042,
lineup = 1043,
lineup2 = 1044,
lineup3 = 1045,
lineup4 = 1046,
lineup5 = 1047,
lineup6 = 1048,
lineup7 = 1049,
lineup8 = 1050,
riskisland = 1051,
skymaze1 = 1060,
skymaze2 = 1061,
skymaze3 = 1062,
riskisland1 = 1063,
star = 1064,
boa = 1070,
newcanyon = 1075,
newwoods = 1076,
newdesert = 1077,
newisland = 1078,
mysisland = 1079,
parena1 = 1080,
parena2 = 1081,
idlandmap = 1082,
parenam = 1090,
parenas = 1091,
house01 = 1098,
house03 = 1099,
star01 = 1100,
star02 = 1101,
star03 = 1102,
star04 = 1103,
star05 = 1104,
star10 = 1105,
star06 = 1106,
star07 = 1107,
star08 = 1108,
star09 = 1109,
task01 = 1201,
task02 = 1202,
task04 = 1204,
task05 = 1205,
task07 = 1207,
task08 = 1208,
task10 = 1210,
task11 = 1211,
islandsnail = 1212,
desertsnail = 1213,
canyonfairy = 1214,
woodsfairy = 1215,
newplainfairy = 1216,
stask01 = 1351,
stask02 = 1352,
stask03 = 1353,
stask04 = 1354,
minea = 1500,
mineb = 1501,
minec = 1502,
mined = 1503,
slpk = 1505,
hhpk = 1506,
blpk = 1507,
ympk = 1508,
mfpk = 1509,
grocery3 = 1510,
forum1 = 1511,
tiger1 = 1512,
faction01 = 1550,
faction012 = 1551,
faction2 = 1560,
faction3 = 1561,
sanctuary = 1601,
jokul01 = 1615,
tiemfiles = 1616,
tiemfiles1 = 1617,
cordiform = 1645,
forum2 = 1707,
Gulf = 1700,
Dgate = 2021,
Dsquare = 2022,
Dcloister = 2023,
Dsigil = 2024,
mineone3 = 5000,
prison = 6000,
prison2 = 6001
06/05/2008 15:33 ~Yuki~#70
tehe... im not as good as u ^^ i dont know how to do that...:(

but thx and +K for support and helping!!

greetings Lolmaster123
06/05/2008 16:47 samehvan#71
Quote:
Originally Posted by lolmaster123 View Post
tehe... im not as good as u ^^ i dont know how to do that...:(

but thx and +K for support and helping!!

greetings Lolmaster123
lol , i am not as good as any beginner ,i started looking at C# by 15th of may , means about 20 days ago , i told u i am a noob :P

let's take it step by step

what exactly u dont know , u said u are good at C# , so i suppose u can build classes ,can't u??

so now all u need is to know when and how u call ur class ,
it begins when the player asked for it , so he just sends a packet of data with his request , that data goes to the PacketHandler.cs having an ID and a type , the ID is the main request section and the type is the subrequest for example (the ID 1009 means that the player doin somthing with an item the sub is what he exactly need (buy/sell/drop/equip/unequip ....),

so u just need to tell the server that when it receive the Packet with ID(x) and Sub(y) so Msg=<ur class>
06/05/2008 17:22 ~Yuki~#72
i tryed some times like 30 invalid methodes.....[Im pretty good at c#]HOLY DAMN FORGET IT QUICK^^

im not so good as i thought ;P

well i let u doing thet :P

your step for step tutorial is VERY usefull but im not good enaugh to can do it alone so...

Thx and greetings from LOLMASTER^^
06/05/2008 18:41 YukiXian#73
Quote:
Originally Posted by taylow345
lol i ment adding it to the source files as a command. or fixing the barber. and is it possible to add maps? as in copying already made towns, and make a copy of em.
----
thanks btw dude you pwn xD
Quote:
the barber is a normal npc ,u can add it's dialog and options then add the hear to the "if statment" as a reward , and the face add to the source itself u dont need to type a command just go to Beautican and he will change ur face
I still don't understand it...

What to fill in in the Dialog.ini?

I got this :

[10002]
face=4
txt0=What hairstyle do you want?
txt1=Here you go !
opt0=Style 1-Style 2 ( Etc ... )
opt1=Thanks!-Thanks! ( Etc ... )
req=gold,100-gold,100 ( Etc ... )
rew= ( Wtf if this one? Help please ! :p )

I only need to know the rew= ( Reward )
06/05/2008 20:04 taylow345#74
rew is the reward ^^ as in gold cp or the whole item set =D
06/05/2008 22:13 taylow345#75
having trouble with dialog X_x this is what i got...:

[65221]
face=1
txt0=Hi, Come to me if you need to know anything about the Server.
txt1=We're working on the server =p..
txt2=When we get more C# user's help -_-!
opt0=Whats going on?-When will things get working?-I'll be going now
opt1=ok
req=0

im trying to have it so that when someone clicks the 2nd option txt2 to show, its not working xD. any help?