Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 03:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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

Discussion on P Server "NPC base code/shops/drop items" for who asked me 2 do it within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 06/06/2008, 01:58   #76
 
NoFusion's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 95
Received Thanks: 9
never mine.. fix it!
NoFusion is offline  
Old 06/06/2008, 07:14   #77
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by YukiXian View Post
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 ! )

I only need to know the rew= ( Reward )
rew=hair,1-hair,2 (Etc...)

but u will need to open the NPCdialog.cs and add that code
if (TheRew[0])=="hair")
{
ClickyClient.MyChar.Hair=TheRew[1];
ClickyClient.MyChar.SaveChar();
}

Quote:
Originally Posted by taylow345 View Post
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?
add this
opt2=cool
req=-- (or 0-0)
rew=-- (or 0-0)
samehvan is offline  
Old 06/06/2008, 09:09   #78
 
NoFusion's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 95
Received Thanks: 9
hey.. am noob. i just started learning, been reading... i just learn how to add monster n removing them. i try adding new monster like Turtledove but when i login i only c shadow NO MONSTER IMAGE. i can kill them but i can only c shadow...

i know that somthing is missing that y i cant c the Turtledove. i try to find out wat missing but i counldnt find out. any help?
NoFusion is offline  
Old 06/06/2008, 09:54   #79
 
DragonStar's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 286
Received Thanks: 409
I tried to go by the guide on the first page with no success on adding npcs, i can change a npcs location but how can i duplicate and rename then spawn a npc were i wnt? tried to add one to mobs.txt but no clue how exactly that works. Example = spawn 2 BlackSmiths and give them dif. names, editing wut they say was easy.
I also tried the steps u listed to make a npc reward u a item, i did it exactly how u wrote but it does not give my character the item.
__________
if (TheRew[0])=="hair")
{
ClickyClient.MyChar.Hair=TheRew[1];
ClickyClient.MyChar.SaveChar();
}
_______
noticed u edited that to "hair", wut i marked n blue is it suppose to b ther? i tried taken that out n i did every thing u said but still wont change my hair styles, im getting -----Cannot implicitly convert type 'string' to 'short'----- error
it highlites TheRew[1] part
DragonStar is offline  
Old 06/06/2008, 09:58   #80
 
elite*gold: 0
Join Date: Feb 2008
Posts: 240
Received Thanks: 10
Ok Ok from everything i have done from pgadmin to sql **** this is the best guide ever. samehvan ur like a *** at coding haha. just hope u can get mana and stuff in. And also is there a place where i can make a webisite so maybe i could put my server up for more people to join. Is there a way to make somebody beable to turn my server on if im asleep and i didn't want to keep my cpu on. And is there a way u could removed the commands from people and just GMs beable to use them.? but this is truley thee best guide out there =D
Bottingpunk is offline  
Old 06/06/2008, 10:06   #81
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
SAMEHVAN thx for your guide and mods !
Can u post the MOB ids (with mech,...)
coz i cant encrypt monster.dat...
~Yuki~ is offline  
Old 06/06/2008, 10:12   #82
 
DragonStar's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 286
Received Thanks: 409
Quote:
Originally Posted by DragonStar View Post
I tried to go by the guide on the first page with no success on adding npcs, i can change a npcs location but how can i duplicate and rename then spawn a npc were i wnt? tried to add one to mobs.txt but no clue how exactly that works. Example = spawn 2 BlackSmiths and give them dif. names, editing wut they say was easy.
I also tried the steps u listed to make a npc reward u a item, i did it exactly how u wrote but it does not give my character the item.
__________
if (TheRew[0])=="hair")
{
ClickyClient.MyChar.Hair=TheRew[1];
ClickyClient.MyChar.SaveChar();
}
_______
noticed u edited that to "hair", wut i marked n blue is it suppose to b ther? i tried taken that out n i did every thing u said but still wont change my hair styles, im getting -----Cannot implicitly convert type 'string' to 'short'----- error
it highlites TheRew[1] part
Here are pictures to my probs, first one is the error i get in C# for the hair
2nd one is the hair after i clicked on the barber
3rd one is after i click on the guy to get the item as a reward
Attached Images
File Type: jpg CnumberError.JPG (150.6 KB, 76 views)
File Type: jpg hairstyle.JPG (70.1 KB, 68 views)
File Type: jpg itemreward.JPG (143.9 KB, 73 views)
DragonStar is offline  
Old 06/06/2008, 11:17   #83
 
