• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Evan

    Why is this keep on getting ignored? TFS 0.4 Rev.3884 64bit gui /w war system

    Hosting a real map server on Windows is probably not as brilliant of an idea as you think. Most host providers are going to provide services in Linux only. Some have Windows, but are much more expensive. You're much better off learning how to use Linux. It's not hard at all.
  2. Evan

    As the title speaks, I Need Help with compiling tfs 0.4 rev 3884 with elfs warsystem

    In this situation, you have two compilers: dev-cpp and Microsoft Visual Studio The tutorial wants you to use dev-cpp, but the server you downloaded doesn't have any dev-cpp files. The server you downloaded has Microsoft Visual Studio files (in vc10), so you would need to use Microsoft Visual...
  3. Evan

    As the title speaks, I Need Help with compiling tfs 0.4 rev 3884 with elfs warsystem

    Because the one you downloaded from doesn't have it. It only has vc10, which is Visual Studio 2010.
  4. Evan

    As the title speaks, I Need Help with compiling tfs 0.4 rev 3884 with elfs warsystem

    In the same directory as the executable.
  5. Evan

    Issue with Connecting to my OT

    You can change the port that Skype uses through the options.
  6. Evan

    Stopping theft

    You need to provide all information. Especially server information.
  7. Evan

    Adding attacked speed to weapon TFS 1.1

    You need to do more than one combat between onUseWeapon calls. You also need to even it out that way it'd look realistic. If you want 1 extra hit in between the onUseWeapon calls, you need to divide 2000 ms by 2 (first hit + the extra hit), which gets you 1000. But if you want to add 2 extra...
  8. Evan

    Adding attacked speed to weapon TFS 1.1

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1, 0, 1, 0) function onUseWeapon(player...
  9. Evan

    Adding attacked speed to weapon TFS 1.1

    Oh, lowering the attack speed? Oooh didn't think of that. You could just do an os.time check to determine when the last approved hit was. So, for example, let's say I want a weapon to do 6000 ms attack speed, instead of 2000 ms. When you start attacking, you want to set a player storage to...
  10. Evan

    Adding attacked speed to weapon TFS 1.1

    Yeah, I'm assuming you can just add script tags to all the weapons in weapons.xml and make them use a single script. For example, fire sword: <melee id="2392" level="30" unproperly="1" script="weapon.lua"/> There, I'm making the fire sword to use a script (like the one below). I've tested it...
  11. Evan

    Adding attacked speed to weapon TFS 1.1

    @Breed You need to set, not get. Without editing the sources, you cannot set any attack speed anywhere. There is however, a workaround. It's gonna be a bit more complex though, well maybe not, but in terms of formulas. onUseWeapon is a script environment that you can use, which resides in the...
  12. Evan

    Solved Player:getDescription(lookDistance)

    No, it returns a table of Player userdatas. https://github.com/otland/forgottenserver/blob/master/src/luascript.cpp#L10306 So, you can use table.getn() or simply add a # in front of the table to get the number of items. An example (using #) local player = Player(cid) local guild =...
  13. Evan

    Solved Player:getDescription(lookDistance)

    https://github.com/otland/forgottenserver/wiki/Metatable:Guild
  14. Evan

    Adding attacked speed to weapon TFS 1.1

    You can change anything in the source to whatever you want and compile, nobody is preventing you from doing that. From immediate observations, here is the getter function for the attack speed of the player. https://github.com/otland/forgottenserver/blob/master/src/player.h#L1354 As you can see...
  15. Evan

    Adding attacked speed to weapon TFS 1.1

    And no, @beastn, it's not impossible. It requires source edits.
  16. Evan

    Adding attacked speed to weapon TFS 1.1

    @Breed, @beastn There is no attack speed attribute in 1.1 The only attack speed you have at the moment is the one you set for the vocations in vocations.xml
  17. Evan

    Lua how check isladder?

    Item attributes have always been supported, even in 0.2. The only thing that isn't supported is custom attributes, which you can still get around in 1.X by using the TEXT attribute.
  18. Evan

    Funny Set?

    This is a major issue for a lot of programmers who want to do their own games, including myself. I cannot for the life of me draw anything, so I just end up making boxes and circles to visually represent the entities. You have both the talent? Incredible.
  19. Evan

    Lua Moving ground item?

    Like this? Yes, there are many different ways to move a ground item.
  20. Evan

    [TFS 1.0] Making sugar oat

    You tried to make a script? Well, you're a liar.
Back
Top