[Help Thread] Please post your questions here.

02/25/2018 17:59 LenartP#6901
What can cause the client to crash immediately after trying to log in?
"Cannot connect to the login server.(10061)"
My Auth server is connected, no error message there, but the game is obviously incapable of connecting to the Auth server, why could that be?
02/25/2018 19:15 ThunderNikk#6902
Your start .bat make sure it is pointing to the correct IP and port.

Make sure you opened ports unless you are connecting on the same computer.
02/25/2018 19:22 LenartP#6903
RappelzCmdLauncher.exe sframe.exe /auth_ip:127.0.0.1 /auth_port:58422 /use_nprotect:0 /help_url_w:611 /help_url_h:625 /locale:ASCII /country:US /cash /commercial_shop /layout_dir:6 /layout_auto:0 /cash_url_w:800 /cash_url_h:631

I am connecting on the same computer.
02/25/2018 19:55 ThunderNikk#6904
So what does your .opt file say your .bat should be?
02/25/2018 20:12 LenartP#6905
.
02/27/2018 13:19 thefear511#6906
Quote:
Originally Posted by LenartP View Post
What can cause the client to crash immediately after trying to log in?
"Cannot connect to the login server.(10061)"
My Auth server is connected, no error message there, but the game is obviously incapable of connecting to the Auth server, why could that be?
client don't match server's version most likely, can be related to sframe aswell. try new client and hash new databases instead the ones u have in ur resource folder.
03/01/2018 23:20 AlesGaleks#6907
how to remove an item from the script-lua? The object is used and the usual command delete_item does not help.
03/02/2018 14:56 thefear511#6908
Quote:
Originally Posted by AlesGaleks View Post
how to remove an item from the script-lua? The object is used and the usual command delete_item does not help.
PHP Code:
local count find_item1000404 )
if 
count >= 1 then
delete_item
get_item_handle1000404 ), 
define how much items you waant function to check means if he has 1 it will delete 1, you can make it delete 1 if he had 2 and so on :) just look at the code and u'll understand.
03/02/2018 23:55 Xijezu#6909
Quote:
Originally Posted by thefear511 View Post
PHP Code:
local count find_item1000404 )
if 
count >= 1 then
delete_item
get_item_handle1000404 ), 
define how much items you waant function to check means if he has 1 it will delete 1, you can make it delete 1 if he had 2 and so on :) just look at the code and u'll understand.
I'd recommend to always use is_erasable_item as well.

Code:
local count = find_item( 1000404 )
local handle = get_item_handle( 1000404 )

if count >= 1 and is_erasable_item(handle) then
   delete_item( handle, 1 )
end
Check [Only registered and activated users can see links. Click Here To Register...]from the Emu, it does the same thing retail does and this is what's called when using is_erasable_item
03/03/2018 00:14 thefear511#6910
Quote:
Originally Posted by Xijezu View Post
I'd recommend to always use is_erasable_item as well.

Code:
local count = find_item( 1000404 )
local handle = get_item_handle( 1000404 )

if count >= 1 and is_erasable_item(handle) then
   delete_item( handle, 1 )
end
Check [Only registered and activated users can see links. Click Here To Register...]from the Emu, it does the same thing retail does and this is what's called when using is_erasable_item
u da expert xd im just a noobie :handsdown:
03/04/2018 17:40 Skolko#6911
Help please (epic 9.4)
On the server there is a problem with skill chain lightning, if the circuit is done the leap from player, mob or another player, those who are around ejected from the game. In case of 1 rebound a no. What to do?
03/04/2018 20:47 Pepsilight69#6912
Hey guys,

how can I disable an NPC every day at 4am for one hour?

Maybe working with this ?
local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
03/05/2018 01:08 Xijezu#6913
Quote:
Originally Posted by Pepsilight69 View Post
Hey guys,

how can I disable an NPC every day at 4am for one hour?

Maybe working with this ?
local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
If I'm not mistaken there's no way of despawning an NPC through commands.
What you can do, however, is using the NPC event period stuff.
03/05/2018 05:26 Pepsilight69#6914
authserver.opt

[Only registered and activated users can see links. Click Here To Register...]

Sql Server 2017 , Developer Edition
Auth db. name: Auth
user sa has no password.
Sql server management studio v.17.5
03/05/2018 12:55 thefear511#6915
Quote:
Originally Posted by Pepsilight69 View Post
Hey guys,

how can I disable an NPC every day at 4am for one hour?

Maybe working with this ?
local current_time = get_os_date( "%Y-%m-%d %H:%M:%S" )
not possible to hide npc without doing a restart, but what you can is make an option available via lua code. just like online rewards