hot keys not saving

03/16/2013 23:25 opie1225#1
i have a private server im working on (rapplez 8.1) and i can not seem to get the in game hot keys to save (every time i log in i have to reset them and place what skills i the key spot i want them)

i have tryed to change the n.game.cash.server:0 to n.game.cash.server:1 and all it fixes the hot keys but takes out the HV npcs in every town and half the npcs in HV.

can any one help me fix it where both are fixed lol
03/16/2013 23:33 [GA]Sharingan#2
S log.working:0
T game.cash_usable_server:0


hv not works ? Look at script etc_scripts_function.. add this..


function is_premium()

local hv_ticket = find_item(910023)

if hv_ticket >= 1 then
sv("premium",1)
else
end


all fixxed..^^
03/17/2013 01:47 opie1225#3
Quote:
Originally Posted by [GA]Sharingan View Post
S log.working:0
T game.cash_usable_server:0


hv not works ? Look at script etc_scripts_function.. add this..


function is_premium()

local hv_ticket = find_item(910023)

if hv_ticket >= 1 then
sv("premium",1)
else
end


all fixxed..^^
i have added S log.working:0 to my game server (it fixes the lag)
and mine is "N game...." not -T game.cash_usable_server:0 but i have changed it to the "0" and hv works untill i change the "1-0" the hv goes away

where do i input that in to the scrpit?
03/17/2013 02:48 [GA]Sharingan#4
jes sorry log working was wrong paste fail o.O :D

scroll in the script down to "function is_premium()" then insert this
local hv_ticket = find_item(910023)

if hv_ticket >= 1 then
sv("premium",1)
else
end

bäm hv works o.O
and mine is T game..^^
03/17/2013 04:01 opie1225#5
here is a copy of what my ect_script_function looks like where should i input what you told me to input?

function is_premium()


-- ���� �ڵ� �о����
-- get_local_info()�� ��ȯ����
--LOCAL_INFO_KOREA = 1
--LOCAL_INFO_HONGKONG = 2
--LOCAL_INFO_AMERICA = 4
--LOCAL_INFO_GERMANY = 8
--LOCAL_INFO_JAPAN = 16
--LOCAL_INFO_TAIWAN = 32
--LOCAL_INFO_CHINA = 64
--LOCAL_INFO_FRANCE = 128
--LOCAL_INFO_RUSSIA = 256
--�����̽þ� 512, �̰��� 1024, ��Ʈ�� 2048, �±� 4096, �ߵ� 8192, ��Ű 16384

local state_code = get_local_info()

-- �ѱ��� ��� ����/�׼� ��� ��ũ��Ʈ �����н��� ������ true
if state_code == 1 and gv( "premium" ) == 1 then
return true
end
-- ��ũ��Ʈ �����н��� ������ true
if gv( "premium" ) == 1 and scf_is_official_server( get_server_category() ) then
return true
03/17/2013 05:15 [GA]Sharingan#6
function is_premium()

if hv_ticket >= 1 then
sv("premium",1)
else
end


-- ���� �ڵ� �о����
-- get_local_info()�� ��ȯ����
--LOCAL_INFO_KOREA = 1
--LOCAL_INFO_HONGKONG = 2
--LOCAL_INFO_AMERICA = 4
--LOCAL_INFO_GERMANY = 8
--LOCAL_INFO_JAPAN = 16
--LOCAL_INFO_TAIWAN = 32
--LOCAL_INFO_CHINA = 64
--LOCAL_INFO_FRANCE = 128
--LOCAL_INFO_RUSSIA = 256
--�����̽þ� 512, �̰��� 1024, ��Ʈ�� 2048, �±� 4096, �ߵ� 8192, ��Ű 16384

local state_code = get_local_info()

-- �ѱ��� ��� ����/�׼� ��� ��ũ��Ʈ �����н��� ������ true
if state_code == 1 and gv( "premium" ) == 1 then
return true
end
-- ��ũ��Ʈ �����н��� ������ true
if gv( "premium" ) == 1 and scf_is_official_server( get_server_category() ) then
return true



fixxed gn8.
03/17/2013 05:16 Xijezu#7
Since there is no reason for not giving out HV on PServers, this is the easiest way doing it:

