Function Creating
#4
Hello, welcome to the forum. (I've moved your question to a more appropriate section)
I think your color-processing code is wrong, especially line 29. What is it exactly that you want to do with the colors?
I'd try to comment out the processing code for now, and simply send the contents of the file, as is, and work from there.
I'd also either use an IDE such as ZeroBrane studio or Decoda, those two are known to support live debugging within MCServer. See the articles in the API help for how to set those up:
http://mc-server.xoft.cz/LuaAPI/SettingUpDecoda.html
http://mc-server.xoft.cz/LuaAPI/SettingUpZeroBrane.html
If that is not an option, consider using a LOG() function in key places to see the values of your variables.
I suppose there's no error report in the server log?

@Seadragon91: He's adding this code to Core, so there is already an Initialize function there.
Reply
Thanks given by:


Messages In This Thread
Function Creating - by RKyle - 10-03-2014, 09:37 PM
RE: Function Creating - by Seadragon91 - 10-03-2014, 09:43 PM
RE: Function Creating - by RKyle - 10-03-2014, 09:46 PM
RE: Function Creating - by xoft - 10-03-2014, 09:48 PM
RE: Function Creating - by xoft - 10-03-2014, 09:50 PM
RE: Function Creating - by RKyle - 10-03-2014, 10:02 PM
RE: Function Creating - by xoft - 10-03-2014, 10:46 PM
RE: Function Creating - by RKyle - 10-04-2014, 12:01 AM
RE: Function Creating - by xoft - 10-04-2014, 12:49 AM



Users browsing this thread: 2 Guest(s)