• 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. dchampag

    C++ Party shared experience issue

    Yeah, I can easily do it with C++ but that makes it a lot harder to edit and add, this looks to have all of the functions we need it’s just not working the way that it should, so we need to find the break. I’m new to this version. I have an old version just came back a couple of months ago, been...
  2. dchampag

    C++ Party shared experience issue

    Try removing the +1 from exp =math.ceil, sorry I’m on my phone. 1732316336 I won’t have computer access for a few hours. I’ll have to look in the code, maybe there is something with the return at the end we will know soon after you remove the +1 also, I updated party.lua again, I accidentally...
  3. dchampag

    C++ Party shared experience issue

    Oops, that's the problem, wrong calculations haha! jeez. function Party:onJoin(player) if hasEventCallback(EVENT_CALLBACK_ONJOIN) then return EventCallback(EVENT_CALLBACK_ONJOIN, self, player) else return true end end function Party:onLeave(player) if...
  4. dchampag

    C++ Party shared experience issue

    That looks to be some sort of information update, maybe for party activity. I'm not positive I haven't gotten that far. It does not affect experience though. Was the party.lua updated before this test?
  5. dchampag

    C++ Party shared experience issue

    party and player.lua are located in data>events>scripts
  6. dchampag

    C++ Party shared experience issue

    What do you mean if share wgl? Also did you update the party.lua script I sent? The stamina bonus is in player.lua
  7. dchampag

    otcv8 ERROR 2 bug with connection

    I'm having this issue, I have no idea why it would prevent me from logging in. Using tfs 1.5 neikro 8.6 downgrade. no matter what I do it just gives me error 02
  8. dchampag

    C++ Party shared experience issue

    Well, for the sake of testing, just set your exp in player.lua to 1.0 instead of 1.5 for now.
  9. dchampag

    C++ Party shared experience issue

    Does your code somewhere give a bonus for premium? are you premium player? player.lua has a code for stamina premium players with more than 24 hours left. +50%, This is exactly 1050
  10. dchampag

    C++ Party shared experience issue

    Try below for party.lua, I'm sure that their is a calculation that we could use, but my brain isn't working correctly and this makes it much more simple, the only issue is with more than 4 in party it will still decrease, are we looking to make it stay the same if the party member count is above...
  11. dchampag

    C++ Party shared experience issue

    Is this with equal damage or both different? lets make sure it's even regardless.
  12. dchampag

    C++ Party shared experience issue

    Sounds good, I updated the code for party.cpp above, so we will need to modify the party.lua code. What is the exp gain with this update? With this we can use the point map that the game generates to instead of disabling the party experience share, it will only remove these players from...
  13. dchampag

    C++ Party shared experience issue

    So we are headed in the right direction yes? I think that if you have party.lua, we should modify the shareExperience script to still use the lua, but then use the lua to iterate the other things that you are looking for. It looks like this party.lua already has the function for vocation bonus...
  14. dchampag

    TFS 1.4.2 Shared Exp

    Your experience share is not activating? what do the shields look like, does it say it's activated? 1732239228 I haven't gotten into testing the 1.5 I'm working on yet, so sorry but this is what I can gather from reading the code changes below. I think I messed up something in my RSA source...
  15. dchampag

    C++ Party shared experience issue

    Here is the code, fresh 1.4 with updates, you can compare your header and cpp files with this one. 1732237962 https://otland.net/threads/tfs-1-4-2-shared-exp.290296/ So looking here, it looks like the code for party exp share is in lua, do you have this luascript? These source edits are...
  16. dchampag

    C++ Party shared experience issue

    Did you start over before changes from yesterday? I removed some unnecessary code, it was moving the monsterPosition to functions that didn't need it. Code is a bit different than mine.
  17. dchampag

    C++ Party shared experience issue

    UPDATED - a couple of my calculations were wrong for addBonus, I accidently added instead of multiplying. This is in shareExperiene function. Alright, I've downloaded the sources and come up with this, compiled successfully. This does not contain vocation party bonus or point map for activity...
  18. dchampag

    C++ Party shared experience issue

    So does this mean currently the exp is shared 100% for all members? From what I see in the code I haven't found anywhere that it's currently divided. If this is the case, dividing it is easy, if this is not the case we will have to figure out where the experience is mapped.
  19. dchampag

    TFS 1.4.2 Shared Exp

    I’ll look into this later when I finish the code for it. I must have missed where the exp division is being made unless that’s happening due to the fact that sharing experience isn’t enabled so it’s dividing it.
  20. dchampag

    C++ Party shared experience issue

    I’ll download the source tonight and finish the repairs on this, I figured I had missed some things. Config manager must not hold range values so to fix them you just put EXP_SHARE_RANGE as x EXP_SHARE_RANGE as y EXP_SHARE_FLOOR as z or whatever the exact syntax is for those, removing all of the...
Back
Top