Nova Posted January 19, 2016 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 265 Reputation: 96 Joined: 09/30/14 Last Seen: May 15, 2024 Share Posted January 19, 2016 In order to give back to this community, and as a huge thank you to all of those who put work into the emulator, we've decided to share our Nightmarish Jitterbug instance. This instance was scripted by Tokei, with YouTube videos as sources, as well as me running it on iRO. A huge thank you to our ex-player Deegs for lending me his iRO RK in order to run the content. A small amount of dialogue is missing, and you're welcome to contribute if you run into the actual lines. They're marked in the script file itself. Item drop rates were the only thing really customized, enjoy the release! http://novaragnarok.com/download/NightmarishJitterbug.txt 6 1 1 Quote Link to comment Share on other sites More sharing options...
Dhall Posted January 20, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 62 Reputation: 6 Joined: 08/29/15 Last Seen: March 23 Share Posted January 20, 2016 Thanks Nova Quote Link to comment Share on other sites More sharing options...
Lelouch vi Britannia Posted January 20, 2016 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted January 20, 2016 Thanks for sharing :3 but but wait Y U NO ADD MOB SKILL Quote Link to comment Share on other sites More sharing options...
juanfu Posted January 20, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 40 Reputation: 4 Joined: 01/13/13 Last Seen: April 26, 2020 Share Posted January 20, 2016 i get a error here function script JitDiag { mes "[" + getarg(0) + "]"; mes getarg(3); npctalk getarg(3), instance_npcname(getarg(0) + getarg(4, "#" + strnpcinfo(2))); npctalk in the script is different from rathena i think npctalk <"message">; Quote Link to comment Share on other sites More sharing options...
Tokei Posted January 20, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 21 hours ago Share Posted January 20, 2016 i get a error here function script JitDiag { mes "[" + getarg(0) + "]"; mes getarg(3); npctalk getarg(3), instance_npcname(getarg(0) + getarg(4, "#" + strnpcinfo(2))); npctalk in the script is different from rathena i think npctalk <"message">; Completely forgot about that, to avoid using hundreds of donpcevents, we customized npctalk with an optional parameter to target a specific NPC. Here: /*========================================== * npctalk (sends message to surrounding area) *------------------------------------------*/ BUILDIN_FUNC(npctalk) { const char* str; struct npc_data* nd; str = script_getstr(st,2); if (script_hasdata(st, 3)) { nd = npc_name2id(script_getstr(st, 3)); } else { nd = (struct npc_data *)map_id2bl(st->oid); } if(nd) { char name[NAME_LENGTH], message[256]; safestrncpy(name, nd->name, sizeof(name)); strtok(name, "#"); // discard extra name identifier if present safesnprintf(message, sizeof(message), "%s : %s", name, str); clif_disp_overhead(&nd->bl, message); } return SCRIPT_CMD_SUCCESS; } BUILDIN_DEF(npctalk,"s?"), // [Valaris] Quote Link to comment Share on other sites More sharing options...
juanfu Posted January 20, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 40 Reputation: 4 Joined: 01/13/13 Last Seen: April 26, 2020 Share Posted January 20, 2016 (edited) i edit npctalk, now the instance work but look the screenshot chat edit: if you press "Hurry" option this is show in mapserver Error: script:getelementofarray: illegal scope debug: Data: variable name='jitoptions' edit2: i change all jitoptions for @jitoptions (temp player array) and it works edit3: npctalk fixed, my fault, ty Edited January 21, 2016 by juanfu Quote Link to comment Share on other sites More sharing options...
Tokei Posted January 20, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 21 hours ago Share Posted January 20, 2016 The chats would be because you didn't copy the npctalk function properly. I'm having no errors on a clean rA copy, so I couldn't really tell you what the issue is here with the jitoptions variable. I'm guessing your script engine is a bit outdated, so you could try and add the following : case 0: setquest 13181; setquest 13182; if (!jitoptions) { setarray jitoptions, -1, -1, -1, -1, 0;} mapannounce "moc_para01", strcharinfo(0) + " of the party, " + .@p_name$ + ", is entering the " + .@md_name$ + ".", bc_map, "0x00ff99"; break; If that doesn't help, then I'm afraid I do not have a solution for you =l. Quote Link to comment Share on other sites More sharing options...
Sekai RO Posted January 31, 2016 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 38 Reputation: 6 Joined: 08/17/12 Last Seen: May 24, 2016 Share Posted January 31, 2016 Thanks nova for sharing. Is this script applicable to pre-renewal servers? Quote Link to comment Share on other sites More sharing options...
Nova Posted February 1, 2016 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 265 Reputation: 96 Joined: 09/30/14 Last Seen: May 15, 2024 Author Share Posted February 1, 2016 The mobs are definitely not balanced for pre-renewal, but you could easily add our source code addons and just modify the mob_db entries to fit pre-renewal. Quote Link to comment Share on other sites More sharing options...
Sekai RO Posted February 3, 2016 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 38 Reputation: 6 Joined: 08/17/12 Last Seen: May 24, 2016 Share Posted February 3, 2016 How can i Add the source code addons sir? Can you PLEASE help me. Coz I'd really like to put this on my server but I don't know much about src modifications Quote Link to comment Share on other sites More sharing options...
LOVE0825 Posted February 4, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 10/18/13 Last Seen: July 6, 2019 Share Posted February 4, 2016 Quote Link to comment Share on other sites More sharing options...
Secrets Posted February 4, 2016 Group: Developer Topic Count: 36 Topics Per Day: 0.01 Content Count: 588 Reputation: 437 Joined: 01/26/16 Last Seen: 15 hours ago Share Posted February 4, 2016 (edited) How can i Add the source code addons sir? Can you PLEASE help me. Coz I'd really like to put this on my server but I don't know much about src modifications Replace your builtin npctalk in script.c with one @Tokei provided. Edited February 4, 2016 by secretdataz 1 Quote Link to comment Share on other sites More sharing options...
Tokei Posted February 5, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 21 hours ago Share Posted February 5, 2016 Your script engine appears to be outdated, you'll have to replace those with callfunc("JitDiag", "Gelkah", ...) or you can use this link instead: http://novaragnarok.com/download/NightmarishJitterbug_oldemu.txt Quote Link to comment Share on other sites More sharing options...
LOVE0825 Posted February 6, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 10/18/13 Last Seen: July 6, 2019 Share Posted February 6, 2016 唉...我真的不會改,我太爛了= = Quote Link to comment Share on other sites More sharing options...
Tokei Posted February 6, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 21 hours ago Share Posted February 6, 2016 唉...我真的不會改,我太爛了= = You need this: https://rathena.org/board/topic/104496-nightmareish-jitterbug-episode-143/?p=296127 Quote Link to comment Share on other sites More sharing options...
Azeroth Posted February 6, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted February 6, 2016 Thank you Nova and Tokei! Quote Link to comment Share on other sites More sharing options...
Fae Posted April 5, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 04/04/16 Last Seen: March 19, 2017 Share Posted April 5, 2016 (edited) newoz npc error? Edited April 5, 2016 by Fae Quote Link to comment Share on other sites More sharing options...
exneval Posted April 20, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 01/03/12 Last Seen: November 18, 2019 Share Posted April 20, 2016 (edited) @Tokei @Nova Didn't see value of temp. char. variable @menu for jitoptions[0..4] get define. It should be defined in Newoz#09 while selecting options. Edited April 20, 2016 by exneval Quote Link to comment Share on other sites More sharing options...
Tokei Posted April 20, 2016 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 695 Reputation: 721 Joined: 11/12/12 Last Seen: 21 hours ago Share Posted April 20, 2016 It's a value set source-wise after calling menu; it gives you the latest selected option. 1 Quote Link to comment Share on other sites More sharing options...
exneval Posted April 21, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 164 Reputation: 12 Joined: 01/03/12 Last Seen: November 18, 2019 Share Posted April 21, 2016 @Tokei Argh.. you're right... sorry, I'm verynoob at scripting... Thanks~ Quote Link to comment Share on other sites More sharing options...
spinzaku Posted June 17, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 82 Reputation: 6 Joined: 04/20/16 Last Seen: July 23, 2024 Share Posted June 17, 2016 (edited) great job got it to work Edited June 23, 2016 by spinzaku Quote Link to comment Share on other sites More sharing options...
Fae Posted June 24, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 04/04/16 Last Seen: March 19, 2017 Share Posted June 24, 2016 (edited) After the Patch of Rathena i got this error, did the change the instance_create thing?when i click the "Open the Dimensional Portal"the error will appear, and the reservation is Failed never mind as i can see the instances_db is updated26,Nightmarish Jitterbug,3300,300,1@jtb,16,18,1@jtbthey put IdleTimeOut// Structure of Database:// ID,Name,LimitTime,IdleTimeOut,EnterMap,EnterX,EnterY,Map2,...,Map255thanks anyway ^^ Edited June 24, 2016 by Fae Quote Link to comment Share on other sites More sharing options...
REKT Posted June 26, 2016 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 206 Reputation: 11 Joined: 12/06/11 Last Seen: September 13, 2024 Share Posted June 26, 2016 Because of this: https://rathena.org/board/topic/106099-instance-mode-expansion/ Quote Link to comment Share on other sites More sharing options...
Bringer Posted July 10, 2016 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Sunday at 10:44 PM Share Posted July 10, 2016 i get a error here function script JitDiag { mes "[" + getarg(0) + "]"; mes getarg(3); npctalk getarg(3), instance_npcname(getarg(0) + getarg(4, "#" + strnpcinfo(2))); npctalk in the script is different from rathena i think npctalk <"message">; Completely forgot about that, to avoid using hundreds of donpcevents, we customized npctalk with an optional parameter to target a specific NPC. Here: /*========================================== * npctalk (sends message to surrounding area) *------------------------------------------*/ BUILDIN_FUNC(npctalk) { const char* str; struct npc_data* nd; str = script_getstr(st,2); if (script_hasdata(st, 3)) { nd = npc_name2id(script_getstr(st, 3)); } else { nd = (struct npc_data *)map_id2bl(st->oid); } if(nd) { char name[NAME_LENGTH], message[256]; safestrncpy(name, nd->name, sizeof(name)); strtok(name, "#"); // discard extra name identifier if present safesnprintf(message, sizeof(message), "%s : %s", name, str); clif_disp_overhead(&nd->bl, message); } return SCRIPT_CMD_SUCCESS; } BUILDIN_DEF(npctalk,"s?"), // [Valaris] where i need put this? Quote Link to comment Share on other sites More sharing options...
juanfu Posted July 11, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 40 Reputation: 4 Joined: 01/13/13 Last Seen: April 26, 2020 Share Posted July 11, 2016 \src\map\script.c find npctalk function and replace it then search for this line BUILDIN_DEF(npctalk,"s"), // [Valaris] and change it for this BUILDIN_DEF(npctalk,"s?"), // [Valaris] then recompile the emulator Quote Link to comment Share on other sites More sharing options...
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.