Elysium

Members
  • Content Count

    156
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Elysium

  1. Ma'am is there a way can convert to rA?
  2. Thank you Ma'dam! i'll test it
  3. Could you convert this plugin to rAthena please? instead of Hercules.
  4. @K e o u g h hi, thanks for the great released! i was wondering if we can get the .EXTRA file on the map? so we could edit it easily just incase? without the .extra everything will be messed up. Once again Thank you!
  5. Thank you for the response but still didn't work.
  6. Hi, i was wondering what's wrong with the script? i tested it a couple of times somethings going that i couldn't figure it out can i have some a little assistance on the script please. Problem: variable .GlobalMessage doesn't show up properly looks like it announces a random items instead of only 1 .set prontera,164,173,3 script Ticket Gambling 562,{ mes .n$; for( [email protected] = 0; [email protected] < getarraysize(.item); [email protected]++ ) { mes .qnt[[email protected]] +"x "+ Itemlink(.item[[email protected] ]) +""; } next; mes .n$; mes "Would you like to insert a Ticket now?"; next; if( select("- Insert Ticket:- Cancel") == 2 ) { mes .n$; mes " "; close; } if( countitem(7608) >= 1 ) { mes .n$; mes "^0000FF*You insert the Promotion Ticket into the Machine slot and watch as she pulls the Ticket automatically*^000000"; next; mes .n$; mes "This is great! This will be very useful."; delitem 7608,1; for( [email protected] = 0; [email protected] < getarraysize(.item); [email protected]++ ) { if( rand(1,100) <= .chance[[email protected]] ) { if( .item[[email protected]] == .GlobalMessage ) { } getitem .item[[email protected]],.qnt[[email protected]]; [email protected] = 1; mes ""+.qnt[[email protected]]+" x "+Itemlink(.item[[email protected]])+""; end; } } if( [email protected] ) { [email protected] = rand(getarraysize(.item)); if( .item[[email protected]] == .GlobalMessage ) { announce "Player "+ strcharinfo(0) +" obtaining "+ .qnt[[email protected]] +" x "+ getitemname(.item[[email protected]]) +".",0; } getitem .item[[email protected]], .qnt[[email protected]]; end; } else { mes "You must have ^008800Premium Ticket^000000 to receive one of the items."; close; } } OnInit: .n$ = "[ Ticket Gambling ]"; // Array of items, quantity and chance. // Chance 1 = 0.01 setarray .item[0], 30029, 12412, 12915, 12903, 12904, 12908, 12905, 12906, 12907, 12912, 13858, 13588, 12210, 12709, 12710, 13718, 13750, 13756, 13714, 13711, 7608; setarray .qnt[0], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 20, 5, 1, 1, 1, 1; setarray .chance[0], 50, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 5, 5, 10, 10; // Send a Global Message to everyone online when win item with id .GlobalMessage = 7608; end; }
  7. Your the best! waiting for the TODO to make it complete
  8. At least share us your code on how you fixed it?
  9. Elysium

    R>@resists

    I think more efficient is doing source modification I think?
  10. Elysium

    R>@resists

    Thanks buddy, however same thing. i think i'm using an older rev of emulator that's why.
  11. Elysium

    R>@resists

    Does not work? - script Resist Manager::alarm -1,{ end; OnAtcommand: setarray [email protected][0], 0, 0, 0, 0, 0, 0, 0, 0, 0; setarray [email protected]$[0], "Fire", "Water", "Wind", "Earth", "Holy", "Dark", "Ghost", "Poison", "Neutral"; //ARMOR setarray [email protected][0], EQI_ARMOR, EQI_HEAD; freeloop 1; for( [email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++ ) { for( [email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++ ) { [email protected] = getequipid([email protected]); //get equip resists [email protected][[email protected]] += callsub("OnGetResist", [email protected], [email protected]); //now, check cards coumpounded for( [email protected] = 0; [email protected] < 4; [email protected]++ ) { [email protected] = getequipcardid([email protected], [email protected]); if([email protected] > 0) { [email protected][[email protected]] += callsub("OnGetResist", [email protected], [email protected]); } } } } freeloop 0; dispbottom "-------------------Resist Values-------------------"; for( [email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++ ) { dispbottom " ~" + [email protected]$[[email protected]] + " --> " + [email protected][[email protected]]; } end; OnGetResist: query_sql("SELECT `script` FROM `item_db` WHERE `id` = " + getarg(1), [email protected]$); if(getarraysize([email protected]$) > 0) { [email protected]$ = [email protected]$[0]; [email protected]$ = "bonus2 bSubEle,Ele_"; switch(getarg(0)) { case 0: [email protected]$ += "Fire", break; case 1: [email protected]$ += "Water", break; case 2: [email protected]$ += "Wind", break; case 3: [email protected]$ += "Earth", break; case 4: [email protected]$ += "Holy", break; case 5: [email protected]$ += "Dark", break; case 6: [email protected]$ += "Ghost", break; case 7: [email protected]$ += "Poison", break; case 8: [email protected]$ += "Neutral", break; } if(compare([email protected]$, [email protected]$) == 1) { explode([email protected]$, [email protected]$, [email protected]$); if(getarraysize([email protected]$) > 1) { [email protected]$ = [email protected]$[1]; explode([email protected]$, [email protected]$, ";"); if(getarraysize([email protected]$) > 1) { [email protected] = atoi([email protected]$[0]); } } } } return [email protected]; OnInit: bindatcmd "resistlist",strnpcinfo(3) + "::OnAtcommand"; end; }
  12. Jey can you share the full script of this? that would be appreciated.
  13. What;s the difference between this one? http://herc.ws/board/files/file/379-quest-npc-instance-base/
  14. Can anyone provide a working diff? =) that would be appreciated.
  15. Curios, The way you add menus to to Can you tell me what's the differences? Kinda confuse why you add "+ in each menus.
  16. Hi, sorry to revive this TOPIC but this seems to be useful are you able to re-script this again @Capuche I tried your script and it has a bug. does not support multiple maps$ That would be awesome suggestions above missing. Thank you!
  17. Hello, rAthena i'm looking for support regarding of SRC of goddameit i was trying to apply on my rA however i got error while compiling. /*=========================================== * getmobxy * by goddameit *-------------------------------------------*/ BUILDIN_FUNC(getmobxy) { int num, id; char *name; struct mob_data *md = NULL; TBL_PC *sd = st->rid?map_id2sd(st->rid):NULL; id = script_getnum(st,2); if(!(md = (struct mob_data *)map_id2bl(id)) || md->bl.type != BL_MOB || !data_isreference(script_getdata(st,3))) { script_pushint(st,0); return 0; } num=st->stack->stack_data[st->start+3].u.num; name=(char *)(str_buf+str_data[num&0x00ffffff].str); setd_sub(st,sd,name,0,(void *)(int)md->bl.x,script_getref(st,3)); setd_sub(st,sd,name,1,(void *)(int)md->bl.y,script_getref(st,3)); script_pushint(st,1); return 0; } // getmobxy [goddameit] BUILDIN_DEF(getmobxy,"i*"), After compiling:
  18. Elysium

    bug @guild

    Why people still prefer using SVN? that was drop already long time ago
  19. I didn't include the @warp since i don't have that command included to my server maybe that's the reason i got errors when recompiling. only copy the parts for @go.
  20. I have added this patch manually however it shows a lot of error during recompiling, i guess it needs to update a little for latest rA.