Jump to content

Keitenai

Members
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Keitenai

  1. In conf/battle/battle.conf Set it to YES
  2. Make sure your trunk has the file "atcommand.inc" and "atcommand_def.inc"
  3. Keitenai

    Damage flag

    i think bAutoSpell can work that way.
  4. in scr/map/battle.c find: //Dual-wield
  5. By default, PACKET_OBFUSCATION is enabled on Server side. If PACKET_OBFUSCATION is enabled on Server side, then it should also be enabled on Client side. else If PACKET_OBFUSCATION is disabled on Server side, then it should also be disabled on Client side.
  6. You can also use auto delete non-existing items from trunk/conf/battle/items.conf // On map change it will check for items not tagged as "available" and // auto-delete them from inventory/cart/storage. // NOTE: An item is not available if it was not loaded from the item_db or // specified as unavailable in db/item_avail.txt // 0x1: Inventory // 0x2: Cart // 0x4: Storage item_check: 0x0 Change the item_check: 0x0 to item_check: 0x7
  7. I was totally unaware of that. Thanks a bunch! now i know why i get script errors when there's a special character on a player's name like ' . Git Updated!
  8. Cool!! i didn't know there is such function! haha thanks @emistry Git updated
  9. File Name: WhoisCommand.txt File Submitter: keitenai File Submitted: 31 July 2017 File Category: Utility Script Content Author: keitenai Information: Admins or GMs mostly find it hard to track a player when certain player has many accounts created with many characters on each accounts. I too had this problem so I made this script to simplify tracing a player with a simple @ whois command. How does it work? By typing the complete player's name after the command ( @ whois name of player ) will trigger sql searching for accounts which is linked to the player's IP address. Tracking is limited to last IP used by the player so this script is not capable of completely identifying all accounts of the player if a player use a different IP on a different account. Features: NO src editing needed! Able to track account IDs, Character Names, and current online character on an account. Script LINK: https://github.com/keitenai/keitenai/blob/master/WhoisCommand.txt Give me hugs and kisses if you find this useful
  10. This is only applicable on clients 2015 and above which has alternative suit feature ( dressing room ). This will also require this sprites: then simply use this on your item's "OnEquip" and "OnUnEquip" script 2301,Cotton_Shirt,Cotton Shirt,4,10,,100,,1,,0,0xFFFFFFFF,7,2,16,,0,1,0,{},{ changelook LOOK_BODY2,1; },{ setlook LOOK_BODY2,0; } you might get sprite errors on Jobs with no alternative suits yet. So i suggest that you limit the jobs that can equip this armor
  11. No need to make additional function for item check, plus you will also free a small portion of your server resources by removing the function script.
  12. or try to remove the "||" on your function: function script D_huntermark { return (countitem(47007) > 0); } and keep everything else as it was
  13. are you using it for other script? if so then you can just change the: if (!callfunc("D_huntermark")) { in to this: if(!countitem(47007)){
  14. Try this: if(!countitem(47007)){
  15. post the full script. perhaps a revision is needed
  16. prontera,155,175,2 script 3rd Job Check 754,{ @eac = eaclass(); if(@eac&EAJL_THIRD){ @atcommand "@die"; dispbottom "3rd Job confirmed"; } end; }
  17. try check all your custom scripts and see if there's a duplicated function as @n0tttt suggests
  18. function script D_huntermark { return (countitem(1004) > 0 || countitem(1006) > 0); end; } add the "function" on your script
  19. sounds like an auction
  20. try closing the function script with "end;" function script D_huntermark { return (countitem(1004) > 0 || countitem(1006) > 0); end; }
  21. @Noctis Try this ( based on your script ) if (!callfunc("D_huntermark")) { mes "You need to have a"; mes "^4d4dff'Hunter License'^000000"; mes "to receive this mission."; close; } if (checkquest(70255) != -1) { if (checkquest(70255,HUNTING) != 2 ) { mes "[Leorio Veteran Hunter]"; mes "Are you done with those Ferus? Quit slacking?"; next; switch(select("Yes:No:I want to withdraw from this mission")) { case 1: mes "[Leorio Veteran Hunter]"; mes "Other Hunters would be honoured to receive such an assignment."; mes "Don't ever think of coming back until the task is done, got it?"; close; case 2: mes "[Leorio Veteran Hunter]"; mes "You STILL haven't suceed? Time is short, make it quick!"; close; case 3: mes "[Leorio Veteran Hunter]"; mes "Not everyone's up for a challenge. You need to train harder."; mes "Are you 100% sure you want to withdraw?"; next; switch(select("Yes:No")) { case 1: mes "[Leorio Veteran Hunter]"; mes "Until we meet again, Hunter."; erasequest 70255; close; case 2: mes "[Leorio Veteran Hunter]"; mes "That's the spirit! No quitters! Give 'em hell!"; close; } } } mes "[Leorio Veteran Hunter]"; mes "You proved yourself worthy and willing. Congratulations, you've been rewarded."; specialeffect2 EF_MAGICALATTHIT; specialeffect2 EF_POTION2; specialeffect2 EF_ANGEL2; getexp 18818,7527; erasequest 70255; close; } if ((BaseLevel > 141) && (BaseLevel < 150)) { mes "[Leorio Veteran Hunter]"; mes "Name's Leorio. Im a Veteran Hunter for the Rune Midgard Hunting Elite, we have plenty of tasks that need a hand, and will receive some loot in return."; mes "What do you say? Willing to work for us?"; next; switch(select("Sure:No")) { case 1: mes "Are you absolutely sure about this?"; next; switch(select("Of course:Just kidding")) { case 1: if(BaseLevel > 151){ mes "[Leorio Veteran Hunter]"; mes "Let the low ones get these leftovers, go talk to someone else within the Rune Midgard Hunting Elite."; close; } if(character_delay>gettimetick(2)){ mes "[Leorio Veteran Hunter]"; mes "You need to wait"; set [email protected],((character_delay-gettimetick(2))/3600); set [email protected],((character_delay-gettimetick(2))-([email protected]*3600))/60; if( [email protected] > 0 ){ if( [email protected] > 0 ) mes "^4d4dff"[email protected]+"^000000:^4d4dff"[email protected]+"^000000 hour(s)"; else mes "^4d4dff"[email protected]+"^000000 minutes"; } mes "to get new mission."; close; } mes "[Leorio Veteran Hunter]"; mes "Seems like you can be worthy. Let's see if you can handle my task. I doubt it, but we'll see."; setquest 70255; set character_delay,gettimetick(2)+86400; close; case 2: mes "[Leorio Veteran Hunter]"; mes "On second thought, I guess there's no harm in joining."; close; } case 2: mes "[Leorio Veteran Hunter]"; mes "We only want the best with us either way."; close; } } mes "[Leorio Veteran Hunter]"; mes "This is way ahead of your league, newbie. Go back to the safety of Prontera."; close; } I haven't tested but i think it will work
×
×
  • Create New...

Important Information

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