Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Euphy

    Floating Rates

    @PokemonRO: You're right about event labels, but that wouldn't quite be accurate enough. o: @Ron: I'm sure you've seen Lupus' script already (I hope you have, at least), so you should know that rate manipulation involves setting battleflags and reloading the mob database afterward. That part's easy. So all that's really left is to track player count - which can be done either when a player logs in or out. Create an OnPCLoginEvent label and another for OnPCLogoutEvent, followed by: getusers(1) // for login getusers(1) - 1 // for logout Do some conditionals, and you should know where to go from there.
  2. Euphy

    Repair man

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/re/merchants/refine.txt
  3. Euphy

    Script Help

    http://rathena.org/board/topic/56556-done-job-antibot/#entry112944 OnPCLoadMapEvent: if (strcharinfo(3) != "pay_fild04" && strcharinfo(3) != "prt_fild08" && strcharinfo(3) != "moc_fild09") end; // script OnInit: setmapflag "pay_fild04",mf_loadevent; setmapflag "prt_fild08",mf_loadevent; setmapflag "moc_fild09",mf_loadevent; end; http://rathena.org/wiki/Mapflag#loadevent
  4. Don't create duplicate posts, any responses will be given in bugreport:6276. Check out a clean copy of the SVN and try again, since nobody else seems to have the problem.
  5. sc_start SC_WEIGHT90,1000,0; The "time" argument is invalid from what I tested, so you'll need to put 'sc_end' OnUnequip.
  6. Refer to the official guild scripts. Spawning an emperium works the same way as any other mob, using the 'monster' command: *monster "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>"};
  7. http://rathena.org/wiki/Basic_Scripting#Duplicating
  8. If you're using Ragray... then no, you don't have the maps. Update your files.
  9. Add lines marked with "+": OnMinute00: freeloop(1); + if (!agitcheck() && !agitcheck2()) for(set .@i,0; .@i<30; set .@i,.@i+1) + setmapflag .Castles$[.@i], mf_loadevent; else announce "The War Of Emperium has begun!",bc_all|bc_woe; +for(set .@k,0; .@k<30; set .@k,.@k+1) + removemapflag .Castles$[.@k], mf_loadevent; if (!compare(strcharinfo(3),"g_cas")) end; + if (strcharinfo(0) == getguildmaster(getcastledata(strcharinfo(3),1))) end; A little messy, but it should work.
  10. http://rathena.org/board/topic/56390-done-poring-coin-to-zeny-and-zeny-to-poring-coin-exchanger/ http://mysterious-project.googlecode.com/svn/trunk/npc/CoinExchanger.txt
  11. Not on GM sprites.
  12. @Jhosef: That sounds like a decent idea, but don't players need to get into castles to do stuff? o.o
  13. > https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/woe_controller.txt
  14. Search button. http://rathena.org/board/topic/62248-mysterious-collection/
  15. Did you also convert your server password to md5?
  16. @Alexandria: That's a compiler, not a decompiler.
  17. There's 2 .exes, it should be 1.
  18. Arrays only store 128 values, you must have too many entries in your database.
  19. @Sundown: Errors? SVN?
  20. Euphy

    Pvp warper

    You're telling me it isn't a warper, really? *sighs* //Fight square Reception Staff (Locations below) - script FSRS::fsr -1,{ if(strnpcinfo(4) == "pvp_y_room") { setarray .@Maps$[0],"pvp_y_8-1","pvp_y_8-2","pvp_y_8-3","pvp_y_8-4","pvp_y_8-5"; setarray .@Name$[0],"Prontera","Izlude","Payon","Alberta","Morroc"; setarray .@Limit[0],128,128,128,128,128; } else { setarray .@Maps$[0],"pvp_n_8-1","pvp_n_8-2","pvp_n_8-3","pvp_n_8-4","pvp_n_8-5"; setarray .@Name$[0],"Sandwich","Lock on","Four Room","Under cross","Compass Room"; setarray .@Limit[0],64,32,32,32,32; } for(set .@i,0; .@i<5; set .@i,.@i+1) set .@menu$, .@menu$+.@Name$[.@i]+" ["+getmapusers(.@Maps$[.@i])+" / "+.@Limit[.@i]+"]:"; set .@menu$, .@menu$+"Cancel."; set .@i, select(.@menu$)-1; if (.@i == 5) close; if (getmapusers(.@Maps$[.@i]) >= .@Limit[.@i]) { mes "[PVP Fight Square Reception Staff]"; mes "This map is currently full."; } else warp .@Maps$[.@i],0,0; close; OnInit: waitingroom "Free for all",0; end; } //Fight Square Reception Staff pvp_y_room,86,85,4 duplicate(fsr) Fight SQ Reception#f1 105 pvp_n_room,30,85,4 duplicate(fsr) Fight SQ Reception#f2 105
  21. @Rikimaru: No, that's not correct, the first script line forces the map to be defined if it isn't already. The error lies in this section: caspen.gat,160,214,5 script PvP Warper 730,{ if (.pvp_square$=="") donpcevent "Ultimate PVP warper::OnClock0000"; You're calling a nonexistent NPC, that's all. ;3
  22. Euphy

    Pvp warper

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/re/other/pvp.txt
  23. --> https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt Search "waitingroom".
  24. http://www.eathena.ws/board/index.php?showtopic=262327
  25. @GM Takumirai: Aww, I thought the effect looked pretty... D; OnAgitStart: while(agitcheck()) { misceffect 58; sleep 425; } end; Delete that.
×
×
  • Create New...