Jhosef Posted August 20, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Share Posted August 20, 2012 Help us in this script http://rathena.org/board/topic/60571-a-working-mvp-room-rental-system/ i try the Private mvp but when i try it no chatbox and no menus please help to fix it Quote Link to comment Share on other sites More sharing options...
Santino Posted August 20, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 20, 2012 try this? Quote Link to comment Share on other sites More sharing options...
Jhosef Posted August 20, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Author Share Posted August 20, 2012 still the same Quote Link to comment Share on other sites More sharing options...
Santino Posted August 21, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 21, 2012 u load it using @loadnpc or scripts_custom.conf and restart? cuz it's working fine with me. o.O Quote Link to comment Share on other sites More sharing options...
Jhosef Posted August 21, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Author Share Posted August 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
Santino Posted August 21, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 21, 2012 can't test at online server though , sorry. enable it at npc/scripts_custom.conf ? Quote Link to comment Share on other sites More sharing options...
Jhosef Posted August 21, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Author Share Posted August 21, 2012 i already enable it Quote Link to comment Share on other sites More sharing options...
Nipsino Posted August 21, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share Posted August 21, 2012 Could you post a screenie? That's strange how it's not showing a chatbox/menu. Quote Link to comment Share on other sites More sharing options...
Santino Posted August 21, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 21, 2012 (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 August 21, 2012 by Sperm Quote Link to comment Share on other sites More sharing options...
Jhosef Posted August 21, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Author Share Posted August 21, 2012 Quote Link to comment Share on other sites More sharing options...
Santino Posted August 21, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 21, 2012 as i have said awhile ago you need to trigger the oninit, so load it thru npc/scripts_custom.conf npc: npc/custom/pathtoyourscript.txt then restart. if you don't want to restart always, when there's an oninit need to be triggered on a script. you can patch your source with this diff file . refer to the topic of the owner of this patch. http://rathena.org/board/topic/60694-oninit-trigger/ Quote Link to comment Share on other sites More sharing options...
Jhosef Posted August 21, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Author Share Posted August 21, 2012 its still the same i already restarted it but no chat and no menu Quote Link to comment Share on other sites More sharing options...
Nipsino Posted August 21, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share Posted August 21, 2012 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. Quote Link to comment Share on other sites More sharing options...
Santino Posted August 21, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 198 Reputation: 47 Joined: 08/01/12 Last Seen: July 1, 2015 Share Posted August 21, 2012 (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 August 21, 2012 by Sperm Quote Link to comment Share on other sites More sharing options...
Question
Jhosef
Help us in this script
http://rathena.org/board/topic/60571-a-working-mvp-room-rental-system/
i try the Private mvp but when i try it no chatbox and no menus please help to fix it
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.