Jump to content

Haruka Mayumi

Members
  • Posts

    485
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Haruka Mayumi

  1. my bad. it's searchstores with 's' i edited the comment
  2. - script whosell -1,{ OnWhoSellACMD: searchstores 99,1; end; OnInit: bindatcmd "whosell",strnpcinfo(0)+"::OnWhoSellACMD"; end; }
  3. prontera,166,190,4 script Pre-Register Rewards 510,{ if( !#Freebiesa313 && getcharid(3) < 2000275 ){//<<<< THIS ONE TOO set #Freebiesa313,1; mes "Welcome to Arrival RO. Please Take your rewards."; getitembound 12411,2,Bound_Account; getitembound 12264,2,Bound_Account; getitembound 50002,1,Bound_Account; } else { mes "You either have claimed your reward or didn't participate in Pre register Event"; } close; }
  4. getitembound 12411,2,Bound_Account; getitembound 12264,2,Bound_Account; getitembound 50002,1,Bound_Account;
  5. Using logical operator AND (&&) instead of OR (||) for this code. AND && Operator OR || Operator: if (countitem(7060) < 1 && Zeny < 3000) if both are true. it will do the bracket of the IF statement. if any is false. it will skip the bracket
  6. I would recommend to use find on all files the successrefitem and add the code after it.. a little note is that if the player use WEAPON REFINE of whitesmith. the announce won't show up since that would be source side
  7. 4 possible problem.. 1. the most common sense is it was really unknown account and was not on your db.. 2. your server gepard_shield.conf is off, but your client side is enabled. or vice versa, gepard_shield.conf is on but client side is disabled. 3. client doesn't have all the files related to gepard such as mss32.dll, msvcp and msvcr sent by functor.. 4. maybe it was not functor you contact?
  8. its just the same.. custommap.gat to your desired name mymap.gat
  9. yes it will affect the @warp command and /where Example you want to change the name of prontera map 1. copy the prontera.gat 2. rename prontera.gat to your desired name example mymap.gat 3. add the mymap.gat on your map_cache.dat 4. add mymap on conf/maps_athena.conf and db/map_index.txt 5. simply add the following line to your resnametable on grf folder. mymap.gnd#prontera.gnd# mymap.gat#prontera.gat# mymap.rsw#prontera.rsw# 유저인터페이스\map\mymap.bmp#유저인터페이스\map\prontera.bmp# all you need is to restart the server now and your client.
  10. There's a pre-configured browedit for you.. we mostly use 586 and 620. as for your goal where you just want to rename the map name.. you could easily do it using resnametable.txt on your data grf.
  11. I don't understand why you need the complete code when there's the query for it already. Emperium Breaker: mes "Top 10 Emperium Breaker"; if(!(.@nb = query_sql("SELECT B.`name`,B.`guild_id`,A.`count` FROM `breaker_ladder` AS A LEFT JOIN `char` AS B ON A.`char_id` = B.`char_id` ORDER BY `count` DESC LIMIT 10", .@name$,.@gid,.@count))) { mes "No data found."; close; } for ( .@i = 0; .@i < .@nb; .@i++ ) { mes (.@i+1) +". "+ .@name$[.@i] +" ~ "+(getguildname(.@gid[.@i]) == "null" ? "None":getguildname(.@gid[.@i]))+" ~ "+ .@count[.@i] +" breaks."; } for the WoT Ranking. i'll leave this to you so you can learn how to left join. EDIT: FYI you actually don't need to create a breaker_ladder sql.. just use a character variable such as "set EmpBreak,EmBreak+1;" then simply join the char_reg_num with char table. although it has certain delay
  12. int color = 0xC6A518; clif_messagecolor(&sd->bl, color, atcmd_output, true, SELF);
  13. if(!getcharid(2)){ mes "You are not part of any guild."; end; }
  14. It's working perfectly fine on my side.. you should edit the compare string with your maps.. As you said it was " strcharinfo(3) == "06guild_08 " but you are referring to "06_".. also it's dead branch edit not bloody branch.
  15. It's nice to use function for this but with just 2 comparable string.. you can just use the compare function like this 604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( compare(strcharinfo(3),"dbroom") || compare(strcharinfo(3),"06guild_")) { delitem 604,1; monster "this",-1,-1,"--ja--",-1,1,""; } else dispbottom "This item cannot be used within this are. please use the db room!"; },{},{}
  16. Just a little reminder.. you cannot downgrade a vps once you upgrade it not like cloud servers which are much flexible but a bit costly.
  17. if( getrefine()>=8 ){ bonus2 bAddRace,RC_Player,8; bonus2 bAddRace,RC_DemiHuman,8; }
  18. because annieruru KoE doesn't set the king of emperium as ally.. it just makes the monster 1288(emperium) not targetable if your guild is the current king of emperium.. i don't even use the source modification for it. Emperium Sanctuary KOE
  19. bonus bStr,readparam(bStr)*20/100; bonus bAgi,readparam(bAgi)*20/100; bonus bVit,readparam(bVit)*20/100; bonus bInt,readparam(bInt)*20/100; bonus bDex,readparam(bDex)*20/100; bonus bLuk,readparam(bLuk)*20/100; Convert the problem to an equation using the percentage formula: (Percent * NUM = M) / 100 = Answer Percent is 20, NUM is readparam(bStr), so the equation is 20% * 100%(let's say your Str is 100) = M So in the equation: 20 * 100 = (M becomes 2000) / 100 = Answer Answer = 20 So 20% of 100 is 20 This one is easy if rAthena can use float but the sad thing is.. The script only accept integers.. Easiest way is readparam(bStr)*0.20 wherein 0.20 is float.
  20. As I can see on your code.. you are adjusting exp instead of drop rate.. you should refer to this line when you want to adjust the drop rate.
  21. You should just use the achievement settings.. Add an achievement to kill 100 porings.. then they can toggle the Poring Slayer title whenever they want
×
×
  • Create New...