HeavenIsLost

Results 10 comments of HeavenIsLost

@edubart Como uma ultima contribuição, você poderia compartilhar com a gente algumas das estrategias para otimizar o OTClient? Boa parte dos lags do OTclient provem de códigos mal feitos(como o...

Thanks for your in input, i totally forgot that topic(i was also the one that have made a code to proof how much we would gain if we get ride...

@marksamman i think its easy to write a tool(i did it to my own lua questlog system) to convert quests.xml into questlog.lua, people would only need to run a tool/script...

:+1: Thanks for this issue, TFS really needs a better AI

I was ware of the fact about the NetworkMessages problem(because they are placed on the stack). The client does support larger packets size than 24590(i have test with it with...

@marksamman another fact i want to add is we are using a NetworkMessage on protocolgame.cpp that uses 24590 bytes of the stack. On linux with the command ulimit -a i...

Add something like to protocolgame.h: ``` NetworkMessage& getNetworkMessage() { networkMessage.reset(); return networkMessage; } NetworkMessage networkMessage; ``` then inside each protocolgame.cpp use of NetworkMessage replace with: `NetworkMessage& msg = getNetworkMessage();`

@marksamman should i do a pull request with that code i have post above?

`NetworkMessage() { reset(); buffer = new uint8_t[NETWORKMESSAGE_MAXSIZE]; } ~NetworkMessage() { delete [] buffer; }` when i got the time i will do the pull request. Last question, how much we...

@djarek well its beyond my knowledge :(