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

  1. N

    Help edit buttons otclient

    Thank you!
  2. N

    Help edit buttons otclient

    Not trying to necro, but this is exactly what i'm looking for. How do I know what the margins are? What I mean is, Lets say I create this panel: FlatPanel id: helmetsChoicePanel margin-top: 10 margin-bottom: 10 What would the correct margins be in the button config? image-clip: 0 0 20...
  3. N

    OTClient Prevent Player Movement

    Hi all, been a while. I have some custom windows in my server (OTC V8). I'm trying to accomplish one of two things: 1. When X window is open, player cannot move 2. When X window is open, and player moves, window closes (like with NPC trade windows) The problem I'm trying to solve, is that I...
  4. N

    [8.60] Latest forgottenserver 1.3/1.4. Clean downport.

    Freshly downloaded repo. Compiled fine, but when logging in with a fresh otclient: ERROR: protected lua call failed: LUA ERROR: C++ call failed: InputMessage eof reached stack traceback: [builtin#146]: at 0x7ff81cfd8810 [C]: in function 'getString' /gamelib/protocollogin.lua:229: in...
  5. N

    TFS 1.X+ Some scripting questions (mainly creaturescripts)

    Thank you. I'm not sure why I was making this so complicated. Basically, instead of just putting all of my functionality into my receive opcode function, i was trying to create my own function in a different file and call it. Just using the code in one file has(I think), solved this problem.
  6. N

    TFS 1.X+ Some scripting questions (mainly creaturescripts)

    Ok, I've tried every possible combination I could think of. In my mind, it seems like if I declare a variable: player = Player(cid) Why does the rest of my code not recognize that? Why does it give me that player is nil? How do I declare that the variable "player" is not in fact nil, but...
  7. N

    TFS 1.X+ Some scripting questions (mainly creaturescripts)

    Ok, so sticking the function in my lib folder to access it is ok then? upon some research, i believe that for _, player in ipairs(Game.getPlayers()) do is the culprit of having only one character being able to use the script at a time? The problem I'm having is that using that is the only way...
  8. N

    TFS 1.X+ Some scripting questions (mainly creaturescripts)

    Hey, its me again.... hung up with yet another problem I can't seem to figure out. :D I just discovered an issue with my smelting system. I am using opcodes to communicate back and forth between Tfs 1.2 > Otclient This code works exactly as intended...... except for the fact that it only works...
  9. N

    OTClient Keep player from moving when window open

    Quick question(s) for you Otclient pros out there. I have created several custom windows. Is there a pre-existing function somewhere to keep the player from moving while the window is open? for instance, I know of: customWindow:lock() customWindow:unlock() This works all fine and dandy, and...
  10. N

    OTClient Functional windows, OTC

    Ok, so I've been delving into OTC for a while now, and I'm stuck again. Recently, thanks to shadowsong, I've learned how to properly send and receive opcodes from server to client and vice versa. Now, I'm trying to figure out how to connect the dots with some custom windows. I'm not really...
  11. N

    Trying to receive a storage value from Tfs > Otclient

    Thank you so much! the string works perfectly! Once I'm rich and famous and ruling the world i'll be sure to remember you! :D I wonder why it won't just read a byte? :O
  12. N

    Open Tibia History

    Man, I miss tibia.de I'd say I spent more time there during its life than I have on any other website to date
  13. N

    Trying to receive a storage value from Tfs > Otclient

    Ok so here is where I am now: I created a new lib file: opcodeFunctions.lua function Player.sendCustomStorageUpdate(self) local packet = NetworkMessage() packet:addByte(0x32) -- Extended Opcode (0x32 = 50 (in dec)) packet:addByte(0x37) -- The Opcode of this Request (0x37 = 55 (in...
  14. N

    Trying to receive a storage value from Tfs > Otclient

    Ok, so I'm trying to figure out where to put this stuff then. I've tried so many different things that I'm now fairly confused, haha. So, say I create this custom function for this particular opcode: function Player.sendCustomStorageUpdate(self) local packet = NetworkMessage()...
  15. N

    Trying to receive a storage value from Tfs > Otclient

    That makes perfect sense. I will try it as soon as I get a chance later today and let you know how it goes!
Back
Top