Jump to content

REKT

Members
  • Content Count

    372
  • Joined

  • Days Won

    1

Everything posted by REKT

  1. Thank you for the kind and respond, BTW how can i add it in the Skilltree view just like Paladin? Perhaps, the Baby Crusader don't really have this kind of skill since only at Transcendent Class however how can i ADD it?
  2. REKT

    Dynamic Shop HELP

    i think, no one help me out to make this script more better and compatibility. P.S Please delete this Topic. Thank you.
  3. REKT

    Dynamic Shop HELP

    Hello, i just wanna ask for support or help with this script >.> i find hard how can i fixed this one. Script: http://pastebin.com/mVCqMfG8 SQL Tables: http://pastebin.com/3D8HHm5X If someone knows how to fix this, i'd be happy if someone would help me this out. Thank you!
  4. I will try it, i'll feedback ASAP. Thank you for support! much appreciated!!
  5. This script looks nice, BTW, i'm making this kind of bonuses because i wanted to make each classes has different bonuses. e.g Mage or High Wizard +1 INT so on and so forth, how can i add another class? with different bonuses? Thank you.!
  6. Hi, thanks for the respond, much appreciated! i will try to test this out. Thank you Again.! Opps, after i wear the item. [Error]: script:getarg: index <idx=0> out of range <nargs=0> and no default value found script: function script Classes_Check { if( getarg(0)==Job_Assassin || getarg(0)==Job_Assassin_Cross ) goto Lskillssin; if( getarg(0)==Job_Bard || getarg(0)==Job_Clown ) goto Lskillsbard; if( getarg(0)==Job_Knight || getarg(0)==Job_Lord_Knight ) goto Lskillsknight; end; Lskillssin: bonus2 bAddRace,7,20; bonus bIntravision,0; if(getrefine()>=10) { bonus bAllStats,5; } end;Lskillsknight: bonus2 bAddRace,7,20; bonus bIntravision,0; if(getrefine()>=10) { bonus bAllStats,5; } end; Lskillsbard: bonus2 bAddRace,7,20; bonus bIntravision,0; if(getrefine()>=10) { bonus bAllStats,5; } end; }
  7. Hello, i just wanna asked if the one i made is correct or wrong? please correct if it is wrong. Or if you have a better way or optimized this script to make it better. please feel free to post http://pastebin.com/3Fkf7K9B Thank you!
  8. AHAHAHA, i thought someone didn't notice this issue. and i thought i'm the one only having this kind of crash. +1 for JUDAS.
  9. +99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 Please don't argue with me, just SHUT UP!
  10. Hello, There! i would like to ask for pleased support for the 'OnPCStatCalcEvent' How do i set only minimum of +50 Only? SCRIPT: mes "which bonus do you want ?"; mes "NOTE: each of stat is only +1 UPGRADE until you reach the maximum +50"; next; .@s = select ( "str +1", "agi +1", "vit +1", "int +1", "dex +1", "luk +1" ) -1; if ( bonus_stat & 1 << .@s ) { mes "You already reach the maximum bonus stats"; close; } bonus_stat = bonus_stat | 1 << .@s; nude; close;OnPCStatCalcEvent: for ( .@i = 0; .@i < 6; .@i++ ) if ( bonus_stat & 1 << .@i ) bonus .@i + 13, 1; end;} SOURCE: Index: clif.c===================================================================--- clif.c (revision 17007)+++ clif.c (working copy)@@ -9359,6 +9359,8 @@ clif_broadcast(&sd->bl, output, strlen(output) + 1, 0x10, SELF); } + status_calc_pc(sd,0); // run OnPCStatCalcEvent+ map_iwall_get(sd); // Updates Walls Info on this Map to Client sd->state.changemap = false; }Index: npc.c===================================================================--- npc.c (revision 17007)+++ npc.c (working copy)@@ -3560,6 +3560,7 @@ {"Die Event",script_config.die_event_name}, {"Kill PC Event",script_config.kill_pc_event_name}, {"Kill NPC Event",script_config.kill_mob_event_name},+ {"Stat Calc Event",script_config.stat_calc_event_name}, }; for (i = 0; i < NPCE_MAX; i++)Index: npc.h===================================================================--- npc.h (revision 17007)+++ npc.h (working copy)@@ -103,6 +103,7 @@ NPCE_DIE, NPCE_KILLPC, NPCE_KILLNPC,+ NPCE_STATCALC, NPCE_MAX }; struct view_data* npc_get_viewdata(int class_);Index: script.c===================================================================--- script.c (revision 17007)+++ script.c (working copy)@@ -247,6 +247,7 @@ "OnPCLoadMapEvent", //loadmap_event_name "OnPCBaseLvUpEvent", //baselvup_event_name "OnPCJobLvUpEvent", //joblvup_event_name+ "OnPCStatCalcEvent", //stat_calc_event_name "OnTouch_", //ontouch_name (runs on first visible char to enter area, picks another char if the first char leaves) "OnTouch", //ontouch2_name (run whenever a char walks into the OnTouch area) };@@ -17269,6 +17270,19 @@ return 0; } +BUILDIN_FUNC(stat_recalc) {+ TBL_PC* sd;+ if ( script_hasdata( st, 2 ) ) {+ if ( data_isstring( script_getdata( st, 2 ) ) )+ sd = map_nick2sd( script_getstr( st, 2 ) );+ else+ sd = map_id2sd( script_getnum( st, 2 ) );+ } else+ sd = script_rid2sd(st);+ if ( sd )+ status_calc_pc( sd, 0 );+ return 0;+} // declarations that were supposed to be exported from npc_chat.c #ifdef PCRE_SUPPORT@@ -17726,5 +17740,7 @@ BUILDIN_DEF(checkquest, "i?"), BUILDIN_DEF(changequest, "ii"), BUILDIN_DEF(showevent, "ii"),++ BUILDIN_DEF(stat_recalc, "?"), {NULL,NULL,NULL}, };Index: script.h===================================================================--- script.h (revision 17007)+++ script.h (working copy)@@ -28,6 +28,7 @@ const char *loadmap_event_name; const char *baselvup_event_name; const char *joblvup_event_name;+ const char *stat_calc_event_name; const char* ontouch_name; const char* ontouch2_name;Index: status.c===================================================================--- status.c (revision 17007)+++ status.c (working copy)@@ -2423,6 +2423,8 @@ pc_delautobonus(sd,sd->autobonus2,ARRAYLENGTH(sd->autobonus2),true); pc_delautobonus(sd,sd->autobonus3,ARRAYLENGTH(sd->autobonus3),true); + npc_script_event( sd, NPCE_STATCALC );+ // Parse equipment. for(i=0;i<EQI_MAX-1;i++) { current_equip_item_index = index = sd->equip_index[i]; //We pass INDEX to current_equip_item_index - for EQUIP_SCRIPT (new cards solution) [Lupus] SORRY for the DOUBLE POST TOPIC, please DELETE the OTHER one. Hopefully someone would HELP me this out, greatly APPRECIATED! Thank you!!!
  11. Hi, sorry for late late respond, i'm really kinda busy i don't have TIME to test it out, sorry for waiting. BTW, i have TESTED it now, after reaching the +50 and then i try again to add +1 the +50 will back to normal >,<| Would you mind to test it? Also, have you tried when you add +1 stat when i @reloadscript it will gone >,<
  12. Who has, the working client with Ragexe? i downloaded the Judas exe, i got this, system/monster_size_effect.lub And also something 2nd pop-up ChampionmonsterM?? Can someone tell me, how does it work properly. Thank you.
  13. It's nice if you would provide your OWN guide, probably this thread won't UPDATE anymore.
  14. Hello, nah! my firstime to request in this script section thread, Please correct me if i'm in the wrong thread maybe this could be source or script area. My request is, can i request a script or source that, attach only + attributes? not the based attributes. for e.g my max stats is 199 (for Highrate server), and then a player told me if it would be nice if we will put an NPC Donation that gives +attributes that maximum atleast +50, depends only if the player which +attributes he/she will add example: A player want to increase his/her STR + attributes to the max of set. +50 (or it could be set to owner's like) If possible? each +attributes different payments? e.g for STR - 607 AGI - 607 VIT - 608 INT - 609 DEX - 609 LUK - 610 since i don't want to have costume items with {statsall} Please let me know if this is possible. I'd be happy if someone could do this for me. Thank yo for helping!!!
  15. REKT

    Question

    My BAD, i'm already outdated! =D Thanks for the kind and respond IND.
  16. REKT

    Question

    Pardon for my ignorance, but how can i make this card, both Upper,Lower and Middle headgear to be slotted?? Perhaps, i just search on every WiKi about this locations. Please, correct me if i wrong. Thank you IND, for the respond.
  17. REKT

    Question

    Hello, i just wanna ask some curios question, does the database have this FF slots: Because i have a custom cards that can slot Upper,Middle and Lower Headgear. How can i change it to 3 slots locations? Does it need Source Modifications? Correct me if i'm wrong. Thank you!!!
  18. Hello there, done switching after i i test. it works but just curios, why i can't invite a player for a PARTY? it says 'The Character is currently online does not exist' if i click the name it will appear like this e.g [255/99] Vlync So by means, that name appear is currently offline because the player's name is Vlync it will not be invited. How do i fix this one? Correct me if i'm wrong. Thank you!
  19. Oh yeah! i will switch now to Hercules. probably, there is an issue that conflict with rAthena Emulator. That's why i'm saying it's buggy~ sorry for it*
  20. This is the one i used. Tested RA Trunk 17231
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.