Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. it checks the files hash , so if there is an edited dll , it should delete it and re-download it again
  2. View File Sader's File Verifier Sader's Files Verifier Version 2.0.2: Adding get_information.php with it you can generate the information.txt directly in your webhost use it carefully DO NOT ALLOW IT TO BE PUBLICLY ACCESSIBLE!!!!!!!! you can change the file name or put a password, or create a cron job for it change '$verify_dir' to the dir of your files. change the '$informationfile' to the name of your information file. the information file will be created in the same dir as the php file. Version 2.0.1: Adding Pre-Compiled Version so Visual Studio is not needed if you only want it to run without any customization . Version 2.0: Adding Design . Adding support for Multiple folder layer . Adding Pre-Compiled Version pre_compiled_generator.zip no need for visual studio , you just need to fill out the information and generate the file >> it will build Sader Files Verifier.exe and get_information.exe in the directory you run the program from this how it look an application that check the files you want to check and download if they are missing or corrupt this program in C# , Visual Studio 2019 , and need .Net 4.5 (you can lower the version if you put some work in to it) https://github.com/sader1992/sader_files_verifier Video on how to setup (slow it down if you can't follow my steps) [This video with the non design version 1.0 but it's the same thing] this file made for Ragnarok private servers community you should not add the data.grf and rdata.grf as files as the player better just re-download the full client again do not add your custom.grf as you will edit it every update , unless you are planing to generate new information file every update same thing for your .dat from Thor Patcher don't add it if you have custom.grf that you will never change with the updates , you can add it i would recommend that you better not add files that you update them a lot like iteminfo.lua , unless you are planning to update the information file and the files in the webhost every time you change it! DO NOT ADD THE PROGRAM IT SELF TO THE information FILE!!! this to do list i may or may not do it , however you are free to do it your self! TODO: Encrypt information.txt Compress uploaded files and decompress after download Submitter sader1992 Submitted 02/23/2019 Category Client Tools Video https://youtu.be/-tL8g4JS6PU Content Author sader1992  
  3. Version 2.0.2

    297 downloads

    Sader's Files Verifier Version 2.0.2: Adding get_information.php with it you can generate the information.txt directly in your webhost use it carefully DO NOT ALLOW IT TO BE PUBLICLY ACCESSIBLE!!!!!!!! you can change the file name or put a password, or create a cron job for it change '$verify_dir' to the dir of your files. change the '$informationfile' to the name of your information file. the information file will be created in the same dir as the php file. Version 2.0.1: Adding Pre-Compiled Version so Visual Studio is not needed if you only want it to run without any customization . Version 2.0: Adding Design . Adding support for Multiple folder layer . Adding Pre-Compiled Version pre_compiled_generator.zip no need for visual studio , you just need to fill out the information and generate the file >> it will build Sader Files Verifier.exe and get_information.exe in the directory you run the program from this how it look an application that check the files you want to check and download if they are missing or corrupt this program in C# , Visual Studio 2019 , and need .Net 4.5 (you can lower the version if you put some work in to it) https://github.com/sader1992/sader_files_verifier Video on how to setup (slow it down if you can't follow my steps) [This video with the non design version 1.0 but it's the same thing] this file made for Ragnarok private servers community you should not add the data.grf and rdata.grf as files as the player better just re-download the full client again do not add your custom.grf as you will edit it every update , unless you are planing to generate new information file every update same thing for your .dat from Thor Patcher don't add it if you have custom.grf that you will never change with the updates , you can add it i would recommend that you better not add files that you update them a lot like iteminfo.lua , unless you are planning to update the information file and the files in the webhost every time you change it! DO NOT ADD THE PROGRAM IT SELF TO THE information FILE!!! this to do list i may or may not do it , however you are free to do it your self! TODO: Encrypt information.txt Compress uploaded files and decompress after download
    Free
  4. for the labels , the rathena official labels controled by the src , you can not call it , it would be called automatically , however you can make your own label (see goto or callsub command scripts) for the Condition i think you are missing something >> see this example and figure it out mes ((1 != 0)?"true":"false");
  5. View File Customize your iteminfo with import V2 Version 2 Information: now support more then 2 iteminfo , you can check line 17 to add as much as you want! IInfo = {"System.import_iteminfo","System.kro_iteminfo5","System.kro_iteminfo4","System.kro_iteminfo3","System.kro_iteminfo2","System.kro_iteminfo1","System.kro_iteminfo"} now it's much much much faster for big files! remove functions.lua move url functions to the iteminfo itself 2 Big files loading test : this test is not loading in the client , but loading in the debugger! If you are new to this > Details: this an example and template on how you Customize your iteminfo read the ReadMe!! file before you ask anything this work as the import folders in rathena (if you don't know what i mean than i suggest you use rathena search or google) ALL THE FILES MUST BE .lua !!! the way it work: you add your custom and edited items in the import iteminfo file you add kro iteminfo file you add the server url in the function file the client will read the iteminfo import first than the kro iteminfo than you can update your kro iteminfo at anytime you need without any edit to it without the need to re-add your custom and edited items to a new kro iteminfo the kro_iteminfo included is from https://github.com/zackdreaver/ROenglishRE this file is added for example on how you use it i suggest you get the last iteminfo after you make sure there is no error! i would highly suggest you check out his great project every time you want to update your iteminfo! Please report any error in the forum post not in the PM , Thanks. Submitter sader1992 Submitted 02/21/2019 Category Client Resources Video Content Author sader1992 , zackdreaver  
  6. Version 2.0.0

    1629 downloads

    Version 2 Information: now support more then 2 iteminfo , you can check line 17 to add as much as you want! IInfo = {"System.import_iteminfo","System.kro_iteminfo5","System.kro_iteminfo4","System.kro_iteminfo3","System.kro_iteminfo2","System.kro_iteminfo1","System.kro_iteminfo"} now it's much much much faster for big files! remove functions.lua move url functions to the iteminfo itself 2 Big files loading test : this test is not loading in the client , but loading in the debugger! If you are new to this > Details: this an example and template on how you Customize your iteminfo read the ReadMe!! file before you ask anything this work as the import folders in rathena (if you don't know what i mean than i suggest you use rathena search or google) ALL THE FILES MUST BE .lua !!! the way it work: you add your custom and edited items in the import iteminfo file you add kro iteminfo file you add the server url in the function file the client will read the iteminfo import first than the kro iteminfo than you can update your kro iteminfo at anytime you need without any edit to it without the need to re-add your custom and edited items to a new kro iteminfo the kro_iteminfo included is from https://github.com/zackdreaver/ROenglishRE (which is old , I suggest you use the one from https://github.com/llchrisll/ROenglishRE) this file is added for example on how you use it I suggest you get the last iteminfo after you make sure there is no error! I would highly suggest you check out his great project every time you want to update your iteminfo! Please report any error in the forum post not in the PM , Thanks.
    Free
  7. View File Guild Storage & Guild Storage log npc you need at least 55acdb9863382d8935d9df25e1462d5d1ebd7d54 or above this npc let the players check the guild storage log to access the guild storage log the player must have guild storage permission Submitter sader1992 Submitted 02/15/2019 Category Utilities Video Content Author sader1992  
  8. Version 1.0.0

    533 downloads

    you need at least 55acdb9863382d8935d9df25e1462d5d1ebd7d54 or above this npc let the players check the guild storage log to access the guild storage log the player must have guild storage permission
    Free
  9. yes , I have encounter the same issue at the same line in one of the server (it was beta test) and after the gepard is on the problem just disappear it make sense to be 3rd party software however I couldn't find what was the issue I think the best thing to do is make the delitem command return the number of the deleted items as extra check for those who done have any protection on their servers or does the script auto stop on fail , I just woke up xD
  10. to make sure what the problem you have copy and rename an official music from the client , and play it with the new name in the command if it work (it will) than something wrong with the file you are trying to add if it didn't work, tell us here
  11. than put any langtype you want in the sclientinfo.xml
  12. View File TreeOfSavior Tombstone With Numbers MiniGame script header //===== rAthena Script ======================================= //= Tree Of Savior 'Tombstone With Numbers' //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //https://github.com/sader1992/sader_scripts //= Email [email protected] //===== Compatible With: ===================================== //= rAthena Project //============================================================ //= Variables Info: //= 'COOLDOWN_TOMBSTONE_WITH_NUMBERS' the cool-down timer //============================================================ //= Description: //= This NPC is in a lot of tree of savior maps //= with deferent attempt number and deferent rage //= the rewards normally buff/items //= the NPC cool-down on winning is 20min and on losing is none //= if you want more than 1 copy from this NPC you need to use deferent variable for each NPC , or else they will share the same cool-down. //============================================================ Submitter sader1992 Submitted 01/06/2019 Category Games, Events, Quests Video Content Author sader1992  
  13. Version 1.0.0

    413 downloads

    script header //===== rAthena Script ======================================= //= Tree Of Savior 'Tombstone With Numbers' //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //https://github.com/sader1992/sader_scripts //= Email [email protected] //===== Compatible With: ===================================== //= rAthena Project //============================================================ //= Variables Info: //= 'COOLDOWN_TOMBSTONE_WITH_NUMBERS' the cool-down timer //============================================================ //= Description: //= This NPC is in a lot of tree of savior maps //= with deferent attempt number and deferent rage //= the rewards normally buff/items //= the NPC cool-down on winning is 20min and on losing is none //= if you want more than 1 copy from this NPC you need to use deferent variable for each NPC , or else they will share the same cool-down. //============================================================
    Free
  14. in my opinion I think there is to much going on in "OnPCStatCalcEvent" this how I would do it - script item_party_buff -1,{ OnPCStatCalcEvent: if(getvar(@ITEMPARTYBUFF,getpartyleader(getcharid(1),2))){ bonus bAllstats, 1; } end; } 1201,Knife,Knife,5,50,,400,17,,1,3,0x3E9F7EEF,63,2,2,1,1,1,1,{},{ @ITEMPARTYBUFF = true; },{ @ITEMPARTYBUFF = false; } ofc it's not perfect , the party members won't get the bonus before they hit the event(this event happen a lot but it might be a problem for some to not get the bonus immediately) so if it's for my server , I won't do it and think of other ways , or maybe looking to the src to do it
  15. sorry for that , I will check it out when I have some free time
  16. at this point your only friend is Google and reading if you want to open new topic at the proper section , you are welcome to do that , however I think you got the best answer to your original question
  17. clean rathena map-server without any edit/scripts/and anything would take around 380m~500m RAM the more you add the more you need
  18. your reply does not add the information we asked for ? , atall the code you put is 8cells and the image is 4cells ? anyway I can sense your problem from the image add this line after OnInit: setbattleflag "min_npc_vendchat_distance", 0; also if you did read the error message you get in the chat and add it to the post from the start you would got faster answer
  19. View File mapusers count Functions IP/GePard You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!) SCRIPT HEADER (INFO) //===== rAthena Script ======================================= //= getgpmapunits command //= getipmapunits command //===== By: ================================================== //= Sader1992 //= Free!! // https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project // https://github.com/sader1992/sader_scripts //===== Description: ========================================= // getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!) // getipmapunits("map"); return the number of players with the same IP in the given map. //============================================================ //==== please report any error you find //============================================================ //============================================================ you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that ?!) Examples: scenario ? > you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map ? //============================================== //NPC EXAMPLE FOR IP FUNCTION //============================================== prontera,152,183,5 script Warper IP Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",152,183; } end; } //============================================== Same as above but per GePard ID not IP //============================================== //NPC EXAMPLE FOR GEPARD FUNCTION //============================================== prontera,155,183,5 script Warper GePard Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",155,183; } end; } //============================================== BONUS Test: pvp warper prontera,158,183,5 script PVP Warper IP Test 446,{ mes "would you like to teleport to the pvp map?"; if(select("yes:no") == 2) close; if(getipmapunits("pvp_n_1-1") > 0){ mes "there is another character with the same ip inside the map!"; mes "only 1 character per IP allowed in this map!"; }else{ warp "pvp_n_1-1",0,0; } end; } Submitter sader1992 Submitted 10/29/2018 Category Utilities Video Content Author sader1992  
  20. Version 1.0.0

    365 downloads

    You need at lest rAthena 10e7035bebdbc2ec25a392ee2cf14172ecf169e5 or above! (for old rAthena you should add the pr manually!) SCRIPT HEADER (INFO) //===== rAthena Script ======================================= //= getgpmapunits command //= getipmapunits command //===== By: ================================================== //= Sader1992 //= Free!! // https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project // https://github.com/sader1992/sader_scripts //===== Description: ========================================= // getgpmapunits("map"); return the number of players with the same GePard id in the given map. (You must have GePard to work!) // getipmapunits("map"); return the number of players with the same IP in the given map. //============================================================ //==== please report any error you find //============================================================ //============================================================ you should add the functions to your rAthena/npc/other/Global_Functions.txt to work (add it in that file where ever you like, no need for guide for that ?!) Examples: scenario ? > you want a Warper NPC (or maybe event NPC) that allow only one player per IP in the map ? //============================================== //NPC EXAMPLE FOR IP FUNCTION //============================================== prontera,152,183,5 script Warper IP Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",152,183; } end; } //============================================== Same as above but per GePard ID not IP //============================================== //NPC EXAMPLE FOR GEPARD FUNCTION //============================================== prontera,155,183,5 script Warper GePard Test 446,{ if(getipmapunits("prontera") > 0){ mes "you already have a char inside this map"; }else{ warp "prontera",155,183; } end; } //============================================== BONUS Test: pvp warper prontera,158,183,5 script PVP Warper IP Test 446,{ mes "would you like to teleport to the pvp map?"; if(select("yes:no") == 2) close; if(getipmapunits("pvp_n_1-1") > 0){ mes "there is another character with the same ip inside the map!"; mes "only 1 character per IP allowed in this map!"; }else{ warp "pvp_n_1-1",0,0; } end; }
    Free
  21. I think you didn't add it to your instance_db
  22. try to remove it from the main file or edit it there per = rathena/db/pre-re/item_trade.txt re = rathena/db/re/item_trade.txt
  23. this a herc script I am not sure if you use rathena or but if you use rathena you can use close3; to close any image on the screen
×
×
  • Create New...