Jump to content

sader1992

Content Moderator
  • Posts

    1676
  • Joined

  • Last visited

  • Days Won

    71

Community Answers

  1. sader1992's post in Help for All in one shop Script was marked as the answer   
    you should import the sql item db table in your database to use this script
  2. sader1992's post in Buffer NPC with buff for VIP and non VIP was marked as the answer   
    prontera,0,0,0 script buffer 444,{ //buffs for everyone specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,60000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,60000,10; specialeffect2 EF_HEAL2; percentheal 100,100; //vip buffs if(vip_status(VIP_STATUS_ACTIVE)){ sc_start SC_STRFOOD,60000,10; sc_start SC_INTFOOD,60000,10; sc_start SC_DEXFOOD,60000,10; sc_start SC_AGIFOOD,60000,10; sc_start SC_VITFOOD,60000,10; sc_start SC_LUKFOOD,60000,10; } end; }  
  3. sader1992's post in how to privent this hacker !!! was marked as the answer   
    this maybe related https://github.com/rathena/rathena/issues/3391
  4. sader1992's post in mob not spawn if count more than was marked as the answer   
    still the same
    .variable is an npc variable not global variable
    .count in npc1 != .count in npc2
     
    for more info
    rAthena Variables
  5. 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
  6. 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 | +-----+------------------------+-------------------+  
  7. 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/
  8. 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/
  9. sader1992's post in Wiping bank vault. was marked as the answer   
    stop the server before you edit the database to take effect
  10. 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
  11. 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>  
  12. 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 
  13. 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
  14. 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
  15. 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; }  
  16. 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; } } }  
  17. 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 ) { .@value = getarg( 0,0 ); query_sql( "INSERT INTO `e_fabre_punch_rank` (`cid`, `name`, `point`) VALUES ( "+getcharid(0)+", '"+escape_sql( strcharinfo(0) )+"', "+.@value+" ) ON DUPLICATE KEY UPDATE `point` = `point` + "+.@value ); dispbottom "<Fabre Punch Event> Gained " + .@value + " Point."; if(getarg(1)) announce "Super Fabre has been killed by [ " + strcharinfo(0) + " ] for " + .@value + " Point(s) !",bc_map; } else if ( .status == 0 ) { dispbottom "Event not yet start, please wait."; } return; }  
  18. 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  
  19. 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;  
  20. 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 !
  21. 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 ?
  22. sader1992's post in aRO ! was marked as the answer   
    you wont find server side ARO
  23. 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  
  24. sader1992's post in Unique Variables on "set" was marked as the answer   
    if ("FL_"+.@izlnpc$ <= 19){ to
    if (getd("FL_"+.@izlnpc$) <= 19){
     
    also you would need to remove the space between .npcf and $;
    .npcf $; >> .npcf$;
  25. 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); }  
×
×
  • Create New...