Jump to content

Emistry

Support Leaders
  • Content Count

    526
  • Joined

  • Days Won

    22

Everything posted by Emistry

  1. https://github.com/HerculesWS/Hercules/blob/master/sql-files/main.sql
  2. you're doing a fresh installation, there's no need to execute any SQL inside the upgrades folder. both main.sql and log.sql is more than enough.
  3. Based on the script on post # 1 after removed the mf_nogo .... I don't see any problem appear other than the mf_nogo.
  4. - script MOTD_HOURLY -1,{OnInit: .@ServName$ = "YourRO"; setarray .announcements$, "Hope you're having fun on "+ .@ServName$+"!", "Please remember to review our "+ .@ServName$+", check the website for more information!", "Remember, prolong periods of gameplay can cause serious health problems, take a breather! "+ .@ServName$+" can wait!", "Type @commands to view a list of helpful tools to aid you in your adventure.", "Don't forget to check the forums for the latest updates on "+ .@ServName$+"!", "Remember, a GM will never ask for your username and password, always be safe.", "Reminder, hackers, botters, exploiters will recieve a harsh punishment if caught. That is NOT tolerated here at "+ .@ServName$+".", .@ServName$+" is very happy to have such a wonderful community!", "Don't forget to Vote to gain Points!", "Keep up the fun here at "+ .@ServName$+"!"; .announcements_size = getarraysize( .announcements$ ); .npc_name$ = strnpcinfo(0); end;OnPCLoginEvent: addtimer 3600000,.npc_name$+"::OnPCLoginEvent"; announce .announcements$[ rand( .announcements_size ) ],bc_self;end;} or - script MOTD_HOURLY -1,{ OnPCLoginEvent: addtimer 3600000,strnpcinfo(0)+"::OnPCLoginEvent"; .@ServName$ = "YourRO"; .@motd$ = F_Rand( "Hope you're having fun on "+ .@ServName$+"!", "Please remember to review our "+ .@ServName$+", check the website for more information!", "Remember, prolong periods of gameplay can cause serious health problems, take a breather! "+ .@ServName$+" can wait!", "Type @commands to view a list of helpful tools to aid you in your adventure.", "Don't forget to check the forums for the latest updates on "+ .@ServName$+"!", "Remember, a GM will never ask for your username and password, always be safe.", "Reminder, hackers, botters, exploiters will recieve a harsh punishment if caught. That is NOT tolerated here at "+ .@ServName$+".", .@ServName$+" is very happy to have such a wonderful community!", "Don't forget to Vote to gain Points!", "Keep up the fun here at "+ .@ServName$+"!" ); announce .@motd$,bc_self; end;}
  5. hmm ... initnpctimer("MOTD_HOURLY"),OnTimer3600000; https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L6370 Flag isn't refer to event/timer label. You actually need to use attachnpctimer. https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L6378 OnTimer3600000: @cid = getcharid(0); @aid = getcharid(3); you can actually save these 2 variables when they login if you want to, OnPCLoginEvent. No need to keep execute the same thing over and over again. if( attachrid( @aid ) ) if( getcharid(0) == @cid ) I believe there is no need to check for these. just use the OnTimerQuit event label to keep track whether they already offline or not and stop the timer. You should try these methods ... Array to store the announce messages. use addtimer avoid redundancy. use Floating NPC. (without valid location)
  6. I like the map =D its spacious, with outdoor area.
  7. chobit is back from DotA ? xD

    1. AnnieRuru

      AnnieRuru

      yea... downloading latest client now...

  8. it work fine in my Hercules test server.
  9. some random idea. OnPCDieEvent: .@map$ = strcharinfo(3); if ( .@map$ == "prontera" ) { while ( strcharinfo(3) == .@map$ ) sleep2 1000; announce strcharinfo(0)+" has died and back to Save Points.",bc_all; } end; can be done with various way .... like using this way too OnCheck: if ( strcharinfo(3) != "prontera" ) { announce strcharinfo(0)+" has died and back to Save Points.",bc_all; }OnPCLoadMapEvent: deltimer strnpcinfo(0)+"::OnCheck"; if ( strcharinfo(3) == "prontera" ) addtimer 5000,strnpcinfo(0)+"::OnCheck"; end;
  10. Emistry

    Issue

    check your settings ? https://github.com/HerculesWS/Hercules/blob/master/conf/inter-server.conf
  11. .@rate = rand( 100 );if ( .@rate <= 10 ) { .@item = F_Rand( 5074,5132 );}else if ( .@rate <= 40 ) { .@item = F_Rand( 5766,5786 );}else else { .@item = F_Rand( 5474,5137 );}getitem .@item,1;announce strcharinfo(0)+" has been rewarded with "+getitemname( .@item )+";bc_all;
  12. I remember back then in rAthena there was some people developing a custom client. Cant remember what the project called tho. They revamped the UI as well.
  13. maybe you have NPCs script that alter the HP value ? example : OnPCLoadMapEvent: Hp = ( Hp / 2 ); end; check all your [wiki=OnPCLoadMapEvent] script.
  14. assign the temporary flag "1" to the skill. skill 1001,1,1; or you could also try this to remove it. skill 1001,0,0;
  15. https://rathena.org/board/topic/62654-send-e-mail-to-someone/
  16. https://rathena.org/board/topic/74969-send-mail-via-scriptcommand/
  17. dispbottom "Speed increated for x times.";sc_start SC_MOVHASTE_INFINITY,3600000,0;
  18. { Id: 674 AegisName: "Mithril_Coin" Name: "Mithril Coin" Type: 0 Buy: 5000 Weight: 40 Script: <" Zeny += 10000000; ">},
  19. Emistry

    Progress bar

    or maybe can provide an extra parameter to indicate it's moveable or not ? default to not moveable.
  20. https://eathena.ws/board/index.php?showtopic=242050 like this ?
  21. update your emulator to fix the error. btw you can search using the notepad++.
  22. for monster hunting quest, I do suggest you use the Quest System. Basically it fix all your issue and help to solve everything, all you need is just assign the quest and check for which quest is available for that particular weeks. @@Winterfox your method does save a from using extra variable to store the kill count, but your attempt end up wasting resources. Imagine the server have 100 monsters only, if that characters everything hunt all the 100 monsters, basically that characters generated 100 variables. 1 account consist 9 characters or more, end up become >= 900 variables per accounts. imagine the resources that need to spent to store all these data... A checking on mob id is a must.
  23. https://github.com/HerculesWS/Hercules/blob/master/sql-files/upgrades/rAthena-main-upgrade.sql https://github.com/HerculesWS/Hercules/blob/master/sql-files/upgrades/rAthena-logs-upgrade.sql try these. ....
×
×
  • Create New...

Important Information

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