• 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!

Recent content by LooSik

  1. LooSik

    Nostalrius 7.7

    I don't think any distro have it all correct ;) Another finding is quite intresting. For distance fighting creatures like warlocks, it seems like there can be additional time attack can be cast - which is inbetween each(?) movement that is further away than >1 tiles away from target. So if...
  2. LooSik

    Nostalrius 7.7

    I've used GDBServer - attached post boot. I've tried to use the IDA's linux one I couldn't use the 32bit one with low libgc version due to my VM for Cip files being some older distro.
  3. LooSik

    Nostalrius 7.7

    I have tested the fleeing behaviour a bit. So we already know the monster while fleeing has only 33% of it's normal attack chance. However interval for fleeing is 1000ms. Making it possible for the fleeing creature to do some nasty combo but its less likely due to 33% chance nerf...
  4. LooSik

    Nostalrius 7.7

    After further investigation - this time with debuger linked. Found out special circumstance when monster might perform lower delay. It's when monster is 2 tile away and performs an distant spell attack, if it manages to gap close enough for melee attack it will perform melee + spell instantly...
  5. LooSik

    Nostalrius 7.7

    I am talking about Cip files. Not nostalrius. So further observations. The 1000ms attack cd is VERY rare, and no idea what triggers it under normal circumstances. But safest bet would be to keep any attacking on 2000ms interval - because thats 99% of scenarios when monster can reach target -...
  6. LooSik

    Nostalrius 7.7

    Initial testing of real files. Melee range for sure the interval is 2000ms. If monster can't reach the target its 1000ms ( as if no pathing found ) If monster is far away but can reach the target its still 2000ms ( The dragon is set to 100% chance for aoe, frontal and self healing ) 1st video...
  7. LooSik

    Nostalrius 7.7

    Yeah that's what I've seen as well. Certain stuff trigers additional 1000ms pause TCreature::ToDoWait(&this->tNonPlayer.tCreature, (int)v34, (TCreature *)v33, (TConnection *)this, 1000); called in around 6 or so places of IdleStimulus func there is bunch of state switching as well which might...
  8. LooSik

    Nostalrius 7.7

    Yeah uniform random is very simillar in behaviour to rand(), just more convinent to use. And decompiled binary of Cip's files is using normal rand for spell attack chance. if ( !(rand() % spellData->Delay) && (this->Master || TSkill::Get(this->tNonPlayer.tCreature.tSkillBase.Skills[HP]) >...
  9. LooSik

    Nostalrius 7.7

    A small code tl;dr. normal_random(0,10) sample rate 1,000,000 0 = 13006 1% 1 = 44890 4% 2 = 77615 7% 3 = 115484 11% 4 = 146039 14% 5 = 204712 20% 6 = 146611 14% 7 = 115499 11% 8 = 77941 7% 9 = 44953 4% 10 = 13250 1% uniform_random(0,10) sample rate 1,000,000 0 = 90612 9% 1 = 91050 9% 2 =...
  10. LooSik

    What are you using to protect your custom client?

    I think it's more of an issue regarding botting for example. Leaving your client open = bot heaven.
  11. LooSik

    npc check house

    I gave sample function but I was kinda out of loop for a while. I looked briefly into TFS1.x source. This maybe should be the correct way of doing this: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function...
  12. LooSik

    npc check house

    Seems like missing local player = Player(cid) local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function...
  13. LooSik

    npc check house

    As long as you have getTileHouseInfo(pos) or simillar available then yes. With the code above, grab npc position [inside the house], use it in getTileHouseInfo(pos) which then returns you a dynamic house id depending on where npc is standing.
  14. LooSik

    [7.7] RealOTS 7.7 Cipsoft files (virgin)

    iirc it was in querymanager.
  15. LooSik

    [7.7] RealOTS 7.7 Cipsoft files (virgin)

    It's nice to hear that :) IDA is a really powerful tool even without great ASM knowledge esp. the hex-rays decompiler which is prob one of the most useful tools created ever for that purpose ( pseudocode ). It helped me to understand or find something I needed in a lot with a lot of different...
Back
Top