Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. Emistry

    Help

    you should show your edited scripts...... we dont know which part of your script is wrong if you dont show us... saying line error doesnt help in solving your problems due to we cant read your mind....
  2. sometime...an item description you can find it at RateMyServer for Notice Board / AFK Hat
  3. remove this /src/map/pc.c if( sd->pvp_point < 0 ) { add_timer(tick+1000, pc_respawn_timer,sd->bl.id,0); return 1|8; } then the auto respawn i guess it should be disabled by now...
  4. find all the MVP Spawn Script in /npc/mobs/ and remove those Spawn Delay for each of the script.... For Example : ama_dun03,0,0,0,0 boss_monster Samurai Specter 1492,1,5460000,600000,0 remove the 5460000,600000 by change it to 0,0
  5. http://rathena.org/board/topic/57156-request-woe-for-trans-only/page__view__findpost__p__69337
  6. prontera,155,181,5 script Sample 757,{ if( countitem( 512 ) > 9 ){ mes "You have the items."; switch( select("Use:Drop:Nothing") ){ Case 1: Case 2: Case 3: } }else if( countitem(512) < 9){ mes "You have something."; switch( select("Die:Fly:Soar")){ case 1: case 2: case 3: } }else{ mes "You Have Nothing"; } close; }
  7. like this if( countitem( 512 ) < 10 ){ mes "You didnt have 10 Apple"; }else{ mes "You have the items."; switch( select("Use:Drop:Nothing") ){ Case 1: Case 2: Case 3: etc.... } }
  8. use the countitem() command usage : countitem( itemID ) Example : if( countitem(512 ) < 10 ){ mes "You have less than 10 Apple in your Inventory."; } close;
  9. Emistry

    Take care!

    Have Fun Maki !! hahaha Good Luck in your Camp pity Ind for the daily 100 commit
  10. atcommand.txt doesnt exist in any emulator.... conf/atcommand_athena.conf
  11. [ Update ] : Updated Refine Function Script : Description : It is a Function Script for Refine Equipment without Failure Rate. The script are now able to use indenpendently in a NPC or an Item. Which mean, you can create multiple or numerous NPC Script + Items Script for Refining in your server. All of the Setting are independent..will not affect each others. This Script will be able to answer / solve those below problems. The BitMask Table : //--- Bitmasks ---- // 1 - Top Headgear // 2 - Armor // 4 - Left Hand // 8 - Right Hand // 16 - Garment // 32 - Shoes // 64 - Left Accessory // 128 - Right Accessory // 256 - Middle Headgear // 512 - Lower Headgear If you want to allow the refine on those part....then just put in the Number ( for Single Part Refiner ) or Add in all the Number ( for Multiple Part Refiner ) For Example : A Refiner that can refine Top Headgear Only ( BitMask = 1 ) A Refiner that can refine Both Left / Right Accessory Only ( BitMask = 126 + 64 = 190 ) A Refiner that can refine Armor / Garment / Shoes Only ( BitMask = 2 + 16 + 32 = 50 ) and etc..... Function Script Calling : callfunc( "RefineFunc",<itemID>,<BitMasks>,<MaxRefine>,<CheckEquip>,<RefineMode> ); Explaination on Each Argument : // itemID -> Item that will be used. // BitMask -> Refer to above bitmask table. // MaxRefine -> What is the Max Refine. [ Can Bypass Default Server Max Refine ] // CheckEquip -> Check Equipments is Refineable or not. [ 0 = Disable / 1 = Enable ] // RefineMode -> +1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ] Sample Script : Use as Item ( Refine Ticket ) : 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc",501,63,10,1,1 ); },{},{} Caution : Change Item Type to 11 Use as NPC Script ( Custom 100% Refiner ) : prontera,155,181,5 script Refiner 757,{ callfunc( "RefineFunc",501,63,10,1,1 ); } You can create as many NPC / Items for refine as you want to... just make sure youprovide the correct Settings. With this script, you can create several NPC that can allow users to refine items 100% success using certain items and different max refine level. So, that your server wont need to focus on using 1 NPC. You can make 1 NPC for refine +5 / +6 / +7 using Elunium without fail, then you can further the refine to +8 / +9 using another NPC with different Items, and lastly +10 another NPC. It is all up to you. Refine Function [ Version 4 ] Changelog : Scripts : View ♥ Download Please spend your time to read all the things i have write / mentioned in the post before you asking any questions. if got bug / problems please do report to me.
  12. try this 30269,black valk armor,black valk armor,5,0,0,10,,10,,1,0xFFFFFFFE,7,2,16,,1,1,1069,{ bonus bAllStats,1; bonus bUnbreakableArmor,0; if( BaseClass == 2 || BaseClass == 3 || BaseClass == 4 ) bonus2 bResEff,Eff_Silence,5000; else if( BaseClass == 1 || BaseClass == 5 || BaseClass == 6 ) bonus2 bResEff,Eff_Stun,5000; if( isequipped(30270,30271) ){ bonus bAllStats,10; if( BaseClass == 1 ) bonus bMaxHPrate,10; if( BaseClass == 2 ) bonus bMatkRate,10; if( BaseClass == 3 ) bonus bLongAtkRate,10; if( BaseJob == 8 ) bonus2 bAddRace,RC_DemiHuman,10; if( BaseJob == 10 ||BaseJob == 12 ||BaseJob == 15 ) bonus bAtkRate,10; bonus2 bSkillAtk,229,10; } },{},{} but...to increase the success rate of full strip....i not sure....and i dont think it can be done without any source edit..>.<
  13. i guess you need to edit the source so that it can be turn off completely....or maybe client side like arcencial said.. because...i remember that..they can send item / mesage by turn on the Mail Box at the Friend List there..... try this way... /src/map/mail.c find this int mail_openmail(struct map_session_data *sd) { nullpo_ret(sd); if( sd->state.storage_flag || sd->state.vending || sd->state.buyingstore || sd->state.trading ) return 0; clif_Mail_window(sd->fd, 0); return 1; } and...replace to this ( trying to make only GM Level below 100 cant use it ) int mail_openmail(struct map_session_data *sd) { nullpo_ret(sd); if( sd->state.storage_flag || sd->state.vending || sd->state.buyingstore || sd->state.trading || pc_isGM(sd) < 100 ){ clif_displaymessage(fd, "Mail System is Disabled."); return 0; } clif_Mail_window(sd->fd, 0); return 1; } not sure will this prevent users from open mail through other way or not....
  14. try these ( not sure ) 40014,White_Bag,White Bag,5,20,,100,,0,,0,0xFFFFFFFF,7,2,1,,0,0,1824,{},{ set MaxWeight,MaxWeight + 300; },{ set MaxWeight,MaxWeight - 300; } or this ( give player level 3 Enlarge Weight Skill ) 40014,White_Bag,White Bag,5,20,,100,,0,,0,0xFFFFFFFF,7,2,1,,0,0,1824,{ skill 36,3; },{},{}
  15. you need to use these command to help you~ ========================= |8.- Quest Log commands.| ========================= --------------------------------------- *setquest <ID>; Place quest of <ID> in the users quest log, the state of which is "active". --------------------------------------- *completequest <ID>; Change the state for the given quest <ID> to "complete" and remove from the users quest log. --------------------------------------- *erasequest <ID>; Remove the quest of the given <ID> from the user's quest log. --------------------------------------- *changequest <ID>,<ID2>; Remove quest of the given <ID> from the user's quest log. Add quest of the <ID2> to the the quest log, and the state is "active". --------------------------------------- *checkquest(<ID>{,PLAYTIME|HUNTING}) If no additional argument supplied, return the state of the quest: -1 = Quest not started (not in quest log) 0 = Quest has been given, but the state is "inactive" 1 = Quest has been given, and the state is "active" 2 = Quest completed If parameter "PLAYTIME" is supplied: -1 = Quest not started (not in quest log) 0 = the time limit has not yet been reached 1 = the time limit has not been reached but the quest is marked as complete 2 = the time limit has been reached If parameter "HUNTING" is supplied: -1 = Quest not started (not in quest log) 0 = you haven't killed all of the target monsters and the time limit has not been reached. 1 = you haven't killed all of the target monsters but the time limit has been reached. 2 = you've killed all of the target monsters --------------------------------------- *showevent <state>, <color>; Show a colored mark in the mini-map like "viewpoint" and an emotion on top of a NPC. This is used to indicate that a NPC has a quest or an event to certain player/s. state can be: 0 = disable ( Used to disable and remove the mark and the emotion from the NPC. ) 1 = exclamation emotion ( Used to show an important quest event to certain player. ) 2 = interrogation emotion ( Used to show an non-important quest event to certain player. ) Other value may cause client crashes. color can be: 0 = yellow "Quest" 1 = orange "Job" 2 = green "Event" 3 = an MVP flag other values show a transparent mark in the mini-map. ----------------------------------------
  16. i guess you can try this.. for( set .@i,350; .@i <= 766; set .@i,.@i + 1 ){ sc_end .@i; } Based on this 3Ceam/db/const.txt 3rd Job Buffs / related buffs is start from 350... and end at 766
  17. Well..if you are looking for somekind of Shop that need to use items to buy items.... you can check here Original Post : Link [ Update ] : Added a Multi Currency Shop Script : Description : It is a Simple Shop take use Item Currency to Buy items. It Support Multiple Shop in 1 NPC. This Script is based on the Idea of those other TCG / POD / etc Shop that users keep requesting. The only different is, this Script only use 1 NPC + 1 Shop ( Invinsible ) NPC to settle all your Problems. Of Course, that this script can fulfill certain User Request like , You can add around ~128 Shop in this NPC. Add the Shop Selection at the Menu / New Cases for each of it. Simple Explaination : A Script that allow setup several Shop that using Different Items as Currency to buy Items for the Corresponding Shop... Multi Currency Shop [ Version 3 ] Changelog : Scripts : View ♥ Download Please let me know if there is any problems. As well as any Suggestion to Improve it. even though it is not as simple / as perfect you can think of it...but still you can give it a try
  18. acutually...both KafraPoint and Cash Point work in CashShop even though it show using another Point ... but...just try it...input the value...and you will be able to purchase it using Kafra Point / CashPoint it even did work with semi payment from CashPoint and KafraPoints
  19. first.... make a new Folder... and named it with .. Data then...now.....open your GRFBuilder Software that you have downloaded... click on New Button then create a new GRF file....then click on Merge Button select the Data folder that you have put all the files in there and merge it... all is done then....
×
×
  • Create New...