Jump to content

MarkZD

Members
  • Posts

    134
  • Joined

  • Last visited

Everything posted by MarkZD

  1. getgroupid() shouldn't be checked when you want a global permission or etc, because you can have groupid 200 that has gm 0 lv and no permission as well you can have a groupid 2 which is lv 100 and have all commands.
  2. if ( getgmlevel() > 0 && < 80 ) { end; } This code shouldn't work since it's C syntax, there's no condition beeing compared to 80. Does it really work? if ( getgmlevel() > 0 && getgmlevel() < 80 ) { end; } This is the right syntax. But he also wants a check to the map and gm lv80 can't too, so: if ( (getgmlevel() > 0 && getgmlevel() < 81) && strcharinfo(3)=="pvp_n_1-1" ) { end; } monster "this",-1,-1,"--ja--",-3,1,""; getgroupid shouldn't be checked when you want a global permission or etc, because you can have groupid 200 that has gm 0 lv and no permission as well you can have a groupid 2 which is lv 100 and have all commands.
  3. Only tests will say. I didn't check it yet.
  4. It's a little old topic, but you can use: @adjgroup
  5. It's because it's not the 400 damage that will be halved. You used EDP so your bATK and eATK increased, so your attack will be higher because it depends on your bATK and eATK that you can check in alt+q. Sample: You have 200 bATK, you will damage =400-100(def) = 300. After EDP you'll have 800 bAtk, so it'll damage = 1600/2(halved edp) = 800(-100def) = 700. Of course this is not the formula of damage in the source, it's just a sample so you can see that damage with EDP will, probably, always be higher than normal even with halved damage.
  6. Well, let's say that if it was not halved and you're hitting 30k it'd hit 60k. It's halved but because of beeing affected by EDP before it'll, probably, always do greater damage than without EDP.
  7. It's halved in this piece: case GC_CROSSIMPACT: ATK_RATE(50); Its damage is still increased by EDP, but it's halved after increased.
  8. What exactly is not working? It increases wAtk and eAtk(actually it's increasing bAtk in source, maybe it's right) in Renewal the way it should. But this code you posted is not the currently in source, it's the one I posted that I think is near to official. If you implement this code you posted in your file "battle.c" replacing the actual piece, it should work from my tests. http://rathena.org/board/tracker/issue-6066-edp-should-no-longer-increase-final-damage/
  9. Into conf/mapflarg/novending add: payon mapflag novending So put some lines like this one in a npc file: setcell "payon",0,0,0,300,novending,0; // in this case, every cells from 0,0 up to 0, 300 will be able to use vending, in a vertical line x is horizontal y is vertical x1 where should start x2 where should end the same with y1 and y2 1,1,2,2 || || 1,1,1,5 | | | | | You just have to go up to the place you want to start and finish and use /where to check x and y.
  10. It's just same idea from the author's topic above your post, you say you don't get the point but you just said the same thing as his second solution, which is to include it all in one file to make it easy to change, but it's the same as the first suggestion too, just without txt file part.
  11. Is this idea good? Yes Is this idea useful? Yes Will this idea cause more problems than solutions? A little problem to developers, almost no problem to old users, but it'll be good in future. No problem to new users, and it'll help. Am I the only person that benefits from this? No Will other people not understand what I am posting? Yes, but it's easy to understand.(Usually, if not always someone won't understand, I think this question will always be yes, at least for the next centuries).
  12. Just change bat_a01 to be a gvg map in conf/mapflag/gvg.txt. Add line: bat_a01<TAB>mapflag<SPACE>gvg So any adjustment you make in the file from the first post will reflect in this map.
  13. An optimized code from the Euphy's code piece, to a normal server which a lot maps, much more than guild maps are accessed, would be: OnPCLoadMapEvent: if (!agitcheck() && !agitcheck2()) end; // Enable these lines if there are other "loadevent" maps { setarray [email protected]$[0],"aldeg_cas02","payg_cas05","castleEtc."; set [email protected],getarraysize([email protected]$); // We make a variable so the function doesn't need to calculate array size all the time as it won't increase for (set [email protected],0; [email protected]<[email protected]; set [email protected],[email protected]+1) if (strcharinfo(3)[email protected]$[[email protected]])//make strcharinfo a variable if in wanting of an optimal perfomance if (Upper == 8) warp "SavePoint",0,0; } end; // Not sure if this end is needed. or a better one that I adapted, this is better at all: OnPCLoadMapEvent: if (!agitcheck() && !agitcheck2()) end; // Enable these lines if there are other "loadevent" maps { if (getcastlename(strcharinfo(3))!="") if (Upper == 8) warp "SavePoint",0,0; } end; // Not sure if this end is needed. but I still didn't test them, if the strcharinfo(3) is just a /where(without coord.) so it should fit.
  14. I don't think it is just "if you don't like it, change it your way". Since we're following kRO official, no more has to be said, it's official, right? Maybe it's a bug as it was said or maybe it's not, I think it needs more info as it makes things easier to players if it's not a bug it must be in rA.
  15. Maybe there's some way in SVN, but as I never tried it before, I don't know. You can just use the tracker to check as there's all the log from all revisions. http://sourceforge.n...ac/rathena/log/ Just, click on Chgset link that you want to see, but you'll need to look one by one since yours version till the desired one.
  16. Obviously as you'll update, it wont change those files that you changed previously, so you need to check them manually if they're in the update, to make a consistency with the news. Take care with reverting svn as it may delete your files even if you changed them and always backup.
  17. About the first, it could be 0 0 as x & y, so this function would be random. About second, you can use rand function to get it, but it's a useful suggestion.
  18. Também é necessário comentar: #define RENEWAL_EXP Está no mesmo arquivo, para comentar basta colocar duas barras antes: Ex: //#define RENEWAL_EXP É só encontrar essas palavras e comentá-las. ;D Depois disso, recompile.
  19. Si es diferente de kRO, abra un "report" a "bug tracker", porque la rA se basa en kRO.
  20. IMO, simplest way is changing the drop rate directly into database(maybe it'd be easiest coding it to the source, but it could generate maintenance and you have to know programming in c or have someone for doing it to you). You'll change value of drops from those cards you want looking in the fields: DropCardid DropCardper These fields are in mob_db table. Change in the config files the chance back to default, that would make cards as 0.01% drop chance, so in the database, change all the cards "DropCardper" except those you want a low value to the rate you want, if you want 100% so the value will be 10000, then you change the values of cards you want to 1%(100 is 1%).
  21. Praticamente sempre há um jeito, mesmo que bloqueiem a conexão direta via banco de dados, tudo que você precisa fazer é requisitar uma página do Host A que pegue os dados do banco e enviem para B, é uma forma simples e muito utilizada por vários sites. http://pt.wikipedia.org/wiki/API Apesar de não ser o meio mais otimizado, vai te ajudar caso tenha problemas de conexão direta. Mas, tente da forma de conexão direta por questão de desempenho mesmo.
  22. MarkZD

    Devotion skill

    Apparently Genuine is using an old version of eA, so it's not fixed in her/his server. Just to be noticed, the correct should be the champion to take the damage, as reflected damage does not pass through devotion. http://rathena.org/board/tracker/issue-3189-reflect-damage-on-devotion/ http://sourceforge.net/apps/trac/rathena/changeset/14400
  23. MarkZD

    Flux CP Error

    chmod 777 -R /usr/html/home Hope it ends your forbidden problem if it doesn't so your server must have some special condition for security purpose as I already saw that only work with safe permissions, but 644 should be a safe one. Or Look the permission of your /usr/html path ls -l /usr/ or via a ftp file. and put the same in /usr/html/home path, if you don't know how to, check it copy the ls -l response here so when I arrives I'll take a look.
  24. MarkZD

    Flux CP Error

    Try reverting as you did before, what permissions it was? Did you try what the error message and ngk202 said? chmod 0600 /usr/html/home/data/logs If you don't know reverting again, deleting the entire flux directory and placing it again should do, I'm going to university now, keep trying.
  25. MarkZD

    Flux CP Error

    Try first: chmod 644 -R /usr/html/home if 644 doesn't work, try 744, 764, 774. If it doesn't work look in: /etc/group and look for some group that looks like www or php something, www somethig is usually the one. So use the command: chgrp GroupName -R /usr/html/home
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.