Jump to content

zmref

Members
  • Posts

    299
  • Joined

  • Last visited

Everything posted by zmref

  1. Hi please script this where it automatically make the rates to x2 every weekends (Saturdays,Sundays)
  2. zmref

    Refiner NPC

    Hi Can I request a refiner NPC where it does the following: - refines using elunium & oridecon (player can choose to "Safe refine" (e.g. the safe upgrade of garment is +4) - refines using enriched elunium & enriched oridecon (player can choose to "Safe refine" (e.g. the safe upgrade of garment is +4) - player can input desired number from 1-10 then the NPC will verify if that's his/her last decision. then the npc will refine the item.
  3. thanks it works you're really a genius
  4. hi I'm looking for the downloadable clients past or present please share me your link I'm looking for 2010 06 16
  5. help I already properly set the loading screens but the after my 4th loading screen then next one is the korea's how do I remove this? I'm using basic rathena client which I got here
  6. Sir my client stops after I click the Reset Ladder here's the error
  7. higher than 1024x768 works I tried them I also tried 1600x1200 however my problem is, after my 4th loading screen the korean loading screens pops up next even if I already set it up on my clientinfo.xml.
  8. I already set loading screens from my clientinfo.xml which were 4 loading screens yes it loads all of them however after the 4th loading screen the korean loading screens pops up next. how to fix this?
  9. I placed 4 loading screens and already set it up on my clientinfo.xml but why is it the loading screens of korea keeps on loading even if I already deleted it on my data folder. I used the basic rathena client
  10. please script this broadcaster NPC with color codes and has 30 secs delay for each player NPC has: -Select menu of GENERAL,BUY,SELL broadcast npc will broadcast on different color GENERAL = FF00FF Want to buy (WTB) = FF3300 Want to sell (WTS) = 66CCFF
  11. Hi can anybody script me the @main with 30 secs delay to use and only the GM can use @main on and off not the normal player. the normal player only uses @main with 30 secs delay
  12. // http://rathena.org/board/topic/78486-breaker-rankings-npc/ // NPC that: // - displays top 10 emperium breaker (Rank, Char Name, Guild Name, Breaker Points) // - when a player was the last to break the emp after the WoE he will get 1 point // - selection which enables the player to trade their points into TCG (item id: 7227) // but their break points are still displayed // RESET STATS negel,172,231,5 script Emp Breaker Ladder 857,{ switch(select("View Emp Break Ladder:Redeem points for TCG:More Info")) { case 1: query_sql "SELECT `char`.`name`, guild.`name`, CAST(`value` AS UNSIGNED) " + "FROM global_reg_value " + "LEFT JOIN `char` ON global_reg_value.char_id=`char`.char_id " + "LEFT JOIN `guild` ON `char`.guild_id=guild.guild_id " + "WHERE global_reg_value.`str`='breaker_points' " + "ORDER BY CAST(`value` AS UNSIGNED) DESC LIMIT 10", .@name$, .@guild$, .@points; mes "[Top 10 Emp Breakers]"; mes "Rank, Name, Guild (break points)"; for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) { mes (.@i+1) +". ^0000FF"+ .@name$[.@i] +"^000000, "+ .@guild$[.@i] +" ("+ .@points[.@i] +((.@points[.@i]==1)?" pt":" pts")+")"; } break; case 2: mes "[Emp Break Ladder]"; mes "Total Emp Breaks: " + breaker_points; mes "Available Points: " + (breaker_points - breaker_tcg); if (breaker_points == 0) { mes "You have not broke the emp yet!"; } else if (breaker_points <= breaker_tcg) { mes "You've already exchanged all your points for TCG."; mes "Come back after you break the emp again!"; } else { set .@reward, breaker_points - breaker_tcg; if (select("Redeem points for "+.@reward+" TCG:Cancel") == 2) { mes "Come back if you change your mind."; } else if (checkweight(7227, .@reward) == 0) { mes "You are overweight or carrying too many items."; } else { getitem 7227, .@reward; set breaker_tcg, breaker_tcg + .@reward; mes "Here are your "+.@reward+" TCG!"; } } break; case 3: mes "[Emp Break Ladder]"; mes "Each time you break the emp, you earn 1 point."; mes "Then, talk to me to redeem your point(s) for TCG."; break; } close; } please make me a reset select menu based on this query or correct me DELETE FROM global_reg_value WHERE `str`='breaker_points';
  13. not working here's mine *=================================== * Main chat [LuzZza] * Usage: @main <on|off|message> *-----------------------------------*/ ACMD_FUNC(main) { unsigned int tick = gettick(); //@main if( message[0] ) { if(strcmpi(message, "on") == 0) { if(!sd->state.mainchat) { sd->state.mainchat = 1; clif_displaymessage(fd, msg_txt(380)); // Main chat has been activated. } else { clif_displaymessage(fd, msg_txt(381)); // Main chat already activated. } } else if(strcmpi(message, "off") == 0) { if(sd->state.mainchat) { sd->state.mainchat = 0; clif_displaymessage(fd, msg_txt(382)); // Main chat has been disabled. } else { clif_displaymessage(fd, msg_txt(383)); // Main chat already disabled. } } else { if(!sd->state.mainchat) { sd->state.mainchat = 1; clif_displaymessage(fd, msg_txt(380)); // Main chat has been activated. } if (sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOCHAT) { clif_displaymessage(fd, msg_txt(387)); return -1; } if(DIFF_TICK(sd->maindelay_tick,tick)>0) { //This is for computing the delay if the cooldown or delay is not yet finish restrict using @main clif_displaymessage(fd,"There is a 30 seconds delay in using @main command"); return 0; } // send the message using inter-server system intif_main_message( sd, message ); } } else { if(sd->state.mainchat) clif_displaymessage(fd, msg_txt(384)); // Main chat currently enabled. Usage: @main <on|off>, @main <message>. else clif_displaymessage(fd, msg_txt(385)); // Main chat currently disabled. Usage: @main <on|off>, @main <message>. } return 0; } there's no nullpo_retr(-1, sd); so that's why I put the command somewhere please correct me.
  14. Thank you very much Brian, really.. thanks.. ) Sir, is it possible to reset the breaker points without stopping the map/char/login servers?
  15. Can I request for a queue waiting room warper please? NPC will: 1. players must be in the same party to enter the waiting room 2. warps the "10 players in 1 party organized" to bossnia_01 that's all THANK YOU
  16. thanks it works however I'm curious on, what is the 3rd 1? after delay2
  17. Can any of you please give me a simple clue on how to display a MySQL database record on a html website example In my database, ragnarok. Name, guildname, rank and the above will display on html
  18. Thanks for your help, it works perfectly fine now.
  19. based on http://www.eathena.ws/board/index.php?showtopic=187654 what's my error? I just downloaded the script and run it
×
×
  • Create New...