Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. it's most likly https://github.com/rathena/rathena/blob/master/db/re/skill_nocast_db.txt but there is also a mapflag to prevent casting icewall , so check that too in your npc folders
  2. well , i can't really help fix that , if you followed everything correctly from the doc in the project to the files here , everything should work fine.
  3. than your problem is fixed , you can ignore the debug messages if it work fine or you can ask here : https://github.com/zaphoyd/websocketpp or search to fix those errors
  4. you should compile in your build folder , not outside
  5. you need to use cmake , or else the discord project won't compile , read the doc files in the discord project.
  6. if you mean you still have the errors put the full log of your compiling from the start to the error (use code box ofc)
  7. look like the project files itself not in your map folder , or not in the make file , make sure that the discord projects compiling
  8. map (1).cpp make clean && make
  9. i am sure that it not the case , the compiler stop at that error , so you don't see what after however , upload channel.cpp , if you get error after that , i will again tell you to track the changes and delete tham than re-apply
  10. if you want to add different item to each monster , than the fact that they are Demi human is somewhat useless , just edit the monsters drop in the database if the same item for all the Demi human monsters than use this bonus with OnPCStatCalcEvent bonus2 bDropAddRace,r,x; Adds x% to player's drop rate when killing a monster with race r.
  11. the script is not supported anymore , and it does not support random option , i suggest you create a script that does only what you need instead of using any type of "all in one" scripts however , this should make the random options work sader_s_enchant_V2.6_(with random option support).txt
  12. i suggest you apply the patch manually , track the changes , remove them , re-apply manually .
  13. for faster help , I suggest uploading your script.cpp file
  14. try BUILDIN_FUNC(getskillname) { int skill_id; //get input skill_id if (!script_hasdata(st, 2)) { script_pushconststr(st, "null"); return SCRIPT_CMD_SUCCESS; } skill_id = script_getnum(st, 2); if (!skill_get_index(skill_id)) { ShowError("script:conv_str: Unknown skill_id supplied.\"\n"); script_pushconststr(st, "null"); return SCRIPT_CMD_SUCCESS; } script_pushstr(st, skill_db.find(skill_id)->desc); return SCRIPT_CMD_SUCCESS; }
  15. try this prontera,0,0,0 script tttest 444,{ if(getarraysize($FIRSTREWARDNPC_IPs$) < 20){ if(inarray($FIRSTREWARDNPC_IPs$,getcharip()) !=-1 && !#FIRSTREWARDNPC){ $FIRSTREWARDNPC_IPs$[getarraysize($FIRSTREWARDNPC_IPs$)] = getcharip(); #FIRSTREWARDNPC = true; getitem 502,1; mes "you got a reward!"; close2; callsub OnInit; end; }else{ mes "you already got the reward"; close; } } end; OnInit: if(getarraysize($FIRSTREWARDNPC_IPs$) => 20){ hideonnpc strnpcinfo(3); } end; }
  16. I would guess your issue from "Force use icons only from stateiconimginfo.lub" in nemo , I suggest to not select the patches that you don't know what would do.
  17. I don't support this script anymore , it still work with rathena to this date (but it does not have random option support), if you want to use it and have a problem in it , you have to fix it your self. however I don't suggest using any kind of "all in one" scripts , you can just create a small and much better script that work specifically as you wish instead of using some kind of "all in one".
  18. remove the enchantment is not intended to give it back to the player, it just remove it from the item , this is not a problem in the script.
  19. I suggest then creating categories instead of one shop - script impossible_shop_command -1,{ OnCommand: .@s = select("shop0:shop1:shop2:shop3:shop4:shop5:shop6"); callshop "impossible_shop_" + .@s,1; end; OnInit: bindatcmd("brindes",strnpcinfo(3)+"::OnCommand",0,99); end; } - pointshop impossible_shop_0 -1,impossible_shop_points,502:100,503:20; //put the items here; - pointshop impossible_shop_1 -1,impossible_shop_points,502:100,503:20; - pointshop impossible_shop_2 -1,impossible_shop_points,502:100,503:20; - pointshop impossible_shop_3 -1,impossible_shop_points,502:100,503:20; - pointshop impossible_shop_4 -1,impossible_shop_points,502:100,503:20; - pointshop impossible_shop_5 -1,impossible_shop_points,502:100,503:20; - pointshop impossible_shop_6 -1,impossible_shop_points,502:100,503:20;
  20. like this ? - script impossible_shop_command -1,{ OnCommand: callshop "impossible_shop",1; end; OnInit: bindatcmd("brindes",strnpcinfo(3)+"::OnCommand",0,99); end; } - pointshop impossible_shop -1,impossible_shop_points,502:100,503:20; //put the items here?
  21. You use SQL or txt database for your cash shop ? or you mean you want to put the items you want , not necessarily the cash shop ?
  22. what you mean by "demonstrating them" ?
  23. check what your drop rates are , and edit it to your needs https://github.com/rathena/rathena/blob/97372ff42352cdfbe7bbe6031ab5008e4ec419c4/conf/battle/drops.conf#L68 I don't see where is the issue , if you want it less , lower the drop rate.
×
×
  • Create New...