Register for your free account! | Forgot your password?

You last visited: Today at 03:28

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

Advertisement



Im confused?

Discussion on Im confused? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
Im confused?

So I rewritten my start npc for my third reborn quest, ive added a my.char additem thing that i think should work (if not tell me) it debuggs and builds fine, added the npc in npc.txt, but in game i can speak to the npc :s anybody know why?
Atm the item im trying to add is a Panacea until i know how to make the items i need.

Here is some pictures:



2010mrsurfer is offline  
Old 08/01/2010, 19:12   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
try look at your brackets.

{ is a bracket
} is a bracket

{ for starting a code
} for ending a code

You have { all the way down.
You need same } as {.
Wich means
if you got

code
{
code
{


then you need 2 }

like:
code
{
code
{
}
}
Fish* is offline  
Old 08/01/2010, 19:58   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
I changed all of the earlier, i think its right but it still doesnt do anything :s
2010mrsurfer is offline  
Old 08/01/2010, 20:52   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
totally offtopc but wtf is with tannel and if statements instead of switch..


He always seems to use if vs switch and hashtable vs dict...


Anyways yah.. strange seeing as the brackets are what i noticed wrong. You want

Npccase
{
option #
{
That option code (remember end npc packet)
}
}
pro4never is offline  
Thanks
1 User
Old 08/01/2010, 20:56   #5
 
Zkiller110's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 276
Received Thanks: 99
did you debug it?? lol when i first started it took me a long to to figure out that the source had to be debugged for the change to show up in game add me on msn then ill show you how to add new items
Zkiller110 is offline  
Thanks
1 User
Old 08/01/2010, 21:05   #6
 
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
Quote:
Originally Posted by pro4never View Post
totally offtopc but wtf is with tannel and if statements instead of switch..


He always seems to use if vs switch and hashtable vs dict...


Anyways yah.. strange seeing as the brackets are what i noticed wrong. You want

Npccase
{
option #
{
That option code (remember end npc packet)
}
}
xD im not to sure on who coded the Conquer-Sx source, but my npc didnt work in that source at all.... just downloaded another 5165 and it works fine

Quote:
Originally Posted by Zkiller110 View Post
did you debug it?? lol when i first started it took me a long to to figure out that the source had to be debugged for the change to show up in game add me on msn then ill show you how to add new items
lol yes i debugged xD that would be awesome if your could, PM your email please
2010mrsurfer is offline  
Reply


Similar Threads Similar Threads
Safe Mode :confused::confused::confused:
07/16/2010 - Technical Support - 20 Replies
Heey ich weiss irgendwie nicht wie ich Safe Mode starten kann,ich habe es schon versucht beim starten F8 oder F5 zu drücken. Aber es passiert immernoch nichts. Kann mir da jemand helfen ? Währe echt nett und bekommt natürlich auch ein Thanks + iTrader wenn alles geklappt hat. PPS:Habe eine Logitech Tastatur. wenn´s weiterhilft :confused::confused::confused:
:confused::confused: Rates ändern :confused::confused:
03/06/2010 - Metin2 PServer Guides & Strategies - 7 Replies
Hallo epvp. Folgendes:Ich wollte meine Rates so ändenr wie auf Doofmt2 oder ShenShi. Irgednjemand sagste was von event oder so. ICh will nur wissen wie man sie PERMANENT ändert und nicht /priv_empire ...
AutoStiger for 800*600:confused::confused::confused:
12/01/2009 - Conquer Online 2 - 0 Replies
If anyone got a AutoStiger for Window 800*600 tell me it or send me a Link where i can download it THX :handsdown:
Rather confused...
10/30/2009 - Dekaron - 6 Replies
Okay well i'm having a bit of trouble. I'm interested in vac hacking and maybe speed, name, and wall hacking but i just don't understand the mess of .ctx and all of that junk that is up. Can someone please instruct me on a very good vac hack and how to use it and install it Ty!
Could anyone help me...?:confused:
11/08/2008 - RF Online - 3 Replies
could anyone tell me how to use accesories of other race's? i'm an accretian...i've got 25/20 earring of cora....10% all atack cora and 15/10 bellato...help please....:confused::confused:



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


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.