L1nk1n*P4rK's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 303
Received Thanks: 39
do some1 have a GuildAdmin and GuildWar "instaled" in his server?? I just want to know


and is some1 if know how to add a "hello" mesg at logining like "Welcome To ShadowCO.Enjoy Your Time"
L1nk1n*P4rK is offline  
Old 06/06/2008, 12:17   #84
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
no not now sry
~Yuki~ is offline  
Old 06/06/2008, 14:14   #85
 
L1nk1n*P4rK's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 303
Received Thanks: 39
Quote:
Originally Posted by lolmaster123 View Post
no not now sry
no not now is for guild sistem or "hello" sistem?
L1nk1n*P4rK is offline  
Old 06/06/2008, 15:36   #86
 
elite*gold: 0
Join Date: May 2007
Posts: 47
Received Thanks: 32
Thumbs up

this my file with added Monster
if u need just copy Mobs & MobSpawns file in ur server..but not all monster

Monster added:
HawKing, Pheasant, Bandit, BanditL33, Robin, Turtledove, Birdman, RedDevil, BloodyBat, TombBat, Titan, Macaque, BullMonster, BladeGhost, SandMonster, DisCityMob, Banditti, BanditL98, SeniorBandit...
Attached Files
File Type: txt Mobs.txt (992 Bytes, 125 views)
File Type: txt MobSpawns.txt (3.7 KB, 109 views)
mafia03 is offline  
Thanks
7 Users
Old 06/06/2008, 16:25   #87
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
first of all , i want to ty all for ur patient an trust , but srry to tell all , i am not releasing anymore ubdates , dmn i hate to say so but i am very very angry

i said at my first post i dont care about credits and that things but that doesnt mean .... allowed to claim it is his , u can imagine how awful when someone comes to u saying that he has a great or even bad source made by (anyone) then u discover that it is the one u released ,

it is true i worked on it and released it to all and i hoped we all can enjoy it , i wasn't care about anything but helping and seeing smiles on faces ,but i think it is really unfair

Quote:
Originally Posted by NoFusion View Post
hey.. am noob. i just started learning, been reading... i just learn how to add monster n removing them. i try adding new monster like Turtledove but when i login i only c shadow NO MONSTER IMAGE. i can kill them but i can only c shadow...

i know that somthing is missing that y i cant c the Turtledove. i try to find out wat missing but i counldnt find out. any help?
make sure the Mesh is for turtledove

and next time plz post the txt u added so i can know exactly what is wrong

Quote:
Originally Posted by DragonStar View Post
I tried to go by the guide on the first page with no success on adding npcs, i can change a npcs location but how can i duplicate and rename then spawn a npc were i wnt? tried to add one to mobs.txt but no clue how exactly that works. Example = spawn 2 BlackSmiths and give them dif. names,

you cant do that coz every single NPC has a puplic ID (shows even if u spawn 100 of one type NPC) and a special ID on the index that ID u cant give to more than one NPC , so u cant spawn 2 with one line

editing wut they say was easy.
I also tried the steps u listed to make a npc reward u a item, i did it exactly how u wrote but it does not give my character the item.

***** The screen shots sayes u ddnt put the last number add "1" on the end of the rew line
__________
if (TheRew[0])=="hair")
{
ClickyClient.MyChar.Hair=TheRew[1];
ClickyClient.MyChar.SaveChar();
}
_______
noticed u edited that to "hair", wut i marked n blue is it suppose to b ther?

no


i tried taken that out n i did every thing u said but still wont change my hair styles, im getting -----Cannot implicitly convert type 'string' to 'short'----- error
it highlites TheRew[1] part

The hair stile code i wrote it and said it would be somthing like that , not exactly like i wrote , i ddnt test it but as i can c from ur error msg u can simply add the convert to short to the line like that

ClickyClient.MyChar.Hair=(short)(TheRew[1]);
and when i say somthing like that it means somthing like that not exactly like that

that also means u may have some errors but if u are experience with coding u can easy fix it

