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

  1. L

    paypal ipn? not working...

    Why would you even need such addresses ranges (Remember it's CIDR notation), it's not recommended and there's tons of example scripts in PHP on github. You can simply get the request data and validate transaction by calling PayPal API (use sandbox for testing)...
  2. L

    TFS 1.X+ exit after kill player and lose pk

    Sounds like noPongKickTime, property noPongKickTime in data/XML/vocations.xml or default 60000. You can write some custom onLogout creatureEvent script that'd do some additional checks and make it return false in such cases...
  3. L

    Possible Block Account ID 1

    https://github.com/slawkens/myaac/blob/f98332c698eaa5c0506f3b09289748c4acfcfab5/system/login.php#L93 Never used myaac before but I'd try something like that: $config_salt_enabled = $db->hasColumn('accounts', 'salt'); $restricted_user_ids = [1]; $login_attempt_possible = (!isset($t) ||...
  4. L

    TFS 1.X+ [1.4.2] Killing in the name of - Rank Problem.

    You encountered an error in canStartTask caused by a comparison of a table with a number (__le - less or equal), and it's evident that there is at least simillar issue there: self:getStorageValue(v.storage[1]) >= v.storage -- should be self:getStorageValue(v.storage[1]) >= v.storage[2] If...
  5. L

    [TFS 1.3+] Snowball Event Revscripts

    snowballWarEvent.otbm Attachment be like:
  6. L

    RevScripts close doors tp on magic walls

    TFS 1.5 is development version (as it's latest master version since ~3 years), do you mean real latest masterbranch version or some ~2 years old downgrade based on it? Position offset logic was moved to lua to allow negative offset (more about stairs behavior): Move Position methods to Lua by...
  7. L

    C++ TFS 1.5 7.72 Downgrade Nekiro - sendChannelMessage Not Working

    This is open project, everyone can contribute and propose their changes. Speking of this particular downgrade it’s outdated and marked as archived: Usualy such projects are good starting point but rather for Devs as maintaining such projects requires at least basics of C++, Lua and git. Anyone...
  8. L

    C++ TFS 1.5 7.72 Downgrade Nekiro - sendChannelMessage Not Working

    Okay it looks like there is a bug in sendChannelMessage https://github.com/nekiro/TFS-1.5-Downgrades/blob/a4675433d0e5c0001d37d4cab1241120216597e4/src/protocolgame.cpp#L1561 Change that to: void ProtocolGame::sendChannelMessage(const std::string& author, const std::string& text, SpeakClasses...
  9. L

    C++ TFS 1.5 7.72 Downgrade Nekiro - sendChannelMessage Not Working

    Last time I experianced simillar issue with channel massages and it was more or less related to the OTClient handling as channel was not yet “initalized” on the client side thus the message was skipped and error was shown on the client’ console. Also there was issue while there was only one...
  10. L

    [Mod] Sound System

    I tried to clean it up a bit first and it worked for me (Otclient v8): SoundsConfig = { soundChannel = SoundChannels.Music, checkInterval = 500, folder = 'music/', noSoundMessage = 'No sound file for this area.', } SoundsConfig.sounds = { -- Boss { fromPos = { x = 32434...
  11. L

    Lua TFS 7.72 - Downgrade Nekiro Need Talkaction !buyer items

    It's not like TFS 1.x supports 0.4 mods. What I meant by that was the main talkaction' code would work but not the mods syntax. All you had to do was to set config and copy the talkaction' main code and adopt it to new boilerplate. So it's mainly to take the "sauce" and put into new syntax.
  12. L

    Lua TFS 7.72 - Downgrade Nekiro Need Talkaction !buyer items

    Everything would work as is thanks to compat.lua, here you are: local config = { items = { ['brown backpack'] = {cost = 500, id = 1988}, ['backpack'] = {cost = 500, id = 1988}, ['bp'] = {cost = 500, id = 1988}, ['green backpack'] = {cost = 500, id = 1998}...
  13. L

    Deprecated Gesior acc errors

    Are you on PHP 8.x? https://php.watch/versions/8.0/lsp-errors You can either downgrade to 7.4 or apply changes from this commit: https://github.com/gesior/Gesior2012/commit/9121683389f74cc7968b588c944e6c568b883bb8?diff=split&w=1#diff-1d82bcd51c0f69b3ae5a6344c70c8ef5a538c8831eb0b0512a78e590f00cf251
  14. L

    AAC myacc few spaces

    @Tubeshop Speaking of exiting entries in DB you could sanitize that with use of REGEXP_REPLACE(name, '\\s+', ' ', 1, 0) but if there are some names that'd lead to UNIQUE constraint violation you'd need to handle that too. For example like that (It's ugly but should work): WITH normalizedMap AS (...
  15. L

    Solved NPC with more than 255 (limit) items on list [OTVclientv8 + TFS 1.5 Nekiro 8.6]

    As Otclient is written the way it's compatible with many versions you'd need to change this condition to expect it U16 for 8.60 version: if (g_game.getProtocolVersion() >= 986) // tbh not sure from what version to if (g_game.getProtocolVersion() >= 860) // tbh not sure from what version...
Back
Top