Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Euphy

    New Exchanger

    Did you want random times or only times you choose? It's more efficient if you set the times so you can use labels instead of timers: mes "You have "+#KAFRAPOINTS+" Kafra Points."; mes "They can be traded for "+$@Zeny_Kafra+" Zeny each."; next; if(select("Trade:Cancel") == 2) close; // etc., this part is easy OnInit: OnClock0800: OnClock0810: OnClock0913: OnClock1228: set $@Zeny_Kafra, rand(90000,120000); end; Does the second NPC use the same rates as the first? If so, mes "Kafra Points cost "+$@Zeny_Kafra+" each."; if(select("Purchase:Cancel") == 2) close; // etc.
  2. It's an eAmod script, and since Zephyrus probably wouldn't like it if we posted it here, we won't. Please consider that this is a request section, not one for rude demands, thank you.
  3. @GmOcean: No, you declare them directly in atcommand_athena.conf (it's heavily modified from eA's conf).
  4. Rentitem scripts are incorrect. [Error]: script error on db/re/item_db.txt line 6265 parse_line: need ';' * 6265 : { rentitem 2369,1','604800; } [Error]: script error on db/re/item_db.txt line 6266 parse_line: need ';' * 6266 : { rentitem 2428,1','604800; } [Error]: script error on db/re/item_db.txt line 6267 parse_line: need ';' * 6267 : { rentitem 2533,1','604800; }
  5. - script Invasion -1,{ OnHour19: setarray .@Towns$[0],"prontera","alberta","payon","geffen"; // Random town list set .map$, .@Towns$[rand(getarraysize(.@Towns$))]; set .@mob, 1002; // Mob ID set .count, 50; // Mob count monster .map$,0,0,strmobinfo(1,.@mob),.@mob,.count,strnpcinfo(0)+"::OnMobDead"; end; OnMobDead: set .count, .count-1; if (!.count) { set .@mob, 1090; // Boss ID monster .map$,0,0,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(0)+"::OnMobDead2"; } end; OnMobDead2: announce strcharinfo(0)+" has killed the boss!",0; end; }
  6. Um, the WOE controller shouldn't work at all. As I've already posted multiple times, no released controller works with *Amod.
  7. You cut off the error message... And what emulator are you using, anyway?
  8. Rather than list what you don't want, write what you do want. Also, they're quite easy to make:
  9. set .@Minimum, 8; query_sql("SELECT `account_id` FROM `char` WHERE `guild_id` = "+getcharid(2)+";",.@i); if (getarraysize(.@i) < .@Minimum) { mes "Your guild must have at least "+.@Minimum+" members for you to receive a guild pack."; close; }
  10. http://rathena.org/board/topic/58222-ghosts-scripts-latest-ghosts-pvp-system-v13/ http://www.eathena.ws/board/index.php?showtopic=237765 http://www.eathena.ws/board/-Ultimate-Pvp-Ladder--t177818.html Although it's not very hard to make your own, either.
  11. Disable the instance monsters/NPCs and replace them with standard monster spawn scripts: http://rathena.org/wiki/Permanent_Monster_Spawn
  12. Update your Ragnarok for the new Izlude map, or switch to pre-re Izlude and recompile the mapcache with the old map.
  13. Euphy

    Server Time

    Server time should be the time on the host machine.
  14. http://code.google.com/p/llchrisll-scripts/downloads/detail?name=acc_editor.txt&can=2&q=
  15. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/re/skill_tree.txt Delete all the second class skills from third classes. There's no shortcut. :>
  16. @GMOcean: Arrays hold 128 values, not 256. @darristan: You can have duplicate entries in mob_db2, which will overwrite anything in mob_db. Another way to do this without looping through arrays is by creating NPC variables based on array name, then doing a single comparison: - script MobExtraDrops -1,{ OnNPCKillEvent: if (getd("."+killedrid) && rand(10000) <= getd("."+killedrid+"[1]")) getitem getd("."+killedrid+"[0]"),1; end; OnInit: setarray .@MobID[0], 1374, 1370, 1754, 1492, 1871, 1150, 1147, 1243, 1039, 1115, 1148, 1167, 1159, 1163, 1276, 1685, 1369, 1110; // Monsters ID setarray .@DropID[0],28307,28308,28108,28304,28209,28114,28102,28319,28134,28135,28136,28137,28142,28143,28143,28221,28322,28132; // Items ID setarray .@Chance[0], 75, 75, 250, 250, 250, 250, 250, 75, 250, 250, 100, 75, 250, 75, 75, 250, 75, 75; // Drop Rate, as in percentage (100 = 1%) set .@j, getarraysize(.@MobID); for(set .@i,0; .@i<.@j; set .@i,.@i+1) setarray getd("."+.@MobID[.@i]+"[0]"),.@DropID[.@i],.@Chance[.@i]; end; }
  17. Euphy

    Cant Deal

    If you've been using a Subversion program properly, you can create a patch of all your modifications then manually patch a copy of rAthena.
  18. Please use the search button... ._.
  19. http://rathena.org/board/files/file/2486-rathena-custom-item-db-generator/
  20. Euphy

    VIP room

    Depends how "VIP" is defined. o.o
×
×
  • Create New...