Quote:
Originally Posted by Bottingpunk View Post
Ok Ok from everything i have done from pgadmin to sql crap this is the best guide ever. samehvan ur like a god at coding haha. just hope u can get mana and stuff in. And also is there a place where i can make a webisite so maybe i could put my server up for more people to join. Is there a way to make somebody beable to turn my server on if im asleep and i didn't want to keep my cpu on. And is there a way u could removed the commands from people and just GMs beable to use them.? but this is truley thee best guide out there =D
actually i got the mana and the skills IDs and Tao skills are now working (not fully done yet but they are working , but i dunno should i release the new edits or what after what happend .may be when i calm down i will

Quote:
Originally Posted by L1nk1n*P4rK View Post
do some1 have a GuildAdmin and GuildWar "instaled" in his server?? I just want to know


and is some1 if know how to add a "hello" mesg at logining like "Welcome To ShadowCO.Enjoy Your Time"
the helloo msg u can add it on the login.cs class , that means when the client login sendmsg "hello" , it is an easy line , u can make it (the login.cs located at source\clientrequests\login.cs

and at that class u can add some amazing things like playback a sound track or a flash movie :P
but take care coz that need a very high performance PC

Quote:
Originally Posted by mafia03 View Post
this my file with added Monster
if u need just copy Mobs & MobSpawns file in ur server..but not all monster

Monster added:
HawKing, Pheasant, Bandit, BanditL33, Robin, Turtledove, Birdman, RedDevil, BloodyBat, TombBat, Titan, Macaque, BullMonster, BladeGhost, SandMonster, DisCityMob, Banditti, BanditL98, SeniorBandit...
thank you , nice work
samehvan is offline  
Thanks
1 User
Old 06/06/2008, 16:57   #88
 
DragonStar's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 286
Received Thanks: 409
@samehvan
Thanks alot on the add item using rew thing, worked like a charm.
Browsing the npc ini's started to think u couldn't duplicate them n u now confirmed that lol. I know your prob bussy but u got a way for gm accounts to broadcast msgs to the server?
If your too bussy dont worry about it, you have done a lot as it is. Asome job on all your work.
DragonStar is offline  
Old 06/06/2008, 17:10   #89
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
At the moment i red your last post i nearly started crying :-(
Pls dont stop working on that source coz we all need u so much!
I wanna do all by myselfe but im not a good coder and i cant code something for it...
Look im a big noob i cant add mobs+spawns!
if i try to do that i have mobs without textures...
i fixed npcs but u can do so much more for us so..
PLS DONT STOP HELPING/WORKING ON THIS SOURCE!
I WILL SUPPORT U AS I CAN
U DID GREAT WORK ON HERE DONT STOP NOW IN SOME WEEKS U ARE DONE AND HAVE A WORKING LVLING SOURCE!

i hope u think about it..

greetings

Lolmaster
~Yuki~ is offline  
Old 06/06/2008, 18:26   #90
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by DragonStar View Post
@samehvan
Thanks alot on the add item using rew thing, worked like a charm.
Browsing the npc ini's started to think u couldn't duplicate them n u now confirmed that lol. I know your prob bussy but u got a way for gm accounts to broadcast msgs to the server?
If your too bussy dont worry about it, you have done a lot as it is. Asome job on all your work.
yes sure u can broadcast ur msg if u are a gm ,i will post that if i decide to continue working on that ,srry about it but i feel like dummy

Quote:
Originally Posted by lolmaster123 View Post
At the moment i red your last post i nearly started crying :-(
Pls dont stop working on that source coz we all need u so much!
I wanna do all by myselfe but im not a good coder and i cant code something for it...
Look im a big noob i cant add mobs+spawns!
if i try to do that i have mobs without textures...
i fixed npcs but u can do so much more for us so..
PLS DONT STOP HELPING/WORKING ON THIS SOURCE!
I WILL SUPPORT U AS I CAN
U DID GREAT WORK ON HERE DONT STOP NOW IN SOME WEEKS U ARE DONE AND HAVE A WORKING LVLING SOURCE!

i hope u think about it..

greetings

Lolmaster
i cant ty all for ur support , i really appreciate it and blv me i am very sad with i said and i will suffer not helping but on the other side it is awful feeling when someone vex u with ur own work claiming it is his ,

but u know what ? , i know my self , Unfortunately i cant stop
samehvan is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Verkaufe: Guild Wars "Platin", "Ectos, "Items" mehr...
09/12/2008 - Guild Wars Trading - 0 Replies
Hallo, ich biete gegen Euro viele schöne dinge für das Spiel Guild Wars an. Bitte meldet euch dann bei mir per PM was genau ihr haben möchtet und wieviel von den jeweiligen Virtuellen Gegenständen. Die Übergabe kann wie folgt ab laufen. Ich erstelle extra für euch die Ebay Auktion mit der gewünschten menge der jeweiligen Virtuellen Guild Wars gegenstände. Wenn ihr kein Ebay habt und euch auch kein Account anlegen möchtet kann die Übergabe auch ausserhalb Ebays statt finden hierzu erhaltet...



All times are GMT +1. The time now is 03:31.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.