We've posted an important announcement regarding the current situation and the future of the game: Announcement
Yeah the script is throwing errors and kicks the client
Somthing seems to be wrong with target.setPlayerHunger(100);
Edit: Got it.
problem was dots and colons
It works this way:
local tName = target:getPlayerName()
target:sendTextMessage("You've been healed !")
The post was edited 1 time, last by username ().
first a thank you for that nice script. Helps me a lot...
Yesterday i was downloading the script from Github and testing it on a single player game with the RW version 0.5.3.1 (Steam)
Everytime, when i enter the command /ahelp there pop up an error:
Ups, my mistake - i'm sorry.
Maybe it was already too late, yesterday evening .
I'm not so familiar with Github.
So i have to download file by file on Github -> zabka14/Zcript-RisingWorld?
You go there : github.com/zabka14/Zcript-RisingWorld
On the middle-top left of the screen there's a button Branch : master you have to select the master one, not any of the two others.
When you did so, on the right of the screen, somewhere at the botom is a button called "Download as ZIP"
And here you go
Have a look at the right site of the github page. "Download as Zip" is what you want
Well you can also download it file by file but...
Edit: zabka was faster
Ok, got it - thx
But still the same error message. Now i was using my second computer as RW server (LAN).
New Server installation and fresh downloaded script.
The error message in the DOS BOX (Server):
[LUA][Zcript] 02/12/15 15:27:11 Klabautermann: /ahelp
Feb 12, 2015 3:27:11 PM com.jme3.network.base.KernelAdapter reportError
SCHWERWIEGEND: Unhandled error, endpoint:NioEndpoint[1, java.nio.channels.SocketChannel[connected local=/10.50.30.55:4255 remote=/10.50.30.25:50316]], context:i.d@1cb399d
org.luaj.vm2.LuaError: @C:\Program Files\Rising World\scripts\Zcript-RisingWorld-master/script.lua:55 bad argument: userdata expected, got string
at org.luaj.vm2.LuaValue.argerror(Unknown Source)
at org.luaj.vm2.LuaValue.checkuserdata(Unknown Source)
at org.luaj.vm2.lib.jse.JavaMethod.call(Unknown Source)
at org.luaj.vm2.LuaClosure.execute(Unknown Source)
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)
at org.luaj.vm2.LuaClosure.invoke(Unknown Source)
Feb 12, 2015 3:27:11 PM server.listeners.c connectionRemoved
INFORMATION: Delete Client ID: 0
[LUA][Zcript] 02/12/15 15:27:11 UPDATE `lastlog` SET `disconnect_at` = strftime('%s', 'now') WHERE `id` IN (SELECT `id` FROM `lastlog` WHERE `ip` = '/10.50.30.25:50316' ORDER BY `id` DESC LIMIT 1);
[LUA][Zcript] 02/12/15 15:27:11 ** Klabautermann - disconnected
@Zabka: thx and take your time
Same problem as before.
Edit the Script line 55 from
[lua]event.player.sendTextMessage("[#00FFCC]/heal [#00CC88] <player ID or name>");[/lua]
[lua]event.player:sendTextMessage("[#00FFCC]/heal [#00CC88] <player ID or name>");[/lua]
Hi, i got the script working but how do u make myself admin? tried to do an admin command and it says im not admin!!
any help will be awesome
How to install it?
Download is a zip file, which file i must copy in folder scripts?
If you extract the Zcript by zabka from the zip file and then place it in your script files in your server host this should work