Jump to content

Capuche

Developer
  • Posts

    2407
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by Capuche

  1. Capuche

    timer

    It shows up when I try.. weird. Do you have any error on mapserv console ? @uDe I don't get what you mean
  2. Reading the comment //Gold limitation penalty must be enable set .@maxgold,1000; but //Apply gold penalty. 0 = no 1 = yes set .@penalty1,0;
  3. You don't use rA ? try this one : - script hourlypoints -1,{ OnInit: setarray .@map_name$, "prontera"; // your afk map set .compile_map$, implode( .@map_name$, "|" ); set .@size, getarraysize( .@map_name$ ); while ( .@i < .@size ) { setmapflag .@map_name$[.@i],mf_loadevent; set .@i, .@i +1; } end; OnPCLoadMapEvent: attachnpctimer strcharinfo(0); initnpctimer; end; OnTimer10000: if ( compare( .compile_map$,strcharinfo(3) ) ) { set @point_afk_onmap, @point_afk_onmap +1; if ( @point_afk_onmap == 18 ) { set @point_afk_onmap, 0; dispbottom "Gain: 1 Cashpoint."; set #CASHPOINTS, #CASHPOINTS + 1; } initnpctimer; } else { set @point_afk_onmap, 0; stopnpctimer; } end; }
  4. Like I said in PM, replace else if( NextJobExp || NextBaseExp || !( .@eac&EAJL_2 ) || !Upper ) { by else if( NextJobExp || NextBaseExp || ( !( .@eac&EAJL_2 ) || !Upper ) && ( Class != Job_Ninja && Class != Job_Gunslinger ) ) { EDIT : and replace resetlvl 1; if ( num_rebirth < .change_reward ) StatusPoint = StatusPoint + .num_status * num_rebirth; by resetlvl 1; if ( num_rebirth < .change_reward ) { if ( Class == Job_Novice ) StatusPoint = 48; StatusPoint = StatusPoint + .num_status * num_rebirth; } Thanks to you, I didn't think about the jobchange problem when the class is not high novice
  5. Capuche

    Picklogs

    My eAthena log are like that // Enable Logs? (Note 3) // 0x0000 - Don't log at all // 0x0001 - (T) Log trades // 0x0002 - (V) Log vending transactions // 0x0004 - (P) Log items drop/picked by players // 0x0008 - (L) Log items drop/looted by monsters // 0x0010 - (S) Log NPC transactions (buy/sell) // 0x0020 - (N) Log Script transactions (items deleted/acquired through quests) // 0x0040 - (D) Log items stolen from mobs (Steal/Gank) // 0x0080 - © Log player-used items // 0x0100 - (O) Log produced/ingredient items // 0x0200 - (U) Log MVP prize items // 0x0400 - (A) Log player created/deleted items (through @/# commands) // 0x0800 - ® Log items placed/retrieved from storage. // 0x1000 - (G) Log items placed/retrieved from guild storage. // 0x2000 - (E) Log mail system transactions. // 0x4000 - (I) Log auction system transactions. // 0x8000 - ( Log buying store transactions // Example: Log trades+vending+script items+created items: 1+2+32+1024 = 1059 enable_logs: 0xFFFF
  6. You don't have getcharip() command. So replace the current query by this one : query_sql "insert into `rebirth_system` ( `account_id`, `name`, `num_rebirth`, `last_ip` ) select "+ getcharid(3) +", '"+ escape_sql( strcharinfo(0) ) +"', '"+ num_rebirth +"',`login`.`last_ip` from `login` where `login`.`account_id` = "+ getcharid(3) +" on duplicate key update `rebirth_system`.`num_rebirth` = `rebirth_system`.`num_rebirth` +1";
  7. An afk map.. that means the guy get points even if he is afk ? then try this : - script hourlypoints -1,{ OnInit: setarray .@map_name$, "prontera"; // your afk map .compile_map$ = implode( .@map_name$, "|" ); .@size = getarraysize( .@map_name$ ); while ( .@i < .@size ) { setmapflag .@map_name$[.@i],mf_loadevent; .@i++; } end; OnPCLoadMapEvent: attachnpctimer strcharinfo(0); initnpctimer; end; OnTimer10000: if ( compare( .compile_map$,strcharinfo(3) ) ) { @point_afk_onmap++; if ( @point_afk_onmap == 18 ) { @point_afk_onmap = 0; dispbottom "Gain: 1 Cashpoint."; #CASHPOINTS = #CASHPOINTS + 1; } initnpctimer; } else { @point_afk_onmap = 0; stopnpctimer; } end; }
  8. if ( query_sql ( "SELECT 1 FROM `guild` WHERE `name` = '"+escape_sql( @gcreatenm$ )+"'", .@tmp ) ){
  9. Follow the structure given in the file above // ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper HP are in the 5th column
  10. I already answer you in the original topic~
  11. - script junion -1,{ OnInit: set .map$,"pvp_y_1-2"; end; OnPCDieEvent: if(strcharinfo(3) != .map$) end; if( !killerrid )// suicide warp "prontera",0,0; else warp strcharinfo(3),0,0; percentheal 100,100; }
  12. Capuche

    party related

    @caspa Please calm down with the bump. From Rules: Posts in the support sections may be bumped with MORE INFORMATION no less than 24 hours after the last post. Any other bumping is not allowed. Thanks you.
  13. You already made a topic about that here. Please refrain for doing multi-topic. Thanks you.
  14. In your reset stat npc, after a reset add StatusPoint = StatusPoint + .num_status * num_rebirth; replacing .num_status defined in this npc : .num_status = 300; // + X number of status points With this, you get the status points you earned.
  15. Then change the value to 51 .change_reward = 51; Also change this line (I forgot to make it) if ( num_rebirth < 30 ) to if ( num_rebirth < .change_reward )
  16. Good idea ! for example we can't force someone to leave his party or impossible to break a party with script command.. there is a lack of command
  17. I forgot the char/at command permission, maybe like that ? bindatcmd "command","<NPC object name>::<event label>"{,<group id 1>: [ true, false ],<group id 2>: [ true, false ],...};
  18. Please don't edit your first post when your request is solved, that make the topic unreadable for other.
  19. Capuche

    OnTouch

    No at all It's just a bit strange to have a countdown about 'when you could re-click to buff' just after being buff, since you don't need to be re-buff.
  20. The script of ZeiyanRO doesn't include the 3rd jobs and expands class like you want but Euphy's script include these class Well just ot point it
  21. I completely forgot about it
  22. Without message : prontera,150,160,5 script inunhi 56,{ skill 142,1,0; switch(BaseClass) { case 0: if (Class !=23) skill 143,1,0; break; case 1: skill 144,1,0; skill 145,1,0; skill 146,1,0; break; case 2: skill 157,1,0; break; case 3: skill 147,1,0; skill 148,1,0; break; case 4: skill 156,1,0; break; case 5: skill 153,1,0; skill 154,1,0; skill 155,1,0; break; case 6: skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; break; default: break; } switch(BaseJob) { case 7: skill 1001,1,0; break; case 8: skill 1014,1,0; break; case 9: skill 1006,1,0; break; case 10: skill 1012,1,0; skill 1013,1,0; break; case 11: skill 1009,1,0; break; case 12: skill 1003,1,0; skill 1004,1,0; break; case 14: skill 1002,1,0; break; case 15: skill 1015,1,0; skill 1016,1,0; break; case 16: skill 1007,1,0; skill 1008,1,0; skill 1017,1,0; skill 1018,1,0; skill 1019,1,0; break; case 17: skill 1005,1,0; break; case 18: skill 238,1,0; break; case 19: skill 1010,1,0; break; case 20: skill 1011,1,0; break; default: break; } end; } (stolen from the jobmaster)
  23. Yes it's this one Didn't find out since I searched a name with request xD thanks Emistry
  24. Try this one : prontera,155,170,5 script Gift 87,{ if( getgmlevel() < 60 ) end; if( select( "Give an item", "Leave" ) -1 ) end; input .@item_id; if( getiteminfo( .@item_id,0 ) == -1 ) { mes "Unknown item id."; close; } input .@amount; if( .@amount <= 0 ) { mes "Invalid Amount"; close; } set .@item_name$, getitemname( .@item_id ); set .@gm_name$, strcharinfo(0); do { set .@size, query_sql( "SELECT `account_id` from `char` where `online` = '1' order by `account_id` desc limit "+ ( .@loop *128 ) +", 128", .@account_id ); for( set .@i, 0; .@i < .@size; set .@i, .@i +1 ) { getitem .@item_id, .@amount, .@account_id[.@i]; message rid2name( .@account_id[.@i] ), "You get an "+ .@item_name$ +" from "+ .@gm_name$ +"."; } set .@loop, .@loop +1; } while( .@size ); mes "Done."; close; } A GM lvl > 59 can give any item to all players online
×
×
  • Create New...