kubasiek221 0 Posted January 3, 2015 Share Posted January 3, 2015 Hello people ! My test quest does not worki. Sysser does not saves errors in the query but the communicats ( Your nick is changed...") its show. Why this query not work ? My quest: quest names begin state start begin when login begin names = "[VIP] "..pc.get_name().."" query("UPDATE player.player SET name="..names.." WHERE account_id = '"..pc.get_account_id().."';") syschat("Your nick is changed. Please logut now.") end end end Update My new quest working but in the game nothings change. Quest: quest names begin state start begin when login begin names = "[VIP] "..pc.get_name().."" query("UPDATE player.player SET name='"..names.."' WHERE account_id = '"..pc.get_account_id().."';") syschat("Your nick is changed. Please logut now.") end end end Screens: http://scr.hu/1wsp/4v2w9 http://scr.hu/1wsp/fci0b Link to comment Share on other sites More sharing options...
Premium Shogun 4592 Posted January 3, 2015 Premium Share Posted January 3, 2015 What is query()? Is that a function you added in questlib? Show syserr or something... Link to comment Share on other sites More sharing options...
kubasiek221 0 Posted January 3, 2015 Author Share Posted January 3, 2015 Quest works, the query works, but the changes do not appear until the server is stopped.How to make the changes to appear on relog account? 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