• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. X

    Fix/Patch Stairs Issue/Height Stacking

    I'm assuming this has been tested? I cannot test it myself right now. My fix is and was a fast temporary fix - and was not thoroughly tested -- however, it does fill its purpose. I'll attach your post to the thread to advise your fix instead. Thanks for taking the time to fix it.
  2. X

    SQL Code: Reset Players to lvl 8.

    Dont paste the last line then.
  3. X

    LATE's workshop(wut)

    Wicked! Thank you very much.
  4. X

    Get Creature CID

    getTopCreature returns the ID (cid) of a creature -- so creature = cid.
  5. X

    Get Creature CID

    Try using getTopCreature(pos).
  6. X

    Need move lever only when monster is dead

    You could use the onKill event and check if target is a monster and in a certain area -- and then set a global storage value that you use to check if the lever can be pulled in another action. Example: local monster = "" -- name of the monster local storage = 1475 -- global storage value...
  7. X

    Possible House Command? Rep!

    What house bug? Which distro are you talking about?
  8. X

    SQL Code: Reset Players to lvl 8.

    Update all players: UPDATE players SET level = 8, health = 185, healthmax = 185, experience = 4200, maglevel = 0, mana = 35, manamax = 35, manaspent = 0, soul = 100, posx = 1000, posy = 1000, posz = 7, cap = 440, skull = 0, skulltime = 0, stamina = 201660000, loss_experience = 100...
  9. X

    LATE's workshop(wut)

    I'd like one if you have time for it. :) Text: Xellath Render: http://bakarenders.com/renders/displayimage.php?pid=163&fullsize=1 optionally http://bakarenders.com/renders/displayimage.php?pid=3258&fullsize=1
  10. X

    Fix/Patch Stairs Issue/Height Stacking

    ctf76 posted a bug in the support forums, explaining that the stairs/ramps bug when you stack other items with height differences on the lower ramp tile. This applied to my server as well -- so I decided to fix it. The fix below was and still is a temporary quick solution - a more advised...
  11. X

    [GlobalEvent] Script Error: onStartup

    Then it's the other way around. Your compability is defined to replace db.executeQuery with db.query. Delete that line in 100-compat.lua and try again.
  12. X

    [GlobalEvent] Script Error: onStartup

    It's either that, or edit your 100-compat.lua (see my edited post above).
  13. X

    [GlobalEvent] Script Error: onStartup

    You're right, I thought that it just escaped the string and queued the query again, my bad. Do as War said, but see my post above before you replace all db.executeQuery.
  14. X

    [GlobalEvent] Script Error: onStartup

    Try replacing all db.executeQuery with db.escapeString. Scratch that. That escapes the string. My bad. Follow directions below, but instead of replacing everything you could do this to your 100-compat.lua: db.executeQuery = db.query
  15. X

    Add damage

    ret is the max damage (floorrounded). See cast: int32_t ret = (int32_t)std::floor(maxValue); DISTRO_NORMAL is a defined constant. There is no function where you can add it just by using a function call, you can however hook onStatsChange and alter or/and block the incoming health change...
  16. X

    Modern aac Cant create account just loading!

    Have you loaded the schema that comes with modernACC? ALTER TABLE `accounts` ADD `page_access` int(11); ALTER TABLE `accounts` ADD `page_lastday` int(11); ALTER TABLE `accounts` ADD `email_new` varchar(255); ALTER TABLE `accounts` ADD `email_new_time` int(15); ALTER TABLE `accounts` ADD...
  17. X

    Add damage

    Yes, melee attacks can (but is most unlikely to) pop a zero. See weapons.cpp: Max Damage: int32_t Weapons::getMaxMeleeDamage(int32_t attackSkill, int32_t attackValue) { return (int32_t)std::ceil((attackSkill * (attackValue * 0.05)) + (attackValue * 0.5)); } int32_t...
  18. X

    Fix/Patch Allow auto-attacking without exhaustion + Casting runes while running

    I wanted the players on our server to be able to auto attack while still being able to deal damage with offensive spells and do this meanwhile running, so I sat down and looked through the source and turns out this was a rather simple procedure. Here's how you do it: Allow auto attacking...
  19. X

    [Modern aac] Character Info Page

    \system\application\views\view_character.php is the location for that page. Deaths, frags and other character (on the same account as the current character) are all injections -- they can be found in \injections\character_view\.
  20. X

    Lua Command doPlayerStorageValue - need help

    Use getPlayerStorageValue with your storage value.
Back
Top