Leaderboard
Popular Content
Showing content with the highest reputation on 04/18/17 in Posts
-
Hello everyone, this is a continuation for my Server-side guide, however, this time, this is a client-side guide instead. No virus can be located at any link located in download spoiler section. So first, before we begin, I would like to tell you that I will not be accompanying you while making a client. Again, this guide is quite long and I expect you to read and absorb it properly. I would be very disappointed and will IGNORE if you have an error that is stated just below. Anyway, moderators, or etc. may change/edit it freely and any suggestions/reports/etc. are highly suggested or required. Again, I will have an example of my own, thus you do not need to follow it. If you find this helpful, see my signature (Not the PayPal, instead the reputation etc. and please don't make a bad thought about it, it's just for some reasons for the others to know that it is working.) Anyhow, this guide WILL WORK at any CLIENT and is not a one-sided client guide only. What to download: Old rev : New rev: I. Letting your Client listen to the server and to the client itself. How to run your server: FAQ: Now you're done. Again, if you have any questions regarding this, please kindly do so, or if you have any suggestions or request to change kindly do so. Again, I really recommend if you follow my server-guide which is stated above. Anyway, good luck on making your server. I hope you'll be able to help the Ragnarok Community. Long live Ragnarok! Best Regards, Freya Edited 22/08/2018: Slashed out one website ; Placed more details.3 points
-
The Best RO Template Map Ever Made This is the best RO template map in the world, and the only one that you will ever need to use, for every single map you will ever make. I made this template sometime in early to mid 2012 and have used it on every single map I've made since. You might be asking yourself why this is so much better than taking an existing RO map and using the 'Clear Map' function like a chump, so I'll run down a list of reasons why this template is better than every other template you might already be using. It's really big. This is a 200x200 map template. It's as big as the biggest field/town maps in RO. You won't always need to use all of that space, but why start mapping on a smaller map and run out of room when you can map on the biggest possible map size and just make your leftover space invisible tiles? It provides a 4x4 grid for placing textures. The vast majority of ground textures in RO are scaled to be placed down at 4x4 tiles (or 8x8 cells ingame) in size. The entire map is arranged in a convenient grid so that you can place textures down according to this size, and then deviate from the grid to make things look better without fear of breaking symmetry or getting things misaligned. The center is easily identifiable. A grass texture has been placed in the center of the map, and two small black squares have been placed at the map edges lining up with the center. If you want to create multiple field maps that connect to one another seemlessly, this makes it very easy to do that. You can make all sorts of measurements that will help you in planning your map and scaling things, as well. This combined with the grid makes it easy to plan/scale everything from the moment you start mapping. You can quickly replace the entire map with a ground texture. Scroll down through the textures on the map and select the second black texture, just below the dirt texture. It looks like this. Open the texture select window, and shift+click the texture you want to fill the map. It'll replace all the black squares on the map (except those 1x1 squares at the edges) with your ground texture of choice. This means you don't need to waste 5 minutes filling your forest map with grass textures like some sort of inefficient gorilla. You can customize it however you want. I have a few variations of this template map I keep for my own use, with model sets that I can duplicate easily. (Like trees or boats or houses made up of many smaller objects.) If you're making many maps that all have something similar in them, you can save another copy of this template with whatever you want loaded on there. You can download this map by clicking Here. Frequently Asked Questions Why are there a bunch of Prontera/Sograt textures on the list? I made this in 2012 and never bothered getting rid of them. Deal with it.2 points
-
2 points
-
Try this out. Let me know if it works. - script kdsfksdjhfksdj -1,{ OnInit: bindatcmd "buffall", strnpcinfo(0) +"::Onbuff",99,99; end; Onbuff: addrid 0,0; // ripped almost entirely from Annieruru's script which ripped a little bit from Winz script skilleffect 34,0; sc_start SC_BLESSING,600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,600000,10; end; } Regards, ~Azura Skyy2 points
-
execute chmod a+x configure to allow permission. for -bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory convert the athena-start first using dos2unix. type dos2unix athena-start2 points
-
try to clone latest rathena repo? coz i see it stated there nothing to be done. go back to home / user directory & execute this command git clone https://github.com/rathena/rathena.git ~/rAthena Noted: do not run emulator on root user..2 points
-
View File Yuchinin Common Library //===== rAthena Script ======================================= //= Yuchinin Common Library //===== By: ================================================== //= Yuchinin //===== Current Version: ===================================== //= 2.2 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= A common useful function I wrote to make my life easier. //= Most of my release script will need this to work //=====******** Note ********================================= //= This will be the core of my other script. //= Better let it load first before adding my other script. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Change function arrdel from using 'value' to 'index' //= 1.2 Fixed sql query bug //= 1.3 Added Url, npcmes //= 1.4 Added strcharinfo2 to avoid offline player return empty //= String //= 1.4a Fixed arrdel //= 1.4b Fixed arrfind //= 1.4c Add arrdel, arrfind notsensitive bool //= 1.5 Add answer_chk to check input value from define value //= 1.5a Optimize npcindistance //= 1.5b Try to fix npcindistance //= 1.6 Added marketshopcountitem, marketshopdelitem //= 1.7 Added itemcheck, varcheck //= 1.8 Added itemname //= 1.9 Revamped itemcheck and varcheck //= 1.9a Comment out the debugmes of function arradd //= 2.0 Added running Marquee //= 2.1 Added function itemtype to return item type in string //= 2.2 Added getcharid2 to counter getcharid which need attached //============================================================ Submitter yuchinin Submitted 04/18/2017 Category Utilities Content Author1 point
-
When done doing conversation and adding next menu the coversation should be like this as always example mes "text"; next; switch(select(("test","test")){ case 1: mes"test" close; case 2: mes"test" close; } to avoid error1 point
-
1 point
-
This is an example of my warp portal in prt_in. Take a look at the coordinates. prt_in,128,44,0 warp prtin128toprtin56 2,2,prt_in,56,57,0 prt_in,56,54,0 warp prtin56toprtin128 2,2,prt_in,128,41,0 Just take note that you shouldn't put the same coordinates where the warp portal is located to avoid warp loop.1 point
-
<from map name>,<fromX>,<fromY>,<facing>%TAB%warp%TAB%<warp name>%TAB%<spanx>,<spany>,<to map name>,<toX>,<toY> examples https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/warps/cities/alberta.txt1 point
-
- script Healer -1,{ .@Price = 500; // Zeny required for heal .@Buffs = 1; // Also buff players? (1: yes / 0: no) .@Delay = 5; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny."; if (Zeny < .@Price) end; if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; Zeny -= .@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; if (.@Buffs) { specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; //repairall if( getbrokenid(1) ) repairall; getinventorylist; while( .@i < @inventorylist_count ){ if ( !@inventorylist_identify[.@i] ){ delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } .@i++; } } if (.@Delay) @HD = gettimetick(2) + .@Delay; end; } // Duplicates //============================================================ alberta,25,240,6 duplicate(Healer) Healer#alb 909 aldebaran,135,118,6 duplicate(Healer) Healer#alde 909 amatsu,200,79,4 duplicate(Healer) Healer#ama 909 ayothaya,207,169,6 duplicate(Healer) Healer#ayo 909 comodo,184,158,6 duplicate(Healer) Healer#com 909 einbech,57,36,6 duplicate(Healer) Healer#einbe 909 einbroch,57,202,6 duplicate(Healer) Healer#einbr 909 geffen,115,72,6 duplicate(Healer) Healer#gef 909 gonryun,156,122,6 duplicate(Healer) Healer#gon 909 hugel,89,150,6 duplicate(Healer) Healer#hug 909 izlude,119,101,6 duplicate(Healer) Healer#izl 909 //Pre-RE: (125,118) jawaii,250,139,4 duplicate(Healer) Healer#jaw 909 lighthalzen,152,100,6 duplicate(Healer) Healer#lhz 909 louyang,226,103,4 duplicate(Healer) Healer#lou 909 manuk,272,144,6 duplicate(Healer) Healer#man 909 mid_camp,203,289,6 duplicate(Healer) Healer#mid 909 moc_ruins,72,164,4 duplicate(Healer) Healer#moc 909 morocc,160,110,6 duplicate(Healer) Healer#mor 909 moscovia,220,191,4 duplicate(Healer) Healer#mos 909 niflheim,212,182,5 duplicate(Healer) Healer#nif 909 payon,179,106,4 duplicate(Healer) Healer#pay 909 prontera,149,194,4 duplicate(Healer) Healer#prt 909 rachel,125,116,6 duplicate(Healer) Healer#rac 909 splendide,201,153,4 duplicate(Healer) Healer#spl 909 thor_camp,249,74,4 duplicate(Healer) Healer#thor 909 umbala,105,148,3 duplicate(Healer) Healer#umb 909 veins,217,121,4 duplicate(Healer) Healer#ve 909 xmas,143,136,4 duplicate(Healer) Healer#xmas 909 yuno,164,45,4 duplicate(Healer) Healer#yuno 909 // Duplicates (Renewal) //============================================================ brasilis,194,221,6 duplicate(Healer) Healer#bra 909 dewata,195,187,4 duplicate(Healer) Healer#dew 909 dicastes01,201,194,4 duplicate(Healer) Healer#dic 909 ecl_in01,45,60,4 duplicate(Healer) Healer#ecl 909 malangdo,132,114,6 duplicate(Healer) Healer#mal 909 malaya,227,204,6 duplicate(Healer) Healer#ma 909 mora,55,152,4 duplicate(Healer) Healer#mora 9091 point
-
1 point
-
i sense this is resource issue, you using 1gb ram? and what is the version of rathena you using? pretty sure this issue will be solved if you upgrade it to one gb ram and also check ram when stopped while loading npc's scripts at some point1 point
-
Check out this resource on github. Most things are on the wiki. Basically just add the script to rathena>npc>custom>MyRO (will have to create the MyRO folder) and then add that path to one of the script conf files i.e. rathena>npc>scripts_athena or rathena>conf>import>script_conf. Regards, ~Azura Skyy1 point
-
I think that's good now. You also need to replace this, just to avoid confusion on players. dispbottom "You received 5 "+getitemname( 7859 )+" by staying ingame for consecutive of 5 hours."; to dispbottom "You received 5 "+getitemname( 7859 )+" by staying ingame for consecutive of 12 hours."; Anyway do you also want vending players to get hourly rewards?1 point
-
I actually don't see any problem that will stop the after the 12 consecutive hours is executed. I checked the script and if(@consecutive_hour == 5) { should be if(@consecutive_hour == 12) { If you want the reward to be received after 12 hours. The script also stops the hourly reward when the player is vending. If you want to only stop the reward when the player logged out remove this code from the script. OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1) { dispbottom "The hourly badge rewards has stopped because you were vending . Please relog if you wish to start again."; stopnpctimer; end; } The only thing I see which causes the hourly reward to stop is the player might did vending after the consecutive hour is executed.1 point
-
The only problem you got now is being disconnected after running the map-server and it's now showing any errors? I once encountered this kind of error because of an item shop. I forgot to add the requirement and it causing the disconnection of map-server just like crashing it without showing any map error. Try to review some of custom shops.1 point
-
You can use @auraset2 to set the aura of the character without affecting the default aura. EDIT: also try this one 31089,C_Exploding_Crimson_Flame,Costume Exploding Crimson Flame,4,0,,0,,,,0,0xFFFFFFFF,63,2,2048,,1,0,0,{},{ while(isequipped(31089)){ specialeffect2 418; sleep2 3000; } },{}1 point
-
https://github.com/rathena/rathena/blob/master/doc/script_commands.txt This file is your best friend 1. warp "prt_fild04 ",0,0; 2. setarray .@maps$[0],"prt_fild01","prt_fild02","prt_fild03","prt_fild04"; warp .@maps$[rand(getarraysize(.@maps$))],0,0; 3. setarray .@mvps[0],1086,1150,1511,1251; monster "prt_fild04",0,0,"--ja--",.@mvps[rand(getarraysize(.@mvps))],1; sc_start SC_INCREASEAGI,600000,10; //AL_INCAGI#Increase AGI# sc_start SC_BLESSING,600000,10; //AL_BLESSING#Blessing# 4. // Too lazy for a quest example, but you will find many examples in rathenas npc folder :) Just remember: Keep on trying and improving your scripting skills. The above examples aren't very complex. You will find anything you need in doc/script_commands.txt1 point
-
Let's see if that works. Anyway, if you don't have much src mods, you can use the latest git hash instead of using your current revision. It would be easier if you use the latest one. I would also recommend it since it's better in terms of stability, support, features, and compatibility.1 point
-
Maybe your current trunk doesn't support Shadow equipments. If you're not willing to update it to the latest rAthena git. Try to remove the shadow equipments in this part https://github.com/Sehrentos/rathena/commit/21a1a32203b6a48664c97bfd93b0ae09de80d06e#diff-08420bab8271f3965304fee42cf4b865R76 replace it with this code static unsigned int equip_pos[EQI_MAX] = { EQP_ACC_L, EQP_ACC_R, EQP_SHOES, EQP_GARMENT, EQP_HEAD_LOW, EQP_HEAD_MID, EQP_HEAD_TOP, EQP_ARMOR, EQP_HAND_L, EQP_HAND_R, EQP_COSTUME_HEAD_TOP, EQP_COSTUME_HEAD_MID, EQP_COSTUME_HEAD_LOW, EQP_COSTUME_GARMENT, EQP_AMMO }; But still I would recommend updating it to the latest git hash since you won't have enough support for svn revisions.1 point
-
Ever wondered how Healing can kill undeads? You can find out in the 21st strip of PP&P! https://tapastic.com/episode/5203561 point