Code:
function is_premium()
     return true
end
03/17/2013 16:25 opie1225#8
thank you guys i am going to add that and i hope it works on my end

and @Xljezu i did not create that other forum, i only posted in there sorry for any problems i caused
03/19/2013 06:45 opie1225#9
ok i have had changed the script and still no HV npc i dont know what to do lol
03/21/2013 19:23 opie1225#10
can any of you point me in right direction? im useing LUAedit 2010, and i changed the script to look like what Xljezu said to change it to and i still have no HV NPC
03/21/2013 19:42 Xijezu#11
Quote:
Originally Posted by Xijezu View Post
Since there is no reason for not giving out HV on PServers, this is the easiest way doing it:

Code:
function is_premium()
     return true
end
^This part is just for the HV-NPC's. If you don't have a pass, they wont offer their service, and since the original is_premium() is kinda bugged, this is the easiest fix.

Btw, do you mean the normal HV-NPC's or the special ones from KTS (which are selling deco, etc..)?
03/21/2013 20:35 opie1225#12
Just the normal Ones in each town that is supposed to send u to HV they are Just gone(there are no HV npcs in the game) lol and they only disappeared when i changed my game.server opt to fix the hot keys, and i changed the script like you said and still no HV guys
03/21/2013 21:38 wisp66#13
if i rember correctly T game.cash_usable_server:0 was a hack to get it working with T game.cash_usable_server:1 is usable now
Code:
function is_premium()

if hv_ticket >= 0 then
sv("premium",1)
else
end


-- ���� �ڵ� �о����
-- get_local_info()�� ��ȯ����
--LOCAL_INFO_KOREA = 1
--LOCAL_INFO_HONGKONG = 2
--LOCAL_INFO_AMERICA = 4
--LOCAL_INFO_GERMANY = 8
--LOCAL_INFO_JAPAN = 16
--LOCAL_INFO_TAIWAN = 32
--LOCAL_INFO_CHINA = 64
--LOCAL_INFO_FRANCE = 128
--LOCAL_INFO_RUSSIA = 256
--�����̽þ� 512, �̰��� 1024, ��Ʈ�� 2048, �±� 4096, �ߵ� 8192, ��Ű 16384

local state_code = get_local_info()

-- �ѱ��� ��� ����/�׼� ��� ��ũ��Ʈ �����н��� ������ true
if state_code == 1 and gv( "premium" ) == 1 then
return true
end
-- ��ũ��Ʈ �����н��� ������ true
if gv( "premium" ) == 1 and scf_is_official_server( get_server_category() ) then
return true
end
something like this might work actly thats of the top of my head
03/21/2013 21:43 opie1225#14
OK guys here is a new problem IM STUCK IN THE ABYSS LOL funnest shit i have ever seen lol
dont laugh at me i have laughed enough for all of us
03/21/2013 21:56 wisp66#15
warp out go in to telecaster and move your self to a town you can find the map cords in lua or in the db or just check one of the old gm tools i dont currently have the lists at present there all on a backup drive also make sure you have T game.use_auto_trap:0
in gs opt.
you could also add this to npc_hell.lua *quoting an old code by raskim*
Code:
function NPC_hell_contact()

	dlg_title("@90991001")
	
	-- °ü·Ã ¾È³»
	if get_value("auto_user") == 1 then
		dlg_text("@90991002")
		dlg_menu("Take me out Here","free_abyss()")
	else
		dlg_text("@90991003")
	end
	
	if get_value("auto_user") == 0 then

 		dlg_menu( "@90010127", 'RunTeleport_Auto_TO_City( 6625 , 6980 )' )
		dlg_menu( "@90010128", 'RunTeleport_Auto_TO_City( 116799 , 58205 )' )
		dlg_menu( "@90010129", 'RunTeleport_Auto_TO_City( 153506 , 77175 )' )
		dlg_menu( "@90010248", 'RunTeleport_Auto_TO_City( 172543 , 51847 )' )		
	end
	
	dlg_menu( "@90010002", '' )
 
	dlg_show()
 
end

function free_abyss()

sv("auto_account",0)
remove_state(5997,30)
sv("auto_user",0)
save()

end
this makes auto return via abyss npc free