Jump to content
  • 0
Sign in to follow this  
bWolfie

Map Server won't start (CentOS)

Question

Hi,

I have two servers - one ubuntu, one centos.
They run exactly the same files, yet CentOS has issues starting sometimes.

When loading scripts on CentOS, this can sometimes happen if there is something odd in a script:

[Info]: Done loading '10146' NPCs:
        -'3306' Warps
        -'72' Shops
        -'6754' Scripts
        -'3614' Spawn sets
        -'40842' Mobs Cached
        -'14' Mobs Not Cached

(notice no OnInit events executed)

While on ubuntu, the exact same files loads perfect.

[Info]: Done loading '10631' NPCs:
        -'3306' Warps
        -'72' Shops
        -'7239' Scripts
        -'3614' Spawn sets
        -'40842' Mobs Cached
        -'14' Mobs Not Cached
[Status]: Event 'OnInit' executed with '1346' NPCs.

Does anybody know why this may be happening?
Thanks, really appreciate anybody who can help.

 

edit: Also I know which script causes issue: it is one which uses setnpcdisplay.

-	script	::the_wall	FAKE_NPC,{
end;
OnInit:
	setnpcdisplay "" + strnpcinfo(NPC_NAME_UNIQUE) + "",1905;
	end;
}

 

Again, works fine on Ubuntu but CentOS explodes when using it. When using unique name, no good (Centos, but fine on Ubuntu); when using visible name, works fine.

Edited by True Zeal

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.