Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/08/17 in all areas

  1. I tried your script this way: - script wisp -1,{ OnWhisperGlobal: if(getgmlevel() > 50){ .@loop1 = 1; while(.@loop1){ mes "Choose an option"; next; switch(select("Option1:Option2:Option3")) { case 1: mes "Write a number between 0 and 6."; while(1){ input .@TdayofWeek; //Script stops working right here. Input doesn't show up. if ((.@TdayofWeek >= 0) && (.@TdayofWeek <= 6)) break; } setarray .@dayofWeek[getarraysize(.@dayofWeek)], .@TdayofWeek; break; case 2: //Nothing yet break; case 3: .@loop1 = 0; break; } } close; } } and couldn't reproduce. It worked right. This test was made with the latest git commit. What version are you using? A weird issue indeed.
    1 point
  2. "In this context" no one can really help you, you're using a while loop with a predetermined value that doesn't change. Remove the while clause before input and validate the data properly.
    1 point
  3. I already replied to you in your previous thread: The results of your tests would actually indicate that you have an older implementation of Meteor Storm. In skill.h, check your MAX_SKILLTIMERSKILL value. Also maybe post your current Meteor Storm code. Also setting up your client so that it shows UNT_DUMMYSKILL (the cells where the meteors will land) would most likely make the problem visible.
    1 point
  4. It's Awesome! Thank You! Just configure the file : jobDressList.lub in data/luafiles514/ lua files/dressroom/ and Voy'La!
    1 point
  5. Is it possible just for specific NPC?
    1 point
  6. any support for this script i got 2 errors in this line line 10 function fail { mes "^FF0000["+getarg(0)+"]^000000"; close; } if(select("[Play]:[Leave Game]")==2){ if(!instance_id(1)) <<<<<<<<<<<<<<<<<<<<>>> LINE 10 fail("You don't have game now."); instance_warpall "prontera",155,180; instance_destroy instance_id(1); fail("Finish."); } Line 125 set 't,atoi(strnpcinfo(2)); if(!instance_id()) end; if(mobcount("this","all")) end; set 'datalevel,'datalevel+1; if('datalevel<=getarraysize('num[1])){ instance_announce instance_id(1),"[system]Level."+'datalevel+"!!",0; <<<<<>>>>> LINE 125 Onmvp('t); for(;'num['datalevel]>0;set 'num['datalevel],'num['datalevel]-1) { set 'p,'mvp[rand(getarraysize('mvp))]; areamonster "this",$@MVPtowerSpawnMX['t]-5,$@MVPtowerSpawnMY['t]-5,$@MVPtowerSpawnMX['t]+5,$@MVPtowerSpawnMY['t]+5,"--ja--",'p,1,instance_npcname("MVPtower Administrator#"+'t,instance_id(1))+"::OnKill"; }
    1 point
×
×
  • Create New...