Register for your free account! | Forgot your password?

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

  • 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/12/2008, 21:29   #406
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by YukiXian View Post
What code in the Login.cs?
Cuz i do this and its wrong :
What error does the compiler get? and are you amking it read the effect you want i need the error to be able to help you
adz06676 is offline  
Old 06/12/2008, 21:56   #407
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by adz06676 View Post
Well ur gettin pro and can you have a look at the pm i sent you about how to call a timer? Please
i dd reply, and gratz for ur new timer

Quote:
Originally Posted by DragonStar View Post
wut was the code to fix the double fb hit?
i just canceled the 2nd hit order

Quote:
Originally Posted by YukiXian View Post
What code in the Login.cs?
Cuz i do this and its wrong :
actually u will need two lines , one on the TheDb.cs which u should assign the effect value to the Myclient.mychar.effect

simthing like that
Charr.Effect = CharacterInfo.ReadValue("Character", "effect");

then the line to show the effect at login.cs like that
WorldHandler.Effect(TheClient.MyChar,TheClient.MyC har.Effect);

and u can save it too at character.cs ---> savechar func

Quote:
Originally Posted by bobtin777 View Post
so samehvan what are you planin on to work on next... lol
as the signator says ddnt decide yet , may be i will go to save profs , or what u think?
samehvan is offline  
Old 06/12/2008, 22:02   #408
 
bobtin777's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 232
Received Thanks: 18
Quote:
Originally Posted by samehvan View Post
i dd reply, and gratz for ur new timer


i just canceled the 2nd hit order



actually u will need to line , one on the TheDb.cs which u should assign the effect value to the Myclient.mychar.effect

simthing like that
Charr.Effect = CharacterInfo.ReadValue("Character", "effect");

then the line to show the effect at login.cs like that
WorldHandler.Effect(TheClient.MyChar,TheClient.MyC har.Effect);

and u can save it too at character.cs ---> savechar func



as the signator says ddnt decide yet , may be i will go to save profs , or what u think?
thats sound good take your time. your doing good
bobtin777 is offline  
Old 06/12/2008, 22:11   #409
 
tony_987's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 150
Received Thanks: 5
samehvan@thx for that with socketing
tony_987 is offline  
Old 06/12/2008, 22:18   #410
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by samehvan View Post
i dd reply, and gratz for ur new timer


i just canceled the 2nd hit order



actually u will need two lines , one on the TheDb.cs which u should assign the effect value to the Myclient.mychar.effect

simthing like that
Charr.Effect = CharacterInfo.ReadValue("Character", "effect");

then the line to show the effect at login.cs like that
WorldHandler.Effect(TheClient.MyChar,TheClient.MyC har.Effect);

and u can save it too at character.cs ---> savechar func



as the signator says ddnt decide yet , may be i will go to save profs , or what u think?

Yeah thanks for telling me i didn't call it. Lmao
adz06676 is offline  
Old 06/12/2008, 22:25   #411
 
elite*gold: 0
Join Date: Nov 2007
Posts: 16
Received Thanks: 1
I have a question as to how to implement pk in the server using the source not the compiled source.

Also how do you get the mana to show up in the client because I got the mana code to work for me but it wont show up even when I use a mana pot yet I can still use nado lol.

BTW good work on this project keep working hard on it ^^
superTao!!! is offline  
Old 06/12/2008, 22:27   #412
 
gerble93's Avatar
 
elite*gold: 40
Join Date: Sep 2006
Posts: 1,890
Received Thanks: 805
OMG IT DOESNT WORK FOR VISTA WHY!?
gerble93 is offline  
Old 06/12/2008, 22:28   #413
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Oh sam i have a question for you, well you may have noticed that your non pk code didnt work as well as we'd hoped lol, you can go to another map put pk on and come back, so is there a code to disable skills? I can't figure it out will u take a look when u get a chance?

Thanks
adz06676 is offline  
Old 06/12/2008, 22:30   #414
 
