Jump to content

Hadeszeus

Members
  • Content Count

    651
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hadeszeus

  1. hey is this the new update in herc? after i update my svn my dragon breath damage becomes 300-2k i event try it with 120 allstats and hp armors and pots http://herc.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/ Hmmm... I can't replicate the issue.. Mine is working fine. BTW, I downloaded the fresh copy for testing.. after the update my db becomes like that on my post in bug tracker there is someone likethat too Okay it's happening now... damage range 500 to 1000
  2. Working fine without error. BUT still I can't talk to NPC after winning. Even I click it no error message in Map server. Looks like this line is not working if($@dice_event == 2 && getusers(0)== 1){ mes "[Mr. Dice]"; mes "Congrats. You've won."; getitem .evt_reward_item,rand(1,20); close2; announce "We have a winner! well done "+strcharinfo(0)+".",0; set $@dice_event,0; warp .rtrn_map$,.rtrn_x,.rtrn_y; disablenpc "Dice#dc001"; } end;
  3. Tanong lang kasi napansin ko pag nag ququit ako ng di maayos sa game hindi minsan na sasave ung mga huling ginawa ko.. Dahil ba yun dito sa setting na to? // How often should the server save all files? (In seconds) // Note: Applies to all data files on TXT servers. // On SQL servers, it applies to guilds (character save interval is defined on the map config) autosave_time: 60 What if i-set ko ng 5? or 0? para laging nasasave? and anong need na server para magawa mo yan? Any feedback pls? Ano ba ang unang dpat sinasara Map server? Char server? or Login Server? may factor ba ang pag kakasunod sunod nito sa pag shutdown?
  4. Hi Annie, Upon testing I got this error in map-server, when claiming the price. I'm suspecting this line. if($@dice_event == 2 && getusers(0)== 1){
  5. no, pod shops like this are not included. Yey! Then, that's awesomeness! Thanks Dastgir for confirming.
  6. @AnnieRuru, thank you again for this one. This made my day. I'll test this after work. Annie, just a quick question. when you say npc shops, means POD shops are included? I mean for example this one http://pastebin.com/raw.php?i=SSrWesuy
  7. hey is this the new update in herc? after i update my svn my dragon breath damage becomes 300-2k i event try it with 120 allstats and hp armors and pots http://herc.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/ Hmmm... I can't replicate the issue.. Mine is working fine. BTW, I downloaded the fresh copy for testing..
  8. When script came from you. I love it. I'll update mine. Thanks!
  9. Hi Annie, can you please help me with this one? If you have time or in the mood to edit the source and make it possible. Right now, I was able to convert itemdb to sql using db2slq.bat the problem is I can't convert it back to item_db.conf
  10. I was looking for this... Thank you...
  11. Nyay! Thats the question.. How come.. Are you using the latest rev?? How would I know the problem if theres no error in map server.. Im using 30140115 client...
  12. OMG Thank you! If you don't mind can u also give the line of 20% fixed castime? I want to reduce the value maybe to 15%
  13. Yes still figuring out. I can't make it work huhuhu
  14. Anyone knows how to removed 20% Fixed Cast Time while RENEWAL_CAST is enable, IF the user has already met the max castrate_dex_scale and vcast_stat_scale 20% Fixed Cast Time will be ignored. In the default set up. If RENEWAL_CAST is enable even you reach the max castrate and vcast scale you will still need 20% Fixed Cast Time reduction to no cast. /// renewal cast time /// (disable by commenting the line) /// /// leave this line to enable renewal casting time algorithms /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats. /// example: /// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a /// "fixed cast time" which can only be reduced by specialist items and skills #define RENEWAL_CAST // At what dex does the cast time become zero (instacast)? castrate_dex_scale: 200 //150 // How much (dex*2+int) does variable cast turns zero? vcast_stat_scale: 530 //530
  15. Bump.. atleast an explanation why we dont have this?
  16. Aw!!! Thank you so much... I really appreciate it... Annie
  17. You need to give us more details, screenshots or errors in your map server.
  18. Yung cast time na hindi po na aapektuhan ng DEX. Sa full renewal po eh 80% ang variable castime 20% ang fixed. Sa pag kakaintindi ko kahit full dex kana to no cast example 180 dex di ka pa din no cast kasi 20% fixed cast time
  19. What are the skill with Fixed Cast Time? Need ko kasi to test yung bonus bFixedCastrate... Thanks!
  20. I also can't replicate the issue. Off-topic: AnnieRuru are you riding on broom? That's awesome...
  21. Sorry bro there's a bug on the timer part. But I tried to fixed it and it didn't work.. Anyway I got this script from eAthena. The script is pretty old http://www.eathena.ws/board/index.php?showtopic=207896&view=findpost&p=1150077 prontera,168,179,3 script Event Master::evntmst 946,{ // config ----------------------------------- set .evt_reward_item,505; set .rtrn_map$,"prontera" set .rtrn_x,155; set .rtrn_y,180; // config ----------------------------------- if(getgmlvl()>=40){ mes "The dice event is a random panel warping event"; mes "Are you sure you want to start this event?"; if(select("Yes lets start:No thanks")==2)close; mes "Ok starting now"; close2; set $@dice_event,1; announce "A game master has started a dice event",bc_all; sleep2 5000; enablenpc "dc001"; announce "Please speak to the event master to join.",bc_all; sleep2 10000; hideonnpc "dc001"; announce "Ok im starting the event now.",bc_all; donpcevent "dc001::OnEnable"; } else if($@dice_event==1){ mes "There's a Dice event currently active would you like to join?"; if(select("Yes:No")==2)close; close2; warp "quiz_01",204,93; } end;}quiz_01,204,93,6 script Dice::dc001 715,{ if($@dice_event==2&&getusers(0)==1){ mes "[Mr. Dice]"; mes "Congrats. You've won."; getitem getvariableofnpc(.evt_reward_item,"evntmst"),rand(1,20); close2; announce "We have a winner! well done "+strcharinfo(0)+".",0; set $@dice_event,0; warp getvariableofnpc(.rtrn_map$,"evntmst"),getvariableofnpc(.rtrn_x,"evntmst"),getvariableofnpc(.rtrn_y,"evntmst"); disablenpc "dc001"; } end;OnEnable: setarray .@talking$[0],"We are about to start the Dice event." ,"But before we start the event here's how to play the game..." ,"I'm only gonna say this once so read carefully." ,"I'm going to roll a number, 1 to 4. Then I'll do a count down from 5 to 0." ,"All you have to do is go stand on the box of the number you want." ,"For example, If I roll a number 4, All the players standing on numbers 1 to 3 will be warped back to town." ,"We will do it until we only have 1 player left on the map." ,"Oh yeah! Before I forget you MUST GO INSIDE THE BOX, because if you're caught standing on the stairs you'll be automatically disqualified." ,"Simple huh?.. Let's play..."; while(.@i<10){ mapannounce "quiz_01",.@talking$[.@i],0; set .@i,.@i+1; sleep2 7000-(100*.@i);} if(getmapusers("quiz_01")>1)set $@dice_event,3; while($@dice_event==3) { if(getmapusers("quiz_01") == 1){ mapannounce "quiz_01","Your the only one left, come and claim your prize",0; set $@dice_event,2; hideoffnpc "dc001"; end;} else if(getmapusers("quiz_01") == 0){ set $@dice_event,0; disablenpc "dc001"; end;} set .@number, rand(1,4); mapannounce "quiz_01","I have rolled. Please pick a number and go stand there.... GO!",0; sleep2 13000; set .@i,10; while(.@i>0) { mapannounce "quiz_01",.@i,0; sleep2 1000; set .@i,.@i-1;} mapannounce "quiz_01","Time's up.",0; donpcevent "dc001::OnReEnable"; mapannounce "quiz_01","Box Numer "+.@number+" survived the warp.",0; switch(.@number){ case 1: callsub L_motion,1,0,1,1; break; case 2: callsub L_motion,1,1,0,1; break; case 3: callsub L_motion,0,1,1,1; break; case 4: callsub L_motion,1,1,1,0; break; } } mapannounce "quiz_01","There needs to be more than one person to start this event",0; set $@dice_event,0; disablenpc "dc001"; end;L_motion: if(getarg(0)==1)areawarp "quiz_01",195,81,203,59,getvariableofnpc(.rtrn_map$,"evntmst"),getvariableofnpc(.rtrn_x,"evntmst"),getvariableofnpc(.rtrn_y,"evntmst"); if(getarg(1)==1)areawarp "quiz_01",183,81,191,59,getvariableofnpc(.rtrn_map$,"evntmst"),getvariableofnpc(.rtrn_x,"evntmst"),getvariableofnpc(.rtrn_y,"evntmst"); if(getarg(2)==1)areawarp "quiz_01",207,81,215,59,getvariableofnpc(.rtrn_map$,"evntmst"),getvariableofnpc(.rtrn_x,"evntmst"),getvariableofnpc(.rtrn_y,"evntmst"); if(getarg(3)==1)areawarp "quiz_01",219,81,227,59,getvariableofnpc(.rtrn_map$,"evntmst"),getvariableofnpc(.rtrn_x,"evntmst"),getvariableofnpc(.rtrn_y,"evntmst"); return;OnReEnable: areawarp "quiz_01",182,94,228,88,"prontera",155,182; areawarp "quiz_01",185,87,188,82,"prontera",155,182; areawarp "quiz_01",197,87,200,82,"prontera",155,182; areawarp "quiz_01",209,87,212,82,"prontera",155,182; areawarp "quiz_01",221,87,224,82,"prontera",155,182; end;} I'm trying to make it work for Hercules without using NPC to enable the event. And I come up with this. - script Dice#announcer -1,{ OnInit: disablenpc "prtevent"; disablenpc "prtevent2"; hideonnpc "Dice#dc001"; end; OnClock0643: announce "Dice Guru: We are going to have a Dice event.",0,0x66AAFF, 0x190, 26; sleep2 1000; announce "Dice: For those who wants to join, Please proceed Prontera 161 , 179 and enter the Warp Portal.",0; sleep2 1000; announce "Dice: After 1 Minute the Portal will close.",0; sleep2 1000; announce "Dice: So please go to Prontera 161 , 179 and enter the Warp Portal now if you want to join.",0; enablenpc "prtevent"; initnpctimer; end; OnTimer3000: announce "Dice: Last 30 seconds.",0; //sleep2 5000; announce "Dice: If you want to join please enter the Warp Portal in Prontera 155 , 179.",0; end; OnTimer5000: announce "Dice: Last 10 seconds.",0; end; OnTimer5500: announce "Dice: 5.",0; end; OnTimer5600: announce "Dice: 4.",0; end; OnTimer5700: announce "Dice: 3.",0; end; OnTimer5800: announce "Dice: 2.",0; end; OnTimer5900: announce "Dice: 1.",0; end; OnTimer6000: announce "Dice: Time's up.",0; end; OnTimer6100: disablenpc "prtevent"; donpcevent "Dice#dc001::OnEnable"; stopnpctimer; end; } //-------------------------------------------------- prontera,109,97,0 warp prtevent 2,2,quiz_01,204,90 prontera,109,97,0 warp prtevent2 2,2,quiz_01,204,90 //--------------------------------------------------quiz_01,204,93,6 script Dice#dc001 715,{//--------------------------------------------------OnInit: set .evt_reward_item,505; set .rtrn_map$,"prontera"; set .rtrn_x,113; set .rtrn_y,97; set $@dice_event,1; end; if($@dice_event==2&&getusers(0)==1){ mes "[Mr. Dice]"; mes "Congrats. You've won."; getitem .evt_reward_item,rand(1,20); close2; announce "We have a winner! well done "+strcharinfo(0)+".",0; set $@dice_event,0; warp .rtrn_map$,.rtrn_x,.rtrn_y; disablenpc "Dice#dc001"; } end; OnEnable: setarray .@talking$[0],"We are about to start the Dice event." ,"But before we start the event here's how to play the game..." ,"I'm only gonna say this once so read carefully." ,"I'm going to roll a number, 1 to 4. Then I'll do a count down from 5 to 0." ,"All you have to do is go stand on the box of the number you want." ,"For example, If I roll a number 4, All the players standing on numbers 1 to 3 will be warped back to town." ,"We will do it until we only have 1 player left on the map." ,"Oh yeah! Before I forget you MUST GO INSIDE THE BOX, because if you're caught standing on the stairs you'll be automatically disqualified." ,"Simple huh?.. Let's play..."; while(.@i<10){ mapannounce "quiz_01",.@talking$[.@i],0; set .@i,.@i+1; sleep2 7000-(100*.@i);} if(getmapusers("quiz_01")>1) set $@dice_event,3; while($@dice_event==3) { if(getmapusers("quiz_01") == 1){ mapannounce "quiz_01","Your the only one left, come and claim your prize",0; set $@dice_event,2; hideoffnpc "Dice#dc001"; end;} else if(getmapusers("quiz_01") == 0){ set $@dice_event,0; disablenpc "Dice#dc001"; end;} set .@number, rand(1,1); mapannounce "quiz_01","I have rolled. Please pick a number and go stand there.... GO!",0; sleep2 13000; set .@i,10; while(.@i>0) { mapannounce "quiz_01",.@i,0; sleep2 1000; set .@i,.@i-1;} mapannounce "quiz_01","Time's up.",0; donpcevent "Dice#dc002::OnEnable"; mapannounce "quiz_01","Box Numer "+.@number+" survived the warp.",0; switch(.@number){ case 1: callsub L_motion,1,0,1,1; break; case 2: callsub L_motion,1,1,0,1; break; case 3: callsub L_motion,0,1,1,1; break; case 4: callsub L_motion,1,1,1,0; break; } } mapannounce "quiz_01","There needs to be more than one person to start this event",0; set $@dice_event,0; disablenpc "Dice#dc001"; end;L_motion: if(getarg(0)==1)areawarp "quiz_01",195,81,203,59,.rtrn_map$,.rtrn_x,.rtrn_y; if(getarg(1)==1)areawarp "quiz_01",183,81,191,59,.rtrn_map$,.rtrn_x,.rtrn_y; if(getarg(2)==1)areawarp "quiz_01",207,81,215,59,.rtrn_map$,.rtrn_x,.rtrn_y; if(getarg(3)==1)areawarp "quiz_01",219,81,227,59,.rtrn_map$,.rtrn_x,.rtrn_y; return;} - script Dice#dc002 -1,{ OnEnable: areawarp "quiz_01",182,94,228,88,"prontera",131,97; areawarp "quiz_01",185,87,188,82,"prontera",131,97; areawarp "quiz_01",197,87,200,82,"prontera",131,97; areawarp "quiz_01",209,87,212,82,"prontera",131,97; areawarp "quiz_01",221,87,224,82,"prontera",131,97; end;} But the problem is, my client crash after this line. while(.@i<10){ mapannounce "quiz_01",.@talking$[.@i],0; set .@i,.@i+1; sleep2 7000-(100*.@i);} Kindly help me fixed this.. Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.