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

    Error with Linux compiling!

    You shall post how you solved it.
  2. Baxnie

    Feature OTServ using 1 lua_State

    I only found one bug with this. stopEvent wont work if addEvent was created from another LuaInterface. The fix is to make LuaInterface static and luaState back to what it was. However the rework became too big so I didn't post it here. Implementing otclient's lua engine would take ages. So...
  3. Baxnie

    compilling error

    Boost locale was removed these days, this bug may have appeared. It should be fixed this week.
  4. Baxnie

    GameMapPanel - Adding functionality

    Not right now, you need to make it.
  5. Baxnie

    Button Help

    I dont get what you want to do. Inside src/luafunctions.cpp you can see every C++ functions. A read there will give you a better base, however i don't know if it will help with this problem.
  6. Baxnie

    [9.60/9.61] The Forgotten Server v0.2.14 (Mystic Spirit)

    Its quite simply adding those features, that why I disagree with you, people is getting lazy, also the main purpose of these project is keep it stable. So this is just the root to make a great custom server and work on it. Thats a shame, people should make people be interested in this project...
  7. Baxnie

    Change color name

    There's a GameFeature to change npc name color. Add new menus / submenus are not implemented. It's on github issues page already. Feel free to do it and make a pull request to otclient.
  8. Baxnie

    Remove Module Manager and Terminal.

    These 2 modules have disable functions. Use autoload property in .otmod.
  9. Baxnie

    Where do maps go?

    On linux, its at /home/user/.otclient/ Windows, its somewhere like Application Data/otclient
  10. Baxnie

    Otclient support Multiple worlds ?

    Yes sir, again, this is server side stuff.
  11. Baxnie

    How i can active Transparence

    That needs server side changes to be achieved.
  12. Baxnie

    How i can active Transparence

    Your picture looks fine. Since you're at floor 7, transparent sprites on floor will look black. There's no rendering of floor 8 when you're n 7.
  13. Baxnie

    How i can active Transparence

    4 in seek is the size in bytes of each sprite pointer.
  14. Baxnie

    How i can active Transparence

    That was expected, we don't know how your format is or if it was even done correctly. Zakius, your code is fine. It's just not optimized. for(int i = 0; i < coloredPixels && writePos < SPRITE_DATA_SIZE; i++) { for(int j=0; j<4; j++) { pixels[writePos + j]...
  15. Baxnie

    How i can active Transparence

    Also, there're that 3 bytes before each sprite. Maybe add a new one, to check if it uses transparency or not. If we do this your way, it'll increase spr file about 20mb. Edit: You'll be lucky if it works, cause we've no idea how your format looks like. I wouldnt do this zakius' way.
  16. Baxnie

    How i can active Transparence

    Then we've no idea how your spr format looks like. If you ever find out, share your editor, code it as a Game Feature and make a pull request to otclient. Edit: Aw man, you gave it so easy. for(int i = 0; i < transparentPixels && writePos < SPRITE_DATA_SIZE; i++) {...
  17. Baxnie

    How i can active Transparence

    Yoah, nice. So, show us your mapeditor, otitemeditor, sprite editor compatible with this sprite format. Then we'll add it to otclient :)
  18. Baxnie

    Keep files up to date

    void Creature::drawInformation(const Point& point, bool useGray, const Rect& parentRect, int drawFlags) This function content should be moved to lua. Maybe you can add Widgets to creatures and they are rendered in this function. Don't know for sure what is the best way to do this. However it's...
  19. Baxnie

    Keep files up to date

    If you're doing something great with otclient sooner or later you'll need to use bart's 'Third case'. So, starting from now: DO NOT USE OTCLIENT WITHOUT GIT! Otclient is not complete, so eventually you'll need to create an Event, or bind a Lua function, etc. When you make so, do a pull request...
  20. Baxnie

    How i can active Transparence

    If you're at 7 or above, server don't send tile information of 8 and below. That's why stairs at level 7 are not transparent as 6 or above are.
Back
Top