Jump to content

Secrets

Developer
  • Posts

    587
  • Joined

  • Days Won

    44

Everything posted by Secrets

  1. It won't. Unless it's some custom made tool for RO with packet obfuscation support.
  2. if(getd("@array_of_variables$["+(.@i)+"]") != 1) You are comparing a string variable to an integer. I think the fix below should work. if(atoi(getd("@array_of_variables$["+(.@i)+"]")) != 1)
  3. 7227,TCG_Card,TCG Card,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ changebase roclass((eaclass()&EAJ_UPPERMASK)|EAJL_BABY); },{},{}
  4. { .@eaj=eaclass(); if((.@eaj&EAJL_UPPER)){ .@mhp = 100; } if(roclass(.@eaj&EAJL_UPPER) == 0){ .@mhp = 150; } bonus bMaxHPRate,.@mhp; }
  5. Fixed that for you. BTW, indent your code properly. You won't need those unnecessary blank lines if you indent your code properly. - script cofresdeltesoro -1,0,5{ end; OnNPCKillEvent: if (killedrid == 1732) { set .@var, rand(1,10); // Use scope variable instead when dealing with "use once and forget" variable like this. [secretdataz] switch (.@var) { case 1: getitem 909,1; break; case 2: getitem 7126,1; break; case 3: getitem 7300,1; break; case 4: getitem 909,1; break; case 5: getitem 2610,1; break; case 6: getitem 728,1; break; case 7: getitem 909,1; break; case 8: getitem 909,1; break; case 9: getitem 7126,1; break; case 10: atcommand "@monster 1474"; break; } } // End if end; } Here's GitHub Gist link of this script in case rA forum mess up with the indents.
  6. This link points to the latest commit of rAthena source code. You have to compile it yourself.
  7. That's it. Visual Studio 2013 requires Windows 7 SP 1 or later. You should try Visual Studio 2010 or Visual C++ 2010 Express instead. Although I said that you should try 2010 version of VS or VC++, it is no longer supported by Microsoft and its download link on the official site is taken down (correct me if I'm wrong). Please be cautious with third-party links.
  8. PM me on Discord to get faster reply

  9. Expect more item_db related fixes this month. //looks at nana
  10. I prefer 2015 because I like new stuff Use Visual Studio not Visual Basic Express.
  11. ^ like Panda said. Replace npc map and position with a dash (-). Good luck with scripting. It's a fun adventure.
  12. Put old Prontera's map files into your GRF and update your mapcache. Although, you can just change the warps coordinate by a bit in npc/warps/cities/prontera.txt. It's a lot simpler
  13. Put an `end;` after the first line to prevent the player from executing the script by clicking on the NPC. By the way, your script has multiple flaws. When multiple Porings get killed in Prontera at the same time, the warp NPC's name from @addwarp won't be boss01 anymore because there can't be more than one "boss01" NPC. Adding a permanent warp NPC and play around with `enablenpc` and `disablenpc` is a better practice. I see the `LQuests` variable, so this is a quest NPC, right? If there's another NPC spawning a Poring for this quest. You better use an event label for mob instead of OnNPCKillEvent. Example below.
  14. You can use these commands to create/remove invisible walls and spawn barricades on them and kill the barricades later. *setwall "<map name>",<x>,<y>,<size>,<dir>,<shootable>,"<name>"; *delwall "<name>"; Creates an invisible wall, an array of "setcell" starting from x,y and doing a line of the given size in the given direction. The difference with setcell is this one update client part too to avoid the glitch problem. Directions are the same as NPC sprite facing directions: 0=north, 1=northwest, 2=west, etc. Then you can use areamobuseskill "<map name>",<x>,<y>,<range>,1905,"NPC_INVINCIBLE",1,0,0,0,0; This is not the best practice for making barricades invincible. But who cares? Players can't pass the wall if the MVP is alive and killing the barricades is going to take them long time that they will get killed by the MVP first.
  15. I don't have any problem using 2015-10-29aRagexe. Are you sure you have configured your server correctly?
  16. The Doram client (2015-10-01aRagexeRE or later) is supported by rAthena. The Summoner class (Doram race) itself is not supported by rAthena as of now.
  17. I prefer Linux, especially Debian and Ubuntu because, I like Linux systems' package manager. Just a few keystroke and you have a service running. Its stability. Linux systems are well known for their stability. Less setup complexity for single server and multiple servers. Security. Linux is based on UNIX which was designed from start to be a multi user OS. Also, Linux viruses are less common than Windows virus (difference is not that much tho). It's free. As in free beer and freedom and it's open source. Linux also has its cons as nothing in the world is perfect like high learning curve, etc. Finally, it all comes to your preference and your knowledge. Why use the so-called "Best" OS if you don't know how to configure it or utilize its advantage over other OS properly. But I'm not asking you to not learn about new OS if you want to, that's a good thing.
  18. I think you can use unitwalk script command. For more information please see https://github.com/rathena/rathena/blob/master/doc/script_commands.txt.
  19. packet_db_ver: default -> 45 packet_keys_use: default -> 45
  20. No, use at your own risk. This client use the same packet as 2015-10-01aRagexeRE so version 54 should be fine. Set your PACKETVER in mmo.h to 20151029. Yes, this client is for renewal. xdiff is a thing of the past. Use NEMO instead.
  21. Things to note Edit your PACKETVER in mmo.h Change packet_key_ver in packet_db.txt Set your servertype to primary in clientinfo.xml (Client side) since we are using Ragexe not RagexeRE 2015-10-29aRagexe.rar
  22. Secrets

    SQL ERROR

    Run this MySQL query. REPAIR TABLE char or REPAIR TABLE char USE_FRM If all above fails, try ask around in Hercules forum
×
×
  • Create New...