Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/10/19 in all areas

  1. GRF Editor: Encryption The Movie Hello again, rAthena, I'm Haziel. I'm a Pixel Artist and also a Scripter. (Also, you can check my work here and here, and if you ever need any Sprite/Script Service, check here! You can also add me on skype (it's on my signature)) Most of the people who know me or hired me for any kind of service know that I don't charge more than it's fair. What upsets me is the people who use my work without authorization, most of the cases, paid material that took hours, days or, sometimes, weeks to be concluded. So, hoping to protect my work, and the custom content of your servers' owners, I've decided to write a guide explaning in detail how to use @Tokei's awesome tool. 1. List of Materials • GRF Editor, if you're not familiar with this software, it is the best GRF Management Tool ever coded. • The files you want to protect, the encryption is made by file so, there's no need to encrypt the whole GRF. • Your Hexed must be 2012-04-10 or above, it won't work on 2010 Clients. • Decide your Hexed filename, it's essential for the encryption to work. 2. Generating Encryption Key GRF Editor uses a Key Encryption Method, what means that your protection is based on a password. Choose a password you'll remember or note it somewhere, you won't be able to decrypt your files without it and always save a Backup of the files you'll encrypt. Password chosen, you'll need to generate the DLL, the one that will allow your Client to read encrypted files. Open the GRF Editor and navigates on the top menu to Tools > GRF Encryption, you'll see the window below. First, Input your Key on the Encryption Password field. Next, select your Client on the Client Path field, it is needed for the DLL to be coded to its filename or be modified if needed. IMPORTANT: The Client being asked here is for the Hexed, IT IS NOT the Patcher, Launcher or Loader. The name of the DLL can also be changed, it will output a modified Hexed of ready to read it. With everything set, click in Generate File(s), and it will pop up a folder where your DLL has been generated, add/replace the one in your Client folder. 3. Encrypting Files Files can now be encrypted. Open your GRF, GPF or THOR, select the files you want to protect. Right-click it and select EncryptIon > Encrypt. Enter the Password you previously defined, confirm and the file will be highlighted in Orange. The colour might not show up when you're working on a THOR file or opens a GRF/THOR previously encrypted, that's normal behavior. Once the GRF or THOR is saved, you won't be able to read the file. Normally an error will pop, but you can test it ingame, if you've done it correctly, it will be displayed properly. As far as I've tested, the Encrypted Files works in the DATA folder if extracted. If you want to Encrypt or Decrypt a whole GRF, you can select Tools > GRF Encryption with the GRF open by the software and choose the options Encrypt GRF or Decrypt GRF. You will be asked for the Key, and then It'll run the process through the entire GRF and export it to a new folder. The same process can be made with THOR files, even if it displays any reading error, patched Encrypted files will work. I hope that's clear enough and that it may help you. Post any question you may have in the comments below and I'll try to help. My best regards, Haziel
    1 point
  2. The topic has been removed because of rAthena staff double standards and hypocrisy things. (rA staff blame me that I made a money on this topic while it's not and never was) All that I did for the last 2.5 years with around ~1k answers from my side is help for free for newbies here, but to rA staff, my topic is a pain in the ass. Sorry guys, but the topic can't be maintained on such a community anymore because of its admins. Bye
    1 point
  3. The script i gave doesn't have interaction with the menu. so you might added it incorrectly. here's i added it for you. A video proof its working [HERE]. NOTE: It's really frustrating when copying code from QUOTE because it will give errors and change tabs into space. so please make sure that you post it on code. pvpladder.txt
    1 point
  4. Temporary Global Variable.. enable: + set $@PVPEVENT,1; enablenpc "PvP Ladder"; //waitingroom "PVP Ranking & Shop",0; end; disable: + set $@PVPEVENT,0; disablenpc "PvP Ladder"; end; then add this after OnPCKillEvent: OnPCKillEvent: + if(!$@PVPEVENT) end; this will stop all the announce and records when killing.
    1 point
  5. you can just add script on your item. item_db.txt 13414,Elemental_Sword,Elemental Sword,5,20,,1200,105:95,,1,3,0x000654E2,18,2,2,3,70,1,2,{ if(isequippedcnt(13414)==1){ bonus bStr,2; bonus bInt,4; bonus bDex,1; bonus2 bAddEle,Ele_Neutral,10; bonus3 bAutoSpell,"MG_COLDBOLT",3,50; bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",3,1000;} },{},{} item_comb_db.txt 13414:13414,{ bonus bStr,2; bonus bInt,4; bonus bDex,1; bonus2 bAddEle,Ele_Neutral,10; bonus3 bAutoSpell,"MG_COLDBOLT",3,50; bonus4 bAutoSpellOnSkill,"MG_COLDBOLT","MG_FIREBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_FIREBOLT","MG_LIGHTNINGBOLT",3,1000; bonus4 bAutoSpellOnSkill,"MG_LIGHTNINGBOLT","WZ_EARTHSPIKE",3,1000;} Up Vote and Answer if it helps. ?
    1 point
  6. You can do that however it's best solution to use the config folder in src. under src/config/renewal.hpp comment the #define RENEWAL_STAT /// Renewal stat calculations /// (disable by commenting the line) /// /// Leave this line to enable renewal calculation for increasing status/parameter points //#define RENEWAL_STAT Up Vote and Answer if it helps.
    1 point
  7. -Please do use "Code TAG" or Attach the script file.. Add this at line 338: should look like this + query_sql("select name from pvpladder order by kills desc limit 10",$@rname$); + for(.z=0;.@z<getarraysize($@rname$);.@z++){ + if($@rname$[.@z]!=$@initrname$[.@z]){ + announce ((Sex)? "Mr. ":"Ms. ")+strcharinfo(0)+" has achieved rank "+(.@z+1)+" in PvP Ladder after Killing "+rid2name(killedrid)+"!~",bc_all; + query_sql("select name from pvpladder order by kills desc limit 10", $@initrname$); + break; + } + } end; OnStreakReset: then Add this at OnInit: Line 34. OnInit: + query_sql("select name from pvpladder order by kills desc limit 10", $@initrname$); Up Vote and Answer if this helps. EDIT 1: You have 2 OnInit, so i added the Line number.
    1 point
  8. You are probably using outdated cursors.act and cursors.spr cursor.rar
    1 point
  9. vejam esse topico que eu criei faz algum tempo, nele tem alguns itens de ocp do IRO que chegam como cash no bro e o de baixo: https://github.com/rathena/rathena/pull/4161 aqui são os itens de RagCan do JRO.
    1 point
  10. Great job, congratulations ... certainly as soon as I have free time I will implement it on my server
    1 point
  11. Automatic speed change on map topic
    1 point
×
×
  • Create New...