Jump to content

Ragnar Lothbrok

Members
  • Posts

    309
  • Joined

  • Last visited

Everything posted by Ragnar Lothbrok

  1. what will i change if i want only 1 item will be send?
  2. QQfoolsorellina fix this already... sorry, it's a typo gecharid'('1) --->getcharid'('1) update
  3. thanks... i get 3 items... how will i change to 1 items only? random prize Woeautoreward.txt i got this error: [Error]: script:getelementofarray: illegal scope [Debug]: Data: variable name='prizeamount' [Debug]: Source (NPC): Woeautoreward (invisible/not on a map)
  4. i try this one, but the bug still ther... any other solution for this bug??
  5. @QQfoolsorellina i try this i got error: replace this line query_sql "insert into mail................. with getitem .prize,1; how to fix this?? btw im using eathena.. [Debug]: at ..\src\map\script.c:14691 - getitem .prize,1; ( send_name, dest_id, title, message, nameid, amount, identify, time ) values ( 'Angelmeolody╝·└y¿t▓╬' ,150004, '½░╛╘╝·└y', '«Ñ│▀! ▒z¬║ñu╖|ª√╗Γ Sacred Altar │o¼O¿t▓╬╡╣ºA¬║╝·└yº╞▒µºAªA Ñ[¬o',501, 1, 1, unix_timestamp( now() ) ) [Debug]: Source (NPC): Woeautoreward (invisible/not on a map) : DB error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'getitem .prize,1; ( send_name, dest_id, title, message, nameid, amount, identify' at li ne 1
  6. Are you asking to change the reward or your telling about the cript reward?
  7. Great it works!! Thank you so much QQfoolsorellina!! Q: can this be change, item will recieve in inventory not in email?? coz i disable mail in my server bec. of coins bug...
  8. @QQfoolsorellina i try ur script and i got this error [Error]: Loading NPC file: npc/infi/woereward.txt script error on npc/infi/woereward.txt line 18 parse_callfunc: expected ')' to close argument list 13 : 14 : if (isloggedin(.@gmaid[.@i],.@gmcid[.@i]) && att achrid(.@gmaid[.@i])) 15 : { 16 : if(checkvending()) 17 : continue; * 18 : if(.maxw > 1 && query_sql("SELECT char_i d FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login. last_ip=(SELECT last_ip FROM login WHERE account_id="+.@gmaid[.@i]+") AND `char` .party_id ="+gecharid'('1), .@dcid) > .maxw) 19 : continue; 20 : 21 : query_sql "insert into mail ( send_name, dest_id, title, message, nameid, amount, identify, time ) values ( 'Angelmeolod y╝·└y¿t▓╬',"+.@gmcid[.@i]+", '½░╛╘╝·└y', '«Ñ│▀! ▒z¬║ñu╖|ª√╗Γ "+ getcastlename($@ castlemap$[.@j]) +" │o¼O¿t▓╬╡╣ºA¬║╝·└yº╞▒µºAªAÑ[¬o',"+.prize+", 1, 1, unix_times tamp( now() ) )"; 22 : 23 : }
  9. aun nsa inter_athena.conf pla, hinahanap ko panman sa battle folder.. thanks Charles
  10. san ko po mkikita ung party lvl requirement? gus2 ko sana palitan ng lvl 0 - 99
  11. got error.. [Error]: run_script: infinity loop ! [Debug]: Source (NPC): AGME (invisible/not on a map)
  12. okei thank you Emistry... what about after you have been killed in LMS, i cant use healer... my HP is 0, then when i relog i cant no longer connect my char... how to fix that sir Emistry....
  13. After you have been killed you can never heal or use healer, then if you relog you can no longer connect that char... how to fix? and how to fix this error? [Error]: npc_enable: Attempted to hide a non-existing NPC 'Baby Manager' (flag=0 ). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Novice Manager' (flag =0). - script LMS#disable -1,{ OnInit: disablenpc "Mr. Banker"; disablenpc "All Job Manager"; disablenpc "Baby Manager"; disablenpc "Novice Manager"; end; } - script LMS -1,{ OnMinute10: goto startlmsevent; startlmsevent: announce "Mr. Manager: The Last Man Standing event will be starting shortly.",0; sleep2 10000; announce "Mr. Manager: Those who want to play, please proceed to Prontera and Register.",0; sleep2 10000; announce "Mr. Manager: After 1 Minute the Registration will close.",0; sleep2 10000; announce "Mr. Manager: Please go to Prontera and Register now if you want to join.",0; enablenpc "All Job Manager"; initnpctimer; end; OnTimer30000: announce "Mr. Manager: Last 30 seconds.",0; sleep2 5000; announce "Mr. Manager: If you want to join please Register in Prontera.",0; end; OnTimer50000: announce "Mr. Manager: Last 10 seconds.",0; end; OnTimer55000: announce "Mr. Manager: 5.",0; end; OnTimer56000: announce "Mr. Manager: 4.",0; end; OnTimer57000: announce "Mr. Manager: 3.",0; end; OnTimer58000: announce "Mr. Manager: 2.",0; end; OnTimer59000: announce "Mr. Manager: 1.",0; end; OnTimer60000: announce "Mr. Manager: Time's up.",0; end; OnTimer61000: disablenpc "All Job Manager"; donpcevent "Mr. Banker::OnEnable"; stopnpctimer; end; } //---------All Job Registration--------------- prontera,156,174,5 script All Job Manager 106,{ mes "[Mr. Manager]"; mes "Hello What can I do for you?"; next; menu "Register",-,"What is LMS?",what,"Leave",leave; next; mes "[Mr. Manager]"; mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!"; warp "quiz_02",310,267; end; what: mes "[Mr. Manager]"; mes "LMS is also known as Last Man Standing Event"; next; mes "[Mr. Manager]"; mes "LMS is also like a PvP."; mes "The only difference is at LMS you will get 2 Mithril Coins if you are the Last Man Standing at the arena."; next; mes "[Mr. Manager]"; mes "That's all"; close; leave: mes "[Mr. Manager]"; mes "I hope you will register next time"; close; } //-------------------------- //-------------------------- quiz_02,303,265,6 script Mr. Banker 56,{ mes "[banker]"; mes "Congrats. You've won."; next; announce "Mr. Manager: We have a winner! well done "+strcharinfo(0)+".",0; getitem 674, 2; // Change This item id to what ever you want . item id,amount dispbottom "2 Mithril Coins"; mes "You will return now"; warp "prontera",156,185; disablenpc "Mr. Banker"; close; end; OnEnable: pvpoff "quiz_02"; mapannounce "quiz_02","Mr. Manager:The Last Man Standing Event will start shortly",0; sleep2 10000; mapannounce "quiz_02","Mr. Manager:But before we start this is just a few reminders..",0; sleep2 10000; mapannounce "quiz_02","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0; sleep2 10000; mapannounce "quiz_02","Mr. Manager: Only the Last Man Standing will win this event!!",0; sleep2 10000; mapannounce "quiz_02","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0; sleep2 10000; goto L_Start; end; L_Start: if(getmapusers("quiz_02") == 1) goto L_Champ; if(getmapusers("quiz_02") == 0) goto L_None; if(getmapusers("quiz_02") > 1) { mapannounce "quiz_02","Mr. Manager: Get ready at the count of 5 we will start!....",0; sleep2 10000; mapannounce "quiz_02","Mr. Manager: 5",0; sleep2 5000; mapannounce "quiz_02","Mr. Manager: 4",0; sleep2 4000; mapannounce "quiz_02","Mr. Manager: 3",0; sleep2 3000; mapannounce "quiz_02","Mr. Manager: 2",0; sleep2 2000; mapannounce "quiz_02","Mr. Manager: 1",0; sleep2 1000; pvpon "quiz_02"; goto timer; end; } timer: initnpctimer; end; OnTimer1000: end; OnTimer1100: if(getmapusers("quiz_02") == 1) goto L_Champ; if(getmapusers("quiz_02") > 2) goto timer; if(getmapusers("quiz_02") == 2) goto champ; stopnpctimer; end; champ: announce "Mr. Manager: Last 2 Brave warriors are still alive!",0; sleep2 10000; if(getmapusers("quiz_02") == 1) goto L_Champ; if(getmapusers("quiz_02") > 1) goto timer; end; L_Champ: mapannounce "quiz_02","Mr. Banker: Please talk to me to get your prize..",0; pvpoff "quiz_02"; enablenpc "Mr. Banker"; end; L_None: disablenpc "Banker"; pvpoff "quiz_02"; end; } //----- Die = warp prt ----- - script Killa_warp -1,{ OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="quiz_02") { set #kill_point, 0; announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all; warp "prontera",0,0; atcommand "@alive"; end; } OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="quiz_02") { set #kill_point,#kill_point+1; if ( #kill_point % 4 == 0) { announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all; getitem 671, 4; end; } } } // == Mapflags quiz_02 mapflag nowarp quiz_02 mapflag nowarpto quiz_02 mapflag noteleport quiz_02 mapflag nosave quiz_02 mapflag nomemo quiz_02 mapflag nobranch quiz_02 mapflag pvp_noparty quiz_02 mapflag restricted 1 quiz_02 mapflag pvp_noguild
  14. what do you mean overflow? kung 1b max zenny ko dina lalampas dun kahit gmit pa xia ng gmit ng GC....
  15. ehe...thanks sa reply paps, meron nko gnyan... Need ko Item_db script ng Gold Coins na useable xia... pero try ko nlng gwin... thanks ulit sa reply...
  16. Pano gawin useable ang Gold Coins tapos ung bigay ay zenny??
  17. Is this Script can effect LAG on the server???
  18. This is Guild Package NPC Script.. now i want to make this script account base/ip base, can anyone help me please! prontera,146,170,5 script Guild Package Member 416,{ if(countitem(8998)<1) { mes "[Guildsmen]"; mes "You are not qualified on the Event"; mes "Please inquire to the game master"; close; } else { delitem 8998,1; mes "[Guildsmen]"; mes "Hello Players welcome to the Guild Package Event"; mes "I am in-charge of the Members of the guild you have."; next; mes "[Guildsmen]"; mes "Please choose a weapon"; mes "Choose wisely, because this is only one time."; mes "^FF0000THINK BEFORE YOU CLICK^000000"; next; menu "Infiltrator[1]",-,"+7 Luna Kaleet[3]",kaleet,"+7 Principles of Magic[2]",Magic,"+7 Orc Archer's Bow",Archer,"+7 Lich Bone Wand",wand,"+7 Orcish Axe",axe; getitem 1266,1; callfunc "F_2nd"; end; kaleet: getitem2 1544,1,1,7,0,0,0,0,0; callfunc "F_2nd"; end; Magic: getitem2 1572,1,1,7,0,0,0,0,0; callfunc "F_2nd"; end; Archer: getitem2 1734,1,1,7,0,0,0,0,0; callfunc "F_2nd"; end; wand: getitem2 1624,1,1,7,0,0,0,0,0; callfunc "F_2nd"; end; axe: getitem2 1309,1,1,7,0,0,0,0,0; callfunc "F_2nd"; end; OnPCLoadMapEvent: if(strcharinfo(3)=="prontera") showevent 2,2; end; } } prontera mapflag loadevent function script F_2nd { next; mes "[Guildsmen]"; mes "Choose Your Armor"; mes "Choose wisely, because this is only one time."; mes "^FF0000THINK BEFORE YOU CLICK^000000"; next; menu "+7 Odin's Blessing[1]",-,"+7 Dragon Vest[1]",Vest,"+7 Improved Tights[1]",Tights; getitem2 2353,1,1,7,0,0,0,0,0; callfunc "F_3rd"; end; Vest: getitem2 2399,1,1,7,0,0,0,0,0; callfunc "F_3rd"; end; Tights: getitem2 2390,1,1,7,0,0,0,0,0; callfunc "F_3rd"; end; } function script F_3rd { next; mes "[Guildsmen]"; mes "Choose Your Accessory"; mes "Choose wisely, because this is only one time."; mes "^FF0000THINK BEFORE YOU CLICK^000000"; next; menu "Orlean's Glove[1]",-,"Bradium Earring[1]",B1,"Bradium Ring[1]",B2,"Bradium Brooch[1]",B3; getitem 2701,2; callfunc "F_4th"; end; B1: getitem 2788,2; callfunc "F_4th"; end; B2: getitem 2789,2; callfunc "F_4th"; end; B3: getitem 2790,2; callfunc "F_4th"; end; } function script F_4th { next; mes "[Guildsmen]"; mes "Choose Your Garments"; mes "Choose wisely, because this is only one time."; mes "^FF0000THINK BEFORE YOU CLICK^000000"; next; menu "+7 Dragon Manteau[1]",-,"+7 Wool Scarf[1]",wool,"+7 Skin of Ventus[1]",ventus; getitem2 2553,1,1,7,0,0,0,0,0; callfunc "F_5th"; end; wool: getitem2 2528,1,1,7,0,0,0,0,0; callfunc "F_5th"; end; ventus: getitem2 2536,1,1,7,0,0,0,0,0; callfunc "F_5th"; end; } function script F_5th { next; mes "[Guildsmen]"; mes "Choose Your Shield"; mes "Choose wisely, because this is only one time."; mes "^FF0000THINK BEFORE YOU CLICK^000000"; next; menu "+7 Valkyrie Shield[1]",-,"+7 Thorny Shield[1]",torn,"+7 Orlean's Server[1]",server; getitem2 2115,1,1,7,0,0,0,0,0; callfunc "F_6th"; end; torn: getitem2 2124,1,1,7,0,0,0,0,0; callfunc "F_6th"; end; server: getitem2 2123,1,1,7,0,0,0,0,0; callfunc "F_6th"; end; } function script F_6th { next; mes "[Guildsmen]"; mes "Now this is the Last Part"; mes "Take this headgears and consumables item."; mes "^FF0000Click next and your done!^000000"; next; getitem 13989,100; getitem 14004,50; getitem 14232,10; getitem 12530,100; getitem 14003,5; getitem 14236,1; getitem 14237,1; getitem 14238,1; getitem 14239,1; getitem 14240,1; getitem 14241,1; getitem 14178,1; getitem 12710,5; getitem 2202,1; getitem2 5453,1,1,0,0,0,0,0,0; close2; atcommand "@sound complete.wav"; specialeffect2 501; atcommand "@me Is done! NEXT!"; end; }
  19. Meron ako NPC Freebies, kaso gus2 ko isang bese lang mkakakuha ng freebies ang isang account pano ko ggwin un?
  20. what font you use sir? i like it..XD
×
×
  • Create New...