Beiträge von Syreldar

    Hi, if I didn't misunderstand, you are experiencing the fact that you can use your mount skills while you are riding certains mounts, which is a normal thing as you can see.


    Could you explain what would like to happen, instead?


    In English ofc!


    What is this by the way?


    Code
    1. if(GetMountVnum())
    2. {
    3. if( !((GetMountVnum() >= 20209 && GetMountVnum() <= 20212) ||
    4. GetMountVnum() == 20215 || GetMountVnum() == 20218 || GetMountVnum() == 20225 ) )
    5. return false; return true;
    6. }



    Code
    1. return false; return true;

    I'll leave here my CanUseSkill:


    And my CanUseHorseSkill:

    This is a normal teleportation quest i wrote 2 years ago.
    I'm pretty sure it's the cleanest, and most understandable you can ever find or buy on the web, even tho it's nothing special.


    As always, it's fully customizable.
    Each function contains a clear explanation of its structure and what it does.


    Have fun!


    Function Library File (.lua):


    Quest File:


    How do i use the library file?
    Make it load by dofile() in your questlib.lua or simply add what's inside it to the questlib.lua as it is, even if it's not exactly the cleanest way to do it.


    How do i use it?
    Customize it! by default, it works by clicking on the Old Man Teleporter (vnum 9012).


    Why should i use it?
    First of all as i said, it's fully customizable, you can just add new sections or maps and the lib will handle them by itself.
    Second, the library file contains the map arrays and yet it still is only 100 Lines of code, the quest contains the menu buildup and nothing else, since it's fully managed by the library, so it's less than 50 Lines of code. No script i've seen till now is more lightweight and as customizable as this one.

    ps: Nice photo Bitte melden Sie sich an, um diesen Link zu sehen. :love:


    Here is on C++ is someone want:

    Aw thanks Veggy <3



    Nice VegaS!

    but.. but.. my feelings..Bitte melden Sie sich an, um dieses Bild zu sehen.

    This quest will warp to the village whoever logins into a map which minimum level required is higher than the player's level.
    This basically fixes those who abuse the Wedding Ring or the Warp Scrolls to go to maps they normally shouldn't be able to go into.


    For example: if a player logins into the Grotto of Exile but his level is less than 75, he will be teleported back to his village.


    The maps and the minimum levels are fully customizable.


    Have fun!


    Quest File:

    There you go!



    The party.is_party check doesn't need to be added since it's redundant. (You can't be the leader of a party without actually being inside a party.)!


    If you need more LUA support, you can add me on Skype or Curse!

    The index of the map you teleport from must be the same index of the map you teleport in, else you get kicked back to the village.


    And don't use game99 for this kind of things, preferably.

    Hi,


    so i found this in my HD and i thought about sharing it with you guys.
    It's the latest (AFAIK) SashSystem developed by LeNnT, the 0.3 version (Latest Update: 08/09/2016)


    Download:


    It contains Documentation, Changelog, and relative Instructions to install it correctly.


    05/04/2019 - Update!

    After 2 Years of using this system, I've only found 1 bug, 2 considering the fact that it's not compatible with the new zodiac sashes.

    I've made a topic to fix both of the issues: Bitte melden Sie sich an, um diesen Link zu sehen.


    Have Fun!

    Look dude, i'll just give you the ride quest i wrote, that one is not really good, really.. and would take me a lot of time to fix it.


    1) questlib.lua (or create a new lib and load it with a dofile()) this code: Bitte melden Sie sich an, um diesen Link zu sehen.
    2) This is the ride quest: Bitte melden Sie sich an, um diesen Link zu sehen.


    The code is high-quality and it's much more lightweight and understandable, furthermore it's fully customizable from the library file by simply adding new code lines.
    The language of the comments is Italian.

    Hi,


    To solve the problem, run this query:

    SQL
    1. ALTER TABLE `skill_proto` MODIFY COLUMN `setFlag` set('ATTACK','USE_MELEE_DAMAGE','COMPUTE_ATTGRADE','SELFONLY','USE_MAGIC_DAMAGE','USE_HP_AS_COST','COMPUTE_MAGIC_DAMAGE','SPLASH','GIVE_PENALTY','USE_ARROW_DAMAGE','PENETRATE','IGNORE_TARGET_RATING','ATTACK_SLOW','ATTACK_STUN','HP_ABSORB','SP_ABSORB','ATTACK_FIRE_CONT','REMOVE_BAD_AFFECT','REMOVE_GOOD_AFFECT','CRUSH','ATTACK_POISON','TOGGLE','DISABLE_BY_POINT_UP','CRUSH_LONG','ATTACK_WIND','ATTACK_ELEC','ATTACK_FIRE','ATTACK_BLEEDING','PARTY') CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT '' AFTER `szAttackGradePoly`;

    Then run yours again.


    Or, just run the query like this:

    SQL
    1. INSERT INTO `skill_proto` VALUES ('221', 'Sword Spin Ward', '6', '1', '1', '0', 'NONE', '24*k', '', '', '', '', '', '', '', 'YMIR', 'NONE', '', '', 'YMIR', 'NONE', '', '', '', '0', '0', 'NORMAL', '0', '1', '1000', '0');

    Hi!


    Common indent mistake, you were starting a new 'state' without closing the first one, the indentation probably confused you and made you think it was a 'when' : Bitte melden Sie sich an, um diesen Link zu sehen.
    I've rewritten the quest for you! Have fun!