Register for your free account! | Forgot your password?

You last visited: Today at 22:59

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

Advertisement



[RELEASE] Make a more Advanced NPC

Discussion on [RELEASE] Make a more Advanced NPC within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 04/06/2010, 07:09   #31
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by mattyc2580 View Post
Ok for the first question this will be very hard to write for all players as many players dont speak 100% english ad certainly dont spell in english. So to make this would need to make several variations of words and sentences before you even think about it. I would help you do this but i just think its too much hassle for what its worth. Yer maybe 1 day i will give it ago but cba to sit here for days writing words differently lol.

For the second question i will get to work on it when i wake up
But i think the easiest way to achieve that is to use a Lua Interface. I am still leanring Lua so please dont ask any questions about it lol
You don't get what I'm asking, never mind.
-NewDawn- is offline  
Old 04/06/2010, 12:19   #32
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by -NewDawn- View Post
You don't get what I'm asking, never mind.
I do understand what you are saying it will just be really hard to make it how you want it.
.Beatz is offline  
Old 05/01/2010, 16:53   #33
 
elite*gold: 0
Join Date: May 2007
Posts: 6
Received Thanks: 1
Tnxs. . .
matt0216 is offline  
Old 06/09/2010, 21:55   #34
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
ur job id list is no full as there away more classes, tq never released earth tao as example
.Summer is offline  
Old 06/17/2010, 18:59   #35
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
#Bump

Just added a downloadable Guide for anyone who is interested.
.Beatz is offline  
Old 08/26/2010, 14:57   #36
 
elite*gold: 0
Join Date: Jan 2009
Posts: 13
Received Thanks: 0
nice guide, but when i click on my npc it says

hi i dont talk anything useful yet my id is *******

i have tried coding my own and i even copied and pasted yours. but still comes out with the same result (hi i dont talk anything useful yet my id is *******)

i have added it to the NPCDialog.cs in the data base and NPCs.text in the oldCODB

can you tell me where im going wrong?
adzy94 is offline  
Old 08/26/2010, 15:38   #37
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by adzy94 View Post
nice guide, but when i click on my npc it says

hi i dont talk anything useful yet my id is *******

i have tried coding my own and i even copied and pasted yours. but still comes out with the same result (hi i dont talk anything useful yet my id is *******)

i have added it to the NPCDialog.cs in the data base and NPCs.text in the oldCODB

can you tell me where im going wrong?
When you added the NPC did you have the project .proj file open? Also did you recompile (F6) the source before you ran it?
.Beatz is offline  
Old 08/28/2010, 04:35   #38
 
elite*gold: 0
Join Date: Aug 2010
Posts: 93
Received Thanks: 18
I've got the same problem: ''Hi I dont talk anything useful yet, my ID is ******''
I compiled it and get this error:
Any idea's/help would be apreciated, greetz.
sitdownson is offline  
Old 09/21/2010, 19:51   #39
 
elite*gold: 0
Join Date: Oct 2008
Posts: 5
Received Thanks: 0
hey, can u make guide how to add npc which can sell levels... like 1 level 1kk cps its example... pls
Eaglexxl is offline  
Old 09/21/2010, 20:02   #40
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
it goes like this
Code:
case 1337://npcid
{
if (Control == 0)
{
//First dialog
//Make a control send control 1
}
if (Control == 1)
{
uint amount = 50000;
if (GC.MyChar.CPs >= amount)
{
GC.MyChar.Level += 1;
}
else
{
//Dont got enough silvers
}
}
break;
}
I think if u search alittle u can finish it up, this was just example
Fish* is offline  
Old 09/21/2010, 20:06   #41
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by Fish* View Post
it goes like this
Code:
case 1337://npcid
{
if (Control == 0)
{
//First dialog
//Make a control send control 1
}
if (Control == 1)
{
uint amount = 50000;
if (GC.MyChar.CPs >= amount)
{
GC.MyChar.Level += 1;
}
else
{
//Dont got enough silvers
}
}
break;
}
I think if u search alittle u can finish it up, this was just example
Thanks Fish. I will add a complete guide to my thread when I have the spare time and VS installed again
.Beatz is offline  
Old 09/21/2010, 20:56   #42
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,224
Received Thanks: 868
You could always show them how to make npcs more efficent using cases.
ex:
Code:
case 1234:
{
switch (Control)
{
case 0:
{
Text("Howdy, Ahoiii, Heyy", GC);
Link("Ahoii there partner!, 1, GC);
break;
}
case 1:
{
if (level >= 5)
{
Text("Heyy");
Link("heyy", 255, GC);
}
else
{
Text("Fagg.");
Link("OI??", 255, GC);
}
break;
}
break;
}
_DreadNought_ is offline  
Old 09/21/2010, 21:06   #43
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by _DreadNought_ View Post
You could always show them how to make npcs more efficent using cases.
ex:
Code:
case 1234:
{
switch (Control)
{
case 0:
{
Text("Howdy, Ahoiii, Heyy", GC);
Link("Ahoii there partner!, 1, GC);
break;
}
case 1:
{
if (level >= 5)
{
Text("Heyy");
Link("heyy", 255, GC);
}
else
{
Text("Fagg.");
Link("OI??", 255, GC);
}
break;
}
break;
}
Yeah I have thought of this and have already got some code written to put into a guide. Just want this thread a bit further along the NPC trail as it were before I change everything and start using cases.
.Beatz is offline  
Thanks
1 User
Old 09/22/2010, 10:04   #44
 
elite*gold: 0
Join Date: Mar 2010
Posts: 91
Received Thanks: 5
hey i have a problem with my NPC i made him start a TDM and the other guy Starts a 1v1 but neither of them speak the dialog the just say "Hi, I don't talk anything useful yet my code is "XXXXXX"."
if you want to help me out check this
biohazardous is offline  
Old 10/30/2010, 16:08   #45
 
elite*gold: 0
Join Date: Sep 2010
Posts: 2
Received Thanks: 0
good
chelaru12 is offline  
Reply


Similar Threads Similar Threads
[Release]Advanced Serverinfo.py Generator
11/30/2012 - Metin2 PServer Guides & Strategies - 13 Replies
Hello, i know there are some generators but i made another one with some good functions :rolleyes: FEATURES: *add server *remove server *save project *load project *generate serverinfo.py
Advanced Tribalwars Bot Release
05/31/2010 - Browsergames - 20 Replies
Ein Bot für das Browsergame "Die Stämme". Features: Multiaccountfähig baut Dörfer selbstständig aus Bot merkt sich, wann ein Gebäude gebaut werden kann, bzw. wann es fertiggestellt ist Information: Bei "Server" z.B. de60.die-staemme.de o.ä. eingeben.
[TUT]How to make your own Trainer ADVANCED way[TUT]
03/01/2010 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 16 Replies
First of all I will like to thank trane. for letting me make this thread and and ~Kakkarot~ for making the basic way on how to make a trainer. In this tutorial I will show you how to make a trainer and adding pictures, text, commands, buttons, etc... Ok so the things you need: Cheat Engine 5.5 Your hacks which can be made by following the steps:



All times are GMT +2. The time now is 22:59.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.