Jump to content

Kamii

Members
  • Posts

    21
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

2258 profile views

Kamii's Achievements

Poring

Poring (1/15)

1

Reputation

1

Community Answers

  1. Can you provide the full textline / screenshot of sql query? Script is in the right section? There are 3 Sections for scripts. (Common, OnEquip, OnUnquip)
  2. This can actually work, as it seems you capped it, brilliant. Although huge apologies for the effort, I was referring to cart termination skill. Hoping for your response. I'll be using your code and test if this will work. map/battle.c OLD i = 10 * (16 - skill_lv); if (i < 1) i = 1; //Preserve damage ratio when max cart weight is changed. if (sd && sd->cart_weight) skillratio += sd->cart_weight / i * 80000 / battle_config.max_cart_weight - 100; else if (!sd) skillratio += 80000 / i - 100; break; TO i = 10 * (16 - skill_lv); if (i < 1) i = 1; //Preserve damage ratio when max cart weight is changed. if (sd && sd->cart_weight) { double cwr = sd->cart_weight / sd->cart_weight_max; if (cwr > 1.0) cwr = 1.0; skillratio += sd->cwr / i * 80000 / battle_config.max_cart_weight - 100; } else if (!sd) skillratio += 80000 / i - 100; break; In that case use this: i = 10 * (16 - skill_lv); if (i < 1) i = 1; //Preserve damage ratio when max cart weight is changed. if (sd && sd->cart_weight) { double cw; if (sd->cart_weight > battle_config.max_cart_weight) cw = battle_config.max_cart_weight; else cw = sd->cart_weight; skillratio += cw / i * 80000 / battle_config.max_cart_weight - 100; } else if (!sd) skillratio += 80000 / i - 100; break;
  3. That Sir, are some useful informations. I did my last script on 2007 or 2008... So my knowledge is pretty old on this one. I'm gonna have to redo my new scripts...
  4. Alright i corrected my script. prontera,137,203,4 script TEST::KST01 834,{ setarray @item_id, 501,502,503,504,505,506,507,508,509,510; for (@i=0; @i< 5; @i++) { set @ind, rand(0, getarraysize(@item_id) - 1); getitem @item_id[@ind], 1; deletearray @item_id[@ind],1; } } It works now as intented. (If someone else needs that kind of script.)
  5. Maybe a91323 can optimizie his code by himself. I'll be home in about 1 1/2 hour. You could also try out my second code... I'll test it when i'm home.
  6. Keep in mind, that this script is really bad performance wise. It's not wrong, but it's really not optimized.
  7. Then you have to try this one. NOTE: can't check if code is correct right now... setarray .@item_id, 501,502,503,504,505,506,507,508,509,510; for (@i=0; @i< 5; @i++) { set @ind, rand(0,getarraysize(@item_id)); getitem .@item_id[@ind], 1; deletearray @item_id[@ind],1; } Corrected Script: prontera,137,203,4 script TEST 834,{ setarray @item_id, 501,502,503,504,505,506,507,508,509,510; for (@i=0; @i< 5; @i++) { set @ind, rand(0, getarraysize(@item_id) - 1); getitem @item_id[@ind], 1; deletearray @item_id[@ind],1; } }
  8. bonus2 bExpAddClass,Class_All, 20;Should do the trick.
  9. You need to use for loop. Pseudocode: for (i=0; i< 5; i++) { getitem @item_id[rand(0,10)], 1; }
  10. You could go into the sources and max out the weight bonus there.. battle.c in Map source if(sd && sd->cart_weight) skillratio += 100 * sd->cart_weight / sd->cart_weight_max; // +1% every 1% weight to if (sd && sd->cart_weight) { double cwr = sd->cart_weight / sd->cart_weight_max; if (cwr > 1.0) cwr = 1.0; skillratio += 100 * cwr; // +1% every 1% weight }
  11. Hey, do you own a server?

  12. Hello there, i was wondering how the chances are Calculated. For me it looks like this: chance = DropXPer * DropRate (Conf) / 100 if chance > 10000 then chance = 10000 chance = chance * Drop Penalty (varies per level) Example: Droprate 3x Yoyo Tail Drop Per 7000 chance = 7000 * 3 = 21000 because 21000 > 10000 -> chance = 10000 chance * Penalty (50%) -> chance = 5000 Am i right or is the mechanic different? Also is it Possible that the Drop Chance is dropping to 0? (If i understand the text in the config file correctly, it's not) Greetings
  13. Kamii

    Lebt noch jemand?

    Bei Neuerungen gibt's immer welche die dafür und dagegen sind. Einiges was ich bis jetzt gesehen habe ist nicht schlecht. Aber es ist viel für den Spielspaß und den Character Development drauf gegangen. Kaum Itemvielfalt. Viele Items liegen einfach Sinnlos brach. Man muss in dem Spiel 2 mal bis 99 leveln und das erste mal sollte nicht länger als 2-3 Tage dauern, ohne großartig sich anstrengen zu müssen. Das ist schon als neueinsteiger Unmöglich. Ich sehe hier ziemlich viel Nachholbedarf... Aber erstmal muss man komplett Analysieren was so alles existiert und was alles brachliegt etc. Was ich z.B. festgestellt habe, ist, dass es nur ca 300-350 Maps mit festen Monsterspawns gibt aber in eA gibt's einfach mal 800 Karten. Da tun sich bei mir noch mehr Fragezeichen auf als wahrscheinlich nötig. Mein Problem ist, dass ich halt so ewig lange aus RO raus bin und so gut wie nix behalten habe. Ich bin aber auch keiner von denen die immer alles beim alten belassen wollen... Ich hab also viel Arbeit vor mir.
  14. Kamii

    Lebt noch jemand?

    Ich hab bisher auch nur gutes darüber gehört. Aber es soll wohl seinen Preis haben. Irgendwas um die 200$ oder so. Na ja momentan bin ich damit beschäftigt Ragnarok mal zu analysieren und diesem grauenhaften Misbalance auf die Schliche zu kommen. Ich weiß das war früher schon schwer aber momentan habe ich das Gefühl, dass das Game einfach tierisch gelitten hat... Man kriegt anfangs kaum Geld, items holt man sich fast ausschließlich durch die Eden Group. Alle anderen Items aus dem Shop kann man voll vergessen. Was ist denn da los gewesen in der Entwicklung des Spiels?!
  15. Kamii

    Lebt noch jemand?

    Das habe ich auch festgestellt. Hercules ist nur leider nicht so weit wie rAthena. Dafür hat es n paar andere interessante Features wie Sicherheit gegen WPE. Gibt's da Pläne für rAthena für sowas? Oder ist man dann auf Gepard Shield angewiesen? Gruß Kami
×
×
  • Create New...