Jump to content

AnnieRuru

Members
  • Posts

    2044
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by AnnieRuru

  1. its the opposite look into the file with \re\statpoint.txt and \pre-re\statpoint.txt I can tell its the official values this bug is probably caused by the recent implementation of import folder ... maybe alternative way, of course, change set baselevel, baselevel + 1; set joblevel, joblevel + 1; into atcommand "@lvup 1"; atcommand "@joblvup 1"; Edit: http://rathena.org/board/tracker/issue-8429-bug-statpoint/ seems to be just fixed few hours ago however you still need some ways to reset the status points of the player who are currently having imba stats
  2. OnTimer10500: instance_announce 0,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc"; stopnpctimer; monster "6@tower",156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper", instance_id())+"::OnMyMobDead"; end; OnMyMobDead: .@partyleaderaid = getpartyleader( getcharid(1), 1 ); if ( isloggedin( .@partyleaderaid, getpartyleader( getcharid(1), 2 ) ) ) // if the party leader is log in getitem 501,1, .@partyleaderaid; // gives the item to the party leader else // or if the party leader is currently not login WHILE the monster has killed getitem 501,1; // gives the item to the player who land the last kill, or dealed most damage, depends on mob_npc_event_type: inside conf\battle\monster.conf donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable"; end;
  3. you know what ? I start to feel I am a noob somehow actually there is a quickest way to determine where your error comes from search this line inside script.c inside (addtimer) function pc_addeventtimer(sd,tick,event);change into if ( !pc_addeventtimer(sd,tick,event) ) return 1;recompile !then wait for the error .... EDIT: those 3 scripts looks ok to me .... maybe something else =/ anyway try to make the addtimer command report the error and see
  4. 1st ... post out the script which has OnxxxxxEvent: and a *mes command together ... 2nd ... after you have confirm it is caused by OnPCLoginEvent or OnNPCKillEvent, then post that script with that label along euphy quest shop shouldn't cause this ... because it doesn't have OnxxxxEvent inside even 1000 doesn't work ? wtf ... what kind of botkiller script you have ? I can only think of 1 possible reason, which is your botkiller script tried to rotate the image by addtimer+cutin I remember myzter's script did that before, but his script is clean and doesn't cause that bug
  5. hmm ........... hmmmm........ prontera,150,189,5 script AnnieRuru 123,5,5,{ end; OnTouch: npctalk "Hi "+( ( sex )? "Handsome" : "Pretty" )+" one ~ How may I help you ?"; end; }
  6. opsss ~~ hahaha the monster command inside OnMobKill label, only need to spawn 1 back, not spawn 100 more lol monster .map$, 0,0, "Gold", 1369,1, strnpcinfo(0)+"::OnMobKill";
  7. 12,test OnTouch,86400,1@tower,13,384,1@tower prontera,155,180,0 script test 123,{ if ( !getcharid(1) ) { mes "you must form a party"; close; } if ( getstrlen( instance_mapname("1@tower") ) ) { if ( instance_mapname("1@tower") != "1@tower" ) { select "enter", "destroy"; if ( @menu == 1 ) instance_enter "test OnTouch"; else instance_destroy; end; } else { mes "your party is running another instance"; close; } } if ( instance_create( "test OnTouch" ) < 0 ) { mes "failed to create instance"; close; } instance_enter "test OnTouch"; end; OnInit: bindatcmd "me", strnpcinfo(0)+"::Onaaa"; end; Onaaa: getmapxy .@map$, .@x, .@y, 0; dispbottom .@map$ +" "+ .@x +" "+ .@y; end; } 1@tower,12,393,5 script qwer 45,2,2,{ end; OnTouch_: warp "Save",0,0; end; OnInstanceInit: getmapxy .map$, .x, .y, 1; monster .map$, .x, .y, "--ja--", 1002, 1, strnpcinfo(0)+"::Onaaa"; disablenpc instance_npcname( strnpcinfo(0) ); end; Onaaa: warp .map$, .x, .y; setoption 0x4, 1; // tried to do cloak ... also can warp the other player sleep2 2000; // <-- change sleep2 into sleep ==> ERROR no player attach enablenpc instance_npcname( strnpcinfo(0) ); end; }I've tried to replicate the probleminstead, I feel like its not caused by player standing on the portal but rather the instance_npcname script command requires a RID attached ... which doesn't make any sense I remember my old instance script allows *has_instance command without doing a RID attached ... but this doesn't fit the description which say ... like in post#6 here he kills until level 73 ?
  8. I list out all possible combination :- 0 keil 0 er - unknown 0 keil 1 er - unknown 0 keil 2 er - unknown 1 keil 0 er - work 1 keil 1 er - work 1 keil 2 er - work 2 keil 0 er - doesn't work 2 keil 1 er - doesn't work 2 keil 2 er - unknown please fill in the blank where it is unknown as you can see, except you didn't state the 2 keil 2 er, so I guess it going to be doesn't work thus my script on post#4 is correct in that topic 0 keil 0 er - work 0 keil 1 er - work 0 keil 2 er - work 1 keil 0 er - work 1 keil 1 er - work 1 keil 2 er - work 2 keil 0 er - only 1 card in effect 2 keil 1 er - only 1 card in effect 2 keil 2 er - work which is different from what you said well anyway, I think you already know how to fix it, just remove the parenthesis up to you want to use which script =/
  9. you mean your script has announcement for 1 minute before open, then open for 59 minutes ? the reason I comment it because I follow your script that doesn't generate the waitingroom countdown for 1 minute, then 59 minute has the waitingroom countdown later I feel doesn't make sense for 1 minute open without the countdown so I removed it if you want to uncomment it, then the 60*60 can be change into 56*60, thus follows what the comment said btw if that's your script, shouldn't you know how to fix it yourself ? since the script doesn't has any credit
  10. OnClock0100: OnClock0400: OnClock0700: OnClock1000: .... read the script and find where the label is ... don't forget to remove OnWhisperGlobal ....
  11. set getd("##survey_id_"+($vote_id-1)),0; set getd("##survey_id_"+$vote_id),1; .... if ( getd("##survey_id_"+$vote_id) ) {I think this script can build up unnecessary data on the player IF the player skip the previous surveya script like this can hit the ACCOUNT_REG2_NUM very easily mmo.h ... #define ACCOUNT_REG2_NUM 16 // max permanent global account variables per account when refer to myzter's poll script his script use #LastPollID, the ID is equal to $PollID so do that check if ( #LastPollID != $PollID ) < player haven't vote on this poll ID>
  12. don't tell me you are using eathena ? then why you put rathena under your username ?
  13. .@timeover = gettimetick(2) + 60 * 60; // 59 minsit open for 1 hour then close itself if you want close up to 2 hour, then add OnClock0400: OnClock0700: ... yourself
  14. update auction set refine = 0; update cart_inventory set refine = 0; update guild_storage set refine = 0; update inventory set refine = 0; update mail set refine = 0; update `storage` set refine = 0;
  15. after some digging through the source code .... for ( ; low < high; low++ ) #ifdef RENEWAL // renewal status point cost formula sp += (low < 100) ? (2 + (low - 1) / 10) : (16 + 4 * ((low - 100) / 5)); #else sp += ( 1 + (low + 9) / 10 ); #endifmeans ... the statpoint.txt in \re\ folder is official ...because the formula above I used, is actually correct in \pre-re\ folder http://rathena.org/board/tracker/issue-4578-missing-bonus-infodocumentationblvlup-bug/?gopid=4578#entry4578 can you please try this prontera,156,186,5 script stat calc 100,{ input .@a, -999, 999; baselevel = baselevel + .@a; end; }check if the atcommand "@lvup" and set baselevel are having any difference in statin my test, how come when my server set to renewal, but I'm getting 2670 instead of 2545 but you say you can get 2545 when reset ? my test shows 2670 when reset getting more and more funny each time I do this research and actually I do reset, my statpoint is actually 0 instead of 48 ... wtf ... EDIT: http://rathena.org/board/tracker/issue-8429-bug-statpoint/ someone already reported, try post your result too EDIT2: confirmed now this is rathena bug, not from your custom script ... waiting for the developer to fix it
  16. dig out another topic http://www.eathena.ws/board/index.php?s=&showtopic=192349&view=findpost&p=1330355 prontera,156,186,5 script stat calc 100,{ input .@a; dispbottom ( ( upper == 1 )? 97:45 ) + ( .@a %5 ) * ( .@a /5 ) + .@a *3 + ( ( .@a -5 )/5 * ( 10 + ( ( ( .@a -5 )/5 )-1 ) * 5 ) ) /2; end; }now you have 2 options1. follow the statpoint.txt table - remove this buy base level script, since it causing exploit - use OnPCLoginEvent and resetstatus; set resetted_stat, 1; 2. use the formula (don't follow statpoint.txt anymore) - continue using this buy base level script, means everyone can gain extra stats from the formula - use OnPCLoginEvent, put in this formula and set resetted_stat, 1; - use_statpoint_table: no <-- change it the problem is ... is the statpoint.txt follows the official value ... if it follows the official one, then this has become an official bug, need to report this one
  17. http://www.eathena.ws/board/index.php?s=&showtopic=190718&view=findpost&p=1048274 prontera,156,186,5 script stat calc 100,{ input .@a; set .@i, 1; while ( .@i <= .@a ) { set .@stpoint, .@stpoint + ( .@i + 14 ) /5; set .@i, .@i +1; } set .@stpoint, .@stpoint - 3; if ( upper & 1 ) set .@stpoint, .@stpoint + 100; else set .@stpoint, .@stpoint + 48; dispbottom .@stpoint; end; }yes, I'm using this script that ripped from source codethe formula only correct up until level 105 above level 106, the value starts to go differently I think this should belongs to bug report ... I dunno ... I don't know anything about official info
  18. prontera,147,169,5 script Gold Room 100,{ if ( getmapusers( .map$ ) >= 30 ) dispbottom "You cant go in right now. There are already 30 peoples inside."; else { announce "["+ strcharinfo(0) +"] entered Gold Room. "+( 30 - getmapusers( .map$ ) - 1 )+" place left.", bc_all; warp .map$, 0,0; } end; OnWhisperGlobal: OnClock0100: hideoffnpc strnpcinfo(0); announce "Gold Room : I will open my door in 1 minute! Head your way to Prontera.", bc_all; // sleep 60 * 1000; // 1 min // announce "Gold Room : It is now open for 1 hour, Only 30 players are allowed to join !", bc_all; .@timeover = gettimetick(2) + 60 * 60; // 59 mins while ( .@timeover >= gettimetick(2) ) { delwaitingroom; .@left = .@timeover - gettimetick(2); .@min = .@left / 60; .@sec = .@left % 60; waitingroom "Countdown "+ .@min +":"+( ( .@sec < 10 )? "0"+ .@sec : .@sec ), 0; sleep 500; } delwaitingroom; mapannounce .map$, "Time's Up !! You will be warped out right now..", bc_all; mapwarp .map$, "prontera",155,182; hideonnpc strnpcinfo(0); announce "Gold Room is now closed !", bc_all; end; OnMobKill: .@r = rand(100); if ( .@r < 25 ) getitem 969,3; else if ( .@r < 50 ) getitem 969,2; else getitem 969,1; monster .map$, 0,0, "Gold", 1369,100, strnpcinfo(0)+"::OnMobKill"; end; OnInit: .map$ = "ordeal_3-2"; hideonnpc strnpcinfo(0); monster .map$, 0,0, "Gold", 1369,100, strnpcinfo(0)+"::OnMobKill"; end; } dunno why I'm spoon feeding in support section =/
  19. you probably need something like OnPCUseSkillEvent to prevent the skill casting on self http://www.eathena.ws/board/index.php?showtopic=274088 I feel like reviving that modification ... somehow .. after I download latest client files maybe
  20. I don't get any error from closing the vote and I don't get any error at all from this script I don't recall that script having any bug to begin with actually ... I also made another one over here http://rathena.org/board/topic/75157-poll-npc-enabledisable/?p=161703 tested still working in latest rathena and I'm active so ... if you want to add any feature just post a reply
  21. no instead of using tortoiseSVN last year, now I'm using tortoiseGIT its made by same company, so the interface isn't far off you'll get used to it once you get your hands on tortoiseGIT actually, just add this line #define SCRIPT_CMD_SUCCESS 0should make my patch work on your server already
  22. the ' parenthesis is meant for sql query if you are using TXT, there's no need for the parenthesis EDITED: xxxx,....,{ bonus bDelayRate, -30 / isequippedcnt(4403); },{},{}since you said your condition doesn't have anything to do with expert ringand the rate only floats around with kiel card, so just do a division on the card itself is enough
  23. I follow this guide http://hercules.ws/board/topic/152-obtaining-hercules/?p=845 just change the hercules address with rathena address that you can click it at the top of the page
  24. where is your edited script ? and the server error if you are getting any though, if you want a support, should open a new topic in script support though
  25. guild_vs3 has some default mapflag on there's a gvg.txt mapflag on by default also in nopvp.txt , pvp_noparty.txt so make sure you off all of them then in your custom script use guild_vs3 mapflag pvp guild_vs3 mapflag pvp_noguild //guild_vs3 mapflag pvp_noparty
×
×
  • Create New...