friends I have this other problem with a quest that tells me this error I hope you can help


Core: Optimizing for 4 processors
Scripts: Compiling C# scripts...failed (2 errors, 2 warnings)
Errors:
+ News Script/Test/Lighthouse Keeper Quest/Commands/GenerateLKQ.cs:
CS0246: Line 22: No se puede encontrar el tipo o el nombre de espacio de nom
bres 'CommandEventArgs' (¿falta una directiva using o una referencia de ensambla
do?)
+ News Script/Test/Lighthouse Keeper Quest/Gumps/LighthouseKeeperGump.cs:
CS0246: Line 17: No se puede encontrar el tipo o el nombre de espacio de nom
bres 'CommandEventArgs' (¿falta una directiva using o una referencia de ensambla
do?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Attachments

  • LighthouseKeeperGump.cs
    3.3 KB · Views: 1
  • GenerateLKQ.cs
    2.4 KB · Views: 1
Same as the other script you posted, Server.Commands has to be included in the script somewhere, either as the namespace, or in the case of these two scripts, probably just added to the very top with the other "using" statements.

So, add this to the top of both:

using Server.Commands;
 
ok ty dow say this xD

Errors:
+ News Script/Test/Lighthouse Keeper Quest/Mobiles/LighthouseKeeper.cs:
CS0115: Line 58: 'Server.Mobiles.LighthouseKeeper.GetContextMenuEntries(Serv
er.Mobile, System.Collections.ArrayList)': no se encontró ningún miembro adecuad
o que reemplazar
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
Back