Elysium

Members
  • Content Count

    156
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    3

Elysium last won the day on March 21 2018

Elysium had the most liked content!

Community Reputation

14 Good

About Elysium

  • Rank
    Poporing

Profile Information

  • Gender
    Male
  • Location
    ./configure -- Elysium

Recent Profile Visitors

1,796 profile views
  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; }