otclient icon indicating copy to clipboard operation
otclient copied to clipboard

[Premium Days]

Open Riverlance opened this issue 9 years ago • 8 comments

I use the latest TFS and OTClient.

1. Premdays client crash: If you set the account premdays to 65535 of table accounts (65535 means it never ends, I think), the client crashes: image image

How to reproduce it:

  1. Close your client (because you need to reload the characters list by trying to log to the login server).
  2. Set your the premdays of account that you will use for test to 65535 exactly.
  3. Open your client and try to login. It will crashes when tries to connect to the login server. Note: Any value different of 65535 will work fine, so you need to try with 65535 as the premdays value.

2. Premdays text: No matter the text value of the Account Status is always 'Free Account'. I tested with lots of values, and it never changes. Also, the only issue is the text, because I still have the premium and everything works fine. image

How to reproduce it:

  1. Close your client (just for be sure it will work).
  2. Set any value for the account premdays of table accounts.
  3. Open your client and try to login. It will still shows as Free Account.

Riverlance avatar Jan 27 '17 20:01 Riverlance

Please give us the debug information otherwise it will be really difficult to find the bug.

conde2 avatar Jan 27 '17 23:01 conde2

@conde2 How can I do this? :)

Riverlance avatar Jan 27 '17 23:01 Riverlance

When the bug occur please click on Debug ("Deupurar") and open it with Visual Studio and click break it should give the line where it caused the bug

conde2 avatar Jan 27 '17 23:01 conde2

image

this 0x016c6de8 {otclient.exe!__TI3?AVLuaException@@} {L=0x00000000 m_weakTableRef=19722960 m_cppCallbackDepth=...} LuaInterface *

Like this?

Riverlance avatar Jan 28 '17 00:01 Riverlance

Have you made any changes in OTC ? please also provide the log generated by OTClient if there is any.

conde2 avatar Jan 28 '17 00:01 conde2

I'm pretty sure this is due to LuaJIT, maybe we need to use just LUA as library, I've read @edubart commenting about this while ago, that LuaJit does not support pcalls or something like that. Maybe he can help saying if this is true or not.

EDIT: I've confirmed this and will pull back Lua 5.1 (which works) to the offical OTClient-SDK

conde2 avatar Jan 28 '17 00:01 conde2

I have no changes on OTClient yet.

Ok! I will wait your update on OTClient-SDK. Thanks. :)

Riverlance avatar Jan 28 '17 14:01 Riverlance

I think it was fixed now on: https://github.com/edubart/otclient/commit/df422c0991e80d8c579522e727a6693b5b637865

At least here works now. So I am closing this thread.

Riverlance avatar Jun 15 '17 07:06 Riverlance