help npc error

Discussion in 'Help' started by gemeos, Nov 15, 2010.

  1. gemeos

    gemeos New Member

    English:

    I'm trying to add a npc buffer but I have always the same error in the NPC, I tried here in the forum and not seen anyone with the same problem, so I'm probably making a mistake.

    -Added the NPC on the client (and npcgrp npcname) id 36000 name Elian
    -Added the NPC in npcdata.txt
    Ex.: npc_begin citizen 36000 [Elian] .... npc_ai={[buffer_npc];{[fnHi]=[buffer_npc001.htm]}} ... npc_end)
    -Added the NPC in npc_pch.txt [Elian] = 1036000
    -Added the script in ai.obj, buffer_npc class. (Script ready, not my doing, I believe that is working)


    When I start the server, I hope to carry everything I type //summon Elian or //summon 1036000 ingame and nothing happens.

    L2NPC appears in the log: summon create
    But l2server appears in the following:

    11/14/2010 22:29:02.639, [.\ObjectDB.cpp][189] undefined (or unregistered)ClassId[1036000]
    11/14/2010 22:29:02.639, [.\ObjectDB.cpp][203] undefined (or unregistered) Name[]
    11/14/2010 22:29:02.639, invalid npc name [] at file[.\NpcSocket.cpp], line[180]
    11/14/2010 22:29:02.639, [0][0][0][0][0][0][0]


    Someone knows this error?

    PS.: I'm using a server Interlude x64, Windows 2008, Mssql 2008.

    Appreciate any help, thanks in advance!


    ==================
    Pt-br

    Estou tentando adicionar um npc buffer mas tenho sempre o mesmo erro no npc, procurei aqui no forum e nao vi ninguém com o mesmo problema, então provávelmente eu esteja cometendo algum erro besta.

    -adicionei o npc no cliente (npcgrp e npcname) id 36000 name Elian
    -adicionei o npc no npcdata.txt
    Ex.: npc_begin citizen 36000 [Elian] .... npc_ai={[buffer_npc];{[fnHi]=[buffer_npc001.htm]}} ... npc_end)
    -adicionei o npc no npc_pch.txt [Elian] = 1036000
    -adicionei o script no ai.obj, class buffer_npc. (script pronto, nao fui eu que fiz, acredito que esteja funcionando)

    Quando eu starto o servidor, espero carregar tudo, digito //summon Elian ou //summon 1036000 e nada acontece ingame.

    No log do L2NPC aparece: summon create
    Mas no l2server aparece o seguinte:
    11/14/2010 22:29:02.639, [.\ObjectDB.cpp][189] undefined (or unregistered)ClassId[1036000]
    11/14/2010 22:29:02.639, [.\ObjectDB.cpp][203] undefined (or unregistered) Name[]
    11/14/2010 22:29:02.639, invalid npc name [] at file[.\NpcSocket.cpp], line[180]
    11/14/2010 22:29:02.639, [0][0][0][0][0][0][0]


    Alguém conhece esse erro?

    PS.: Estou usando um servidor x64 Interlude, Windows 2008, Mssql 2008.

    Agradeço qualquer ajuda, obrigado antecipadamente!


    Att,
    GeMeOs
     
    Last edited: Nov 15, 2010
  2. FidoW

    FidoW AdvExt64 Customers (IL)

    Check l2server is loading npcdata correctly!
     
  3. Renobizarro

    Renobizarro AdvExt64 Customers (IL)

    it doesnt work because you are brazilian :p

    no, try with a lower npc ID, and use lowercase in npc names not "Elian" use "elian"
     
  4. FidoW

    FidoW AdvExt64 Customers (IL)

    There is nothing wrong with the npc ID, as with the name, didn't try to use with uppercase so idk.
     
  5. Renobizarro

    Renobizarro AdvExt64 Customers (IL)

    at least if u use a high itemid the server doesn't recognize that item.. or client? don't remember...
     
  6. gemeos

    gemeos New Member

    dont have problem with this id ... but type with lowercase resolve it.
    Renobizarro, i want remember you .. dev of this project is brazilian too.
    ty and cya.
     
  7. FidoW

    FidoW AdvExt64 Customers (IL)

    Reno isn't brazilian.
     
  8. Zhengyi

    Zhengyi New Member

    Server side and think its limited at 20k id nothing above that will work till you add a new value like 30-40k for maxid value.