-
Adding Objects?
Wasn't sure to use the [help] or [request] prefix for this one. But, I haven't found any guide that correctly answers my question on how to add objects to Cheezscape Update 80. I've searched for all of the public voids and such in my client.java, but no results came. I DID find a "ReplaceObject" void, is that what it is? Does anyone know how to add objects for my current source?
-
Re: Adding Objects?
in client.java search for
Code:
public void NewObjects() {
under that you should see something like
Code:
makeGlobalObject(29*** 3131, 1813, -1, 10);
works like this
Code:
makeGlobalObject(Xcord, Ycord, Item-ID, faces, 10);
-
Re: Adding Objects?
K, thanks, I'll try it in a second. I also have another problem. I tried creating a shop, but when I run the server, I get a message saying,"Exception in thread "main" java.lang.NumberformatException: For input string"31 Falador_Magic_Shop 2 2 1389" ((OOC: They're aligned in the shop.cfg)) at java.lang.numberformatexception.forinputstring(unknown source)
at java.lang.integer.parseint(unkown source)
at java.lang.integer.parseint(unkown source)
at shophandler.loadshops(Shophandler.java:115)
at shophandler.<init>(Shophandler.java:30)
at server.main(server.java:29)"
Any ideas on how to fix this?
-
Re: Adding Objects?
yeh xpri told you what to do,and i answered that question in your other thread.