gerble93's Avatar
 
elite*gold: 40
Join Date: Sep 2006
Posts: 1,890
Received Thanks: 805
How do i rebuild it for vista!, it always sais rebuild failed


All failed..


WHY WHAT DO I DO.

SOME ONE HELP ME PLEASE.
I NEED IT WO WORK FOR VISTA
gerble93 is offline  
Old 06/12/2008, 22:33   #415
 
elite*gold: 0
Join Date: Nov 2007
Posts: 16
Received Thanks: 1
Quote:
Originally Posted by adz06676 View Post
Oh sam i have a question for you, well you may have noticed that your non pk code didnt work as well as we'd hoped lol, you can go to another map put pk on and come back, so is there a code to disable skills? I can't figure it out will u take a look when u get a chance?

Thanks
I guess you answered part of my question but where is the code that disables the PK in twin city? I can probably mess with it and get rid of it. TY to anyone who answers the question .
superTao!!! is offline  
Old 06/12/2008, 22:45   #416
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by superTao!!! View Post
I guess you answered part of my question but where is the code that disables the PK in twin city? I can probably mess with it and get rid of it. TY to anyone who answers the question .
Oh i didn't see your question its in packethandler.cs:

Quote:
case 96:
{
if ((AClient.MyChar.PosMap) == 1010 || (AClient.MyChar.PosMap) == 1036)
{
//ThePackets.SendMsg(TheClient.MessageId, "SYSTEM", TheClient.MyChar.CharName, "Srry No PK Here.", 2000);
break;
}
byte pkmode = Data[12];
byte[] pack = ThePackets.GeneralData((long)(AClient.MyChar.UID), pkmode, 0, 0, 96);
AClient.SendPacket(pack);
AClient.MyChar.PKMode = pkmode;
// Console.WriteLine("Packet - PKMode");
break;
}
Yours will say 1002 for the first map id i don't know if you can remove the full thing i havnt tried i only changed the map id.
adz06676 is offline  
Old 06/12/2008, 23:05   #417
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
@sam hmm the timer i made has basically given a timer to each individual player, how would i make it just 1 timer like to do that 1 thing without having to do it player by player how ever many players are on, sorry this seems confusing I don't know how to put it any simpler lol.

See this code makes the timer for everyone (public)
Quote:
public Timer SaveTimer
and basically i'd just like to know how to make it one timer instead of one timer for every player.

Edit: Sorry for posting twice. Didn't realize lol.
adz06676 is offline  
Old 06/12/2008, 23:38   #418
 
elite*gold: 0
Join Date: Jan 2008
Posts: 40
Received Thanks: 2
anyone doing NPC dialog.ini??

i have a question, how i make warehouse man work?
i got this:

[44]
face=2
txt0=hello welcome to "market warehouse" !!!
opt0=open warehouse-no not today
req=0
rew= ????


and same for TrojanStar,WarriorGod,ArcherGod,TaoistMoon? i have this:

[10022]
face=2
txt0=Hello im "TrojanStar"
opt0=promote-learn hercules-learn robot-nothing today-etc...........
req= ?? lvl,15? - lvl,40???
rew=???

if i wana make him promote , how i do that??

and give skills at certain level, like in real CO..?

btw i have most of NPCs in TC,AM,PC in my dialog.ini , all i need is the code for each 1 of them..

PLZ give example, so i konw wat to do for the rest of them... TY
vaska1992 is offline  
Old 06/13/2008, 00:03   #419
 
elite*gold: 0
Join Date: Jan 2008
Posts: 40
Received Thanks: 2
this is my dialog.ini (txt)

if any1 wana take a look, go ahead....
Attached Files
File Type: txt Dialog.txt (3.9 KB, 44 views)
vaska1992 is offline  
Old 06/13/2008, 01:25   #420
 
kenchiz14's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 30
Received Thanks: 5
Whats r the commands for the GM stuff?
kenchiz14 is offline  
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 01:04.


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.