oen432's best answers

  • oen432

    How can i add a effect on this script

    Change doSendMagicEffect(frompos, config.effect) to doSendMagicEffect(getCreaturePosition(cid), config.effect)
  • oen432

    Spell for TFS 1.3

    My bad. Change CONDITION_PARAM_STAT_MAXMANAPERCENT to CONDITION_PARAM_STAT_MAXMANAPOINTSPERCENT
  • oen432

    storage in kill tfs 1.x

    local KILL_STORAGE = { {level = 100, storage = 1234}, {level = 200, storage = 5678}, } function onKill(player, target, lastHit) if target:isPlayer() then for i = #KILL_STORAGE, 1, -1 do local temp = KILL_STORAGE[i] if target:getLevel() >= temp.level then if...
  • oen432

    DPS script TFS 1.2

    Got it! Mods have to edit my post so before they do that, here it is. Original thread updated. Make sure you change everything, even .xml for that dummy, removed few lines there. Open data/creaturescripts/creaturescripts.xml Add <event type="healthchange" name="EventDPS" script="dps.lua" />...
  • oen432

    Chest box error

    Lets start with this array local random_rewards = { [1] = {chest_uid = 1577, reward_id = 14282, reward_count = 1}, [2] = {chest_uid = 1577, reward_id = 14361, reward_count = 1}, [3] = {chest_uid = 1577, reward_id = 14358, reward_count = 1}, [4] = {chest_uid = 1577, reward_id =...
  • oen432

    AAC MYSQL CONNECTION ISSUES

    Did you change anything in engine/database/connect.php? if ($config['ServerEngine'] !== 'OTHIRE') $connect = new mysqli($config['sqlHost'], $config['sqlUser'], $config['sqlPassword'], $config['sqlDatabase']); else $connect = new mysqli($config['sql_host'], $config['sql_user']...
  • oen432

    Create All Vocations as a Males

    Two options Inside HTML that you posted to my post: Change input default value: <input type="hidden" name="sex" value="0"/> To <input type="hidden" name="sex" value="1"/> Or in PHP character creation script: Change $newchar_sex = isset($_POST['sex']) ? $_POST['sex'] : NULL; To $newchar_sex = 1;
Top