Register for your free account! | Forgot your password?

You last visited: Today at 21:40

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

Advertisement



[Release]Easier Npc System for LOTF

Discussion on [Release]Easier Npc System for LOTF within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 11/26/2009, 18:22   #16
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by Korvacs View Post
Why are the methods placed in client.cs?
Because I placed it in the *.cs in which the Npc functions are in.
Arcо is offline  
Old 11/27/2009, 09:47   #17
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by Tiku View Post
Don't just say it.
Press it.
I'd appreciate it.
What difference does it make if hes says it in person or presses it, all it shows is that you don't really care about people saying thanks and all you want is number...


Oh and btw, this is stupid, now every 5165 server i log on is going to have the same face for EVERY npc.
Santa is offline  
Old 11/27/2009, 10:04   #18
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Finally..."release" thread by a noobie....
UnoAmigos is offline  
Old 11/27/2009, 17:25   #19
 
elite*gold: 0
Join Date: Jul 2007
Posts: 59
Received Thanks: 0
Quote:
Originally Posted by StarBucks View Post
What difference does it make if hes says it in person or presses it, all it shows is that you don't really care about people saying thanks and all you want is number...


Oh and btw, this is stupid, now every 5165 server i log on is going to have the same face for EVERY npc.
actually, no this can be edited with one other thing. here watch.

Quote:
public void Say(string text)
{
GC.AddSend(Packets.NPCSay(text));
}
public void Link(string text, byte option)
{
GC.AddSend(Packets.NPCLink(text, option));
}
public void Done(string text)
{
GC.AddSend(Packets.NPCLink(text, 255));
}
public void Face(string text)
{
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
now instead of just having
Say
Link
Done

you will include face under it.
stiggydude is offline  
Old 11/27/2009, 17:37   #20
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
why is there an string (called text) in the face void?
I would either;
- Change the Face(string text) to Face(int face) and than make the user give the number.
or
- Combine the Done and Face void if you don't let the user choose the face.
If you pick the first option, make sure you make face + some number (11 I guess?) because of TQ's weird structures, you could also add the +11 in the packet itself, but would be harder for the person that follows this guide.

Anyway, nice guide I guess, I personally think this is very easy to add, but surprisingly, nobody used these things at LOTF.
Probably because people only care about features, not efficiency of the source.
Basser is offline  
Old 11/27/2009, 21:53   #21


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by Tiku View Post
Because I placed it in the *.cs in which the Npc functions are in.
Does LOTF use a thread per client system?
Korvacs is offline  
Old 11/27/2009, 22:36   #22
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
The only problem i get is with AddSend it be comes a error know how to fix it =\
|BasicCoder| is offline  
Old 11/27/2009, 23:50   #23
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Quote:
Originally Posted by |BasicCoder| View Post
The only problem i get is with AddSend it be comes a error know how to fix it =\
lol and you're calling yourself a coder.
damianpesta is offline  
Old 11/28/2009, 01:29   #24
 
|BasicCoder|'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 84
Received Thanks: 41
Quote:
Originally Posted by damianpesta View Post
lol and you're calling yourself a coder.
I mess around with the basics nothing special
Stop flaming me for asking a question
|BasicCoder| is offline  
Old 11/28/2009, 08:46   #25
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by Korvacs View Post
Does LOTF use a thread per client system?
Nope ^^
~Yuki~ is offline  
Old 12/04/2009, 21:25   #26
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
For 1565 It dont woark
sawickas is offline  
Old 12/04/2009, 22:09   #27
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Quote:
Originally Posted by sawickas View Post
For 1565 It dont woark
You could do an attempt on it yourself, lol.
~*NewDuuDe*~ is offline  
Reply


Similar Threads Similar Threads
[FINAL RELEASE]HuB- Source (BASIC) (Original LOTF easier workable)
11/14/2009 - CO2 PServer Guides & Releases - 25 Replies
#REMOVED
[Req]New upgrade system LOTF
08/07/2009 - CO2 Private Server - 3 Replies
I need help to add new upgrade system on global (minor major progres) for guide to add horse (LOTF)
[HELP]GW system in lotf- which changes the anme of the pole etc.
07/06/2009 - CO2 Private Server - 0 Replies
can anyone like give me the link to a working gw system that name of the pole changes and it has the points of the guilds at the top right of the screen or can you etach me ho wto do it?please tell me its like the only thing that does not work for my server..T_T..i would b really glad if anyone could help..^^
[RELEASE] Possible Hacker System LOTF
07/01/2009 - CO2 PServer Guides & Releases - 7 Replies
This is my possible hacker system. What does this Possible Hacker System do? When someone logs out of the game and if they have more than 15k cps or more than 350m it writes their ... Name : CPs :
[LOTF]NPC Talk System
05/19/2009 - CO2 Private Server - 14 Replies
Creat NPCDialog.cs and paste this code: using System; using System.Collections.Generic; using System.Text; using System.Collections; namespace COServer_Project



All times are GMT +1. The time now is 21:40.


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