kubasiek221 0 Posted January 11, 2015 Share Posted January 11, 2015 Hay! I try add new system. This is oryginal topic: SYSERR: Jan 11 18:18:37 :: RunState: LUA_ERROR: [string "mds"]:2: attempt to concatenate global `stan' (a nil value) Quest: quest mds begin state start begin when login begin loop_timer("czsss", 10) end when czsss.timer begin xx = query("SELECT cash FROM account.account WHERE id = '"..pc.get_account_id().."';") cmdchat("Mds "..xx) end end end If xx = mysql_query("SELECT cash from account.account WHERE id="..pc.get_account_id().." LIMIT 1;")[1][1] is the same errors in sysser. I modified this line: def __Mds(self, coins): import constInfo constInfo.mds = int(coins) Now is: def __Mds(self, cash): import constInfo constInfo.mds = int(cash) Maybe this run errors ? Where is a problem ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now