Jump to content

BeWan

Members
  • Posts

    381
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by BeWan

  1. are you guys still looking for this? i can make one if you want
  2. i told you to check this. it can fix your problem check your db/pre-re or re-/job_basehpsp.txt or job_db1
  3. check your db/pre-re or re-/job_basehpsp.txt or job_db1
  4. i dont know if translate page is correct. if you want to activate the npc npc/scripts_custom.conf -set your npc here npc: npc/path of your file
  5. BeWan

    FluxCP

    do you have monster table on your db?
  6. this is gepard function for getting unique id " get_unique_id(); " to avoid getting spam. this function is to avoid spam even if you use proxy.
  7. he is just asking for get_unique_id (); Haha - script Reward NPC -,{ [email protected]_id$ = get_unique_id(); if(getd("$ID_" + [email protected]_id$) > 0 || #NPCREWARD > 0){ mes "[ Reward NPC ]"; mes "You have already claimed your reward."; close; } mes "[ Reward NPC ]"; mes "Here's your reward. Have a nice day!"; setd "$ID_" + [email protected]_id$,1; #NPCREWARD = 1; $reward_count -= 1; for([email protected] = 0; [email protected] < getarraysize(.rewards); [email protected] += 2) getitem .rewards[[email protected]],.rewards[[email protected]+1]; if($reward_count == 0) $reward_status = 1; end; OnInit: setarray .rewards,501,10,502,10; end; } here
  8. create htaccess file and put this inside php_flag output_buffering on or you can use <script>window.location="https://rathena.org/";</script>
  9. try this one - script Reward NPC -,{ [email protected]_id$ = get_unique_id(); if(getd("$ID_" + [email protected]_id$) > 0 || #NPCREWARD > 0){ mes "[ Reward NPC ]"; mes "You have already claimed your reward."; close; } mes "[ Reward NPC ]"; mes "Here's your reward. Have a nice day!"; setd "$ID_" + [email protected]_id$,1; #NPCREWARD = 1; $reward_count -= 1; for([email protected] = 0; [email protected] < getarraysize(.rewards); [email protected] += 2) getitem .rewards[[email protected]],.rewards[[email protected]+1]; if($reward_count == 0) $reward_status = 1; end; }
  10. 1. How to change npc name? mapname,x,y,view script NPC NAME NPC ID,{} 2. How to change message when you login server? step 1: go to conf step 2: click motd you can now update the message 3. How to change server name? - you can diff your ro.ex or hex it to change the name
  11. try to char select and log in
  12. what kind of points do you want?
  13. to solve your error you need to declare setdir first in src/script. BUILDIN_FUNC(setdir) { TBL_PC *sd; if ( script_hasdata(st,4) ) { if ( data_isstring( script_getdata(st,4) ) ) sd = map_nick2sd( script_getstr(st,4),false ); else sd = map_id2sd( script_getnum(st,4) ); } else sd = map_id2sd(st->rid); if ( sd ) { int value = 0; if ( script_hasdata(st,3) ) { value = script_getnum(st,3); if ( value < 0 || value > 2 ) value = 0; } pc_setdir( sd, script_getnum(st,2), value ); clif_changed_dir( &sd->bl, AREA ); } return SCRIPT_CMD_SUCCESS; } BUILDIN_FUNC(checkdir) { TBL_PC *sd; if ( script_hasdata(st,3) ) { if ( data_isstring( script_getdata(st,3) ) ) sd = map_nick2sd( script_getstr(st,3),false ); else sd = map_id2sd( script_getnum(st,3) ); } else sd = map_id2sd(st->rid); if ( sd ) { int value = 0; if ( script_hasdata(st,2) ) value = script_getnum(st,2); script_pushint( st, value > 0 ? sd->head_dir : sd->ud.dir ); } return SCRIPT_CMD_SUCCESS; }
  14. its not a bug. try to hit the paladin the defender still working. and the pt member still walk slow. i think that is good thing for "balance" but if you don't like it you can edit it in skill.c about clear status
  15. you can change the x, y when you go @go 15 IN src/map/atcommand.c src/common/mapindex.h or if you want to change starting point here conf/char_athena.conf and find this // Starting point for new characters // Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...} // Max number of start points is MAX_STARTPOINT in char.hpp (default 5) // Location is randomly picked on character creation. // NOTE: For Doram, this requires client 20151001 or newer. start_point: prontera,150,150
  16. delete on the menu example remove "Prontera",t1; and t1: go("prontera",155,183); same with the other menu // -------------------------------------------------- Towns: // -------------------------------------------------- menu "Prontera",T1, "Alberta",T2, "Aldebaran",T3, "Amatsu",T4, "Ayothaya",T5, "Brasilis",T6, "Comodo",T7, "Dewata",T8, "Eclage",T9, "Einbech",T10, "Einbroch",T11, "El Dicastes",T12, "Geffen",T13, "Gonryun",T14, "Hugel",T15, "Izlude",T16, "Jawaii",T17, "Lasagna",T18, "Lighthalzen",T19, "Louyang",T20, "Lutie",T21, "Malangdo",T22, "Malaya",T23, "Manuk",T24, "Midgarts Expedition Camp",T25, "Mora",T26, "Morroc",T27, "Moscovia",T28, "Nameless Island",T29, "Niflheim",T30, "Payon",T31, "Rachel",T32, "Splendide",T33, "Thor Camp",T34, "Umbala",T35, "Veins",T36, "Yuno",T37; T1: Go("prontera",155,183); T2: Go("alberta",28,234); T3: Go("aldebaran",140,131); T4: Go("amatsu",198,84); T5: Go("ayothaya",208,166); T6: Restrict("RE"); Go("brasilis",196,217); T7: Go("comodo",209,143); T8: Restrict("RE"); Go("dewata",200,180); T9: Restrict("RE"); Go("ecl_in01",48,53); T10: Go("einbech",63,35); T11: Go("einbroch",64,200); T12: Restrict("RE"); Go("dicastes01",198,187); T13: Go("geffen",119,59); T14: Go("gonryun",160,120); T15: Go("hugel",96,145); T16: Go("izlude",128,(checkre(3)?146:114)); T17: Go("jawaii",251,132); T18: Restrict("RE"); Go("lasagna",193,182); T19: Go("lighthalzen",158,92); T20: Go("louyang",217,100); T21: Go("xmas",147,134); T22: Restrict("RE"); Go("malangdo",140,114); T23: Restrict("RE"); Go("malaya",231,200); T24: Go("manuk",282,138); T25: Go("mid_camp",210,288); T26: Restrict("RE"); Go("mora",55,146); T27: Go("morocc",156,93); T28: Go("moscovia",223,184); T29: Go("nameless_n",256,215); T30: Go("niflheim",202,174); T31: Go("payon",179,100); T32: Go("rachel",130,110); T33: Go("splendide",201,147); T34: Go("thor_camp",246,68); T35: Go("umbala",97,153); T36: Go("veins",216,123); T37: Go("yuno",157,51);
  17. BeWan

    Flux cp error

    its a connection problem. try to check your ip etc.. " connection.php "
  18. BeWan

    Flux cp error

    can you post the error?
  19. i think the problem is this. bonus2 bResEff,Eff_Eff_Sleep,10000; use this one. bonus2 bResEff,Eff_Sleep,10000;
  20. its easy to add npc event on @Mabuhay event manager just follow the other event inside on that script. about the modification you can replace the mvp array to set [email protected] mvp = rand(1,10);
  21. yea its like @autotrade. if you want to show afk hat. use a script when idle for like 3 minutes it will show as headgear
×
×
  • Create New...

Important Information

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