Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Stephov

Pages: [1]
1
Bugs and Suggestions / An error in LUA
« on: March 16, 2019, 06:01:52 pm »
Hello!
I'm receiving the following error when my script is running.

I've found in debug mode that it happens on this row: Lua["balance"] = PreviousBalance;

And the following I've found in the DumpLog:
An error has occurred parsing the lua script., stopping
Index was outside the bounds of the array.
   at SharpLua.Lua.CallInfo.get_Item(Int32 offset)
   at SharpLua.Lua.CallInfo.inc(CallInfo& value)
   at SharpLua.Lua.traversestack(GlobalState g, LuaState l)
   at SharpLua.Lua.propagatemark(GlobalState g)
   at SharpLua.Lua.singlestep(LuaState L)
   at SharpLua.Lua.luaC_step(LuaState L)
   at SharpLua.Lua.luaC_checkGC(LuaState L)
   at SharpLua.Lua.lua_pushlstring(LuaState L, CharPtr s, UInt32 len)
   at SharpLua.Lua.lua_pushstring(LuaState L, CharPtr s)
   at SharpLua.Lua.luaB_tostring(LuaState L)
   at SharpLua.Lua.luaD_precall(LuaState L, lua_TValue func, Int32 nresults)
   at SharpLua.Lua.luaV_execute(LuaState L, Int32 nexeccalls)
   at SharpLua.Lua.luaD_call(LuaState L, lua_TValue func, Int32 nResults)
   at SharpLua.Lua.f_call(LuaState L, Object ud)
   at SharpLua.Lua.luaD_rawrunprotected(LuaState L, Pfunc f, Object ud)
   at SharpLua.Lua.luaD_pcall(LuaState L, Pfunc func, Object u, Int32 old_top, Int32 ef)
   at SharpLua.Lua.lua_pcall(LuaState L, Int32 nargs, Int32 nresults, Int32 errfunc)
   at SharpLua.LuaDLL.lua_pcall(LuaState luaState, Int32 nArgs, Int32 nResults, Int32 errfunc)
   at SharpLua.LuaInterface.DoString(String chunk, String chunkName)
   at SharpLua.LuaInterface.DoString(String chunk)
   at SharpLua.LuaRuntime.Run(String luaCode)
   at DiceBot.cDiceBot.parseScript(Bet bet) in D:\...

2
Bugs and Suggestions / Error on Bet Low
« on: April 17, 2018, 07:07:58 am »
Hello
I'm getting this error (see attachment) when trying to bet Low on chance below 1% (0.01 - 0.99). No retries after 30 seconds, even when it takes much more time.
Betting High with the same chance works fine.

P.S. Betting on PrimeDice site. Version is 3.3.16

Pages: [1]