Jump to content

Sikdope

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Sikdope

  1. Hello guys! anyone how to fix always failed to connect to server! i'm using client 2018-06-20eRagexeRE packet version is 55 and PACKETVER 20180620 thanks guys!
  2. got error bro parse_line: expect command, missing function name or calling undeclared function 35 : } 36 : if(.@quantity <= 0){ 37 : mes "I cannot create on that value."; 38 : end; 39 : } * 40 : 'c'lear; 41 : if (countitem(607) < 2 * .@quantity || countitem(713) < 1 * .@quantity || Zeny < 200000) { 42 : mes "You're lacking of requirements."; 43 : close; 44 : } 45 : mes "Here it is!"; [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/woe shop.txt', line '11'. Stopping
  3. [Error]: Loading NPC file: npc/custom/test.txt script error on npc/custom/test.txt line 317 parse_line: expect command, missing function name or calling undeclared function 312 : getguildmember( .@gid, 1, .@cid ); 313 : .@size_guild = getguildmember( .@gid, 2, .@aid ); 314 : 315 : if( .Options&4 ){ 316 : .@master_cid = getguildmasterid( .@gid ); * 317 : .@index = inarray('.'@cid, .@master_cid); 318 : .@master_aid = .@aid[.@index]; 319 : 320 : cleararray( .@cid, 0, .@size_guild ); 321 : cleararray( .@aid, 0, .@size_guild ); 322 : [Info]: Done loading '11023' NPCs: -'3090' Warps -'223' Shops -'7709' Scripts -'4014' Spawn sets -'40697' Mobs Cached -'0' Mobs Not Cached [Status]: Event 'OnInit' executed with '1400' NPCs. [Status]: Event 'OnInterIfInit' executed with '0' NPCs. [Error]: npc_event: event not found [WOE_CONTROL::OnMenu] [Error]: npc_event: event not found [WOE_CONTROL::OnMenu]
  4. Hello bro sorry now ko lang nakita comment mo! may ask lang sana ako bro hindi kase lumalabas yung mga top gold hunter sa room sa script pero wala naman sya error sa script sensya na newbie lang bro! heto script bro: alter table `char` add `gold_rank` int(11) unsigned default 0 after unban_time, add index (gold_rank); */ mes "[ ^C6A518Top 30 Gold Hunters^000000 ]"; .@nb = query_sql( "select name, gold_rank from `char` where gold_rank > 0 order by gold_rank desc limit 2", .@name$, .@gold ); if ( !.@nb ) { mes "No ranking yet"; close; } for ( .@i = 0; .@i < .@nb; .@i++ ) mes .@name$ +" killed "+ .@gold +" Golden Peco"; close; OnNPCKillEvent: if ( strcharinfo(3) == "ordeal_1-2" && killedrid == 1369 ) query_sql "update `char` set gold_rank = gold_rank +1 where char_id = "+ getcharid(0); end;
  5. mga boss pwde pa help sa skill hindi kase gumagana desperado at rapid shower skill! salamat mga ser!
  6. Hello bro can you help me how to make demi human and emperium type of punching bag thankyou so much!
  7. Hello guys anyone can this credit exchanger quest? thanks!
  8. Hello bro i got problem in your script how to fix this thanks bro! [Warning]: buildin_monster: Attempted to spawn non-existing monster class 4250 [Debug]: Source (NPC): EmperiumPunchingBag#0 at prontera (158,162) [Warning]: buildin_monster: Attempted to spawn non-existing monster class 4251 [Debug]: Source (NPC): Demi-HumanPunchingBag#0 at prontera (152,162) [Status]: Event 'OnInit' executed with '1395' NPCs. [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
  9. prontera, 127,210.4 script Quests Spartacus-ro 74, { function Add; function Chk; function Slot; function A_An; mes "^ FF1493 [Quest Master] ^ 000000"; mes (gettime (3)> = 6 && gettime (3) <= 12? "Good morning" :( gettime (3)> = 13 && gettime (3) <= 18? "Good afternoon": "Good evening")) + ", ^ 008aff" + strcharinfo (0) + "^ 000000!"; mes "Here at HeroBRO we have a new quest system that works like a store that asks for items."; next; mes "^ FF1493 [Quest Master] ^ 000000"; mes "So, what kind of item do you want to make?"; next; if (.Shops $! = "") set. @ i, 1; else { set. @ menu $, ""; for (set. @ i, 1;. @ i <= getarraysize (.Shops $); set. @ i,. @ i + 1) set. @ menu $ ,. @ menu $ +. Shops $ [. @ i ] + ":"; set. @ i, select (. @ menu $); } dispbottom "Select one item at a time."; callshop "qshop" +. @ i, 1; npcshopattach "qshop" +. @ i; end; function Add { if (getitemname (getarg (1)) == "null") { debugmes "Quest reward #" + getarg (1) + "invalid (skipped)."; return; } for (set. @ n, 5 ;. @ n <127; set. @ n ,. @ n + 2) { if (! getarg (. @ n, 0)) break; if (getitemname (getarg (. @ n)) == "null") { debugmes "Quest requirement #" + getarg (. @ n) + "invalid (skipped)."; return; }} for (set. @ i, 2 ;. @ i <. @ n; set. @ i ,. @ i + 1) set getd (". q _" + getarg (1) + "[" + (. @ i-2) + "]"), getarg (. @ i); npcshopadditem "qshop" + getarg (0), getarg (1), ((. ShowZeny)? getarg (3): 0); return; } function Chk { if (getarg (0) <getarg (1)) {set @ qe0,1; return " set. @ s $, getitemname (getarg (0)); switch (.ShowSlot) { case 1: if (! getitemslots (getarg (0))) return. @ s $; case 2: if (getiteminfo (getarg (0), 11)> 0) return. @ s $ + "[" + getitemslots (getarg (0)) + "]"; default: return. @ s $; }} function A_An { setarray. @ A $ [0], "a", "e", "i", "o", "u"; set. @ B $, "_" + getarg (0); for (set. @ i, 0;. @ i <5; set. @ i,. @ i + 1) if (compare (. @ B $, "_" +. @ A $ [. @ i])) return "an" + getarg (0); return "a" + getarg (0); } OnBuyItem: set. @ Q [0], @ bought_nameid; copyarray. @ q [1], getd (". q _" + @ bought_nameid + "[0]"), getarraysize (getd (". q _" + @ bought_nameid + "[0]")); if (!. @ q [1]) {message strcharinfo (0), "An error occurred."; end; } mes "^ FF1493 [Quest Master] ^ 000000"; mes "Reward: ^ 0055FF" + ((. @ q [1]> 1)?. @ q [1] + "x": "") + Slot (. @ q [0]) + "^ 000000"; mes "Requirements:"; if (. @ q [2]) mes ">" + Chk (Zeny,. @ q [2]) +. @ q [2] + "Zeny ^ 000000"; if (. @ q [3]) mes ">" + Chk (getd (.Points $ [0]),. @ q [3]) +. @ q [3] + "" + .Points $ [1] + "(" + getd (.Points $ [0]) + "/" +. @ q [3] + ") ^ 000000"; if (. mes ">" + Chk (countitem (. @ q [. @ i]),. @ q [. @ i + 1]) + ((. DisplayID)? "[" +. @ q [. @ i] + "]": "") + Slot (. @ Q [. @ I]) + "(" + countitem (. @ Q [. @ I]) + "/" +. @ Q [. @ I + 1] + ") ^ 000000"; next; set @ qe1, getiteminfo (. @ q [0], 5); set @ qe2, getiteminfo (. @ q [0], 11); addtimer 1000, strnpcinfo (1) + ":: OnEnd"; while (1) { switch (select ("[^ 008000» ^ 000000] Do ^ 0055FF "+ getitemname (. @ q [0]) +" ^ 000000: "+ (((((@ qe1 & 1) || (@ qe1 & 256 ) || (@ qe1 & 512)) && @ qe2> 0 &&! @ qe6)? "[^ 008000» ^ 000000] Try Item. ":" ") +": ^ 777777Cancel. ^ 000000 ")) { case 1: if (@ qe0) { mes " close; } if (! checkweight (. @ q [0],. @ q [1])) { mes "^ FF1493 [Quest's Master] ^ 000000"; mes "^ FF0000You need" + ((((. @ q [1] * getiteminfo (. @ q [0], 6)) + Weight-MaxWeight) / 10) + "additional weight capacity to complete this purchase. ^ 000000 "; close; } if (. @ q [2]) set Zeny, Zeny -. @ q [2]; if (. @ q [3]) setd .Points $ [0], getd (.Points $ [0]) -. @ q [3]; if (. @ q [4]) for (set. @ i, 4;. @ i <getarraysize (. @ q); set. @ i ,. @ i + 2) delitem. @ q [. @ i], . @ q [. @ i + 1]; getitem. @ q [0],. @ q [1]; if (.Announce) announce strcharinfo (0) + "just completed the item quest: [" + (getitemname (. @ q [0])) + "]!", 0; specialeffect2 699; close; case 2: set @ qe3, getlook (3); set @ qe4, getlook (4); set @ qe5, getlook (5); if (@ qe1 & 1) atcommand "@changelook 3" + @ qe2; if (@ qe1 & 256) atcommand "@changelook 1" + @ qe2; if (@ qe1 & 512) atcommand "@changelook 2" + @ qe2; set @ qe6,1; break; case 3: close; }} OnEnd: if (@qe6) { atcommand "@changelook 3 "+@qe3; atcommand "@changelook 1 "+@qe4; atcommand "@changelook 2 "+@qe5; } for(set .@i,0; .@i<7; set .@i,.@i+1) setd "@qe"+.@i,0; end; OnPCLoadMapEvent: if( strcharinfo(3) == strnpcinfo(4) ) showevent 1,0; end; OnInit: freeloop(1); // --------------------- Config --------------------- // Custom points, if needed: "<variable>","<name to display>" setarray .Points$[0],"#CASHPOINTS","Cash Points"; set .Announce,1; // Announce quest completion? (1: yes / 0: no) set .ShowSlot,2; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never) set .DisplayID,1; // Show item IDs? (1: yes / 0: no) set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no) // Shop categories, if needed: "<Shop 1>","<Shop 2>"{,...}; // Duplicate dummy data for any additional shops (bottom of script). // If no categories, use the second line instead (remove //). setarray .Shops$[1],"[^FF000001^000000] Quest [^008000Hats Colorido^000000]."; // set .Shops$,"n/a"; // Add (<shop number>, <reward ID>, <reward amount>, <Zeny cost>, <point cost>, // <required item ID>, <required item amount> {, ...}); // Shop number corresponds with order above (default is 1). // Note: Do NOT use a reward item more than once! // Sinx Add (1,20050,1,7500000,0,5170,1,983,6,7180,10); // ------------------------------------------------ - freeloop (0); for (set. @ i, 1;. @ i <= getarraysize (.Shops $); set. @ i ,. @ i + 1) npcshopdelitem "qshop" +. @ i, 909; end; } // -------- Dummy data (duplicate as needed) -------- - shop qshop1 -1,909: -1
  10. mga bro alam nyo ba san eedit to status point gagawin sana 0 def 0 mdef 0 matk 0 salamat mga bro
  11. mga bro pwde pa help dito sa status points newbie lang salamat mga bro! Hello mga bro! pwede ba pa help ako paano i-default yung status magiging 0 matk 0 def 0 mdef maraming salamat mga bro! bro san ba sya aayusin? para maging ganito yung stats!
  12. status point i dont know how to fix.. i need to 0 status point like mdef and def thankyou and godbless!
  13. Hello mam/sir anyone can this of gold room npc can you please give me script thank you so much godbless!
×
×
  • Create New...