Jump to content
  • 0

Private MVP No chat Box and no Menu


Question

13 answers to this question

Recommended Posts

Posted

yes i already restart it and use a load npc but its not working no chat box and no menu

its already working on my offline but in my official server is not working

bytheway

my host is asurahosting

Posted (edited)

u need to load it thru script_custom.conf or @reloadscript, or just restart the server,

you can do @oninit to trigger the npc's OnInit too, if u have the mod of oninit command. :)

Edited by Sperm
Posted

u need to load it thru script_custom.conf or @reloadscript, or just restart the server,

you can do @oninit to trigger the npc's OnInit too, if u have the mod of oninit command. :)

I can see the dialog/menu, but once I click on any of the Summon options, it'll crash the map server.

u need to load it thru script_custom.conf or @reloadscript, or just restart the server,

you can do @oninit to trigger the npc's OnInit too, if u have the mod of oninit command. :)

I can see the dialog/menu, but once I click on any of the Summon options, it'll crash the map server.

Oh yeah, forgot that the OnInit didn't load. I'll test it right now. Was lazy to put in the actualy script. xDD

u need to load it thru script_custom.conf or @reloadscript, or just restart the server,

you can do @oninit to trigger the npc's OnInit too, if u have the mod of oninit command. :)

I can see the dialog/menu, but once I click on any of the Summon options, it'll crash the map server.

u need to load it thru script_custom.conf or @reloadscript, or just restart the server,

you can do @oninit to trigger the npc's OnInit too, if u have the mod of oninit command. :)

I can see the dialog/menu, but once I click on any of the Summon options, it'll crash the map server.

Oh yeah, forgot that the OnInit didn't load. I'll test it right now. Was lazy to put in the actualy script. xDD

Nope. Just tested, it'll still crash the map server.

Posted (edited)

I can see the dialog/menu, but once I click on any of the Summon options, it'll crash the map server.

Nope. Just tested, it'll still crash the map server.

Here. to prevent from mapcrash

You need to change this one:


function script int__ {
set .@num, atoi("\""+getarg(0)+"\"");
if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0);
set .@l, getstrlen(.@num);
for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) {
set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$;
if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$;
}
return .@num$;
}

TO:


function script int__ {
set .@num, atoi(getarg(0)+"");
if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0);
set .@l, getstrlen(.@num+"");
for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) {
set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$;
if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$;
}
return .@num$;
}

Edited by Sperm

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...