Jump to content

Hadeszeus

Members
  • Content Count

    651
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hadeszeus

  1. How can I change the behavior of the EMP. to check who DEALT THE MOST DAMAGE rather than who last hit the emp. I tried changing the EMP to BOSS TYPE and it didn't work. Instead, after emp breaks the new respawn EMP walks likes a BOSS. LOL
  2. Sigh sorry about that.. thanks again Annie..
  3. ... Thank you is not enough. I really appreciate your help... Now I'm trying to push my self to learn so I can help others and the community. SOON... ----------------------------------------------------------------------------------------------------------- BTW, I can't create the table.. I tried to ask google but the solution is different.. sorry.. Error Code: 1064. 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 '( `date`, pos ) ) engine innodb' at line 7 I'm using MSQL Workbench/WAMP
  4. After cast is cool down.. Is that what you want to remove?
  5. Now I'm learning a bit. Thank you so much Annie, how can I add a quantity on the .@rewards? e.g setarray .@reward, 501, 501, 501, 501, 501; setarray .@quantity, 10, 10, 10, 10, 10 how can i add it here Here is your reward.', "+ .@reward[.@i] +", 1, 1, "+ .@zeny[.@i] +",;
  6. sry today I don't have enough time to edit ...hope you know how to do ... just copy them using 'insert into ... select' using archive type table make a reply even you know or dunno how to do Wew thanks Annie! I converted to your simple yet optimized script. I tried to QUERY but fail can you fix this? prontera,134,183,3 script MVP Ladder 891,{ mes "[MVP Ladder]"; mes "Hello!"; mes "What are you doing here?"; next; switch(select("Check rankings.:My stats.:Nothing...")) { case 1: mes "[MVP Ladder]"; .@nb = query_sql( "select name, mvp_rank from `char` where mvp_rank > 0 order by mvp_rank desc limit 10", .@name$, .@count ); if ( !.@nb ) { mes "no entry"; close; } for ( .@i = 0; .@i < .@nb; .@i++ ) mes ( .@i +1 )+". "+ .@name$[.@i] +" -> "+ .@count[.@i] +" points"; close; case 2: mes "[MVP Ladder]"; .@killed = query_sql("select mvp_rank from `char` where char_id = "+ getcharid(0)); mes "You have killed "+.@killed+" MVPs"; close; case 3: close; }if ( $mvp_ladder_last_given == atoi( gettime(7) +""+ gettime(6) ) ) end; goto L_give;OnClock0000: if ( gettime(5) != 1 ) end;L_give: .@nb = query_sql( "select char_id, name from `char` where mvp_rank > 0 order by mvp_rank desc limit 2", .@cid, .@name$ ); if ( !.@nb ) end; setarray .@zeny, 1000000, 500000; setarray .@reward, 501, 505; for ( .@i = 0; .@i < .@nb; .@i++ ) query_sql "insert into mail ( send_name, dest_id, title, message, nameid, amount, identify, zeny, time ) values ( '"+ escape_sql( .@name$[.@i] ) +"', "+ .@cid[.@i] +", '[MVP RANK]', 'Congratulations for earning the "+ callfunc("F_GetNumSuffix", .@i +1 ) +" position in MVP rank. Here is your reward.', "+ .@reward[.@i] +", 1, 1, "+ .@zeny[.@i] +", unix_timestamp( now() ) )"; query_sql "update `char` set mvp_rank = 0"; // reset the ladder $mvp_ladder_last_given = atoi( gettime(7) +""+ gettime(6) ); end; OnNPCKillEvent: if ( getmonsterinfo( killedrid, 22 ) ) query_sql "update `char` set mvp_rank = mvp_rank +1 where char_id = "+ getcharid(0); .@killed = query_sql("select mvp_rank from `char` where char_id = "+ getcharid(0)); dispbottom "~ You've killed "+.@killed+" MVP. ~"; specialeffect2 313; end; } I'm having problem on this line Wherein I want to retain the menu option that display the current ranking of the player. (If his/she is not on the top) case 2: mes "[MVP Ladder]"; .@killed = query_sql("select mvp_rank from `char` where char_id = "+ getcharid(0)); mes "You have killed "+.@killed+" MVPs"; close; and this OnNPCKillEvent: if ( getmonsterinfo( killedrid, 22 ) ) query_sql "update `char` set mvp_rank = mvp_rank +1 where char_id = "+ getcharid(0); .@killed = query_sql("select mvp_rank from `char` where char_id = "+ getcharid(0)); dispbottom "~ You've killed "+.@killed+" MVP. ~"; specialeffect2 313; end; } I want to dispbottom the number of updated MVP kills of the user after update query for OnKillEvent.
  7. It is base only on latest rev. Try it! Add Str then compare ur damage or add all hp item then try to appy your formula if it still there.
  8. This MVP Ladder Script is createb by Euphy's. Source: http://rathena.org/board/topic/90971-euphys-mvp-ladder-bug-npc-hides/#entry237968 Can someone enhance this script. The Idea is to maximize the used of it by giving rewards to TOP 10 Players. And the rewards will be given every month or maybe every week(much better if the setting is configurable.). The rewards amount will defend on ranking. Also limit the ranking display to 10. After the reward was given, the ranking will be reset automatically. It's perfect if the previous month ranking are still view-able as menu.
  9. First of all forgive me coz, I don't know if this request can be done via scripting or needs a source modification. Here's the scenario. Declared Item in array = 501,503,505,507,509,and more; Equivalent Item Switch = 502,504,506,508,5010,and more; TRADE START Player A is a Buyer of item 501. Player B is a Seller of item 501. Player B will trade the item 501 to Player A in exchange for Zeny or Trade Items. On Successful Trade Done. Player B will get the Zeny/Items while Player A get the Item SWITCH 502 instead of 501. Note: The script will always check for the set Declared Item List. Every time trading happens the script will check if it's a Declared Item on the ARRAY and trade equivalent item SWITCH.
  10. ahhh... ayos pla tlga kung ganun.. ska diba kRO files nman ang client karamihan? hindi pRO so mas lusot un.. Thanks Jezu!
  11. Hahahaha sabagay my point ka... Siguro nga ksi luma na din ung game kaya ok ok nlng sa level up.. Naisip ko lng kc kelan sila aaksyon pag 5k or 10k na players mo hehehe...
  12. how? haha db/re or pre-re/map_zone_db.conf On Line: 45 Replace: mapflags: ( ) with this mapflags: ("adjust_skill_damage<tab>RK_DRAGONBREATH<tab>1000", ) while <tab> is TAB in your keyboard for spacing 1000 is the value of increase as an example. The calculation is 100 normal damage, 200 is x2 the damage, 1000 x 10 the damage. Adjust to anything you like. Recompile. Then your good to go. Hope it helps.
  13. Anong point ng server mo yung pwede kana ipakulong ng level up games? or mapansin kna? May ganung instances na ba?
  14. Maybe someone is already looking into this issue. But for now the quick fix to this is to add a mapflag for DB SKILL.
  15. Source mod is working now... But php is not.. And yeah it's not optimized.. Still debugging...
  16. It's not working kindly see the attached image. Can someone make it work please. TS: Can you change your Title to something more interesting
  17. No its now affected by Weapon attck Dex & Str stats. And Im sure not by HP. @VyLow Im attcking a player without items equipped.
  18. :sigh: Okay thank you Annie and chan for your support on this topic...
×
×
  • Create New...

Important Information

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