ATOOLS`World editor

06/25/2019 04:17 matonskie23#1
Anyone know this problem?
after saving wndmadrigal using world editor all npc is not showing but i check dyo and the npc is in there?
i dont get any error log in server side and client side
why npc not showing in game?
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
06/25/2019 08:54 Naltalah#2
This looks more like an error in the source. Don't know if you have changed anything, but I forgot so serialize something once which led to NPCs not showing up. Maybe that's the case for you too here.

If it's not that, debug the world server/neuz to check whether NPCs are actually being loaded on both.
06/25/2019 09:18 matonskie23#3
Quote:
Originally Posted by Naltalah View Post
This looks more like an error in the source. Don't know if you have changed anything, but I forgot so serialize something once which led to NPCs not showing up. Maybe that's the case for you too here.

If it's not that, debug the world server/neuz to check whether NPCs are actually being loaded on both.
already fix paps :D anw thanks for reply ;)
06/25/2019 17:17 Ecrypter#4
everything have a solution :)

CommonCtrl.h

look for:
PHP Code:
BOOL        m_bSetJob[MAX_JOB]; 
change to:
PHP Code:
BOOL        m_bSetJob[32]; 
recompile
06/25/2019 19:29 Nιgнтмαяε#5
Quote:
Originally Posted by matonskie23 View Post
already fix paps :D anw thanks for reply ;)
Amazing job sharing the fix!

Good thing Ecrypter did to help others.

:lul: :kappa:
06/25/2019 22:02 xTwiLightx#6
Quote:
Originally Posted by Ecrypter View Post
everything have a solution :)

CommonCtrl.h

look for:
PHP Code:
BOOL        m_bSetJob[MAX_JOB]; 
change to:
PHP Code:
BOOL        m_bSetJob[32]; 
recompile
Going from constants/defines to magic numbers isn't a smart step.
06/25/2019 22:49 Blauflosh#7
Quote:
Originally Posted by xTwiLightx View Post
Going from constants/defines to magic numbers isn't a smart step.
:feelsgoodman:It's not smart but clever.:mofo::rtfm:
07/08/2019 16:12 Ecrypter#8
im just sharing what i encounter before in the fast few years. :)