Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. work fine for me when test in game.
  2. OnPCLoadMapEvent: if( BaseLevel < 99 && strcharinfo(3) == "map" ) warp "prontera",155,181; end;
  3. setarray .delitem[0],5288,5401,5471,515,5362,5361,5462,5225,5420,5313,5375,5389,5325,5463,5372,5379, 5137,5377,5800,18511,5376,5314,5155,18510,18508,18509,18506,5423,5224,4035,4092, 4004,4043,4031,4058,4133,4381,4079,4064,2310,2102,2504,2404,2621,2624,1208,1108, 1117,1408,1464,1302,1352,1514,1602,1705,1802,1902,1953,1550,1251,25001,14003,645, 657,656,678,12009,1751,715,716,717,7136,7135; setarray .delitems[0],14003,645,657,656,678,12009,1751,715,716,717,7136,7135; .delitem_size = getarraysize( .delitem ); .delitems_size = getarraysize( .delitems ); // array 1 while( .@item1 < .delitem_size ){ .@i = countitem( .delitem[.@item1] ); if( .@i ) delitem .delitem[.@item1],.@i; .@item1++; } // array 2 while( .@item2 < .delitems_size ){ .@i = countitem( .delitems[.@item2] ); if( .@i ) delitem .delitems[.@item2],.@i; .@item2++; }
  4. remove failedremovecards <equipment slot>,<type>;
  5. anybody know how to fix the water cell level ?? the map work fine .... but...when using checkcell to check for cell_water , it's not working... DevilEvil told me that it might be problem from RSW file.. since i have zero experience in BrowEdit ... so i think i will just find someone who capable to do it,....to fix this issue... anyone ??
  6. create one if you dont have. module/main.php
  7. http://rathena.org/board/topic/79203-xantaras-fluxcp/
  8. .@name_list_size = getarraysize( .@name_list$ ); refer above script...updated
  9. .@guild_id = 100; query_sql( "SELECT `name`,`position` FROM `guild_member` WHERE `guild_id` = "+.@guild_id+" ORDER BY `position` ",.@name$,.@position ); .@name_size = getarraysize( .@name$ ); for( .@i = 0; .@i < .@name_size; .@i++ ) mes .@name$[.@i]+" | Position: "+.@position[.@i]; close;
  10. getinventorylist; while( .@i < @inventorylist_count ){ delitem @inventorylist_id[.@i],@inventorylist_amount[.@i]; .@i++; } end; all item will be deleted.
  11. .@guild_id = 100; setarray .@name_list$, "Apple", "Orange", "Watermelon", "Banana", "Strawberry"; .@name_list_size = getarraysize( .@name_list$ ); query_sql( "SELECT `name`,`position` FROM `guild_member` WHERE `guild_id` = "+.@guild_id+" ORDER BY `position` LIMIT "+.@name_list_size,.@name$,.@position ); .@name_size = getarraysize( .@name$ ); mes "["+getguildname( .@guild_id )+"]"; for( .@i = 0; .@i < .@name_size; .@i++ ) mes .@name$[.@i]+" | "+.@name_list$[ .@position[.@i] ]; close;
  12. add into you themes/main/index.php <a src="installer_download_link.com">Download Link</a>
  13. Emistry

    Help in SQL

    you can use DATEDIFF in your SQL query.
  14. LOL...... this link to the renewal setting files.. ==''
  15. i see .. btw about this vote system bug ... could it be it's caused by cache clearing or some cleanup of forum caused this or something like forum maintenance ?? i remember rAthena previously has did something like this long ago ... and actually this bug...exist quite long ago ... the first time i noticed this bug is during my topic gained around 40++ vote. and then the list refreshed the name list but vote count remained....
  16. coz i have no idea how it should be written ... and it look much more complex than it sound like..xD
  17. sorting algorithm ?? sound interesting.... what's it...xP
  18. ** damn the rathena paste link =='' my contents is removed due to sending me to the paste site while i was trying to send my reply...isshh... Rewrite back =='' @Annie .... lol it's a heart attack bomb to scare off the server admin when they saw lots of =debugmes @loadnpc ,...i dont think it's a problem ... =) http://rathena.org/board/topic/62883-oninit-label/ previously, i used sleep ..but it doesnt really give a good results due to the duplicate npc are loaded randomly..with the random sleep i add for each npc. so i changed to use initnpctimer .....
  19. @Terrorsoul double check everything that you have modified, otherwise show you current modified script.
  20. OMG...regexp ... >.< /me hate regexp ..coz i rarely success to write the regexp ... /.\ Annie is bullying me ...
  21. maybe you can try DELETE FROM `global_reg_value` WHERE `str` LIKE 'Build_%' ; it should be able to remove all regarding your setting for the .@buildcount ..
×
×
  • Create New...