Capuche

Developer
  • Content count

    2,296
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    37

Capuche last won the day on December 9 2017

Capuche had the most liked content!

Community Reputation

477 Excellent

About Capuche

  • Rank
    Mastering

Profile Information

  • Gender
    Male
  • Location
    France
  • Github
    Atemo

Contact Methods

  • Discord
    Atemo

Recent Profile Visitors

8,758 profile views

Mood

  • Waffle Time
  • Currently Feeling Waffle Time
  1. how to fix status point

    Wrong section. Moved to "Database Support".
  2. Is rathena too limiting?

    Except Nova (who actually has his own dev to gather their infos) none of us are running private server. Stop spilling bullshit. I don't feel any respect on your comment. Any other comments off topic will now be deleted. Thanks for understanding.
  3. R> Custom Reset NPC

    You're right we didn't update Upper for 3rd class. case SP_UPPER: val = sd->class_&JOBL_UPPER?1:(sd->class_&JOBL_BABY?2:0); break; Maybe the easier structure for you to edit could be : prontera,150,193,4 script Reset Girl 124,{ disable_items; disable_command; mes "[Reset Girl]"; switch( Class ) { case JOB_NOVICE:// normal class case JOB_SWORDMAN: case JOB_MAGE: case JOB_ARCHER: case JOB_ACOLYTE: case JOB_MERCHANT: case JOB_THIEF: case JOB_KNIGHT: case JOB_PRIEST: case JOB_WIZARD: case JOB_BLACKSMITH: case JOB_HUNTER: case JOB_ASSASSIN: case JOB_KNIGHT2: case JOB_CRUSADER: case JOB_MONK: case JOB_SAGE: case JOB_ROGUE: case JOB_ALCHEMIST: case JOB_BARD: case JOB_DANCER: case JOB_CRUSADER2: case JOB_SUPER_NOVICE: case JOB_GUNSLINGER: case JOB_NINJA: case JOB_BABY:// baby class case JOB_BABY_SWORDMAN: case JOB_BABY_MAGE: case JOB_BABY_ARCHER: case JOB_BABY_ACOLYTE: case JOB_BABY_MERCHANT: case JOB_BABY_THIEF: case JOB_BABY_KNIGHT: case JOB_BABY_PRIEST: case JOB_BABY_WIZARD: case JOB_BABY_BLACKSMITH: case JOB_BABY_HUNTER: case JOB_BABY_ASSASSIN: case JOB_BABY_KNIGHT2: case JOB_BABY_CRUSADER: case JOB_BABY_MONK: case JOB_BABY_SAGE: case JOB_BABY_ROGUE: case JOB_BABY_ALCHEMIST: case JOB_BABY_BARD: case JOB_BABY_DANCER: case JOB_BABY_CRUSADER2: case JOB_SUPER_BABY: case JOB_TAEKWON: case JOB_STAR_GLADIATOR: case JOB_STAR_GLADIATOR2: case JOB_SOUL_LINKER: if (BaseLevel < 50) [email protected] = 40000; else if (BaseLevel < 90) [email protected] = 70000; else [email protected] = 100000; mes "Reset Stats: " + [email protected] + "z."; mes "Reset Skills: " + [email protected] + "z."; mes "Please select the service you want:"; next; [email protected] = select( "Reset Skills", "Reset Stats" ); mes "[Reset Girl]"; if (Zeny < [email protected]) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= [email protected]; if ([email protected] == 2) resetstatus; else { sc_end_class; resetskill; } mes "There you go!"; close; default:// others class [email protected] = 1000000; if (BaseLevel > 89) [email protected] += 500000; mes "Reset Stats: " + [email protected] + "z + 1 Monster Card."; mes "Reset Skills: " + [email protected] + "z + 1 Monster Card."; mes "Please select the service you want:"; next; [email protected] = select( "Reset Skills", "Reset Stats" ); mes "[Reset Girl]"; if (Zeny < [email protected]) { mes "Sorry, you don't have enough Zeny."; close; } getinventorylist; for ( [email protected] = 0; [email protected] < @inventorylist_count; [email protected]++ ) { if (getiteminfo(@inventorylist_id[[email protected]],2) != 6) continue; [email protected]_id[[email protected]_size] = @inventorylist_id[[email protected]]; [email protected]_name$[[email protected]_size] = getitemname( @inventorylist_id[[email protected]] ); [email protected]_size++; } if ([email protected]_size < 1) { mes "Sorry, you don't have enough Card."; close; } mes "Which card do you want to use?"; next; [email protected] = select( implode([email protected]_name$,":") ) - 1; mes "[Reset Girl]"; if (Zeny < [email protected]) { mes "It shouldn't happen."; close; } if (countitem([email protected]_id[[email protected]]) < 1) { mes "It shouldn't happen."; close; } Zeny -= [email protected]; delitem [email protected]_id[[email protected]],1; if ([email protected] == 2) resetstatus; else { sc_end_class; resetskill; } mes "There you go!"; close; } }
  4. R> Custom Reset NPC

    Untested prontera,150,193,4 script Reset Girl 124,{ disable_items; disable_command; mes "[Reset Girl]"; switch( Upper ) { case 0:// normal class case 2:// baby class if (BaseLevel < 50) [email protected] = 40000; else if (BaseLevel < 90) [email protected] = 70000; else [email protected] = 100000; mes "Reset Stats: " + [email protected] + "z."; mes "Reset Skills: " + [email protected] + "z."; mes "Please select the service you want:"; next; [email protected] = select( "Reset Skills", "Reset Stats" ); mes "[Reset Girl]"; if (Zeny < [email protected]) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= [email protected]; if ([email protected] == 2) resetstatus; else { sc_end_class; resetskill; } mes "There you go!"; close; case 1:// advanced class [email protected] = 1000000; if (BaseLevel > 89) [email protected] += 500000; mes "Reset Stats: " + [email protected] + "z + 1 Monster Card."; mes "Reset Skills: " + [email protected] + "z + 1 Monster Card."; mes "Please select the service you want:"; next; [email protected] = select( "Reset Skills", "Reset Stats" ); mes "[Reset Girl]"; if (Zeny < [email protected]) { mes "Sorry, you don't have enough Zeny."; close; } getinventorylist; for ( [email protected] = 0; [email protected] < @inventorylist_count; [email protected]++ ) { if (getiteminfo(@inventorylist_id[[email protected]],2) != 6) continue; [email protected]_id[[email protected]_size] = @inventorylist_id[[email protected]]; [email protected]_name$[[email protected]_size] = getitemname( @inventorylist_id[[email protected]] ); [email protected]_size++; } if ([email protected]_size < 1) { mes "Sorry, you don't have enough Card."; close; } mes "Which card do you want to use?"; next; [email protected] = select( implode([email protected]_name$,":") ) - 1; mes "[Reset Girl]"; if (Zeny < [email protected]) { mes "It shouldn't happen."; close; } if (countitem([email protected]_id[[email protected]]) < 1) { mes "It shouldn't happen."; close; } Zeny -= [email protected]; delitem [email protected]_id[[email protected]],1; if ([email protected] == 2) resetstatus; else { sc_end_class; resetskill; } mes "There you go!"; close; } }
  5. switch( checkquest(7122,PLAYTIME) ) {// 4 hours case -1: // Quest not started (not in quest log) case 0: // the time limit has not yet been reached -> cooldown case 1: // the time limit has not been reached but the quest is marked as complete case 2: // the time limit has been reached -> can redo the quest } end; case 0 and case 1 should return the cooldown message. case 2 player can redo the quest
  6. Your reasoning is flawed. When the time limit has been reached player should be able to redo the quest.
  7. Devil tower instance minor bugs

    1. The blank message is a trick (until better implementation) to prevent attached player to interact with others NPCs (to mimic official behaviour). 2. We need more information about the effect of Mind Blaster skill before implement it.
  8. Command '@question' problem/doubt

    As https://github.com/rathena/rathena/commit/88aaa9be98c4e9f8494a2012cb3b7700d3b844f5 map_nick2sd need a second parameter to accept (true) or not (false) partial name. sd = map_nick2sd( script_getstr(st,2),false );
  9. Instance unique variable

    So far using instance variable on instance map is safe. The initiales infos could be stored again in instance variable after instance_create.
  10. Instance unique variable

    Be careful when using NPC variable too. Instance NPCs are duplicates of original NPCs. NPC variable share his infos in duplicate NPC. e.g. [email protected],27,181,4 script Kaep::alamocka HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if(.talking == 0) { set 'mocTalking, getcharid(3); set .talking, 1;
  11. Instance unique variable

    Using instance variable should be safe. In some script you're using permanent variable to store instance info, which are probably the culprits. "$" - A global permanent variable. e.g. $mm_instance $instance_vp_level ...
  12. Just to let you know, I merged a walkthrough version of this instance in https://github.com/rathena/rathena/commit/5ed21132512d941aebb8cbb15d55ee2d2ded96d5
  13. Euphy Hunting Missions issue

    The issue should be fixed in https://github.com/rathena/rathena/issues/2276 anyway.
  14. Eden group portal problem

    The warp out - OnTouch_ from Melody Jack NPC overlaps. We didn't push a fix yet. PR related : https://github.com/rathena/rathena/pull/2382 Please create an issue in https://github.com/rathena/rathena/issues if you found any bugs thanks !
  15. Refine DB has been refactored in you should update your repo and start from here !