-
Posts
1,658 -
Joined
-
Last visited
-
Days Won
67
Community Answers
-
sader1992's post in HELP the titles tab disappeared was marked as the answer
the name of the first tab is too lang
i suggest you decreases the name of the first tab
msgstring file
it may fix the problem
-
sader1992's post in [Solved]how to change RagexeRE default language? was marked as the answer
check out this
and also in the sclientinfo.xml
this line <langtype>0</langtype>
see here
https://github.com/rathena/rathena/wiki/Clientinfo.xml
+-----+------------------------+-------------------+ | int | enum SERVICETYPE | "servicetype" tag | +-----+------------------------+-------------------+ | 0 | SERVICETYPE_KOREA | korea | | 1 | SERVICETYPE_AMERICA | america | | 2 | SERVICETYPE_JAPAN | japan | | 3 | SERVICETYPE_CHINA | china | | 4 | SERVICETYPE_TAIWAN | taiwan | | 5 | SERVICETYPE_THAI | thai | | 6 | SERVICETYPE_INDONESIA | indonesia | | 7 | SERVICETYPE_PHILIPPINE | philippine | | 8 | SERVICETYPE_MALAYSIA | malaysia | | 9 | SERVICETYPE_SINGAPORE | singapore | | 10 | SERVICETYPE_GERMANY | germany | | 11 | SERVICETYPE_INDIA | india | | 12 | SERVICETYPE_BRAZIL | brazil | | 13 | SERVICETYPE_AUSTRALIA | australia | | 14 | SERVICETYPE_RUSSIA | russia | | 15 | SERVICETYPE_VIETNAM | vietnam | | 17 | SERVICETYPE_CHILE | chile | | 18 | SERVICETYPE_FRANCE | france | | 19 | SERVICETYPE_UAE | uae | +-----+------------------------+-------------------+
-
sader1992's post in Custom ITEM was marked as the answer
MOVED to the right section
also try to use grf editor if your iteminfo is encrypted or download item info from the English project
see this
https://rathena.org/board/topic/102689-ragnarok-english-translation-project/
-
sader1992's post in unlockable warpra was marked as the answer
i would tell you how but you must know that there is more dynamic ways to do that
so this is the code
switch(select("prontera", "alberta " + ((!#alberta_plat)?"^E82D0B[Lucked]^000000":"^05FF00[UnLucked]^000000"), "goldroom", "Other")) { case 1: if (#alberta_plat == 1) { warp("alberta", 49, 241); end; } if (#alberta_plat == 0) { next; mes "Sorry but you did not unlock that platform yet"; close; end; } } you see i added this line next to the option
((!#alberta_plat)?"^E82D0B[Lucked]^000000":"^05FF00[UnLucked]^000000") this mean
if(!#alberta_plat){ //#alberta_plat == 0 //the option will be "alberta ^E82D0B[Lucked]^000000" }else{ //#alberta_plat == 1 or more than 1 //the option will be "alberta ^05FF00[UnLucked]^000000" } you can do this too
((#alberta_plat == 0)?"^E82D0B[Lucked]^000000":"^05FF00[UnLucked]^000000")
and for the color code use this
https://color.adobe.com/create/color-wheel/
-
sader1992's post in Wiping bank vault. was marked as the answer
stop the server before you edit the database to take effect
-
sader1992's post in servers can not connect was marked as the answer
char_conf login_ip: 127.0.0.1 char_ip: vps_ip map_conf char_ip: 127.0.0.1 map_ip: vps_ip use your lan ip instead of vps_ip
and login using lan ip
-
sader1992's post in How the GM character gets GM clothes was marked as the answer
https://github.com/rathena/rathena/wiki/Clientinfo.xml
<admin>2000001</admin> <admin>Account_ID</admin>
-
sader1992's post in alberta false warp to water area was marked as the answer
it look for me you don't use the same albetra in the mapcache
get that alberta or add your alberta in the mapcache
-
sader1992's post in applying diff and patch file was marked as the answer
Git
you already have it if you did download rAthena through git (what you should have done)
ofc there is a lot of ways but this the most common way
you can check this video to see how i applied my diff to rathena
https://youtu.be/kY6X0PqCrqg?t=151
also better to backup your server if it's big diff
-
sader1992's post in Set specific MVP don't drop card when spawn in BB was marked as the answer
i don't know about that
but you can use mob_avail to copy the mvp add the drop without the card and replace it the mvp id in mob_boss if you know what i mean
this would get you to the result you want
-
sader1992's post in Dead player will cast text was marked as the answer
- script scriptname#100 -1,{ OnPCDieEvent: showscript .words$[rand(getarraysize(.words$))]; end; OnInit: setarray .words$,"nani?","mada mada","korosah!","konoooo"; end; }
-
sader1992's post in Freebies NPC was marked as the answer
@Poring King didn't notice that xD , thanks.
this for job level 10
- script scriptname#100 -1,{ OnPCJobLvUpEvent: if(JobLevel == 10){ getitem 1002,1; } } however if you don't want the player to get the reward again (after rebirth and changing the job) do this
- script scriptname#100 -1,{ OnPCJobLvUpEvent: if(JobLevel == 10){ if(!freeItems){ getitem 1002,1; freeItems = true; } } }
-
sader1992's post in H>Script Problem was marked as the answer
try this
pvp_n_1-2,0,0,0,0 monster 1 Point 1007,60,0,60000,"fabre_punch_main::OnKill_1" pvp_n_1-2,0,0,0,0 monster 10 Points 1007,30,0,60000,"fabre_punch_main::OnKill_2" pvp_n_1-2,0,0,0,0 monster -20 Points 1007,50,0,60000,"fabre_punch_main::OnKill_3" pvp_n_1-2,0,0,0,0 monster Super Points 1229,10,0,60000,"fabre_punch_main::OnKill_4" OnKill_1: callsub( L_Point,( .point_rate * 1 ) ); // Fabre = 1 Point end; OnKill_2: callsub( L_Point,( .point_rate * 10 ) ); // Fabre = 10 Point end; OnKill_3: callsub( L_Point,( .point_rate * -20 ) ); // Fabre = -20 Point end; OnKill_4: callsub( L_Point, rand( 1,100 ), 1 ); // Fabre = random 1~100 Point end; L_Point: if ( .status == 2 ) { [email protected] = getarg( 0,0 ); query_sql( "INSERT INTO `e_fabre_punch_rank` (`cid`, `name`, `point`) VALUES ( "+getcharid(0)+", '"+escape_sql( strcharinfo(0) )+"', "[email protected]+" ) ON DUPLICATE KEY UPDATE `point` = `point` + "[email protected] ); dispbottom "<Fabre Punch Event> Gained " + [email protected] + " Point."; if(getarg(1)) announce "Super Fabre has been killed by [ " + strcharinfo(0) + " ] for " + [email protected] + " Point(s) !",bc_map; } else if ( .status == 0 ) { dispbottom "Event not yet start, please wait."; } return; }
-
sader1992's post in Kafra Bank was marked as the answer
rAthena/conf/script_athena.conf
// Default value of the 'max' argument of the script command 'input'. // When the 'max' argument isn't provided, this value is used instead. // Defaults to INT_MAX. //input_max_value: 2147483647 input_max_value: 10000000
-
sader1992's post in Force to Reborn was marked as the answer
@Kakaroto
change the line to be like this (add "&& !Is_Baby()")
if( !(eaclass()&EAJL_UPPER) && !Is_Baby() ) return false;
-
sader1992's post in Support level 1500. was marked as the answer
rathena/src/map/pc.cpp
line 11371
from
sv_readdb(dbsubpath2, "job_exp.txt",',',4,1000+3,CLASS_COUNT*2,&pc_readdb_job_exp, i > 0); //support till 1000lvl to
sv_readdb(dbsubpath2, "job_exp.txt",',',4,1500+3,CLASS_COUNT*2,&pc_readdb_job_exp, i > 0); //support till 1000lvl don't forget to recompile !
-
sader1992's post in Requesting Offline Message To Spesific Player was marked as the answer
it's easy to make this kind of scripts
but why don't you use RODEX ?
-
sader1992's post in Unsupported Packets RagexeRE-11 was marked as the answer
try like this please
1 Use Tilde for Matk 3 Chat Flood Remove Limit 8 Custom Window Title 9 Disable 1rag1 type parameters (Recommended) 13 Disable Ragexe Filename Check (Recommended) 16 Disable Swear Filter 18 Skip Service Selection Screen 19 Enable Title Bar Menu 23 Enable /who command (Recommended) 24 Fix Camera Angles (Recommended) 28 Increase Headgear ViewID 32 Increase Zoom Out Max 33 Always Call SelectKoreaClientInfo() (Recommended) 34 Enable /showname (Recommended) 35 Read Data Folder First 36 Read msgstringtable.txt (Recommended) 37 Read questid2display.txt (Recommended) 38 Remove Gravity Ads (Recommended) 39 Remove Gravity Logo (Recommended) 40 Restore Login Window (Recommended) 41 Disable Nagle Algorithm (Recommended) 44 Translate Client (Recommended) 46 Use Normal Guild Brackets (Recommended) 47 Use Ragnarok Icon 48 Use Plain Text Descriptions (Recommended) 49 Enable Multiple GRFs (Recommended) 50 Skip License Screen 53 Use Ascii on All LangTypes (Recommended) 64 @ Bug Fix (Recommended) 65 Load Custom lua file instead of iteminfo*.lub (Recommended) 73 Remove Hourly Announce (Recommended) 75 Enable Flag Emoticons 76 Enforce Official Login Background 84 Remove Serial Display (Recommended) 85 Show Cancel To Service Select 88 Allow space in guild name 90 Enable DNS Support (Recommended) 96 Remove GM Sprites 97 Cancel to Login Window (Recommended) 101 Skip Friend list Cheat Check 102 Skip Guild Member Cheat Check 212 Restore Roulette 213 Disable Help Message on Login (Recommended) 222 Show Replay Button
-
sader1992's post in Unique Variables on "set" was marked as the answer
if ("FL_"[email protected]$ <= 19){ to
if (getd("FL_"[email protected]$) <= 19){
also you would need to remove the space between .npcf and $;
.npcf $; >> .npcf$;
-
sader1992's post in Changing source line colour? was marked as the answer
you remove the if else and clif_displaymessage(fd, output);
and leave
clif_messagecolor(&sd->bl, color_table[COLOR_RED], output, false, SELF);
like this
for (i = 0; output_table[i].format != NULL; i++) { sprintf(output, output_table[i].format, output_table[i].value); clif_messagecolor(&sd->bl, color_table[COLOR_RED], output, false, SELF); } and also you may want to change the clif_displaymessage(fd, output);
that before the for loop that the first line >> '%s' stats: = 'char name' stats:
and the last result would be
from
clif_displaymessage(fd, output); for (i = 0; output_table[i].format != NULL; i++) { sprintf(output, output_table[i].format, output_table[i].value); clif_displaymessage(fd, output); } to
clif_messagecolor(&sd->bl, color_table[COLOR_RED], output, false, SELF); for (i = 0; output_table[i].format != NULL; i++) { sprintf(output, output_table[i].format, output_table[i].value); clif_messagecolor(&sd->bl, color_table[COLOR_RED], output, false, SELF); }
-
sader1992's post in H> npc took item equiped was marked as the answer
well that change every thing XD
you need to write a check for it the item equiped is the same item the npc want it
something like this
if(getequipid(EQI_HAND_R) == 16001){ if(countitem(16001) > 1) goto twentysix; }else{ if(countitem(16001) > 0) goto twentysix; } or you need to make a sub or function and optimize the script to write this only once not one every id
and make sure you use the right getequipid
*getequipid({<equipment slot>,<char_id>}) EQI_COMPOUND_ON (-1) - Item slot that calls this script (In context of item script) EQI_ACC_L (0) - Accessory 1 EQI_ACC_R (1) - Accessory 2 EQI_SHOES (2) - Footgear (shoes, boots) EQI_GARMENT (3) - Garment (mufflers, hoods, manteaux) EQI_HEAD_LOW (4) - Lower Headgear (beards, some masks) EQI_HEAD_MID (5) - Middle Headgear (masks, glasses) EQI_HEAD_TOP (6) - Upper Headgear EQI_ARMOR (7) - Armor (jackets, robes) EQI_HAND_L (8) - Left hand (weapons, shields) EQI_HAND_R (9) - Right hand (weapons) EQI_COSTUME_HEAD_TOP (10) - Upper Costume Headgear EQI_COSTUME_HEAD_MID (11) - Middle Costume Headgear EQI_COSTUME_HEAD_LOW (12) - Lower Costume Headgear EQI_COSTUME_GARMENT (13) - Costume Garment EQI_AMMO (14) - Arrow/Ammunition EQI_SHADOW_ARMOR (15) - Shadow Armor EQI_SHADOW_WEAPON (16) - Shadow Weapon EQI_SHADOW_SHIELD (17) - Shadow Shield EQI_SHADOW_SHOES (18) - Shadow Shoes EQI_SHADOW_ACC_R (19) - Shadow Accessory 2 EQI_SHADOW_ACC_L (20) - Shadow Accessory 1
-
sader1992's post in RequirePage 87557/RequestPage 3 problem. was marked as the answer
i know you did give me this file before but i didn't notice this until i did read it here sorry ~o-o~
#if PACKETVER > 20170517 this you have to not change , this what case the error
#if PACKETVER > 20151104
-
sader1992's post in R > stylist restriction for summoner (not all of them) was marked as the answer
setarray [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); ^ this the array for the numbers
do like that
if(Class == Job_Summoner){ setarray [email protected][1], 10,//max_cloth_color 6,//max_hair_style 10;//max_hair_color }else{ setarray [email protected][1], getbattleflag("max_cloth_color"), getbattleflag("max_hair_style"), getbattleflag("max_hair_color"); }