Jump to content

Skorm

Forum Moderator
  • Posts

    1282
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Skorm

  1. Why? Your server already does this... map_athena.conf // Database autosave time // All characters are saved on this time in seconds (example: // autosave of 60 secs with 60 characters online -> one char is saved every // second) autosave_time: 300 Inside char database look for last_map, last_x, and last_y.
  2. Isis head looks a little big imo, but great work better than anything I'm capable of.
  3. Skorm

    investor

    prontera,154,171,5 script Investor 100,{ .@price$ = "#CASHPOINTS"; .@cost = 10; .@bmax = 99; .@jmax = 50; if( compare(jobname(Class),"Mechanic") && BaseLevel == .@bmax && JobLevel == .@jmax ) { mes "[ Investor ]"; mes "So would you like to invest in this big project I'm working on?"; mes "It'll cost you 10 cash points!"; next; if(select("Yes:No")==1) { if(getd(.@price$)>=.@cost) { investment++; .@i = investment; setd(.@price$,getd(.@price$)-.@cost); callfunc( "package_func", 929, 20, 50, //Immortal Heart 970, 20, 50, //Alcohol 909, 100, 100, //Jellopy 7444, 5, 20, //Treasure Box 603, 1, 1*.@i, //Old Blue Box 4047, 1, 1 //Ghostring Card ); mes "[ Investor ]"; mes "Congratulations, but maybe next time you'll get something even better!"; } else { mes "[ Investor ]"; mes "It seems you don't have enough cash points better luck next time."; } close; } mes "[ Investor ]"; mes "Alright, maybe next time."; } else { mes "[ Investor ]"; mes "I don't have time for you!"; } close; } /// callfunc("package_func",<itemid>,<amount>,<chance>{,<itemid>,<amount>,<chance>{,<itemid>,<amount>,<chance>{,...},<accountid>}}) function script package_func { set .@len, getargcount()-((getarg(getargcount()-1)>=2000000)?1:0); set .@id, ((getarg(getargcount()-1)>=2000000)?getarg(getargcount()-1):getcharid(3)); while(set(.@i,.@i+3)-3<.@len) if(rand(101)<=getarg(.@i-1)) getitem(set(@package_item[.@a++-1],getarg(.@i-3)),set(@package_amount[.@a-1],getarg(.@i-2)),.@id); return .@a; }
  4. I hate it! This looks amazing... I'm jealous. :<
  5. No what I meant it the OLD OLD browedit the stable release version of 1.0 it has some minor bugs here and there but it's still better than anything else currently released to the public.
  6. Same as the item change above but use... getexp <base xp>,<job xp>; Where <base xp> and <job xp> can be omitted for the respected values... Ex: getexp 1000,1000;
  7. It's the distance in x and y from the npc so 8+ and - on the x axis and 11+ and - on the y axis... Also Changing: set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; To: getitem(501,1); Will work for items and Thank you.
  8. I really don't know much about the @afk command I also don't know if the players can even be called while in that state but... Yeah... prontera,100,100,5 script hourlypoints 139,8,11,{ end; OnTouch: dispbottom "Stay here to get afk hourly points."; attachnpctimer(); startnpctimer(); end; OnTimer3600000: getmapxy(.@map$,.@x,.@y,0); if( distance(.x,.y,.@x,.@y)<=11 && .@map$==.map$ ) { if( checkidle() ) { set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Kafrapoints by staying afk ingame for 1 hour"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #KAFRAPOINTS, #KAFRAPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" Kafrapoints in afking for 3 consecutive hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; } } attachnpctimer(); initnpctimer(); } else { dispbottom "You left the afk area and will no longer receive Kafrapoints."; stopnpctimer(); } end; OnInit: getmapxy(.map$,.x,.y,1); set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. }
  9. Are you going to have multiple of these? It would probably be best to use OnTouch: when doing something like this and just setting the npc in the center of the square with a radius of how ever many squares but that all depends on how big you wanted the area and how many of them.
  10. To my knowledge there is no 5th slot... Meaning it wouldn't be save in the database or anywhere. :/ I don't believe there are unique ids for items either. Which makes a request like this rather impractical. This sounds like more of a source request imo. Unless there's something new I don't know about, which happens from time to time. Overall I like the idea but yeah this is the same reason produced and named items can't be slotted.
  11. Right but I actually recommend you download the old Broweditor because it actually has all the editing options.
  12. Looks like you're trying to use the older Java based client... http://browedit.borf.info/2.0/ You can download other versions there.
  13. Are we seriously only at 4075?
  14. Skorm

    lolphail

    I too know that feeling T_T... Years of work that I was too ignorant to backup online lost forever. I'd switch, I like how Linux works, but I just can't live without my exes and wine just doesn't cut it.
  15. Open it with notepad and change it? Syouji has been gone for quite some time.
  16. This topic is freakin' smart, thanks for sharing.
  17. That just shows how dedicated the RO community is... People may look at that picture and see cheaters but I only see hardcore fans.
  18. Regardless of whether or not we win, I still got a kick out of reading all the comments we've generated on MMOBomb.
  19. Skorm

    Support ROom

    Right that's why I only checked the map when a player was trying to initiate support from the gms. Also saves resources etc? Seems like the logical thing to do.
  20. Skorm

    Support ROom

    If you come to the rAthena forums and ask for support we're going to expect you be using rAthena. Next time tell us you're using 3ceam first. To configure the npc normally you just change the location of the npc to the map you want the gms to hold support on and just modify the location of the warping npc. The script takes care of the rest. But, this script will not work on 3ceam you're going to have to wait until someone else modifies it or until I wake-up.
  21. Skorm

    Support ROom

    Hmm, and this is the part where I ask what emulator you're using... So, what emulator are you using?
  22. xD That's pretty cool maybe I'll impersonate you next time. Since -you know- everybody's doing it.
  23. You can host the server from your computer with No-IP and also a site from various free web-hosting services available but depending on your upload speed it might not be very good.
  24. I do have some code snippets in my portfolio relating to Ragnarok Online... My professor happened to know of RO/Athena and also was a self proclaimed "geek" so that was fun. Needless to say I passed the final exam with a 97%. If you're doing something like Scripting/Programming/Game Development I think you could defiantly use materials you create for this community and apply them to real life applications... Just take the core elements like Arrays/Trees/Bitwise mumbo-jumbo that most languages posses and present them in creative ways that illustrates your overall knowledge of the art. With that being said I think it's also important to have a broad knowledge in other things as well don't just center the entire thing around Ragnarok Online.
  25. Skorm

    Support ROom

    I believe I already did something similar to this... izlude_in,30,171,5 script gm_house 139,{ end; OnRefreshCount: set(.gms,0); set(.usr,0); deletearray .a_gms; addrid(1); if(getgmlevel()>=.gmlvl) set .a_gms[set(.gms,.gms+1)], getcharid(3); else set(.usr,.usr+1); end; OnPlayerHelp: if(getgmlevel()>=.gmlvl) { warp .map$,.x,.y; end; } donpcevent "gm_house::OnRefreshCount"; if(.gms&&!.usr&&!.que) { donpcevent "gm_house::OnAttachGms"; message strcharinfo(0),"You'll be warped to the help desk in 10 seconds."; set(.que,1); showdigit -10,2; sleep2(10000); if(playerattached()) { showdigit 0,0; warp .map$,.x,.y; } set(.que,0); } else { message strcharinfo(0),"The GMs are currently busy or unavailable please try again later."; } end; OnAttachGms: for(set(.@a,1);.@a<=.gms;set(.@a,.@a+1)) { attachrid(.a_gms[.@a]); showdigit -10,2; soundeffect "aster_die.wav",0; message strcharinfo(0),"A player is entering you have 10 seconds to prepare."; sleep2(10000); showdigit 0,0; } end; OnInit: bindatcmd "gmhelpme","gm_house::OnPlayerHelp"; getmapxy(.map$,.x,.y,1); set .gmlvl, 60; } prontera,155,179,5 script gm_house 45,2,2,{ OnTouch: doevent("gm_house::OnPlayerHelp"); }
×
×
  • Create New...