-
Posts
138 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by DEsMOn
-
[Error]: buildin_dispbottom: fatal error ! player not attached!
DEsMOn posted a question in Scripting Support
Hellow can any 1 guide to fix this? [Error]: buildin_dispbottom: fatal error ! player not attached! [Debug]: Function: dispbottom (1 parameter): [Debug]: Data: string value="You got the Antonio Leader's christmas gift!" [Debug]: Source (NPC): AntonioInvasion (invisible/not on a map) [Debug]: Source (NPC): AntonioInvasion (invisible/not on a map) AntonioInvasion.txt -
When i logged in VNC, i've seen something which likes @reloadmobdb..continued with [Error]: Server received crash signal! Attempting to save all online characters! Segmentation fault thing is no 1 is there to do @reloadmobdb then how it was doing auto reloadmob db? so i replaced old mob db txt from back up n recompiled n restarted server and did @reloadmobdb no crash happend. My server uses 2 mob db 1 ) is mob_db.yml & 2) is mob_db.txt during test never seen those issues but frequently this started happening... Asked by DEsMOn
-
Hellow Scripters Im getting this issue in CMD how to fix this? [Warning]: npc_event: player's event queue is full, can't add event 'Event_Bombring::OnPCDieEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'DM PvP Warper#mid::OnPCDieEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'DM PvP Warper#rac3::OnPCDieEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'DM PvP Warper#mal::OnPCDieEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'rfyl_Trap::OnPCDieEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'Event_NvZ::OnPCDieEvent' !
-
Thank you for the reply... wat u said its for default prontera map. Anyway i found the custom map file and edited and now its Done...
-
Hello Everyone, Can any one guide me to change this FLAGS in prontera . I've eddited BMP file but nothing happend. Do i need to edit rsm file? if so how to do it? if any can spare some time to explain.?
-
reads lua file. 20180621
-
Thank you for the reply sir, Will check and update soon...
-
Hello Experts Can any 1 guide me to fix this Change Cart2 Icon issue Please give details explanation if possible about how to change or fix.
-
scanner.h:208:17 warning type of 'lybconfig_yyscan_straing'
DEsMOn replied to DEsMOn's question in Source Support
Yeah just wanted to know we can fix this or not.... -
[Warning]: script:query_sql: Too many columns, discarding last 3 columns.
DEsMOn replied to DEsMOn's question in Scripting Support
Thank you sir Emistry SIR...its fixed now....!! -
scanner.h:208:17 warning type of 'lybconfig_yyscan_straing'
DEsMOn posted a question in Source Support
Hello Pro source scripters, scanner.h:208:17 warning type of 'lybconfig_yyscan_straing' does not match origina declaration [-wlto-type-mismatch] is this warning is big issue? hw do we fix this? can any 1 guide here? -
[Warning]: script:query_sql: Too many columns, discarding last 3 columns.
DEsMOn replied to DEsMOn's question in Scripting Support
-
Hello Guys, I'm Getting this in my CMD how to solve this? [Warning]: script:query_sql: Too many columns, discarding last 3 columns. [Debug]: Source (NPC): MVPLadder (invisible/not on a map) /---- MvP Ladder Logic Script - script MVPLadder -1,{ OnInit: // Config .map_killannounce = 1; // announce when MVP is dead on the map where the MVP was killed : 0 - off, 1 - o .killannounce = 1; // announce when MVP is dead globally : 0 - off, 1 - on .gmnokill = 0; // GMs are not suppose to kill MVP. A GM with <this number> level or higher will do nothing. IF set to 60, GM60 and above kill any player will not get anything : 0 - off // .min_gm_menu = 90; // minimum level of GM can use the GM menu on ladder npc .showtotal = 20; // show the length of ladder. .showpage = 10; // set the views per page. .showstatue = 5; // number of statues. This number must match with the number of duplicates at the end of the script .fix_custom_sprite = false; // if your server has custom animated sprite that overlaps the sprite animation repeatedly on the statues, enable this // Config ends ------------------------------------------------------------------------------------------ // to prevent bug happen if (.gmnokill <= 0) .gmnokill = 100; sleep 1; OnTimer30000: // refresh statues every 30 seconds. Note the `char` table is unrealiable, player still need to perform certain task to save the character -> see 'save_settings' in conf\map-server.conf [email protected]$ = "SELECT `char`.`char_id`, `char`.`name`, `char`.`guild_id`, `char`.`class`," + "`char`.`sex`, `char`.`hair`, `char`.`hair_color`, `char`.`clothes_color`," + "`char`.`body`, `char`.`head_top`, `char`.`head_mid`, `char`.`head_bottom`, `char`.`robe`," + "SUM(`mvpladder`.`kills`)" + "FROM `char` RIGHT JOIN `mvpladder` ON `char`.`char_id` = `mvpladder`.`char_id` GROUP BY `char`.`char_id` ORDER BY `kills` DESC LIMIT "+ .showstatue; [email protected] = query_sql([email protected]$, [email protected], [email protected]$, [email protected]_id, [email protected], [email protected]$, [email protected], [email protected]_color, [email protected]_color, [email protected], [email protected]_top, [email protected]_mid, [email protected]_bottom, [email protected], [email protected]); if (.fix_custom_sprite) { for ([email protected] = 0; [email protected] < [email protected]; [email protected]) { setunitdata .statue[[email protected] +1], UNPC_HEADTOP, 0; setunitdata .statue[[email protected] +1], UNPC_HEADMIDDLE, 0; setunitdata .statue[[email protected] +1], UNPC_HEADBOTTOM, 0; setunitdata .statue[[email protected] +1], UNPC_ROBE, 0; } } for ([email protected] = 0; [email protected] < [email protected]; [email protected]) { setunitdata .statue[[email protected] +1], UNPC_CLASS, [email protected][[email protected]]; setunitdata .statue[[email protected] +1], UNPC_SEX, ([email protected]$[[email protected]] == "F")? SEX_FEMALE:SEX_MALE; setunitdata .statue[[email protected] +1], UNPC_HAIRSTYLE, [email protected][[email protected]]; setunitdata .statue[[email protected] +1], UNPC_HAIRCOLOR, [email protected]_color[[email protected]]; setunitdata .statue[[email protected] +1], UNPC_CLOTHCOLOR, [email protected]_color[[email protected]]; setunitdata .statue[[email protected] +1], UNPC_BODY2, [email protected][[email protected]]; setunitdata .statue[[email protected] +1], UNPC_HEADTOP, [email protected]_top[[email protected]]; setunitdata .statue[[email protected] +1], UNPC_HEADMIDDLE, [email protected]_mid[[email protected]]; setunitdata .statue[[email protected] +1], UNPC_HEADBOTTOM, [email protected]_bottom[[email protected]]; setunitdata .statue[[email protected] +1], UNPC_ROBE, [email protected][[email protected]]; setnpcdisplay "mvp_ladder_statue#"+([email protected] +1), [email protected]$[[email protected]]; .statue_name$[[email protected] +1] = [email protected]$[[email protected]]; .statue_guild$[[email protected] +1] = getguildname([email protected]_id[[email protected]]); .statue_kills[[email protected] +1] = [email protected][[email protected]]; } for ([email protected] = [email protected]; [email protected] < .showstatue; [email protected]) setunitdata .statue[[email protected] +1], UNPC_CLASS, HIDDEN_WARP_NPC; initnpctimer; end; OnNPCKillEvent: // Logic to detect when a MvP is killed if (getmonsterinfo(killedrid, MOB_MVPEXP) > 0) { [email protected]$ = "SELECT char_id, mob_id, kills FROM mvpladder WHERE char_id = '" + getcharid(0) + "' AND mob_id = '" + killedrid + "';"; if (query_sql([email protected]$) > 0) { // Exist a kill of that MVP so +1 to kill count [email protected]$ = "UPDATE mvpladder SET kills = kills + 1 WHERE char_id = '" + getcharid(0) + "' AND mob_id = '" + killedrid + "'"; } else { // Create a new kill of specific MVP //[email protected]$ = "INSERT INTO mvpladder (char_id, mob_id, kills) VALUES ('" + getcharid(0) + "','" + killedrid + "','1');"; [email protected]$ = "INSERT INTO mvpladder (`char_id` , `mob_id` , `kills`) VALUES ('" + getcharid(0) + "','" + killedrid + "','1');"; } query_sql([email protected]$); } end; } //---- MvP Ladder Info NPC prontera,169,175,5 script MVP Ladder 512,{ [email protected]$ = strnpcinfo(0); while (1) { switch (select("^f44336Top MVP killer list^000000","^E69138Top MVP killed list^000000","My Information")) { case 1: [email protected]$ = "SELECT t1.char_id, SUM(t1.kills), t2.name " + "FROM `mvpladder` t1 " + "INNER JOIN `char` t2 " + "ON t1.char_id = t2.char_id " + "GROUP BY t1.char_id " + "ORDER BY t1.kills DESC " + "LIMIT " + getvariableofnpc(.showtotal, "MVPLadder") + ";"; [email protected] = query_sql([email protected]$, [email protected], [email protected], [email protected]$); if ([email protected]) { mes "The ladder currently is empty."; next; } for ([email protected] = 0; [email protected] < [email protected]; [email protected] += getvariableofnpc(.showpage,"MVPLadder")) { for ([email protected] = [email protected]; [email protected] < (getvariableofnpc(.showpage,"MVPLadder") + [email protected]) && [email protected] < [email protected]; [email protected]i) mes "^996600" + ([email protected]+1) + ": ^006699" + [email protected]$[[email protected]] + " ^00AA00[^FF0000" + [email protected][[email protected]] + " MvP^00AA00 killed]^000000"; next; } break; case 2: [email protected]$ = "SELECT char_id, mob_id, SUM(kills) " + "FROM `mvpladder` " + "GROUP BY mob_id " + "ORDER BY kills DESC " + "LIMIT " + getvariableofnpc(.showtotal, "MVPLadder") + ";"; [email protected] = query_sql([email protected]$, [email protected], [email protected], [email protected]); if ([email protected]) { mes "The ladder currently is empty."; next; } for ([email protected] = 0; [email protected] < [email protected]; [email protected] += getvariableofnpc(.showpage,"MVPLadder")) { for ([email protected] = [email protected]; [email protected] < (getvariableofnpc(.showpage,"MVPLadder") + [email protected]) && [email protected] < [email protected]; [email protected]) { mes "^996600" + ([email protected]+1) + ": ^006699" + strmobinfo(1, [email protected][[email protected]]) + " ^FF0000MvP ^00AA00[Killed ^FF0000" + [email protected][[email protected]] + " ^00AA00times]^000000"; } next; } query_sql("SELECT SUM(kills) FROM mvpladder;", [email protected]); mes "Congratulation, "+strcharinfo(0) +" check your information below"; mes "^006699Total MvP Kills:^000000 [^FF0000" + [email protected][0] + " ^00AA00kills]^000000"; break; case 3: [email protected]$ = "SELECT char_id, mob_id, SUM(kills) " + "FROM `mvpladder` " + "WHERE char_id = '" + getcharid(0) + "'" + "ORDER BY kills DESC;"; [email protected] = query_sql([email protected]$, [email protected], [email protected], [email protected]); if ([email protected]) { mes "The ladder currently is empty."; next; } [email protected] = 0; for ([email protected] = 0; [email protected] < [email protected]; [email protected] += getvariableofnpc(.showpage,"MVPLadder")) { for ([email protected] = [email protected]; [email protected] < (getvariableofnpc(.showpage,"MVPLadder") + [email protected]) && [email protected] < [email protected]; [email protected] ) { mes "^996600" + ([email protected]+1) + ": ^006699" + strmobinfo(1, [email protected][[email protected]]) + " ^FF0000MvP ^00AA00[Killed ^FF0000" + [email protected][[email protected]] + " ^00AA00times]^000000"; [email protected] = [email protected] + [email protected][[email protected]]; } next; } mes "Congratulation, "+strcharinfo(0) +" check your information below"; mes "^006699Total Own MvP Kills:^000000 [^FF0000" + [email protected] + " ^00AA00kills]^000000"; break; case 4: callfunc "qsho2op",1; end; } OnInit: initnpctimer; end; OnTimer1000: showscript("MVP Ladder"); setnpctimer 0; end; } close; } //---- MSG board NPCs - script mvp_ladder_statue -1,{ [email protected] = getelementofarray(getvariableofnpc(.npcgid, "MVPLadder"), getnpcid(0)); mes "^996600[TOP "+ [email protected] +"]"; mes "^006699Name : "+ getelementofarray(getvariableofnpc(.statue_name$, "MVPLadder"), [email protected]); [email protected]$ = getelementofarray(getvariableofnpc(.statue_guild$, "MVPLadder"), [email protected]); mes "^00AAAAGuild : "+(([email protected]$ == "null")? "^AAAAAANone": [email protected]$); mes "^00AA00Total MVP Kills : ["+ getelementofarray(getvariableofnpc(.statue_kills, "MVPLadder"), [email protected]) +"]"; close; OnInit: [email protected] = strnpcinfo(2); set getvariableofnpc(.statue[[email protected]], "MVPLadder"), getnpcid(0); set getvariableofnpc(.npcgid[getnpcid(0)], "MVPLadder"), [email protected]; end; } prontera,176,175,3 duplicate(mvp_ladder_statue) mvp_ladder_statue#1 1_F_MARIA prontera,179,172,3 duplicate(mvp_ladder_statue) mvp_ladder_statue#2 1_F_MARIA prontera,182,169,3 duplicate(mvp_ladder_statue) mvp_ladder_statue#3 1_F_MARIA prontera,185,166,3 duplicate(mvp_ladder_statue) mvp_ladder_statue#4 1_F_MARIA prontera,188,163,3 duplicate(mvp_ladder_statue) mvp_ladder_statue#5 1_F_MARIA prontera,176,175,5 script #top1 111,{ OnInit: initnpctimer; end; OnTimer1000: showscript("Top-1 MVP Killer"); setnpctimer 0; end; } prontera,179,172,5 script #top2 111,{ OnInit: initnpctimer; end; OnTimer1000: showscript("Top-2 MVP Killer"); setnpctimer 0; end; } prontera,182,169,5 script #top3 111,{ OnInit: initnpctimer; end; OnTimer1000: showscript("Top-3 MVP Killer"); setnpctimer 0; end; } prontera,185,166,5 script #top4 111,{ OnInit: initnpctimer; end; OnTimer1000: showscript("Top-4 MVP Killer"); setnpctimer 0; end; } prontera,188,163,5 script #top5 111,{ OnInit: initnpctimer; end; OnTimer1000: showscript("Top-5 MVP Killer"); setnpctimer 0; end; }
-
[Error]: npc_event: event not found [MvP Ladder Warper::OnMvpDead]
DEsMOn replied to DEsMOn's question in Scripting Support
Okay, Thank you so much SIR. -
Need to restrict GM ID -4 which should not enter in MVP map
DEsMOn replied to DEsMOn's question in Script Requests
Thank you so much SIR....................................!!! -
Need to restrict GM ID -4 which should not enter in MVP map
DEsMOn replied to DEsMOn's question in Script Requests
Thank you so much Cookie Sir, 1 question just in case i want to add more than 1 group ID so how should i add it. if(getgroupid() == 4) { -
Need to restrict GM ID -4 which should not enter in MVP map
DEsMOn replied to DEsMOn's question in Script Requests
Dear Sir, I checked its working for 1st map only i.e pay_fild11 not for others can u fix it? - script restrict_gm -1,{ OnPCLoadMapEvent: if(getgroupid() == 4) { for([email protected] = 0; [email protected] < getarraysize(.map_list$); [email protected]) { getmapxy([email protected]$,[email protected],[email protected],BL_PC); if([email protected]$ == .map_list$) { dispbottom "You are not allowed in this map."; if(.savepoint) warp "SavePoint",0,0; else warp "prontera",155,180; end; } } } end; OnInit: .savepoint = true; // set to false if you don't want to warp gms to savepoint setarray .map_list$, "pay_fild11", "pay_fild04", "niflheim", "moc_fild17", "xmas_fild01", "mjolnir_04","gef_fild02", "gef_fild10", "gef_fild14", "ve_fild01", "ve_fild02", "ra_fild02", "ra_fild03", "pay_dun04", "prt_sewb4", "anthell02", "beach_dun", "ama_dun03", "xmas_dun02", "gef_dun02", "lou_dun03", "gon_dun03", "mosk_dun03", "tur_dun04", "moc_pryd04", "in_sphinx5", "ayo_dun02", "ein_dun02", "jupe_core", "gl_chyard", "abyss_03", "abyss_02", "xmas_fild01", "lhz_dun02", "lhz_dun03", "kh_dun02", "ra_san05", "dic_dun02", "odin_tem03", "treasure02"; // add maps you don't want your gms to warp end; } //MVP maps niflheim mapflag loadevent pay_fild11 mapflag loadevent moc_fild17 mapflag loadevent xmas_fild01 mapflag loadevent mjolnir_04 mapflag loadevent gef_fild02 mapflag loadevent gef_fild10 mapflag loadevent gef_fild14 mapflag loadevent ve_fild01 mapflag loadevent ve_fild02 mapflag loadevent ra_fild02 mapflag loadevent ra_fild03 mapflag loadevent pay_dun04 mapflag loadevent prt_sewb4 mapflag loadevent anthell02 mapflag loadevent beach_dun mapflag loadevent ama_dun03 mapflag loadevent xmas_dun02 mapflag loadevent gef_dun02 mapflag loadevent lou_dun03 mapflag loadevent gon_dun03 mapflag loadevent mosk_dun03 mapflag loadevent tur_dun04 mapflag loadevent treasure02 mapflag loadevent moc_pryd04 mapflag loadevent in_sphinx5 mapflag loadevent ayo_dun02 mapflag loadevent ein_dun02 mapflag loadevent jupe_core mapflag loadevent gl_chyard mapflag loadevent abyss_03 mapflag loadevent abyss_02 mapflag loadevent bra_dun02 mapflag loadevent lhz_dun02 mapflag loadevent lhz_dun03 mapflag loadevent kh_dun02 mapflag loadevent ra_san05 mapflag loadevent dic_dun02 mapflag loadevent odin_tem03 mapflag loadevent pay_fild04 mapflag loadevent // P.S: Every map you add in array .map_list$ needs a mapflag loadevent to work. -
[Error]: npc_event: event not found [MvP Ladder Warper::OnMvpDead]
DEsMOn replied to DEsMOn's question in Scripting Support
[Error]: npc_event: event not found [MvP Ladder Warper::OnMvpDead] This is the Error in CMD...