Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. i know that this script not optimized cuz i don't have the time to , but it is working without a problem as far as i know can you post yours after you added your items ? and explaining the first question more
  2. comment this line [210] delitem .@item,1; in s_brack: specialeffect2 155; mes "I am sorry"; mes "We did Fail"; specialeffect2 EF_PHARMACY_FAIL; if (rand(100) < .brack_chance){ set .@item, getequipid(.s_all_loc[s_all_selected]); delitem .@item,1; mes "and it broke!!"; specialeffect EF_SUI_EXPLOSION; } close; end;
  3. this not from that npc you need to check what the issue is for your request //read carefully after this if(.s_vinding){ if(checkvending() & .s_vinding){ message strcharinfo(0),"[Hourly Rewards]: No Hourly Rewards for Venders , Relogin to change that ."; if(.s_GePard_ip){ query_logsql("delete from `sader_variables_log` where `variable` = '#Hourly_Rewads_Check' AND `account_id`= '"+getcharid(3)+"'"); } #Hourly_Rewads_Check = 0; #Hourly_Ban = 1; addtimer .s_time, strnpcinfo(3)+"::OnHourlyRewards"; end; } } and before this #Hourly_Rewads_Check += 1; if(.s_GePard_ip == 1){ add this if (checkchatting()){ addtimer 1800000, strnpcinfo(3)+"::OnChatOpen"; } and above or under this OnUnHourlyBan: #Hourly_Ban = 0; end; add this OnChatOpen: message strcharinfo(0),"[Hourly Rewards]: No Hourly Rewards for Chat Rooms that more then 30min opend , Relogin to change that ."; if(.s_GePard_ip){ query_logsql("delete from `sader_variables_log` where `variable` = '#Hourly_Rewads_Check' AND `account_id`= '"+getcharid(3)+"'"); } #Hourly_Rewads_Check = 0; #Hourly_Ban = 1; end;
  4. check your map cash and your game files the map error is not from the client if there is already other maps working
  5. it look for me that the starting map for the humans not working probably in your files you need to recheck that
  6. i already see your clif_packetdb not right i would suggest updating it this may fix the errors you can copy it from here https://github.com/rathena/rathena/blob/4d602135fcf0de0d2a1a340e4730d5f4283e9228/src/map/clif_packetdb.h#L2337 or edit your file don't forget to make a backup for it if there something you need in the old file
  7. if you did get a new rathena the packets are already added in it so you don't really need to edit/add anything else then the #define PACKETVER 20170517 and visual studio wont show any error how old your rathena is ?
  8. YOU MUST NOT edit #ifndef PACKETVAR_RE code
  9. the shop is point shop that use the variable so even if it look like zeny in your server you would need hourly points to buy from it (unless you src edit your server) for me in the screen shot i am using client 2017 however i did test it on the client 2015 and it show the variable but i didn't test it on older clients for showing the amount for the players you can make a simple command script to tell the players how many pointss they have ( i will add it in the next update if i make an update for it) like that add this under OnInit: bindatcmd("MyHourlyPoints",strnpcinfo(3)+"::OnMyHourlyPoints",0,99); bindatcmd("MHP",strnpcinfo(3)+"::OnMyHourlyPoints",0,99); and after some end; (THAT THE LINE START WITH IT WITHOUT <TAB> BEFORE IT) add OnMyHourlyPoints: message strcharinfo(0),"[Hourly Rewards]: You have " + #HourlyRewards + " Hourly Points ."; end; by that by using the command @myhourlypoints or @mhp you will be message say to you how much you have Hourly Points
  10. rAthena/src/common/mmo.h /** Max number of characters per account. Note that changing this setting alone is not enough if the client is not hexed to support more characters as well. * Max value tested was 265 */ #define MAX_CHARS 9
  11. you have to give more info what the error what doesn't work ? where did you download the script ? did you edit the script after downloading it ? if yes what did you edit ? how the script should work or how you want it to work if the error is that when you unlock the warper in a map it give you another option and you warp to it and another option etc i can sure you that the error is only a number in 2k long non optimized script almost no one would search for the error without more info
  12. did you try to change resolution/graphic options in the app setting ?
  13. this would happen also in windows 7 sp1 there is some libraries missing but i don't know which one this started with the new UI released
  14. what the error you get ?
  15. well i didn't really notice that , and that's true i did look up for similar script and i found this item Foxtail [0] [Lower Head] Item ID# 18536 (Foxtail) MATK +10. Reduces fixed cast time by 0.1 seconds. { bonus bMatk,10; bonus bFixedCast,-100; },{},{}
  16. query_sql("`SELECT `name` FROM `guild` WHERE `guild_id` = '"+.@glist[@ei]+"'",.@gn$); to query_sql("SELECT `name` FROM `guild` WHERE `guild_id` = '"+.@glist[@ei]+"'",.@gn$);
  17. the ID 4000 already taken JT_2004_JOB_BEGIN = 4000 see jobidentity.lub/lua file
  18. @reloadnpc is already a command in rathena https://github.com/rathena/rathena/blob/7dc6f7577c972e0544b6ef30a598cdd419832283/doc/atcommands.txt#L1450 --------------------------------------- @reloadnpcfile <path> Unloads and loads an NPC. Same as @unloadnpcfile and @loadnpc but ran as one command. Example: @reloadnpcfile npc/custom/jobmaster.txt --------------------------------------- https://github.com/rathena/rathena/blob/7dc6f7577c972e0544b6ef30a598cdd419832283/conf/atcommand_athena.conf#L65 reloadnpcfile: ["reloadnpc"]
  19. 1 autotrading would be same as @HourlyBan you can change that by commenting the line 65 #Hourly_Ban = 1; please see the configuration for 2 and 3
×
×
  • Create New...