Jump to content

shadowscreen

Members
  • Posts

    76
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by shadowscreen

  1. pc_status_def_rate: 75 -> 150 vit for stun immune, 150int for silence immune etc. pc_max_status_def: 90 -> you cant get over 90% stun immune with vit (with cards you still can get 100%)
  2. Hi there, if other classes than rogue / stalker get plagiarism due to an item, they cant copy skills.....any idea how to fix that? Thanks in advance ^^/) got it skill.c // Check if the skill is copyable by class if (!pc_has_permission(sd,PC_PERM_ALL_SKILL)) { uint16 job_allowed = skill_db[idx].copyable.joballowed; while (1) { if (job_allowed&0x01 && sd->status.class_ == JOB_ROGUE) break; if (job_allowed&0x02 && sd->status.class_ == JOB_STALKER) break; if (job_allowed&0x04 && sd->status.class_ == JOB_SHADOW_CHASER) break; if (job_allowed&0x08 && sd->status.class_ == JOB_SHADOW_CHASER_T) break; if (job_allowed&0x10 && sd->status.class_ == JOB_BABY_ROGUE) break; if (job_allowed&0x20 && sd->status.class_ == JOB_BABY_CHASER) break; return 0; } } remove this
  3. little up :3
  4. Hey guys, sorry that I have to bother you but somehow im completely silly right now. Is it possible to pass an array as the result of a menu / selection? example (current) setarray .@neutralRes[1], 101,102,103; set .@menu,select("Neutral:Fire:Water:Wind:Earth:Shadow:Holy:Ghost"); switch (.@menu) { case 1: set .@bonus, callfunc("getBonusLevel", .@neutralRes); break; example (should look like this) setarray .@neutralRes[1], 101,102,103; set .@menu,select("Neutral",.@neutralRes,"Fire",.@fireRes,...etc); set .@bonus, callfunc("getBonusLevel", .@menu); // or even better set .@bonus, callfunc("getBonusLevel", select("Neutral",.@neutralRes,"Fire",.@fireRes,...etc)); Hope I could clarify my desire, thanks in advance!!!!
  5. did you recompile after changing the line? Im not deep enough into damage calculation, so I don't even have an idea for your 2nd question sorry
  6. I think youre looking for IM NOT SURE ABOUT THIS, PLEASE BACKUP THE FILE BEFORE TRYING battle.c 1078 if (sd->equip_index[type] >= 0 && sd->inventory_data[sd->equip_index[type]]) 1079 atkmin = atkmin*(80 + sd->inventory_data[sd->equip_index[type]]->wlv*20)/100; to 1078 if (sd->equip_index[type] >= 0 && sd->inventory_data[sd->equip_index[type]]) 1079 atkmin = atkmin*(80 + (sd->inventory_data[sd->equip_index[type]]->wlv*20)*6)/100;
  7. @kenedos If you're still active, props to you! Your script gave me a nice hint for my system My up is yours
  8. since plagiarism is a passive skill, it not possible to activate it by chance..(as far as i know, maybe a more experienced scripter knows more ? ) But you could give the user plagiarism lv5 and make preserve autocast by chance.... skill "RG_PLAGIARISM",5; bonus3 bAutoSpell,"ST_PRESERVE",1,10; the 10 behind preserve is the activation chance, just modify it.
  9. Because itemskill makes character cast this skill (MC_IDENTIFY) Still i can't imagine why this is a big deal, I would simply let it as it is~
  10. 1. bonus bStr, 5; bonus2 bSubEle,Ele_Fire,10; bonus2 bSubEle,Ele_Water,-5; 2. bonus bAgi,5; bonus2 bSubEle,Ele_Wind,10; bonus2 bSubEle,Ele_Earth,-5; 3. bonus bInt,5; bonus2 bSubEle,Ele_Water,10; bonus2 bSubEle,Ele_Poison,-5; 4. bonus bDex,5; bonus2 bSubEle,Ele_Poison,10; bonus2 bSubEle,Ele_Fire,-5; 5. bonus bVit,5; bonus2 bSubEle,Ele_Earth,10; bonus2 bSubEle,Ele_Wind,-5; little hint, just copy and modify the effects from other items if you search at ratemyserver, the effect scripts are displayed
  11. Anyways, why is it a problem if it takes 10sp? ._. thats nothing
  12. you can edit the source of the skill....or simply a chronjob with 'DELETE FROM atcommandlog WHERE command = "@identify";'
  13. ingame, like /effect its just changes some configs for the user himself ^^'
  14. or /set2 /set1 for the proper config at all
  15. it seems like you're using SQL, the error shows that there is no "item_db" in your "rathena" database possible solutions: 1. change the database name in the script conf to your database (if your database is not named "rathena") 2. import the item_db.sql properly to your database I guess you won't need to open multiple threads in the future in order for your requests to be answered
  16. it seems like you're using SQL, the error shows that there is no "item_db" in your "rathena" database possible solutions: 1. change the database name in the script conf to your database (if your database is not named "rathena") 2. import the item_db.sql properly to your database I guess you won't need to open multiple threads in the future in order for your requests to be answered
  17. did you check if the group id is set properly in the database (login table)?
  18. I can't help you with the reinstall problem then, sorry :/ But for the edit / configuration you can have a look at the file "flux/config/application.php"
  19. +1 if you want to rely on your current script, I think you can also change this line select account_id from `char` where online = 1 to select account_id from `char` where online = 1 OR online = 0
  20. Someone who had the same issue (@Snippet) just told me that he was able to fix it with the help of a revision update, did you already try that? congratulations, then
  21. meh, seems good to me... But I guess someone else can help you, I already heard of this problem before...tho don't know a solution
  22. look in your database please, maybe the item types of armors and weapons are mixed up
  23. shadowscreen

    SQL

    export you database and reimport it on the new host (either via phpmyadmin or.... export mysql -u user -p databaseName > /directory/filename.sql import mysql -u user -p databaseName < /directory/filename.sql
  24. yes in the putty shell (not sure if you have to be logged in as root). Your problem can occur if your server has a different timezone than the system on wich you changed the file. (Hope my explanation is true @Jarek?)
×
×
  • Create New...