Jump to content

GodKnows Jhomz

Members
  • Posts

    333
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by GodKnows Jhomz

  1. You just need to load the npc in your server : Open npc/script_custom.conf Add this line: npc: npc/custom/luckyroulette_prize_changer.txt Copy the downloaded npc file in your npc/custom folder. Type @reloadscript or Restart your server then go to the npc in the middle of prontera to change the prize in your lucky roulette. After changing prize you need to restart the server.
  2. Here is the answer to your question :
  3. You can't add more rewards. It is fixed for 42 item rewards. You can just edit the roulette prizes in this script.
  4. Try to add this in your data/resnametable.txt : bat_a03.gnd#bat_a01.gnd# bat_a03.gat#bat_a01.gat# bat_a03.rsw#bat_a01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a03.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a01.bmp# bat_a04.gnd#bat_a01.gnd# bat_a04.gat#bat_a01.gat# bat_a04.rsw#bat_a01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a01.bmp# bat_a05.gnd#bat_a01.gnd# bat_a05.gat#bat_a01.gat# bat_a05.rsw#bat_a01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a05.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a01.bmp# bat_b03.gnd#bat_b01.gnd# bat_b03.gat#bat_b01.gat# bat_b03.rsw#bat_b01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b03.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b01.bmp# bat_b04.gnd#bat_b01.gnd# bat_b04.gat#bat_b01.gat# bat_b04.rsw#bat_b01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b01.bmp# bat_b05.gnd#bat_b01.gnd# bat_b05.gat#bat_b01.gat# bat_b05.rsw#bat_b01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b05.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b01.bmp# bat_c04.gnd#bat_c01.gnd# bat_c04.gat#bat_c01.gat# bat_c04.rsw#bat_c01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp# bat_c05.gnd#bat_c01.gnd# bat_c05.gat#bat_c01.gat# bat_c05.rsw#bat_c01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c05.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp# bat_c06.gnd#bat_c01.gnd# bat_c06.gat#bat_c01.gat# bat_c06.rsw#bat_c01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c06.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp# bat_c07.gnd#bat_c01.gnd# bat_c07.gat#bat_c01.gat# bat_c07.rsw#bat_c01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c07.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp# bat_c08.gnd#bat_c01.gnd# bat_c08.gat#bat_c01.gat# bat_c08.rsw#bat_c01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c08.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp# schg_cas06.gnd#schg_cas01.gnd# schg_cas06.gat#schg_cas01.gat# schg_cas06.rsw#schg_cas01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas06.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas01.bmp# schg_cas07.gnd#schg_cas02.gnd# schg_cas07.gat#schg_cas02.gat# schg_cas07.rsw#schg_cas02.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas07.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas02.bmp# schg_cas08.gnd#schg_cas03.gnd# schg_cas08.gat#schg_cas03.gat# schg_cas08.rsw#schg_cas03.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas08.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas03.bmp# arug_cas06.gnd#arug_cas01.gnd# arug_cas06.gat#arug_cas01.gat# arug_cas06.rsw#arug_cas01.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas06.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas01.bmp# arug_cas07.gnd#arug_cas02.gnd# arug_cas07.gat#arug_cas02.gat# arug_cas07.rsw#arug_cas02.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas07.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas02.bmp# arug_cas08.gnd#arug_cas03.gnd# arug_cas08.gat#arug_cas03.gat# arug_cas08.rsw#arug_cas03.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas08.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas03.bmp# rush_cas01.rsw#prtg_cas02.rsw# rush_cas01.gat#prtg_cas02.gat# rush_cas01.gnd#prtg_cas02.gnd# À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas01.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\prtg_cas02.bmp# rush_cas02.rsw#payg_cas04.rsw# rush_cas02.gat#payg_cas04.gat# rush_cas02.gnd#payg_cas04.gnd# À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas02.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\payg_cas04.bmp# rush_cas03.rsw#aldeg_cas05.rsw# rush_cas03.gat#aldeg_cas05.gat# rush_cas03.gnd#aldeg_cas05.gnd# À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas03.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\aldeg_cas05.bmp# rush_cas04.rsw#gefg_cas03.rsw# rush_cas04.gat#gefg_cas03.gat# rush_cas04.gnd#gefg_cas03.gnd# À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\gefg_cas03.bmp# region_8.gnd#guild_vs2.gnd# region_8.gat#guild_vs2.gat# region_8.rsw#guild_vs2.rsw# À¯ÀúÀÎÅÍÆäÀ̽º\map\region_8.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\guild_vs2.bmp#
  5. View File Lucky Roulette Prize Changer I'm not that good at scripting but I want to help the community by making this Lucky Roulette Prize Changer so you won't need to go to your sql just to update the prize. To display the guide, you need to upload the rouletteGuide.bmp in your GRF. ( The file is included in the download. ) Reminder : Lucky Roulette's Prizes will only refresh when the server restarts but the list is updated instantly. Submitter GodKnows Jhomz Submitted 09/24/2018 Category Utilities Video Content Author GodKnows Jhomz  
  6. Try this instead. if ( getgmlevel() > 99 || getgroupid() > 99 ) {
  7. Version 1.0.0

    799 downloads

    I'm not that good at scripting but I want to help the community by making this Lucky Roulette Prize Changer so you won't need to go to your sql just to update the prize. To display the guide, you need to upload the rouletteGuide.bmp in your GRF. ( The file is included in the download. ) Reminder : Lucky Roulette's Prizes will only refresh when the server restarts but the list is updated instantly.
    Free
  8. Open src/map/map.cpp Find #define MAP_MAX_MSG 1550 Change the value to 1600 or higher. Recompile.
  9. Rename you new Spr and Act file to this : Æ÷¸µÄÚÀÎ Then add it to your grf.
  10. prontera,155,175,5 script Click Limit NPC 123,{ if(ClickLimit == 3) end; mes "[ Limit Click ]"; set ClickLimit,ClickLimit+1; mes "You have clicked me "+ClickLimit+"x."; close; } Try this.
  11. You need to update your map_cache.dat in your db/(pre)re folder for the updated payon.gat so you can walk in the new open space in the removed houses.
  12. Just remove this from the script so it won't hide the npc when the script loaded : OnClock0400: OnClock0800: OnClock1200: OnClock1600: OnClock2000: OnClock0000: announce "Slot Machine will begin in 1 minute.", bc_all; sleep 60000; announce "Come and Play slot machine at prontera", bc_all; hideoffnpc strnpcinfo(3); sleep 300000; announce "Slot Machine already finished", bc_all; hideonnpc strnpcinfo(3); end; OnInit: <-- Don't remove this hideonnpc strnpcinfo(3); <-- Just remove this line Here is the file where I remove the hideonnpc part. Slot Machine.txt
  13. Copy the Summoner's Skills from db / re / skill_db.txt and paste it either into db / import / skill_db.txt or db / pre-re / skill_db.txt Here it is: summonerskills.txt
  14. Can anyone help me how to make an npc with temporary array. The npc should be like this: Talk to npc then selection of Add Item or Close. After clicking Add Item, it will ask for Item ID then Item Amount. Then it will show the item name and amount after clicking next. ( After next it will show the current item list and it will show the same menu (Add Item or Close) ) After clicking Add Item again, it will do the same then after adding item id and amount it will show the list again including the latest item added and the same menu. When you click close, it will clear the array.
  15. Are you able to update your server that uses thor patcher using this AndRO without manually updating the folder in your device?
  16. // https://www.eathena.ws/board/index.php?&act=attach&type=post&id=5866 //===== eAthena Script ======================================= //= Super Convex Mirror //===== By: ================================================== //= Brian //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= //= Detects if every MVP is alive or dead. //===== Additional Comments: ================================= //= http://www.eathena.ws/board/index.php?showtopic=242050 //============================================================ prontera,156,175,3 script Super Convex Mirror::convex 46,{ for( .@i = 0; .@i < getarraysize( .mvp_name$ ); .@i++ ) { switch (.@i) { case 9: @alive = mobcount( "lhz_dun03", "summon_boss_lt::OnMyMvPDead" ); break; case 26: @alive = ( $ktullanux_summon < 4 || mobcount( "ice_dun03","ice_boss#on::OnMyMobDead" ) ); break; case 28: @alive = mobcount( "niflheim", "NifInvasion::OnLoDDead" ); break; case 42: @alive = ( $@thana_summon < 6 || mobcount( "thana_boss", "#Death::OnThanaDead" ) ); break; default: @alive = mobcount( .mvp_map$[.@i], "" ); break; } if ( .display_type == 2 ) .@menu$ = .@menu$ + ( ( @alive ) ? "^FF0000" : "^008000" ) + .mvp_name$[.@i] + "^000000 (" + .mvp_map$[.@i] + "):"; else if ( .display_type == 1 ) mes ( ( @alive ) ? "^FF0000" : "^008000" ) + .mvp_name$[.@i] + "^000000 (" + .mvp_map$[.@i] + ")"; } if ( .display_type == 1 ) close; .@num = select( .@menu$ ) - 1; if (.warp_to_mvp == 1) warp .mvp_map$[.@num],0,0; else if(.warp_to_mvp == 2) { sleep2 1000; sc_start SC_BOSSMAPINFO,600000,0; } end; OnInit: // 0 = disabled, 1 = enabled, 2 = enabled + SC_BOSSMAPINFO .warp_to_mvp = 0; setarray .mvp_map$, "moc_pryd06","ra_fild02","ra_fild03","ra_fild04","ve_fild01", "ve_fild02","lou_dun03","prt_maze03","abbey03","lhz_dun03", "gl_chyard","abyss_03","gef_dun02","gef_dun01","treasure02", "pay_fild10","gon_dun03","abbey02","xmas_fild01","ra_san05", "prt_sewb4","mosk_dun03","man_fild03","thor_v03","ama_dun03", "kh_dun02","ice_dun03","ayo_dun02","niflheim","anthell02", "mjolnir_04","pay_dun04","gef_fild02","gef_fild14","gef_fild10", "moc_pryd04","in_sphinx5","moc_fild17","ein_dun02","xmas_dun02", "beach_dun","spl_fild03","thana_boss","tur_dun04","odin_tem03", "jupe_core","lhz_dun02"; setarray .mvp_name$, "AmonRa","Atroce","Atroce","Atroce","Atroce", "Atroce","Bacsojin","Baphomet","Beelzebub","Bio3", "DarkLord","Detale","Doppelganger","Dracula","Drake", "Eddga","EvilSnakeLord","FallenBishop","Garm","GloomUnderNight", "GoldenThiefBug","Gopinich","HardrockMammoth","Ifrit","IncantationSamurai", "KielD01","Ktullanux","LadyTanee","LordofDeath","Maya", "Mistress","MoonlightFlower","OrcHero","OrcHero","OrcLord", "Osiris","Pharaoh","Phreeoni","RSX0806","StormyKnight", "TaoGunka","TendrilLion","Thanatos","TurtleGeneral","ValkyrieRandgris", "Vesper","Ygnizem"; .display_type = 1; if( .warp_to_mvp > 0 ) .display_type = 2; end; } I also switched the color code.
  17. Try to change .@alive to @alive ( Remove . ) Just a guess.
  18. Just edit it using notepad or wordpad then add your custom card and save. Don't edit it using Notepad++. That's the only way you can add new card cutin. Or try my suggestion to edit your num2cardillustnametable.txt inside the GRF Editor add your custom card then save, then extract it if you need to make a patch.
  19. Check your mapflag, maybe it is set as GVG instead of Battleground.
  20. If you have the item in your inventory then change its location from normal headgear into costume headgear you need to type @refresh or drop the item or relog. Then you can equip the costume item.
  21. Try this one. It will summon 10 (Big) Wild Rose in Prontera on Midnight (12:00AM | 00:00 Server Time). You will get Reward once you killed the Wild Rose. - script Midnight Mob Invasion -1,{ OnClock0000: announce "[Invasion]: 10 Giant Wild Rose has been summoned in Prontera!",0; // Summons 10 Wild Rose in prontera. monster "prontera",0,0,"[Event] Wild Rose",1261,10,strnpcinfo(3)+"::OnEventKill",2; end; OnEventKill: message strcharinfo(0),"You have killed Wild Rose! You have been rewarded!"; // Rewards when killed getitem 607,1; end; }
  22. What is the expected result in modifying this card seller?
  23. As @hendra814 said, please use @reloadatcommand or restart your server to make it work. @reloadscript only reloads npc scripts, not commands (unless it is inside the script using bindatcmd).
  24. Check exp.conf and drops.conf inside your trunk/conf/battle folder. You can change exp rates and drop rates there base on the file name.
×
×
  • Create New...