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

    Drawing a looktype on a creature based on currently equipped headgear.

    if(m_outfit.getHat() != 0) { auto datType = g_things.rawGetThingType(m_outfit.getHat(), ThingCategoryCreature); datType->draw(dest, scaleFactor, 0, xPattern, 0, 0, animationPhase, lightView); } Something like this?
  2. Slime

    Drawing a looktype on a creature based on currently equipped headgear.

    I need some tips on how to draw an additional overlay based on the item a character is wearing in the head slot. I've been looking for solution inside mapview.cpp and creature.cpp, but nothing comes to my mind. My guess would be that I should send additional data from server about ids of helmets...
  3. Slime

    [RME] Autoborder doesn't work on water.

    Yes, the border works on empty space, doesn't work on water. <border id="1"> -- terrain border -- <borderitem edge="n" item="130"/> <borderitem edge="w" item="131"/> <borderitem edge="s" item="129"/> <borderitem edge="e" item="132"/>...
  4. Slime

    [RME] Autoborder doesn't work on water.

    grounds.xml <brush name="grass" type="ground" server_lookid="104" z-order="8000"> <item id="104"/> <border align="outer" to="none" id="1"/> </brush> <brush name="sand" type="ground" server_lookid="105" z-order="8000"> <item id="105"/> <border...
  5. Slime

    TFS 0.X Reading game locations from separate map files?

    Would it be something like creating a table with upper left and lower right corner of a certain location to determine map name? Then if Thais' upper corner is 950x750, calculating player position for !whereami command would be playerx - 949, playery - 749. Right?
  6. Slime

    TFS 0.X Reading game locations from separate map files?

    Would it be possible to chunk my map into smaller .otbm files, like Diablo has spearate maps for each floor dungeon for example? It would be cool if players could use a command that shows current map and their x,y position, that would make finding npcs and other stuff way easier. My server is...
  7. Slime

    Problem with Graphics otclient

    Did you have any errors when compiling? I have a similar problems with latest OTC source, my character suddenly stops and empty sqms start to appear on the screen.
  8. Slime

    Diminishing sprite size to 16x16px.

    Tried that, OTC crashes on login. I can't really experiment with all that stuff for now because I'm not able to compile the latest OTC without getting 999999 errors, tried both vs13 and vs17 but I get graphical bugs ingame. My other idea would be to leave .spr and .dat as it is, use only upper...
  9. Slime

    Diminishing sprite size to 16x16px.

    I did it like that in my previous project. Stuff like text, bullets or sprites still moves by 1px distance and that's something I do not want. I'll probably look for a way to make sprites move 2px per frame and resize all the stuff 2x.
  10. Slime

    Diminishing sprite size to 16x16px.

    How hard would it be and where should I look for the code? I know most people want to resize to 64x64 or more to have HD Tibia, but I want to recreate the 8bit console feel as well as possible. My goal is to display 16x14sqms that are 16x16px each. I don't care about tools for now, I could...
  11. Slime

    [OTClient Showoff] Show off your OTClient project/module/UI and other

    That will probably be the weirdest one yet, I wanted to recreate Dragon Warrior III (1988 jRPG written for NES) using TFS + OTC. I'm not able to write a map converter, so you can imagine how much time I spent recreating every detail of the map square by square. Even if it would have been...
  12. Slime

    Need help with enabling extended opcodes TFS 0.3.6pl1

    I tried to patch the files with TortoiseSVN, but it didn't work. I decided to copypaste the blocks of code myself, it still didn't compile, so I started editing all the stuff a non-programmer can edit like changing _type to m_type or LuaInterface to LuaScriptInterface to fit 0.3.6, hope you...
  13. Slime

    [Mod] Advanced Hotkeys

    bump for reupload
  14. Slime

    How to remove item stack limit (more than 100 items in stack)

    maybe at least I'll get an award for the longest bumpchain bump
  15. Slime

    Camera position (revealing tiles that are on a higher level)

    When there's a room that has a roof and you are standing like 2 squares away from it, the roof disappears and you can see what's inside the room. I wanted to change in a way that you'd have to stand directly under the roof to make it disappear. I guess this part of the code is responsible for...
  16. Slime

    GATE OF EXPERTISE LV 400k?

    I'd probably do it like this. Make an onAdvance creaturescript: when player advances to level 400k he gets a certain storage value. Then just make a door that only players with this storage value can pass.
  17. Slime

    Windows OTC without sound

    For me it works. As I understand you used CodeBlocks+MinGW+CMake to compile this? I succeeded compiling with those once but suddenly it all went bananas and I had to switch to Visual Studio. Will there be a fix for VS?
  18. Slime

    Windows OTC without sound

    I have a similar problem after compiling in Visual Studio. http://otland.net/threads/error-unable-to-open-audio-device.204916/
  19. Slime

    Why open source modules are a bad idea.

    I have nothing against modules being open source on forums, nothing against sharing your ideas and codes there. All I wanted was to point out if you want to have a safe client it would be good to not let your players edit the modules. Have any of you at least tried to change what I changed and...
Back
Top