Simples question from a beginner

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Simples question from a beginner

Postby doluser » Wed Sep 02, 2015 1:52 pm

i downloaded this user files

ProcNPC.cs
ProcNPC2.cs

copied it into

\scripts\customnpc

now i loged in with the game client, and dont know how to spawn the npcs.

can anyone tell me how it works?
doluser
DOL Apprentice
 
Posts: 45
Joined: Wed Sep 02, 2015 1:49 pm

Re: Simples question from a beginner

Postby HunabKu » Thu Sep 03, 2015 11:15 am

you need to user somtink like
Code: Select all
/mob create DOL.GS.ProcNPC /mob create DOL.GS.ProcNPC2
verify the "class path" in the files
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: Simples question from a beginner

Postby doluser » Fri Sep 04, 2015 7:57 am

hm doesent work

"there was an error creating an instance of DOL.GS.ProcNPC"

im searching in notepad ++ for class path but no results

script is starting with this code
Code: Select all
namespace DOL.GS.Scripts { [NPCGuildScript("Proc NPC")] public class ProcNPC : GameNPC { public string TempProperty = "ProcNPC1"; public override bool AddToWorld()
doluser
DOL Apprentice
 
Posts: 45
Joined: Wed Sep 02, 2015 1:49 pm

Re: Simples question from a beginner

Postby Shadexx » Fri Sep 04, 2015 9:07 am

Did you read the script ? :)
It says everything you need.

"Scripts" is missing.. so:
DOL.GS.Scripts.ProcNPC
User avatar
Shadexx
DOL Experienced
 
Posts: 156
Joined: Mon Nov 09, 2009 9:58 am
Location: Germany

Re: Simples question from a beginner

Postby HunabKu » Sat Sep 05, 2015 5:26 am

So you need to type
/mob create DOL.GS.Scripts.ProcNPC
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: Simples question from a beginner

Postby doluser » Sat Sep 05, 2015 6:32 am

thank you hanabku
doluser
DOL Apprentice
 
Posts: 45
Joined: Wed Sep 02, 2015 1:49 pm


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest