SuyinVC 0 Posted April 21 Hi Devs Team, I had this script in my server : https://gist.githubusercontent.com/darrensapalo/f0c5dec2b988f7c4d9be8d24d91b6e90/raw/dc0aabca79dc8ffe44cc04f60a2f1ddfedef64b2/DailyReward.txt It worked very well before. Now it gives me the following error and I don't know why. [Warning]: Unexpected type for argument 1. Expected variable, got C_INT. [Debug]: Data: number value=45224 [Debug]: Function: __setr [Debug]: Source (NPC): LOGIN (invisible/not on a map) [Error]: script:set: not a variable [Debug]: Data: number value=45224 [Debug]: Source (NPC): LOGIN (invisible/not on a map) I tested on a Local server and it works, but on my cloud server it stopped working out of nowhere. Do you have any clue as to why I get the error? Quote Share this post Link to post Share on other sites
Hi Devs Team, I had this script in my server :
https://gist.githubusercontent.com/darrensapalo/f0c5dec2b988f7c4d9be8d24d91b6e90/raw/dc0aabca79dc8ffe44cc04f60a2f1ddfedef64b2/DailyReward.txt
It worked very well before.
Now it gives me the following error and I don't know why.
[Warning]: Unexpected type for argument 1. Expected variable, got C_INT.
[Debug]: Data: number value=45224
[Debug]: Function: __setr
[Debug]: Source (NPC): LOGIN (invisible/not on a map)
[Error]: script:set: not a variable
[Debug]: Data: number value=45224
[Debug]: Source (NPC): LOGIN (invisible/not on a map)
I tested on a Local server and it works, but on my cloud server it stopped working out of nowhere.
Do you have any clue as to why I get the error?
Share this post
Link to post
Share on other sites