-
Posts
587 -
Joined
-
Days Won
44
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Secrets
-
Gotta be honest here. The learning curve of any Athena based emulator is high due to lack of source documentation and its codebase is basically spaghetti code. (at least for most part in battle.c, which requires some dark magic and witchcraft to add/edit a feature and expect things not to break. ) So a newbie editing rA code and breaking things is normal. For your question, if you mean scripter by NPC scripter then read docs/script_commands.txt and other files is a good start. (see my signature) Is knowing source editing a must for a scripter? No, but you should, in case you need something your emulator doesn't provide. For me, I don't even know C when I started scripting on eAthena.
-
- script hourlygift -1,{ OnPCLoginEvent: addtimer 3600000, strnpcinfo(3)+"::OnEvent"; end; OnEvent: set .Hour,1; if( #dailytimer < gettimetick(2) ) { mes "You have Gained a Hourly Gift."; set #dailytimer,gettimetick(2) + ( .Hour * 3600 ); getitem 6101,1; //set the price here }else{ set [email protected],#dailytimer - gettimetick(2); set [email protected], [email protected] % ( 24 * 3600 ) / 3600; set [email protected], [email protected] % ( 24 * 3600 ) % 3600 / 60; set [email protected], [email protected] % ( 24 * 3600 ) % 3600 % 60; mes "You have to wait to get your next Hourly Gift."; mes "Time CountDown : ^FF0000"[email protected]+":"[email protected]+":"[email protected]+"^000000"; } close; }
-
Currently, rAthena has no server-side support for Doram. That "Character Creation Denied" error is working as intended.
-
It won't. Unless it's some custom made tool for RO with packet obfuscation support.
-
if(getd("@array_of_variables$["+([email protected])+"]") != 1) You are comparing a string variable to an integer. I think the fix below should work. if(atoi(getd("@array_of_variables$["+([email protected])+"]")) != 1)
-
7227,TCG_Card,TCG Card,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ changebase roclass((eaclass()&EAJ_UPPERMASK)|EAJL_BABY); },{},{}
-
{ [email protected]=eaclass(); if(([email protected]&EAJL_UPPER)){ [email protected] = 100; } if(roclass([email protected]&EAJL_UPPER) == 0){ [email protected] = 150; } bonus bMaxHPRate,[email protected]; }
-
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 [email protected], rand(1,10); // Use scope variable instead when dealing with "use once and forget" variable like this. [secretdataz] switch ([email protected]) { 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.
-
where can i download late Version of Rathena SVN
Secrets replied to Kariton Revolution's question in Source Requests
This link points to the latest commit of rAthena source code. You have to compile it yourself. -
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.
-
Expect more item_db related fixes this month. //looks at nana
-
I prefer 2015 because I like new stuff Use Visual Studio not Visual Basic Express.
-
Spawn a warp portal npc when kill the boss
Secrets replied to angelwarrior's question in Script Requests
^ like Panda said. Replace npc map and position with a dash (-). Good luck with scripting. It's a fun adventure. -
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
-
Spawn a warp portal npc when kill the boss
Secrets replied to angelwarrior's question in Script Requests
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. -
Job Sprite: Third Job Costumes & New Classes: Corrected
Secrets replied to Haziel's topic in Sprites & Pallette Downloads
Nice work! -
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.
-
I don't have any problem using 2015-10-29aRagexe. Are you sure you have configured your server correctly?
-
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.
-
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.
-
I think you can use unitwalk script command. For more information please see https://github.com/rathena/rathena/blob/master/doc/script_commands.txt.
-
Item restriction. everyone can wear it except champion.
Secrets replied to Potato Chips's question in Database Requests
Set applicable job field to 0xFFFF7FFF. -
Client errors possibly due to default packet_db?
Secrets replied to Peopleperson49's question in Client-side Support
packet_db_ver: default -> 45 packet_keys_use: default -> 45 -
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.