Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. change item type to card type set it to be compoundable on any equipment that you want.
  2. perhaps you should update your emulator? it should be this, in currenct rAthena. || ( p[0] == '+' && p[1] == '+' && (type = C_ADD_POST) ) // post ++ || ( p[0] == '-' && p[1] == '-' && (type = C_SUB_POST) ) // post --
  3. SVN are outdated, previously there are some cron job or BrianL is updating/sync them once a while. But I don't think they still did it now. SVN has been outdated for years. Use the one from GITHUB
  4. yes, from what I recall, the login screen exist in this patch is actually still using the oldest screen. it's the Prontera map with low opacity. few years back, I was also looking for this login background until I realize it's actually the prontera map.....
  5. I like the first one, +1. it remind me of this mini map..
  6. set @hmc, query_sql "SELECT * FROM `no_multi_map` WHERE `u_id` = `"+ @lud +" AND `hasClient` = 1 AND `mapname` = `"+ @map$+""; change to set @hmc, query_sql( "SELECT * FROM `no_multi_map` WHERE `u_id` = `"+ @lud +" AND `hasClient` = 1 AND `mapname` = `"+ @map$ );
  7. disable the "new academy" and use "old acedemy" script ...
  8. getarg(2,0) if parameter 2 is provided, the value will be based on the parameter value, 0 will not be used getarg(2,111) if parameter 2 isn't provided, the value will be default to "111" if parameter 2 has value, the value "111" will not be selected as default value.
  9. it's pretty straight forward if you have checked their hosting plan, it cost at least $5 ~ $1000+ depend on what you have selected. and yes, for advise, never start a server if you basically "know nothing" about the server stuff. lol
  10. if(countitem(26080) || Zeny < 500000000) { //Change Item ID should be if(!countitem(26080) || Zeny < 500000000) { //Change Item ID or if(countitem(26080) < XYZ_AMOUNT || Zeny < 500000000) { //Change Item ID
  11. if (rand(1,100) > getd(".P"+.@i+"[0]")) { change to .@rate = rand(1,100); if ( .@rate < 10 ) announce "[ "+strcharinfo(0)+" ] just get blablabla....",0xFF6600; if (.@rate > getd(".P"+.@i+"[0]")) {
  12. based on your script, only one random member will be selected to get the reward if you want all member to get it, then move the getitem line into the for-loop section.
  13. if you want to calculate the current online users. ... calculate it based on the amount of `online` in the char table... SELECT COUNT(`char_id`) FROM `char` WHERE `online` = 1
  14. well, when it come to programming, monospaced font are my favourite.
  15. @LutherKing you can add that by yourself... i am just providing samples. @negroroland1986 [Guide] Convert Script to eAthena compatible version. @LutherKing replace the EQI_ACC_R with appropriate equipment list . for ( set .@i , EQI_HEAD_TOP; .@i <= EQI_ACC_R; set .@i,.@i + 1 ) { @alternateyou probably didnt have any equipment that meet the condition for refine.
  16. change bc_delay to $bc_delay // <--- permanent , remain even after server restart/reloaded. $@bc_delay // <--- temporary , reset after server restart/reloaded.
  17. remaining time calculation should be ( #partyquest1 - gettimetick ( 2 ) ) / 60
  18. uhm, but when it come to the script_commands.txt its gonna be a god damn long and heavy contents. if rAthena decided to remain every single script command within same text files, then it probably end up like the sample from Herc I shown above. if rAthena decided to separate each script command into their own individual .md files, it look short/simple/nice, but it lose the convenience where you can find all script command within 1 text files especially when you try to view it in any text editor.
  19. something similar .... .@origin_aid = getcharid(3); getpartymember getcharid(1),2; for ( .@i = 0; .@i < $@partymembercount && !.@fail; .@i++ ) if ( attachrid( $@partymemberaid[.@i] ) if ( #partyquest1 > 0 ) { .@fail; } attachrid( .@origin_aid ); if ( .@fail ) { mes "Any of your party members didn't wait 6 hours before trying to start the PQ again"; }
  20. 1. Remove Freebie. 2. Remove Guild Package especially "Solo Guild Pack". 3. Donations doesn't mean you will get item in return.
  21. probably around 2012 ~ early 2014 client, they revert back to separated window afterward.
  22. something that would look like this within one file ? https://github.com/HerculesWS/Hercules/blob/master/doc/constants.md
  23. itemID,................, { }, { if( !checkcart() ) setcart; }, { setcart !checkcart(); } checkcart + setcart
  24. there are few ways... Reset Auto Increment Value when you export log next time, dont include the `ID` column reseed the SQL tables
  25. change @i // only can be used if there are player attached to the current script. to .@i
×
×
  • Create New...